Function at 0x430680
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6484ac
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x6c3afc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
push 0xffffffffffffffff
xor ebx, ebx
xor ecx, ecx
push ebx
mov word [ebp - 0x2c], cx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
call fcn.00403240
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x1c], ebx
jne 0x43087c
lea esi, [ebp - 0x64]
call fcn.00432620
mov edi, eax
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 1
call fcn.00432680
mov ecx, eax
mov eax, dword [ebp - 0xdc]
add eax, 0xac
lea esi, [ebp - 0xd4]
mov byte [ebp - 4], 2
call fcn.0040ad10
push 0x688728
push eax
lea edx, [ebp - 0x80]
push edx
mov byte [ebp - 4], 3
call fcn.0040ac00
add esp, 0xc
push edi
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 4
call fcn.0040ada0
add esp, 0xc
mov edi, 8
cmp dword [ebp - 0x6c], edi
jb 0x430756
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.004effaf
add esp, 4
mov esi, 7
xor edx, edx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
cmp dword [ebp - 0xc0], edi
jb 0x43077e
mov eax, dword [ebp - 0xd4]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xc4], ebx
mov word [ebp - 0xd4], cx
cmp dword [ebp - 0x88], edi
jb 0x4307aa
mov edx, dword [ebp - 0x9c]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], ax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x50], edi
jb 0x4307d4
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
cmp dword [ebp - 0x38], ebx
je 0x430800
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x4307f0
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
cmp al, bl
jne 0x43082f
cmp dword [ebp - 0x34], edi
jb 0x430811
mov eax, dword [ebp - 0x48]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x18], edi
jb 0x430962
mov edx, dword [ebp - 0x2c]
push edx
jmp 0x43095a
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0xb8]
call fcn.00434a70
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.00402260
cmp dword [ebp - 0xa4], edi
jb 0x430862
mov ecx, dword [ebp - 0xb8]
push ecx
call fcn.004effaf
add esp, 4
mov byte [ebp - 4], bl
cmp dword [ebp - 0x34], edi
jb 0x430876
mov edx, dword [ebp - 0x48]
push edx
call fcn.004effaf
add esp, 4
mov edi, dword [ebp - 0xdc]
push 0x688728
lea eax, [edi + 0x20]
push eax
lea ecx, [ebp - 0xb8]
push ecx
call fcn.0040aa60
add esp, 0xc
lea edx, [ebp - 0x2c]
push edx
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 0xb
call fcn.0040ad50
add esp, 0xc
mov esi, 8
cmp dword [eax + 0x10], ebx
jne 0x4308bb
mov byte [ebp - 0xd5], bl
jmp 0x4308d2
cmp dword [eax + 0x14], esi
jb 0x4308c2
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne byte [ebp - 0xd5]
cmp dword [ebp - 0x50], esi
jb 0x4308e3
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov byte [ebp - 4], bl
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
cmp dword [ebp - 0xa4], esi
jb 0x43090d
mov eax, dword [ebp - 0xb8]
push eax
call fcn.004effaf
add esp, 4
cmp byte [ebp - 0xd5], bl
je 0x430951
lea ecx, [ebp - 0x2c]
lea esi, [edi + 4]
push ecx
mov ecx, esi
call fcn.004345f0
test al, al
je 0x43094c
push esi
lea ecx, [ebp - 0x2c]
mov edx, edi
call fcn.00433fa0
test al, al
je 0x43094c
cmp dword [ebp - 0x18], 8
jb 0x430948
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
jmp 0x430967
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x430962
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004effaf
add esp, 4
mov eax, 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005dd8e2
mov esp, ebp
pop ebp
ret 4