Function at 0x618500
Capabilities:
Check for software breakpoints

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x641de7
push eax
mov dword fs:[0], esp
sub esp, 0x38c
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x10b
ja 0x6187e3
je case.0x61854b.123
lea eax, [esi - 2]
cmp eax, 0xcc
ja case.0x61854b.4
movzx eax, byte [eax + 0x6188a8]
jmp dword [eax*4 + 0x61886c]
mov ecx, dword [esp + 0x3a0]
push esi
push ecx
lea ecx, [esp + 0x1b8]
call fcn.006085c0
push 0x6bc778
lea edx, [esp + 0x1b4]
push edx
call fcn.005dcab3
mov eax, dword [esp + 0x3a0]
push esi
push eax
lea ecx, [esp + 0xf8]
call fcn.00608920
push 0x6bedd4
lea ecx, [esp + 0xf4]
push ecx
call fcn.005dcab3
mov edx, dword [esp + 0x3a0]
push esi
push edx
lea ecx, [esp + 0x2d8]
call fcn.006084a0
push 0x6bec4c
lea eax, [esp + 0x2d4]
push eax
call fcn.005dcab3
mov ecx, dword [esp + 0x3a0]
push esi
push ecx
lea ecx, [esp + 0x158]
call fcn.00608a40
push 0x6bc8ec
lea edx, [esp + 0x154]
push edx
call fcn.005dcab3
mov eax, dword [esp + 0x3a0]
push esi
push eax
lea ecx, [esp + 0x278]
call fcn.00608ec0
push 0x6bef88
lea ecx, [esp + 0x274]
push ecx
call fcn.005dcab3
mov edx, dword [esp + 0x3a0]
push esi
push edx
lea ecx, [esp + 0x98]
call fcn.00608c80
push 0x6bc8fc
lea eax, [esp + 0x94]
push eax
call fcn.005dcab3
mov ecx, dword [esp + 0x3a0]
push esi
push ecx
lea ecx, [esp + 0x338]
call fcn.00608da0
push 0x6bef14
lea edx, [esp + 0x334]
push edx
call fcn.005dcab3
push str.sharing_violation
lea ecx, [esp + 0x24]
call fcn.005740ed
mov eax, dword [esp + 0x3a0]
push esi
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x21c]
mov dword [esp + 0x3a4], 0
call fcn.006083a0
push 0x6bc788
lea edx, [esp + 0x214]
push edx
call fcn.005dcab3
push str.lock_violation
lea ecx, [esp + 0x5c]
call fcn.005740ed
mov eax, dword [esp + 0x3a0]
push esi
push eax
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0xcc]
mov dword [esp + 0x3a4], 1
call fcn.006083a0
push 0x6bc788
lea edx, [esp + 0xc4]
push edx
call fcn.005dcab3
push str.EOF_reached
lea ecx, [esp + 8]
call fcn.005740ed
mov eax, dword [esp + 0x3a0]
push esi
push eax
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x12c]
mov dword [esp + 0x3a4], 2
call fcn.00608dc0
push 0x6bef14
lea edx, [esp + 0x124]
push edx
call fcn.005dcab3
push str.disk_is_full
lea ecx, [esp + 0x40]
call fcn.005740ed
mov eax, dword [esp + 0x3a0]
push esi
push eax
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x18c]
mov dword [esp + 0x3a4], 3
call fcn.00608ca0
push 0x6bc8fc
lea edx, [esp + 0x184]
push edx
call fcn.005dcab3
push str.negative_seek
lea ecx, [esp + 0x78]
call fcn.005740ed
mov eax, dword [esp + 0x3a0]
push esi
push eax
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x1ec]
mov dword [esp + 0x3a4], 4
call fcn.006083a0
push 0x6bc788
lea edx, [esp + 0x1e4]
push edx
call fcn.005dcab3
mov eax, dword [esp + 0x3a0]
push esi
push eax
lea ecx, [esp + 0x248]
call fcn.00608020
push 0x6beb10
lea ecx, [esp + 0x244]
push ecx
call fcn.005dcab3
cmp esi, 0x781
je case.0x61854b.3
cmp esi, 0x1779
je 0x61881a
mov edx, dword [esp + 0x3a0]
push esi
push edx
lea ecx, [esp + 0x2a8]
call fcn.00608380
push 0x6bc788
lea eax, [esp + 0x2a4]
push eax
call fcn.005dcab3
mov ecx, dword [esp + 0x3a0]
push 0x1779
push ecx
lea ecx, [esp + 0x308]
call fcn.00608800
push 0x6bed60
lea edx, [esp + 0x304]
push edx
call fcn.005dcab3
mov eax, dword [esp + 0x3a0]
push esi
push eax
lea ecx, [esp + 0x368]
call fcn.006086e0
push 0x6becec
lea ecx, [esp + 0x364]
push ecx
call fcn.005dcab3
push edx
test dword [ecx], esp
inc ebp
mov byte [ecx], ah
jns 0x6187fb
popal
add byte [0x3c006186], dl
xchg byte [ecx], ah
arpl word [esi - 0x7957ff9f], ax
popal
add ch, ch
xchg byte [ecx], ah
xor al, byte [edi - 0x7a5fff9f]
popal
add bh, al
test dword [ecx], esp
mov esp, 0x77006187
xchg dword [ecx], esp
out dx, al
test dword [ecx], esp
xrelease xchg dword [ecx], esp
add byte [ecx], al
push cs
add cl, byte [esi]
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
add dword [esi], ecx
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
add eax, dword [esi + ecx]
add eax, 235802118
push cs
pop es
or byte [esi], cl
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
add dword [esi], ecx
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
or dword [esi], ecx
or cl, byte [esi]
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
or byte [esi], cl
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
or ecx, dword [esi]
push cs
push cs
push cs
push cs
push cs
push cs
or al, 14
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
or eax, 235802126
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
or ecx, dword [esi]
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
or dword [esi], ecx
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
push cs
or ecx, esp
int3