Function at 0x430060
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x69cad0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x76f950]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
xor eax, eax
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
cmp dword [esi + 0x14], 8
jb 0x4300c2
mov eax, dword [esi]
jmp 0x4300c4
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4300e6
cmp dword [esi + 0x14], 8
jb 0x4300d9
mov eax, dword [esi]
jmp 0x4300db
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x43011e
mov edx, dword [0x788ecc]
mov eax, dword [0x788ed0]
test eax, eax
cmovne edx, eax
cmp word [edx], 0
jne 0x430100
xor ecx, ecx
jmp 0x430114
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x430105
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040ae70
mov dword [ebp - 0x3c], 0
push 0
push 0x6e419c
push dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00422c90
test eax, eax
jne 0x430151
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.00440d00
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0
push 0
push 0x6e41a0
push dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00422c90
test eax, eax
je 0x430277
cmp dword [ebp - 0x18], 8
jb 0x4301b5
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
jne 0x4301b8
xor edi, edi
jmp 0x4301d3
lea ebx, [ebp - 0x2c]
cmp word [ebx], 0
jne 0x4301c2
xor edi, edi
jmp 0x4301d3
call fcn.004df4c0
mov edi, eax
push 0xffffffffffffffff
push ebx
mov ecx, edi
call fcn.0040bb30
mov dword [ebp - 0x38], edi
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], 8
jb 0x4301e2
mov esi, dword [esi]
test esi, esi
jne 0x4301ea
xor ebx, ebx
jmp 0x430205
cmp word [esi], 0
jne 0x4301f4
xor ebx, ebx
jmp 0x430205
call fcn.004df4c0
mov ebx, eax
push 0xffffffffffffffff
push esi
mov ecx, ebx
call fcn.0040bb30
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 4
mov edx, dword [0x788b24]
mov eax, dword [0x788b28]
test eax, eax
cmovne edx, eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x34]
call fcn.004526d0
add esp, 8
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.004e18e0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x430257
mov ecx, dword [eax]
test ecx, ecx
jne 0x430254
mov ecx, eax
call fcn.004df580
jmp 0x430257
dec ecx
mov dword [eax], ecx
mov byte [ebp - 4], 3
test ebx, ebx
je 0x4302f0
mov eax, dword [ebx]
test eax, eax
jne 0x430272
mov ecx, ebx
call fcn.004df580
jmp 0x4302f0
dec eax
mov dword [ebx], eax
jmp 0x4302f0
cmp dword [esi + 0x14], 8
jb 0x43027f
mov esi, dword [esi]
test esi, esi
jne 0x430287
xor edi, edi
jmp 0x4302a2
cmp word [esi], 0
jne 0x430291
xor edi, edi
jmp 0x4302a2
call fcn.004df4c0
mov edi, eax
push 0xffffffffffffffff
push esi
mov ecx, edi
call fcn.0040bb30
mov dword [ebp - 0x34], edi
mov byte [ebp - 4], 6
mov edx, dword [0x78980c]
mov eax, dword [0x789810]
test eax, eax
cmovne edx, eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x30]
call fcn.00452570
add esp, 4
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.004e18e0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4302f0
mov ecx, dword [eax]
test ecx, ecx
jne 0x4302ed
mov ecx, eax
call fcn.004df580
jmp 0x4302f0
dec ecx
mov dword [eax], ecx
mov byte [ebp - 4], 0
test edi, edi
je 0x43030a
mov eax, dword [edi]
test eax, eax
jne 0x430307
mov ecx, edi
call fcn.004df580
jmp 0x43030a
dec eax
mov dword [edi], eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
jb 0x430322
push dword [ebp - 0x2c]
call fcn.00633f98
add esp, 4
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00633732
mov esp, ebp
pop ebp
ret