Function at 0x5aa4c0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72c8a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x478
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x434], eax
cmp dword [ebp - 0x434], 0x10b
ja 0x5aa53f
cmp dword [ebp - 0x434], 0x10b
je case.0x5aa538.121
mov ecx, dword [ebp - 0x434]
sub ecx, 2
mov dword [ebp - 0x434], ecx
cmp dword [ebp - 0x434], 0xcc
ja case.0x5aa538.2
mov edx, dword [ebp - 0x434]
movzx eax, byte [edx + 0x5aaafc]
jmp dword [eax*4 + 0x5aaac0]
cmp dword [ebp - 0x434], 0x781
je case.0x5aa538.1
cmp dword [ebp - 0x434], 0x1779
je 0x5aa608
jmp case.0x5aa538.2
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x40]
call fcn.00595f30
push 0x7daf2c
lea eax, [ebp - 0x40]
push eax
call fcn.00563aac
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x70]
call fcn.00596140
push 0x7daf74
lea eax, [ebp - 0x70]
push eax
call fcn.00563aac
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0xa0]
call fcn.00596560
push 0x7db004
lea eax, [ebp - 0xa0]
push eax
call fcn.00563aac
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0xd0]
call fcn.00595d20
push 0x7daee4
lea eax, [ebp - 0xd0]
push eax
call fcn.00563aac
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x100]
call fcn.005954e0
push 0x7dae50
lea eax, [ebp - 0x100]
push eax
call fcn.00563aac
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x130]
call fcn.00596350
push 0x7dafbc
lea eax, [ebp - 0x130]
push eax
call fcn.00563aac
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x160]
call fcn.00596770
push 0x7d7910
lea eax, [ebp - 0x160]
push eax
call fcn.00563aac
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x190]
call fcn.00596fb0
push 0x7db124
lea eax, [ebp - 0x190]
push eax
call fcn.00563aac
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x1c0]
call fcn.00596b90
push 0x7db094
lea eax, [ebp - 0x1c0]
push eax
call fcn.00563aac
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x1f0]
call fcn.00596da0
push 0x7db0dc
lea eax, [ebp - 0x1f0]
push eax
call fcn.00563aac
lea ecx, [ebp - 0x3a5]
mov dword [ebp - 0x3a4], ecx
push 0
push 0
lea ecx, [ebp - 0x23c]
call fcn.0040b0a0
mov dword [ebp - 0x438], str.sharing_violation
mov edx, dword [ebp - 0x438]
add edx, 1
mov dword [ebp - 0x43c], edx
mov eax, dword [ebp - 0x438]
mov cl, byte [eax]
mov byte [ebp - 0x43d], cl
add dword [ebp - 0x438], 1
cmp byte [ebp - 0x43d], 0
jne 0x5aa6f0
mov edx, dword [ebp - 0x438]
sub edx, dword [ebp - 0x43c]
mov dword [ebp - 0x444], edx
mov eax, dword [ebp - 0x444]
push eax
push str.sharing_violation
lea ecx, [ebp - 0x23c]
call fcn.0040a9d0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x220]
call fcn.00595b40
push 0x7daebc
lea ecx, [ebp - 0x220]
push ecx
call fcn.00563aac
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x23c]
call fcn.0040b0a0
lea edx, [ebp - 0x3b9]
mov dword [ebp - 0x3b8], edx
push 0
push 0
lea ecx, [ebp - 0x288]
call fcn.0040b0a0
mov dword [ebp - 0x448], str.lock_violation
mov eax, dword [ebp - 0x448]
add eax, 1
mov dword [ebp - 0x44c], eax
mov ecx, dword [ebp - 0x448]
mov dl, byte [ecx]
mov byte [ebp - 0x44d], dl
add dword [ebp - 0x448], 1
cmp byte [ebp - 0x44d], 0
jne 0x5aa7b3
mov eax, dword [ebp - 0x448]
sub eax, dword [ebp - 0x44c]
mov dword [ebp - 0x454], eax
mov ecx, dword [ebp - 0x454]
push ecx
push str.lock_violation
lea ecx, [ebp - 0x288]
call fcn.0040a9d0
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x288]
push ecx
lea ecx, [ebp - 0x26c]
call fcn.00595b40
push 0x7daebc
lea edx, [ebp - 0x26c]
push edx
call fcn.00563aac
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x288]
call fcn.0040b0a0
lea eax, [ebp - 0x3cd]
mov dword [ebp - 0x3cc], eax
push 0
push 0
lea ecx, [ebp - 0x2d4]
call fcn.0040b0a0
mov dword [ebp - 0x458], str.EOF_reached
mov ecx, dword [ebp - 0x458]
add ecx, 1
mov dword [ebp - 0x45c], ecx
mov edx, dword [ebp - 0x458]
mov al, byte [edx]
mov byte [ebp - 0x45d], al
add dword [ebp - 0x458], 1
cmp byte [ebp - 0x45d], 0
jne 0x5aa876
mov ecx, dword [ebp - 0x458]
sub ecx, dword [ebp - 0x45c]
mov dword [ebp - 0x464], ecx
mov edx, dword [ebp - 0x464]
push edx
push str.EOF_reached
lea ecx, [ebp - 0x2d4]
call fcn.0040a9d0
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x2d4]
push edx
lea ecx, [ebp - 0x2b8]
call fcn.00596dd0
push 0x7db0dc
lea eax, [ebp - 0x2b8]
push eax
call fcn.00563aac
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2d4]
call fcn.0040b0a0
lea ecx, [ebp - 0x3f9]
mov dword [ebp - 0x3f8], ecx
push 0
push 0
lea ecx, [ebp - 0x320]
call fcn.0040b0a0
mov dword [ebp - 0x468], str.disk_is_full
mov edx, dword [ebp - 0x468]
add edx, 1
mov dword [ebp - 0x46c], edx
mov eax, dword [ebp - 0x468]
mov cl, byte [eax]
mov byte [ebp - 0x46d], cl
add dword [ebp - 0x468], 1
cmp byte [ebp - 0x46d], 0
jne 0x5aa939
mov edx, dword [ebp - 0x468]
sub edx, dword [ebp - 0x46c]
mov dword [ebp - 0x474], edx
mov eax, dword [ebp - 0x474]
push eax
push str.disk_is_full
lea ecx, [ebp - 0x320]
call fcn.0040a9d0
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x320]
push eax
lea ecx, [ebp - 0x304]
call fcn.00596bc0
push 0x7db094
lea ecx, [ebp - 0x304]
push ecx
call fcn.00563aac
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x320]
call fcn.0040b0a0
lea edx, [ebp - 0x40d]
mov dword [ebp - 0x40c], edx
push 0
push 0
lea ecx, [ebp - 0x36c]
call fcn.0040b0a0
mov dword [ebp - 0x478], str.negative_seek
mov eax, dword [ebp - 0x478]
add eax, 1
mov dword [ebp - 0x47c], eax
mov ecx, dword [ebp - 0x478]
mov dl, byte [ecx]
mov byte [ebp - 0x47d], dl
add dword [ebp - 0x478], 1
cmp byte [ebp - 0x47d], 0
jne 0x5aa9fc
mov eax, dword [ebp - 0x478]
sub eax, dword [ebp - 0x47c]
mov dword [ebp - 0x484], eax
mov ecx, dword [ebp - 0x484]
push ecx
push str.negative_seek
lea ecx, [ebp - 0x36c]
call fcn.0040a9d0
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x36c]
push ecx
lea ecx, [ebp - 0x350]
call fcn.00595b40
push 0x7daebc
lea edx, [ebp - 0x350]
push edx
call fcn.00563aac
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x36c]
call fcn.0040b0a0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x39c]
call fcn.00595b10
push 0x7daebc
lea edx, [ebp - 0x39c]
push edx
call fcn.00563aac
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret