Function at 0x42b3a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
push ebx
lea edi, [ebp - 0x28]
sub esp, 0x5c
mov dword [esp], str.__OUTDIR_
call sub.msvcrt.dll_wcslen
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x28], 0
mov ebx, eax
mov eax, dword [edx + 4]
add eax, ebx
mov dword [esp], eax
call fcn.0049c360
mov edx, dword [ebp - 0x2c]
mov eax, 0x1fffffff
sub esp, 4
sub eax, edx
cmp eax, ebx
jb 0x42b5d7
mov dword [esp + 4], ebx
lea ecx, [ebp - 0x30]
mov dword [esp], str.__OUTDIR_
call fcn.0049c5c0
mov eax, dword [ebp + 0xc]
sub esp, 8
mov ebx, dword [ebp - 0x2c]
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov eax, 0x1fffffff
sub eax, ebx
cmp eax, edx
jb 0x42b5e3
mov dword [esp], ecx
lea ecx, [ebp - 0x30]
mov dword [esp + 4], edx
call fcn.0049c5c0
sub esp, 8
mov eax, 1
mov dword [esp + 4], eax
jmp 0x42b495
mov dword [esp], 0x4b6088
call sub.msvcrt.dll_wcslen
mov edx, dword [ebp - 0x2c]
cmp edx, ebx
jb 0x42b5ba
mov dword [esp + 0xc], eax
lea ecx, [ebp - 0x30]
mov eax, 0x4b6088
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0049a440
lea ecx, [ebp - 0x30]
sub esp, 0x10
mov dword [esp], eax
call fcn.0049c660
sub esp, 4
add ebx, 2
mov dword [esp + 4], ebx
mov dword [esp], 0x24
lea ecx, [ebp - 0x30]
call fcn.0048fce0
sub esp, 8
cmp eax, 0xffffffff
mov ebx, eax
jne 0x42b448
mov eax, 1
mov ebx, 0xfffffffe
mov dword [esp + 8], ebx
mov ecx, esi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call fcn.00407ff0
sub esp, 0xc
xor edx, edx
mov dword [esp + 0x18], edx
xor ecx, ecx
xor ebx, ebx
mov dword [esp + 0x14], ecx
xor edx, edx
mov ecx, 1
mov dword [esp + 8], ecx
mov ecx, esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
mov dword [esp], 0xb
call fcn.00404130
sub esp, 0x1c
test eax, eax
mov ebx, eax
jne 0x42b5b0
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x42b540
mov eax, dword [ebp - 0x30]
cmp eax, edi
je 0x42b531
mov edx, dword [ebp - 0x28]
mov dword [esp], eax
lea edx, [edx + edx + 2]
mov dword [esp + 4], edx
call fcn.004a2230
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov dword [esp], 0x4b60dc
mov eax, 1
mov ecx, esi
mov dword [esp + 4], eax
call fcn.00408250
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
sub esp, 8
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
sub esp, 4
cmp eax, 0xffffffff
je 0x42b517
mov dword [esp + 8], eax
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x18], edx
xor edx, edx
mov dword [esp + 0x14], ecx
xor ecx, ecx
mov dword [esp + 0xc], ecx
mov ecx, esi
mov dword [esp + 0x10], edx
mov eax, dword [ebp - 0x3c]
mov dword [esp], 0xa
mov dword [esp + 4], eax
call fcn.00404130
sub esp, 0x1c
test eax, eax
je 0x42b517
nop
mov ebx, 0x32
jmp 0x42b517
mov dword [esp + 0xc], edx
mov eax, 0x4b608c
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], 0x4b60a4
call fcn.004a0b20
mov dword [esp], 0x4b6072
call fcn.004a64e4
mov dword [esp], 0x4b6072
call fcn.004a64e4
mov ebx, eax
jmp 0x4a4d6c
lea ecx, [ebp - 0x30]
call fcn.0049a410
mov dword [esp], ebx
call fcn.00471810
lea ecx, [ebp - 0x30]
call fcn.0049a410
mov dword [esp], ebx
call fcn.00471810
mov ecx, dword [ebp - 0x78]
call fcn.00415b80
mov ecx, dword [ebp - 0x74]
call fcn.0048b970
mov dword [esp], ebx
call fcn.00471810
mov ecx, dword [ebp - 0x74]
call fcn.00415b80
lea ecx, [ebp - 0x54]
call fcn.0048b970
mov dword [esp], ebx
call fcn.00471810
lea ecx, [ebp - 0x818]
call fcn.0049a410
mov dword [esp], ebx
call fcn.00471810
lea ecx, [ebp - 0x818]
call fcn.0049a410
mov dword [esp], ebx
call fcn.00471810
lea ecx, [ebp - 0x87c]
call fcn.0048b970
lea ecx, [ebp - 0x850]
call fcn.00420980
lea ecx, [ebp - 0x868]
call fcn.0049a410
mov dword [esp], ebx
call fcn.00471810
nop
mov ecx, dword [ebp - 0xbc]
call fcn.0049a410
lea ecx, [ebp - 0x78]
call fcn.0049a410
mov ecx, dword [ebp - 0xb0]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xb4]
call fcn.0049a410
lea ecx, [ebp - 0xa8]
call fcn.0049a410
mov dword [esp], ebx
call fcn.00471810
lea ecx, [ebp - 0x30]
call fcn.0049a410
mov ecx, dword [ebp - 0xbc]
lea esi, [ebp - 0x60]
call fcn.0049a410
mov ecx, esi
call fcn.0049a410
jmp 0x4a4e17