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

Disassembly:
push 0x2c4
mov eax, 0x4a22b5
call fcn.00481082
mov edi, ecx
mov dword [ebp - 0x2c4], edi
xor ecx, ecx
mov dword [ebp - 0x234], 7
xor eax, eax
mov dword [ebp - 0x238], ecx
mov word [ebp - 0x248], ax
lea esi, [edi + 0x3b0]
mov dword [ebp - 4], ecx
lea eax, [edi + 0x398]
mov dword [ebp - 0x2c8], ecx
push esi
push eax
mov dword [ebp - 0x2d0], eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.0042ba63
push 0x4a676c
push eax
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 1
push eax
call fcn.0042ba11
add esp, 0x18
lea ebx, [edi + 0x3e4]
mov byte [ebp - 4], 2
push ebx
mov ecx, eax
call fcn.0042d64a
xor ecx, ecx
mov byte [ebp - 0x2cc], cl
push dword [ebp - 0x2cc]
mov dword [ebp - 0x250], ecx
mov dword [ebp - 0x24c], ecx
lea ecx, [ebp - 0x260]
push eax
call fcn.0042d4d7
lea ecx, [ebp - 0x230]
call fcn.0042d5e7
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 5
call fcn.0042d5e7
and dword [ebp - 0x268], 0
lea ecx, [ebp - 0x278]
and dword [ebp - 0x264], 0
push esi
call fcn.0042d56c
mov edi, dword [ebp - 0x2c8]
mov byte [ebp - 4], 6
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42d262
test al, 0x10
jne 0x42d262
push 0x208
lea eax, [ebp - 0x218]
inc edi
push 0
push eax
call fcn.00484250
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x42d171
mov eax, dword [esi]
push edi
push eax
lea eax, [ebp - 0x218]
push str._s__d_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x218]
push eax
call fcn.00487a65
add esp, 0x14
lea ecx, [ebp - 0x278]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0042d703
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x290]
call fcn.0042bf72
push eax
push dword [ebp - 0x2d0]
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 7
push eax
call fcn.0042ba37
push 0x4a676c
push eax
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 8
push eax
call fcn.0042ba11
add esp, 0x18
push ebx
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.0042d64a
xor ecx, ecx
mov byte [ebp - 0x2c8], cl
push dword [ebp - 0x2c8]
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x21c], ecx
lea ecx, [ebp - 0x230]
push eax
call fcn.0042d4d7
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x260]
call fcn.0042c098
lea ecx, [ebp - 0x230]
call fcn.0042d5e7
lea ecx, [ebp - 0x2a8]
call fcn.0042d5e7
lea ecx, [ebp - 0x2c0]
call fcn.0042d5e7
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 6
call fcn.0042d5e7
jmp 0x42d124
lea eax, [ebp - 0x278]
mov ecx, esi
push eax
call fcn.0042c0c1
mov edi, dword [ebp - 0x2c4]
cmp byte [edi + 0x3e0], 0
je 0x42d312
push esi
lea eax, [edi + 0x398]
push eax
lea eax, [ebp - 0x2c0]
push eax
call fcn.0042ba63
push 0x4a676c
push eax
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 0xa
push eax
call fcn.0042ba11
add esp, 0x18
push ebx
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.0042d64a
xor ecx, ecx
mov byte [ebp - 0x2c4], cl
push dword [ebp - 0x2c4]
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x21c], ecx
lea ecx, [ebp - 0x230]
push eax
call fcn.0042d4d7
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x248]
call fcn.0042c098
lea ecx, [ebp - 0x230]
call fcn.0042d5e7
lea ecx, [ebp - 0x290]
call fcn.0042d5e7
lea ecx, [ebp - 0x2c0]
jmp 0x42d37c
push 0x4a676c
lea eax, [ebp - 0x290]
push esi
push eax
call fcn.0042babc
add esp, 0xc
push ebx
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.0042d64a
xor ecx, ecx
mov byte [ebp - 0x2c4], cl
push dword [ebp - 0x2c4]
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x21c], ecx
lea ecx, [ebp - 0x230]
push eax
call fcn.0042d4d7
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x248]
call fcn.0042c098
lea ecx, [ebp - 0x230]
call fcn.0042d5e7
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 6
call fcn.0042d5e7
mov ecx, dword [edi + 0x348]
lea edx, [ebp - 0x248]
cmp dword [ebp - 0x234], 8
cmovae edx, dword [ebp - 0x248]
mov eax, dword [ecx]
push edx
call dword [eax + 0x2c]
lea ecx, [ebp - 0x278]
call fcn.0042d5e7
lea ecx, [ebp - 0x260]
call fcn.0042d5e7
lea ecx, [ebp - 0x248]
call fcn.0042d5e7
call fcn.0048102c
ret