Function at 0x42b5a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4affc0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4ccf60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x40]
call fcn.004341f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
push ecx
call fcn.00428810
add esp, 4
mov byte [ebp - 4], 1
push 0x4bfd68
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.00435da0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.00435cf0
add esp, 0xc
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x48]
push edx
lea ecx, [ebp - 0x18]
call fcn.0040aae0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.0040aac0
push str..td.cfg
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.00435da0
add esp, 0xc
mov byte [ebp - 4], 4
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00435cf0
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040aae0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.0040aac0
push str..exe.td
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.00435da0
add esp, 0xc
mov byte [ebp - 4], 6
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.00435cf0
add esp, 0xc
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0040aae0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
call fcn.0040aac0
push str..exe.td.cfg
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.00435da0
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x34]
push eax
call fcn.00435cf0
add esp, 0xc
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x60]
push edx
lea ecx, [ebp - 0x20]
call fcn.0040aae0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34]
call fcn.0040aac0
lea ecx, [ebp - 0x18]
call fcn.00436d80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42b759
lea ecx, [ebp - 0x14]
call fcn.00436d80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42b77f
lea ecx, [ebp - 0x10]
call fcn.00436d80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42b7d6
lea ecx, [ebp - 0x20]
call fcn.00436d80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42b7d6
mov dword [ebp - 0x38], 1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x20]
call fcn.0040aac0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10]
call fcn.0040aac0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0040aac0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.0040aac0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0040aac0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040aac0
mov eax, dword [ebp - 0x38]
jmp 0x42b82b
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x20]
call fcn.0040aac0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10]
call fcn.0040aac0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0040aac0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.0040aac0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0040aac0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040aac0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret