Function at 0x428130
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 0x51ba63
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
add esp, 0xfffffed0
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], 0
mov ecx, 0x55be7a
call fcn.0051a674
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 4]
add edx, 4
push edx
call fcn.00410000
lea eax, [ebp - 0x9c]
push eax
call fcn.00409910
add esp, 8
mov dword [ebp - 0x50], 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 - 0x140]
call fcn.00431410
mov ecx, eax
call fcn.0042e510
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.004091e0
add esp, 4
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x38], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x40]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.0040f600
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.0040fee0
lea ecx, [ebp - 0x2c]
call fcn.004100c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x428265
push 0x543d5a
mov ecx, dword [ebx + 8]
call fcn.00403f30
mov ecx, dword [ebp - 0x28]
or ecx, 1
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0040fee0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.00403e90
mov eax, dword [ebx + 8]
jmp 0x428398
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.00410000
lea eax, [ebp - 0x84]
push eax
call fcn.00408e10
add esp, 8
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x84]
call fcn.0040f2e0
movzx ecx, al
test ecx, ecx
je 0x4282e7
push 0x543d5b
mov ecx, dword [ebx + 8]
call fcn.00403f30
mov edx, dword [ebp - 0x28]
or edx, 1
mov dword [ebp - 0x28], edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x84]
call fcn.00403e90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0040fee0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.00403e90
mov eax, dword [ebx + 8]
jmp 0x428398
push 1
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x5c], esp
mov dword [ebp - 0x48], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
lea edx, [ebp - 0x9c]
push edx
call fcn.0040f3e0
mov eax, dword [ebp - 0x48]
push eax
call fcn.00408c00
add esp, 0x1c
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 5
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x68], esp
lea edx, [ebp - 0x84]
push edx
call fcn.0040f3e0
lea eax, [ebp - 0xb4]
push eax
mov byte [ebp - 4], 4
call fcn.00403960
add esp, 0x38
mov dword [ebp - 0x6c], eax
lea ecx, [ebp - 0xb4]
push ecx
mov ecx, dword [ebx + 8]
call fcn.00403ec0
mov edx, dword [ebp - 0x28]
or edx, 1
mov dword [ebp - 0x28], edx
lea ecx, [ebp - 0xb4]
call fcn.00403e90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x84]
call fcn.00403e90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0040fee0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.00403e90
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4