Function at 0x42dde0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0518
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4ccf60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
push 0
mov ecx, dword [ebp - 0x44]
add ecx, 0x2f8
call fcn.00424630
push 1
mov ecx, dword [ebp - 0x44]
add ecx, 0x2a4
call fcn.00424630
mov eax, dword [ebp - 0x44]
add eax, 0x408
push eax
lea ecx, [ebp - 0x10]
call fcn.0040aa20
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push ecx
call fcn.00428810
add esp, 4
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00435ac0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040aac0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x10]
call fcn.00436d80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42df22
push 0x4c0198
mov ecx, 0x4d6ec0
call fcn.00424dd0
push eax
call fcn.00435eb0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x42df22
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
lea edx, [ebp - 0x10]
push edx
call fcn.0040aa20
mov dword [ebp - 0x50], eax
call fcn.00433850
add esp, 4
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x1c], eax
mov ecx, 0x4d6ec0
call fcn.00424cd0
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
call fcn.0040aa20
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
lea edx, [ebp - 0x10]
push edx
call fcn.0040aa20
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 0
call fcn.00433660
add esp, 8
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x408
push ecx
mov edx, esp
mov dword [ebp - 0x38], esp
push ecx
mov ecx, edx
call fcn.0040aa20
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x44]
call fcn.00433c60
lea eax, [ebp - 0x14]
push eax
call fcn.00428810
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x44]
add edx, 0x408
push edx
lea eax, [ebp - 0x24]
push eax
call fcn.00435cf0
add esp, 0xc
mov byte [ebp - 4], 4
mov ecx, 0x4d6ec0
call fcn.00424c30
push eax
lea ecx, [ebp - 0x20]
call fcn.0040aa20
mov byte [ebp - 4], 5
cmp dword [ebp - 0x18], 0
je 0x42df95
cmp dword [ebp - 0x1c], 0
jne 0x42dfe4
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
lea edx, [ebp - 0x20]
push edx
call fcn.0040aa20
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x40]
push eax
call fcn.00428760
add esp, 8
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x74], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x74]
push edx
lea ecx, [ebp - 0x20]
call fcn.0040aae0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.0040aac0
push 1
mov ecx, dword [ebp - 0x44]
call fcn.00432d60
jmp 0x42e014
push 3
mov ecx, dword [ebp - 0x44]
call fcn.004321d0
push 0x64
mov ecx, dword [ebp - 0x44]
add ecx, 0x9c
call fcn.00426770
call fcn.00428be0
push edx
push eax
call fcn.00428be0
push edx
push eax
mov ecx, dword [ebp - 0x44]
call fcn.004322e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.0040aac0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.0040aac0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040aac0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040aac0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret