Function at 0x429290
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xffffffe0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51bba3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
add esp, 0xfffffe70
mov dword [ebp - 0x34], ecx
mov ecx, 0x55be7a
call fcn.0051a674
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 4]
add edx, 4
push edx
call fcn.00410000
lea eax, [ebp - 0xb0]
push eax
call fcn.00409910
add esp, 8
mov dword [ebp - 0x68], eax
mov dword [ebp - 4], 0
xor ecx, ecx
mov byte [ebp - 0x21], cl
xor edx, edx
mov byte [ebp - 0x22], dl
xor eax, eax
mov byte [ebp - 0x23], al
movzx ecx, byte [ebp - 0x21]
push ecx
movzx edx, byte [ebp - 0x22]
push edx
movzx eax, byte [ebp - 0x23]
push eax
lea ecx, [ebp - 0x120]
call fcn.004316f0
mov ecx, eax
call fcn.0042e040
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.004091e0
add esp, 4
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x44]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.0040f600
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.0040fee0
lea ecx, [ebp - 0x2c]
call fcn.004100c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42938e
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00409d20
add esp, 4
xor edx, edx
mov byte [ebp - 0x24], dl
xor eax, eax
mov byte [ebp - 0x25], al
xor ecx, ecx
mov byte [ebp - 0x26], cl
movzx edx, byte [ebp - 0x24]
push edx
movzx eax, byte [ebp - 0x25]
push eax
movzx ecx, byte [ebp - 0x26]
push ecx
lea ecx, [ebp - 0x1a0]
call fcn.00431410
mov ecx, eax
call fcn.0042e510
mov dword [ebp - 0x54], eax
lea edx, [ebp - 0x5c]
push edx
call fcn.004091e0
add esp, 4
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x58]
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.0040f600
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x5c]
call fcn.0040fee0
push 1
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x6c], esp
mov dword [ebp - 0x60], edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x70], esp
lea eax, [ebp - 0xb0]
push eax
call fcn.0040f3e0
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.00408c00
add esp, 0x1c
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 7
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x78], esp
mov edx, dword [ebx + 8]
push edx
call fcn.0040f3e0
lea eax, [ebp - 0x98]
push eax
mov byte [ebp - 4], 6
call fcn.004036a0
add esp, 0x38
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x98]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x80], esp
lea edx, [ebp - 0x30]
push edx
call fcn.00410000
call fcn.0040a510
add esp, 8
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x98]
call fcn.00403e90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.0040fee0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0040fee0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.00403e90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4