Function at 0x61e654
Capabilities:
Check for software breakpoints
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x38
push 0
push 0
dec ecx
jne 0x61e65c
push ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x61ff79
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040aa00
push eax
call fcn.0052fa60
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x61ff10
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x20]
call fcn.0040a1dc
lea eax, [ebp - 0x20]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 0x1c]
call fcn.0040b018
mov ecx, 1
mov edx, dword [0x6f5850]
mov eax, 0x61ff94
call fcn.0040b170
cmp eax, 0xcc
jge 0x61e6dd
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x24]
call fcn.0040a1dc
jmp 0x61e88a
lea eax, [ebp - 0x28]
push eax
xor ecx, ecx
mov edx, 1
mov eax, dword [ebp - 0x18]
call fcn.0040b018
mov eax, dword [ebp - 0x2c]
mov edx, 0x61ffb8
call fcn.0040afe0
jne 0x61e88a
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
call fcn.0040a1dc
mov eax, dword [0x6f5be8]
mov al, byte [eax]
mov byte [ebp - 0x31], al
mov al, byte [ebp - 0x31]
add al, 0x9f
sub al, 0x1a
jae 0x61e725
sub byte [ebp - 0x31], 0x20
mov eax, dword [0x6f5e20]
mov al, byte [eax]
mov byte [ebp - 0x32], al
mov al, byte [ebp - 0x32]
add al, 0x9f
sub al, 0x1a
jae 0x61e73c
sub byte [ebp - 0x32], 0x20
mov eax, dword [0x6f5bf8]
mov al, byte [eax]
mov byte [ebp - 0x33], al
mov al, byte [ebp - 0x33]
add al, 0x9f
sub al, 0x1a
jae 0x61e753
sub byte [ebp - 0x33], 0x20
lea eax, [ebp - 0x4c]
mov dl, byte [ebp - 0x31]
mov ecx, 0
call fcn.0040a4d4
push dword [ebp - 0x4c]
lea eax, [ebp - 0x50]
mov dl, byte [ebp - 0x32]
mov ecx, 0
call fcn.0040a4d4
push dword [ebp - 0x50]
lea eax, [ebp - 0x54]
mov dl, byte [ebp - 0x33]
mov ecx, 0
call fcn.0040a4d4
push dword [ebp - 0x54]
lea eax, [ebp - 0x58]
mov edx, dword [0x6f5c84]
mov dl, byte [edx]
mov ecx, 0
call fcn.0040a4d4
push dword [ebp - 0x58]
lea eax, [ebp - 0x5c]
mov edx, dword [0x6f5bfc]
mov dl, byte [edx]
mov ecx, 0
call fcn.0040a4d4
push dword [ebp - 0x5c]
lea eax, [ebp - 0x60]
mov edx, dword [0x6f5b78]
mov dl, byte [edx]
mov ecx, 0
call fcn.0040a4d4
push dword [ebp - 0x60]
lea eax, [ebp - 0x64]
mov edx, dword [0x6f5d24]
mov dl, byte [edx]
mov ecx, 0
call fcn.0040a4d4
push dword [ebp - 0x64]
push 0x62000c
lea eax, [ebp - 0x68]
mov edx, dword [0x6f59f4]
mov dl, byte [edx]
mov ecx, 0
call fcn.0040a4d4
push dword [ebp - 0x68]
lea eax, [ebp - 0x6c]
mov edx, dword [0x6f5c54]
mov dl, byte [edx]
mov ecx, 0
call fcn.0040a4d4
push dword [ebp - 0x6c]
lea eax, [ebp - 0x70]
mov edx, dword [0x6f59f4]
mov dl, byte [edx]
mov ecx, 0
call fcn.0040a4d4
push dword [ebp - 0x70]
lea eax, [ebp - 0x48]
mov edx, 0xb
call fcn.0040a684
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 0x24]
call fcn.0040ad14
lea eax, [ebp - 0x18]
mov edx, 0x62001c
call fcn.0040a1dc
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
call fcn.0040a1dc
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.0040a1dc
lea eax, [ebp - 0x1c]
push eax
mov ecx, 5
mov edx, 1
mov eax, dword [ebp - 0x2c]
call fcn.0040b018
lea eax, [ebp - 0x24]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.0040b018
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
call fcn.0040a1dc
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
call fcn.0040a1dc
test byte [ebp - 0xb], 4
je 0x61fdb7
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x20]
call fcn.0040a1dc
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
call fcn.0040a1dc
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x20]
call fcn.0040a1dc
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x24]
call fcn.0040a1dc
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x30]
sub edx, dword [ebp - 0x30]
cmp eax, edx
jle 0x61e90c
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
call fcn.0040a1dc
jmp 0x61e9c3
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x30]
jle 0x61e97d
lea eax, [ebp - 0x2c]
mov edx, 0x62005c
call fcn.0040a1dc
lea eax, [ebp - 0x18]
mov edx, 0x620084
call fcn.0040a1dc
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
call fcn.0040a1dc
lea eax, [ebp - 0x1c]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.0040b018
lea eax, [ebp - 0x28]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.0040b018
lea eax, [ebp - 0x2c]
push eax
mov ecx, 5
mov edx, 1
mov eax, dword [ebp - 0x2c]
call fcn.0040b018
jmp 0x61e9c3
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x20]
call fcn.0040a1dc
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
call fcn.0040a1dc
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x18]
call fcn.0040a1dc
lea eax, [ebp - 0x2c]
mov edx, 0x6200bc
call fcn.0040a1dc
lea eax, [ebp - 0x18]
mov edx, 0x620128
call fcn.0040a1dc
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x28]
call fcn.0040a1dc
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x28]
call fcn.0040a1dc
test byte [ebp - 0xc], 0x10
je 0x61eeb4
mov byte [ebp - 5], 0
jmp 0x61ff33
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x30]
sub edx, dword [ebp - 0x30]
cmp eax, edx
jle 0x61f257
mov ecx, 1
mov edx, dword [ebp - 0x2c]
mov eax, 0x620164
call fcn.0040b170
cmp eax, 0x6d
jge 0x61ef2e
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x20]
call fcn.0040a1dc
lea eax, [ebp - 0x24]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 0x20]
call fcn.0040b018
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.0040a1dc
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
call fcn.0040a1dc
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x28]
call fcn.0040a1dc
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x24]
call fcn.0040a1dc
jmp 0x61ef7b
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.0040a1dc
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x20]
call fcn.0040a1dc
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x28]
call fcn.0040a1dc
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x18]
call fcn.0040a1dc
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
call fcn.0040a1dc
lea eax, [ebp - 0x28]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.0040b018
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.0040a1dc
mov ecx, 1
mov edx, dword [ebp - 0x2c]
mov eax, 0x6201a4
call fcn.0040b170
cmp eax, 0xae
je 0x61f257
lea eax, [ebp - 0x104]
mov edx, dword [0x6f5c48]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x104]
lea eax, [ebp - 0x108]
call fcn.0040a438
lea eax, [ebp - 0x10c]
mov edx, dword [0x6f5e20]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x108]
mov cl, 2
call fcn.0040a460
lea edx, [ebp - 0x108]
lea eax, [ebp - 0x110]
call fcn.0040a438
lea eax, [ebp - 0x10c]
mov edx, dword [0x6f5e20]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x110]
mov cl, 3
call fcn.0040a460
lea edx, [ebp - 0x110]
lea eax, [ebp - 0x118]
call fcn.0040a438
lea eax, [ebp - 0x10c]
mov edx, dword [0x6f5b90]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x118]
mov cl, 4
call fcn.0040a460
lea edx, [ebp - 0x118]
lea eax, [ebp - 0x120]
call fcn.0040a438
lea eax, [ebp - 0x10c]
mov edx, dword [0x6f5a48]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x120]
mov cl, 5
call fcn.0040a460
lea edx, [ebp - 0x120]
lea eax, [ebp - 0x128]
call fcn.0040a438
lea eax, [ebp - 0x10c]
mov edx, dword [0x6f5c18]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x128]
mov cl, 6
call fcn.0040a460
lea edx, [ebp - 0x128]
lea eax, [ebp - 0x130]
call fcn.0040a438
lea eax, [ebp - 0x10c]
mov edx, dword [0x6f5b98]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x130]
mov cl, 7
call fcn.0040a460
lea edx, [ebp - 0x130]
lea eax, [ebp - 0x13c]
call fcn.0040a438
lea eax, [ebp - 0x10c]
mov edx, dword [0x6f59f4]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x13c]
mov cl, 8
call fcn.0040a460
lea edx, [ebp - 0x13c]
lea eax, [ebp - 0x148]
call fcn.0040a438
mov edx, 0x6201c0
lea eax, [ebp - 0x148]
mov cl, 9
call fcn.0040a460
lea edx, [ebp - 0x148]
lea eax, [ebp - 0x154]
call fcn.0040a438
lea eax, [ebp - 0x10c]
mov edx, dword [0x6f5d24]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x154]
mov cl, 0xa
call fcn.0040a460
lea edx, [ebp - 0x154]
lea eax, [ebp - 0x160]
call fcn.0040a438
lea eax, [ebp - 0x10c]
mov edx, dword [0x6f5b78]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x160]
mov cl, 0xb
call fcn.0040a460
lea edx, [ebp - 0x160]
lea eax, [ebp - 0x170]
call fcn.0040a438
lea eax, [ebp - 0x10c]
mov edx, dword [0x6f5b78]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x170]
mov cl, 0xc
call fcn.0040a460
lea edx, [ebp - 0x170]
lea eax, [ebp - 0x18]
call fcn.0040adc4
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x24]
call fcn.0040a1dc
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
call fcn.0040a1dc
lea eax, [ebp - 0x2c]
push eax
xor ecx, ecx
mov edx, 1
mov eax, dword [ebp - 0x18]
call fcn.0040b018
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
call fcn.0040a1dc
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.0040a1dc
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
call fcn.0040a1dc
lea eax, [ebp - 0x1c]
mov edx, 0x6201d0
call fcn.0040a1dc
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x20]
call fcn.0040a1dc
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x24]
call fcn.0040a1dc
lea eax, [ebp - 0x18]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.0040b018
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.0040aa00
push eax
call fcn.0052c648
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
call fcn.0040a1dc
inc dword [ebp - 0x30]
cmp dword [ebp - 0x30], 0x10
jne 0x61f2c0
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
call fcn.0040a1dc
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x30]
cmp eax, 0x8b
jge 0x61f2f7
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x18]
call fcn.0040a1dc
lea eax, [ebp - 0x24]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 0x20]
call fcn.0040b018
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x20]
call fcn.0040a1dc
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x24]
call fcn.0040a1dc
call sub.kernel32.dll_GetLastError_2
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x61f5af
xor eax, eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
call fcn.0040a1dc
inc dword [ebp - 0x30]
cmp dword [ebp - 0x30], 2
jne 0x61f33a
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
call fcn.0040a1dc
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
call fcn.0040a1dc
lea eax, [ebp - 0x2c]
mov edx, 0x62021c
call fcn.0040a1dc
lea eax, [ebp - 0x24]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.0040b018
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
call fcn.0040a1dc
mov eax, dword [ebp - 0x10]
push eax
call fcn.0052e474
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
call fcn.0040a1dc
xor eax, eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 7
jge 0x61f3c5
inc dword [ebp - 0x30]
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x18]
call fcn.0040a1dc
cmp dword [ebp - 0x30], 7
jl 0x61f3b1
lea eax, [ebp - 0x24]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.0040b018
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 0x30]
cmp eax, edx
jge 0x61f44d
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x24]
call fcn.0040a1dc
mov eax, dword [0x6f5850]
mov edx, 0x620240
call fcn.0040afe0
jne 0x61f44d
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
call fcn.0040a1dc
lea eax, [ebp - 0x1c]
mov edx, 0x620274
call fcn.0040a1dc
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.0040a1dc
lea eax, [ebp - 0x2c]
mov edx, 0x6202c4
call fcn.0040a1dc
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
call fcn.0040a1dc
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
call fcn.0040a1dc
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x18]
call fcn.0040a1dc
lea eax, [ebp - 0x2c]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 0x1c]
call fcn.0040b018
mov byte [ebp - 5], 1
jmp 0x61ff33
cmp dword [ebp - 0x14], 0x20
sete byte [ebp - 5]
jmp 0x61ff33
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x20]
call fcn.0040a1dc
xor eax, eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x61fe25
inc dword [ebp - 0x30]
lea eax, [ebp - 0x18]
mov edx, 0x6204dc
call fcn.0040a1dc
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x28]
call fcn.0040a1dc
lea eax, [ebp - 0x1c]
push eax
mov ecx, 5
mov edx, 1
mov eax, dword [ebp - 0x2c]
call fcn.0040b018
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
call fcn.0040a1dc
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
call fcn.0040a1dc
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x20]
call fcn.0040a1dc
cmp dword [ebp - 0x30], 0
jl 0x61fdcd
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
call fcn.0040a1dc
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
call fcn.0040a1dc
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.0040a1dc
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 0x30]
cmp eax, edx
jge 0x61feda
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.0040a1dc
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x28]
call fcn.0040a1dc
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x61fe87
mov eax, dword [ebp - 0x44]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x19
jle 0x61feda
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
call fcn.0040a1dc
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
call fcn.0040a1dc
lea eax, [ebp - 0x1c]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.0040b018
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
call fcn.0040a1dc
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x18]
call fcn.0040a1dc
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x20]
call fcn.0040a1dc
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
call fcn.0040a1dc
lea eax, [ebp - 0x24]
push eax
mov ecx, 4
mov edx, 1
mov eax, dword [ebp - 0x28]
call fcn.0040b018
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
call fcn.0040a1dc
test byte [ebp - 0xc], 0x10
sete byte [ebp - 5]
jmp 0x61ff33
call sub.kernel32.dll_GetLastError_2
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
je 0x61ff2a
cmp dword [ebp - 0x14], 3
je 0x61ff2a
cmp dword [ebp - 0x14], 0x7b
jne 0x61ff2e
xor eax, eax
jmp 0x61ff30
mov al, 1
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61ff80
lea eax, [ebp - 0x1c4]
call fcn.00409db4
lea eax, [ebp - 0x1c0]
mov edx, 0x14
call fcn.00409e44
lea eax, [ebp - 0x100]
mov edx, 0x2f
call fcn.00409e44
lea eax, [ebp - 0x2c]
mov edx, 6
call fcn.00409e14
ret