IDA warning:
The import segment seems to be destroyed.



.text:00000000000101E0 ;
.text:00000000000101E0 ; -=========================================================================
.text:00000000000101E0 ;      This file is generated by The Interactive Disassembler (IDA)        
.text:00000000000101E0 ;      Copyright (c) 2004 by DataRescue sa/nv, <ida@datarescue.com>        
.text:00000000000101E0 ;              Licensed to: Lennart Reus, 1 user, std, 07/2003             
.text:00000000000101E0 ; L=========================================================================-
.text:00000000000101E0 ;
.text:00000000000101E0 ; File Name   : D:\asm\prog\fasm64\PE64\sys\beeper\a00.sys
.text:00000000000101E0 ; Format      : Portable executable for AMD64 (PE)
.text:00000000000101E0 ; Imagebase   : 10000
.text:00000000000101E0 ; Section 1. (virtual address 000001E0)
.text:00000000000101E0 ; Virtual size                  : 0000002C (     44.)
.text:00000000000101E0 ; Section size in file          : 00000040 (     64.)
.text:00000000000101E0 ; Offset to raw data for section: 000001E0
.text:00000000000101E0 ; Flags 68000020: Text Not pageable Executable Readable
.text:00000000000101E0 ; Alignment     : 16 bytes ?
.text:00000000000101E0
.text:00000000000101E0                 model flat
.text:00000000000101E0
.text:00000000000101E0 ; ===========================================================================
.text:00000000000101E0
.text:00000000000101E0 ; Segment type: Pure code
.text:00000000000101E0 ; Segment permissions: Read/Execute
.text:00000000000101E0 _text           segment para public 'CODE' use64
.text:00000000000101E0                 assume cs:_text
.text:00000000000101E0                 ;org 101E0h
.text:00000000000101E0                 assume es:nothing, ss:nothing, ds:nothing, fs:nothing, gs:nothing
.text:00000000000101E0
.text:00000000000101E0 ; --------------- S U B R O U T I N E ---------------------------------------
.text:00000000000101E0
.text:00000000000101E0
.text:00000000000101E0                 public start
.text:00000000000101E0 start           proc near
.text:00000000000101E0                 push    rbx
.text:00000000000101E1                 sub     rsp, 78h        ; Frequency
.text:00000000000101E5                 mov     ecx, 620h
.text:00000000000101EA                 call    cs:HalMakeBeep
.text:00000000000101F0                 mov     eax, 1800000h
.text:00000000000101F5
.text:00000000000101F5 loc_101F5:                              ; CODE XREF: start+1Bj
.text:00000000000101F5                 dec     rax
.text:00000000000101F8                 or      rax, rax
.text:00000000000101FB                 jnz     short loc_101F5
.text:00000000000101FD                 xor     rcx, rcx
.text:0000000000010200                 call    cs:HalMakeBeep
.text:0000000000010206                 add     rsp, 78h
.text:000000000001020A                 pop     rbx
.text:000000000001020B                 retn
.text:000000000001020B start           endp
.text:000000000001020B
.text:000000000001020B ; 
.text:000000000001020C                 align 20h
.text:000000000001020C _text           ends
.text:000000000001020C
INIT:0000000000010220 ; Section 2. (virtual address 00000220)
INIT:0000000000010220 ; Virtual size                  : 00000056 (     86.)
INIT:0000000000010220 ; Section size in file          : 00000060 (     96.)
INIT:0000000000010220 ; Offset to raw data for section: 00000220
INIT:0000000000010220 ; Flags 48000020: Text Not pageable Readable
INIT:0000000000010220 ; Alignment     : 16 bytes ?
INIT:0000000000010220 ; ===========================================================================
INIT:0000000000010220
INIT:0000000000010220 ; Segment type: Pure code
INIT:0000000000010220 ; Segment permissions: Read
INIT:0000000000010220 INIT            segment para public 'CODE' use64
INIT:0000000000010220                 assume cs:INIT
INIT:0000000000010220                 ;org 10220h
INIT:0000000000010220                 assume es:nothing, ss:nothing, ds:nothing, fs:nothing, gs:nothing
INIT:0000000000010220                 dq 250h, 24800000000h, 25Ch, 2 dup(0), 4C4C442E4C4148h
INIT:0000000000010220                 dq 268h
INIT:0000000000010258                 db 4 dup(0)
INIT:0000000000010258 INIT            ends
INIT:0000000000010258
.idata:000000000001025C ;
.idata:000000000001025C ; Imports from HAL
.idata:000000000001025C ;
.idata:000000000001025C ; ===========================================================================
.idata:000000000001025C
.idata:000000000001025C ; Segment type: Externs
.idata:000000000001025C ; _idata
.idata:000000000001025C ; BOOLEAN __stdcall HalMakeBeep(ULONG Frequency)
.idata:000000000001025C                 extrn HalMakeBeep:qword ; DATA XREF: start+Ar
.idata:000000000001025C                                         ; start+20r
.idata:0000000000010264                 extrn _:qword
.idata:000000000001026C
.idata:000000000001026C
INIT:0000000000010274 ; ===========================================================================
INIT:0000000000010274
INIT:0000000000010274 ; Segment type: Pure code
INIT:0000000000010274 ; Segment permissions: Read
INIT:0000000000010274 INIT            segment para public 'CODE' use64
INIT:0000000000010274                 assume cs:INIT
INIT:0000000000010274                 ;org 10274h
INIT:0000000000010274                 assume es:nothing, ss:nothing, ds:nothing, fs:nothing, gs:nothing
INIT:0000000000010274                 dq 70h
INIT:000000000001027C                 align 20h
INIT:000000000001027C INIT            ends
INIT:000000000001027C
INIT:000000000001027C
INIT:000000000001027C                 end start
