Function at 0x10136fa0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017a6c4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x450], 0x10b
ja 0x10137019
cmp dword [ebp - 0x450], 0x10b
je case.0x10137012.121
mov eax, dword [ebp - 0x450]
sub eax, 2
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x450], 0xcc
ja case.0x10137012.2
mov ecx, dword [ebp - 0x450]
movzx edx, byte [ecx + 0x10137654]
jmp dword [edx*4 + 0x10137618]
cmp dword [ebp - 0x450], 0x781
je case.0x10137012.1
cmp dword [ebp - 0x450], 0x1779
je 0x101370d8
jmp case.0x10137012.2
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x3c]
call fcn.100ff0f0
push 0x101b9d1c
lea ecx, [ebp - 0x3c]
push ecx
call fcn.100bcb39
push 0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x6c]
call fcn.100ff300
push 0x101b9d64
lea eax, [ebp - 0x6c]
push eax
call fcn.100bcb39
push 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x9c]
call fcn.100ff720
push 0x101b9df4
lea edx, [ebp - 0x9c]
push edx
call fcn.100bcb39
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xcc]
call fcn.100feee0
push 0x101b9cd4
lea ecx, [ebp - 0xcc]
push ecx
call fcn.100bcb39
push 0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0xfc]
call fcn.100fe6a0
push 0x101b9bc4
lea eax, [ebp - 0xfc]
push eax
call fcn.100bcb39
push 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x12c]
call fcn.100ff510
push 0x101b9dac
lea edx, [ebp - 0x12c]
push edx
call fcn.100bcb39
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x15c]
call fcn.100ff930
push 0x101b9e3c
lea ecx, [ebp - 0x15c]
push ecx
call fcn.100bcb39
lea edx, [ebp - 0x3bd]
mov dword [ebp - 0x3bc], edx
push 0
push 0
lea ecx, [ebp - 0x1a8]
call fcn.10002cf0
mov dword [ebp - 0x454], str.directory_not_empty
mov eax, dword [ebp - 0x454]
add eax, 1
mov dword [ebp - 0x458], eax
mov ecx, dword [ebp - 0x454]
mov dl, byte [ecx]
mov byte [ebp - 0x459], dl
add dword [ebp - 0x454], 1
cmp byte [ebp - 0x459], 0
jne 0x10137150
mov eax, dword [ebp - 0x454]
sub eax, dword [ebp - 0x458]
mov dword [ebp - 0x460], eax
mov ecx, dword [ebp - 0x460]
push ecx
push str.directory_not_empty
lea ecx, [ebp - 0x1a8]
call fcn.10003590
mov dword [ebp - 4], 0
push 0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x1a8]
push eax
lea ecx, [ebp - 0x18c]
call fcn.100fed00
push 0x101b9c90
lea ecx, [ebp - 0x18c]
push ecx
call fcn.100bcb39
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x1a8]
call fcn.10002cf0
push 0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x1d8]
call fcn.100ffd50
push 0x101b9ecc
lea eax, [ebp - 0x1d8]
push eax
call fcn.100bcb39
push 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x208]
call fcn.100fff60
push 0x101b9f14
lea edx, [ebp - 0x208]
push edx
call fcn.100bcb39
lea eax, [ebp - 0x3c9]
mov dword [ebp - 0x3c8], eax
push 0
push 0
lea ecx, [ebp - 0x254]
call fcn.10002cf0
mov dword [ebp - 0x464], str.sharing_violation
mov ecx, dword [ebp - 0x464]
add ecx, 1
mov dword [ebp - 0x468], ecx
mov edx, dword [ebp - 0x464]
mov al, byte [edx]
mov byte [ebp - 0x469], al
add dword [ebp - 0x464], 1
cmp byte [ebp - 0x469], 0
jne 0x10137255
mov ecx, dword [ebp - 0x464]
sub ecx, dword [ebp - 0x468]
mov dword [ebp - 0x470], ecx
mov edx, dword [ebp - 0x470]
push edx
push str.sharing_violation
lea ecx, [ebp - 0x254]
call fcn.10003590
mov dword [ebp - 4], 1
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x254]
push ecx
lea ecx, [ebp - 0x238]
call fcn.100fed00
push 0x101b9c90
lea edx, [ebp - 0x238]
push edx
call fcn.100bcb39
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x254]
call fcn.10002cf0
lea eax, [ebp - 0x3dd]
mov dword [ebp - 0x3dc], eax
push 0
push 0
lea ecx, [ebp - 0x2a0]
call fcn.10002cf0
mov dword [ebp - 0x474], str.lock_violation
mov ecx, dword [ebp - 0x474]
add ecx, 1
mov dword [ebp - 0x478], ecx
mov edx, dword [ebp - 0x474]
mov al, byte [edx]
mov byte [ebp - 0x479], al
add dword [ebp - 0x474], 1
cmp byte [ebp - 0x479], 0
jne 0x10137316
mov ecx, dword [ebp - 0x474]
sub ecx, dword [ebp - 0x478]
mov dword [ebp - 0x480], ecx
mov edx, dword [ebp - 0x480]
push edx
push str.lock_violation
lea ecx, [ebp - 0x2a0]
call fcn.10003590
mov dword [ebp - 4], 2
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2a0]
push ecx
lea ecx, [ebp - 0x284]
call fcn.100fed00
push 0x101b9c90
lea edx, [ebp - 0x284]
push edx
call fcn.100bcb39
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2a0]
call fcn.10002cf0
lea eax, [ebp - 0x401]
mov dword [ebp - 0x400], eax
push 0
push 0
lea ecx, [ebp - 0x2ec]
call fcn.10002cf0
mov dword [ebp - 0x484], str.EOF_reached
mov ecx, dword [ebp - 0x484]
add ecx, 1
mov dword [ebp - 0x488], ecx
mov edx, dword [ebp - 0x484]
mov al, byte [edx]
mov byte [ebp - 0x489], al
add dword [ebp - 0x484], 1
cmp byte [ebp - 0x489], 0
jne 0x101373d7
mov ecx, dword [ebp - 0x484]
sub ecx, dword [ebp - 0x488]
mov dword [ebp - 0x490], ecx
mov edx, dword [ebp - 0x490]
push edx
push str.EOF_reached
lea ecx, [ebp - 0x2ec]
call fcn.10003590
mov dword [ebp - 4], 3
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2ec]
push ecx
lea ecx, [ebp - 0x2d0]
call fcn.100fff90
push 0x101b9f14
lea edx, [ebp - 0x2d0]
push edx
call fcn.100bcb39
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2ec]
call fcn.10002cf0
lea eax, [ebp - 0x415]
mov dword [ebp - 0x414], eax
push 0
push 0
lea ecx, [ebp - 0x338]
call fcn.10002cf0
mov dword [ebp - 0x494], str.disk_is_full
mov ecx, dword [ebp - 0x494]
add ecx, 1
mov dword [ebp - 0x498], ecx
mov edx, dword [ebp - 0x494]
mov al, byte [edx]
mov byte [ebp - 0x499], al
add dword [ebp - 0x494], 1
cmp byte [ebp - 0x499], 0
jne 0x10137498
mov ecx, dword [ebp - 0x494]
sub ecx, dword [ebp - 0x498]
mov dword [ebp - 0x4a0], ecx
mov edx, dword [ebp - 0x4a0]
push edx
push str.disk_is_full
lea ecx, [ebp - 0x338]
call fcn.10003590
mov dword [ebp - 4], 4
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x338]
push ecx
lea ecx, [ebp - 0x31c]
call fcn.100ffd80
push 0x101b9ecc
lea edx, [ebp - 0x31c]
push edx
call fcn.100bcb39
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x338]
call fcn.10002cf0
lea eax, [ebp - 0x429]
mov dword [ebp - 0x428], eax
push 0
push 0
lea ecx, [ebp - 0x384]
call fcn.10002cf0
mov dword [ebp - 0x4a4], str.negative_seek
mov ecx, dword [ebp - 0x4a4]
add ecx, 1
mov dword [ebp - 0x4a8], ecx
mov edx, dword [ebp - 0x4a4]
mov al, byte [edx]
mov byte [ebp - 0x4a9], al
add dword [ebp - 0x4a4], 1
cmp byte [ebp - 0x4a9], 0
jne 0x10137559
mov ecx, dword [ebp - 0x4a4]
sub ecx, dword [ebp - 0x4a8]
mov dword [ebp - 0x4b0], ecx
mov edx, dword [ebp - 0x4b0]
push edx
push str.negative_seek
lea ecx, [ebp - 0x384]
call fcn.10003590
mov dword [ebp - 4], 5
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x384]
push ecx
lea ecx, [ebp - 0x368]
call fcn.100fed00
push 0x101b9c90
lea edx, [ebp - 0x368]
push edx
call fcn.100bcb39
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x384]
call fcn.10002cf0
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x3b4]
call fcn.100fecd0
push 0x101b9c90
lea ecx, [ebp - 0x3b4]
push ecx
call fcn.100bcb39
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret