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

Disassembly:
push 0x2c4
mov eax, 0x494a45
call fcn.0046af26
mov ebx, ecx
mov dword [ebp - 0x2d0], ebx
xor ecx, ecx
mov dword [ebp - 0x238], 7
xor eax, eax
mov dword [ebp - 0x23c], ecx
mov word [ebp - 0x24c], ax
mov dword [ebp - 4], ecx
lea esi, [ebx + 0x3b4]
mov dword [ebp - 0x2c8], ecx
lea edi, [ebx + 0x39c]
push esi
mov edx, edi
lea ecx, [ebp - 0x234]
call fcn.0042c96e
mov byte [ebp - 4], 1
mov ecx, eax
mov dword [esp], 0x4a4354
call fcn.0042cb30
push eax
lea ecx, [ebp - 0x264]
call fcn.0042cee9
lea eax, [ebx + 0x3e8]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x2cc], eax
call fcn.0042cb57
push eax
lea ecx, [ebp - 0x2ac]
call fcn.0042cee9
lea ecx, [ebp - 0x264]
call fcn.0042d0e7
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 5
call fcn.0042d0e7
and dword [ebp - 0x284], 0
lea ecx, [ebp - 0x294]
and dword [ebp - 0x280], 0
push esi
call fcn.0042c892
mov ebx, dword [ebp - 0x2c8]
mov byte [ebp - 4], 6
cmp dword [ebp - 0x298], 8
lea eax, [ebp - 0x2ac]
cmovae eax, dword [ebp - 0x2ac]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42c35f
test al, 0x10
jne 0x42c35f
push 0x208
lea eax, [ebp - 0x21c]
inc ebx
push 0
push eax
call fcn.0046d670
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x42c258
mov eax, dword [esi]
push ebx
push eax
lea eax, [ebp - 0x21c]
push str._s__d_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x21c]
lea ecx, [ebp - 0x294]
push eax
call fcn.0042c86b
and dword [ebp - 0x254], 0
lea ecx, [ebp - 0x264]
xor eax, eax
mov dword [ebp - 0x250], 7
mov word [ebp - 0x264], ax
lea eax, [ebp - 0x21c]
push eax
call fcn.0042c86b
mov byte [ebp - 4], 7
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x42c2bb
mov eax, dword [edi]
push dword [edi + 0x10]
push eax
push ecx
lea ecx, [ebp - 0x264]
call fcn.0042cb74
push eax
lea ecx, [ebp - 0x234]
call fcn.0042cee9
push 0x4a4354
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 8
call fcn.0042cb30
push eax
lea ecx, [ebp - 0x27c]
call fcn.0042cee9
push dword [ebp - 0x2cc]
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 9
call fcn.0042cb57
push eax
lea ecx, [ebp - 0x2c4]
call fcn.0042cee9
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x2ac]
call fcn.0042c62a
lea ecx, [ebp - 0x2c4]
call fcn.0042d0e7
lea ecx, [ebp - 0x27c]
call fcn.0042d0e7
lea ecx, [ebp - 0x234]
call fcn.0042d0e7
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 6
call fcn.0042d0e7
jmp 0x42c20b
lea eax, [ebp - 0x294]
mov ecx, esi
push eax
call fcn.0042c601
mov ebx, dword [ebp - 0x2d0]
cmp byte [ebx + 0x3e4], 0
je 0x42c3fa
push esi
mov edx, edi
lea ecx, [ebp - 0x2c4]
call fcn.0042c96e
mov byte [ebp - 4], 0xa
mov ecx, eax
mov dword [esp], 0x4a4354
call fcn.0042cb30
push eax
lea ecx, [ebp - 0x27c]
call fcn.0042cee9
lea eax, [ebx + 0x3e8]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x27c]
call fcn.0042cb57
push eax
lea ecx, [ebp - 0x234]
call fcn.0042cee9
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x24c]
call fcn.0042c62a
lea ecx, [ebp - 0x234]
call fcn.0042d0e7
lea ecx, [ebp - 0x27c]
call fcn.0042d0e7
lea ecx, [ebp - 0x2c4]
jmp 0x42c44e
push 0x4a4354
mov edx, esi
lea ecx, [ebp - 0x27c]
call fcn.0042c9c8
pop ecx
lea ecx, [ebx + 0x3e8]
mov byte [ebp - 4], 0xc
push ecx
mov ecx, eax
call fcn.0042cb57
push eax
lea ecx, [ebp - 0x234]
call fcn.0042cee9
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x24c]
call fcn.0042c62a
lea ecx, [ebp - 0x234]
call fcn.0042d0e7
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 6
call fcn.0042d0e7
mov ecx, dword [ebx + 0x34c]
lea edx, [ebp - 0x24c]
cmp dword [ebp - 0x238], 8
cmovae edx, dword [ebp - 0x24c]
mov eax, dword [ecx]
push edx
call dword [eax + 0x2c]
lea ecx, [ebp - 0x294]
call fcn.0042d0e7
lea ecx, [ebp - 0x2ac]
call fcn.0042d0e7
lea ecx, [ebp - 0x24c]
call fcn.0042d0e7
call fcn.0046aed0
ret