Function at 0x430990
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64895a
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x6c3afc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
xor eax, eax
push 0x688638
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.00403600
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.00430680
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
mov esi, eax
jb 0x430a06
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004effaf
add esp, 4
cmp esi, ebx
je 0x430c93
cmp dword [edi + 0x14], ebx
je 0x430c93
cmp dword [edi + 0x30], ebx
je 0x430c93
lea esi, [ebp - 0x64]
call fcn.00432620
mov ebx, eax
lea esi, [ebp - 0x80]
mov dword [ebp - 4], 1
call fcn.00432680
lea edx, [edi + 0xac]
mov ecx, eax
mov eax, edx
lea esi, [ebp - 0xb8]
mov byte [ebp - 4], 2
mov dword [ebp - 0x130], edx
call fcn.0040ad10
push 0x688728
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 3
call fcn.0040ac00
add esp, 0xc
push ebx
push eax
lea ecx, [ebp - 0x48]
push ecx
mov byte [ebp - 4], 4
call fcn.0040ada0
add esp, 0xc
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x430a96
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004effaf
add esp, 4
mov ebx, 7
xor eax, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0xa4], esi
jb 0x430ac2
mov ecx, dword [ebp - 0xb8]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa8], 0
mov word [ebp - 0xb8], dx
cmp dword [ebp - 0x6c], esi
jb 0x430aec
mov eax, dword [ebp - 0x80]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], cx
mov byte [ebp - 4], 9
cmp dword [ebp - 0x50], esi
jb 0x430b11
mov edx, dword [ebp - 0x64]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
cmp dword [ebp - 0x38], eax
je 0x430c8b
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x430b35
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test al, al
je 0x430c8b
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x9c]
call fcn.00434a70
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x8c], 0
je 0x430c80
lea ebx, [edi + 0x20]
mov eax, ebx
call fcn.00435910
test al, al
jne 0x430b80
push ebx
call fcn.00435930
add esp, 4
lea edx, [ebp - 0x64]
push edx
mov byte [ebp - 0x12c], 0
call fcn.00430cc0
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.0042f650
lea ecx, [ebp - 0x64]
mov esi, eax
mov byte [ebp - 4], 0xa
call fcn.004bf3b0
cmp esi, 0xd
jl 0x430bb8
mov byte [ebp - 0x12c], 1
lea esi, [ebp - 0x64]
call fcn.004302a0
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ebp + 8]
push ecx
push edx
lea ecx, [ebp - 0x48]
push ecx
lea edx, [edi + 4]
push edx
push edi
mov edx, eax
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0xc
call fcn.00433050
mov ecx, esi
mov byte [ebp - 4], 0xa
call fcn.004bf3b0
lea esi, [ebp - 0x128]
call fcn.00432680
mov ecx, eax
mov eax, dword [ebp - 0x130]
lea esi, [ebp - 0x10c]
mov byte [ebp - 4], 0xd
call fcn.0040ad10
push 0x688728
push eax
lea eax, [ebp - 0xf0]
push eax
mov byte [ebp - 4], 0xe
call fcn.0040ac00
add esp, 0xc
push 0x690598
push eax
lea ecx, [ebp - 0xd4]
push ecx
mov byte [ebp - 4], 0xf
call fcn.0040ac00
add esp, 0xc
lea edx, [ebp - 0x9c]
push edx
mov edx, ebx
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.00433500
lea ecx, [ebp - 0xd4]
call fcn.004bf3b0
lea ecx, [ebp - 0xf0]
call fcn.004bf3b0
mov ecx, esi
call fcn.004bf3b0
lea ecx, [ebp - 0x128]
call fcn.004bf3b0
lea ecx, [ebp - 0x9c]
call fcn.004bf3b0
lea ecx, [ebp - 0x48]
call fcn.004bf3b0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005dd8e2
mov esp, ebp
pop ebp
ret 4