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

Disassembly:
push 0x2c4
mov eax, 0x4d3386
call fcn.004a9c62
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.0042b49e
mov byte [ebp - 4], 1
mov ecx, eax
mov dword [esp], 0x4eff8c
call fcn.0042b660
push eax
lea ecx, [ebp - 0x264]
call fcn.0042ba19
lea eax, [ebx + 0x3e8]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x2cc], eax
call fcn.0042b687
push eax
lea ecx, [ebp - 0x2ac]
call fcn.0042ba19
lea ecx, [ebp - 0x264]
call fcn.0042bc17
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 5
call fcn.0042bc17
and dword [ebp - 0x284], 0
lea ecx, [ebp - 0x294]
and dword [ebp - 0x280], 0
push esi
call fcn.0042b3c2
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 0x42ae8f
test al, 0x10
jne 0x42ae8f
push 0x208
lea eax, [ebp - 0x21c]
inc ebx
push 0
push eax
call fcn.004ab9a0
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x42ad88
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.0042b39b
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.0042b39b
mov byte [ebp - 4], 7
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x42adeb
mov eax, dword [edi]
push dword [edi + 0x10]
push eax
push ecx
lea ecx, [ebp - 0x264]
call fcn.0042b6a4
push eax
lea ecx, [ebp - 0x234]
call fcn.0042ba19
push 0x4eff8c
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 8
call fcn.0042b660
push eax
lea ecx, [ebp - 0x27c]
call fcn.0042ba19
push dword [ebp - 0x2cc]
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 9
call fcn.0042b687
push eax
lea ecx, [ebp - 0x2c4]
call fcn.0042ba19
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x2ac]
call fcn.0042b15a
lea ecx, [ebp - 0x2c4]
call fcn.0042bc17
lea ecx, [ebp - 0x27c]
call fcn.0042bc17
lea ecx, [ebp - 0x234]
call fcn.0042bc17
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 6
call fcn.0042bc17
jmp 0x42ad3b
lea eax, [ebp - 0x294]
mov ecx, esi
push eax
call fcn.0042b131
mov ebx, dword [ebp - 0x2d0]
cmp byte [ebx + 0x3e4], 0
je 0x42af2a
push esi
mov edx, edi
lea ecx, [ebp - 0x2c4]
call fcn.0042b49e
mov byte [ebp - 4], 0xa
mov ecx, eax
mov dword [esp], 0x4eff8c
call fcn.0042b660
push eax
lea ecx, [ebp - 0x27c]
call fcn.0042ba19
lea eax, [ebx + 0x3e8]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x27c]
call fcn.0042b687
push eax
lea ecx, [ebp - 0x234]
call fcn.0042ba19
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x24c]
call fcn.0042b15a
lea ecx, [ebp - 0x234]
call fcn.0042bc17
lea ecx, [ebp - 0x27c]
call fcn.0042bc17
lea ecx, [ebp - 0x2c4]
jmp 0x42af7e
push 0x4eff8c
mov edx, esi
lea ecx, [ebp - 0x27c]
call fcn.0042b4f8
pop ecx
lea ecx, [ebx + 0x3e8]
mov byte [ebp - 4], 0xc
push ecx
mov ecx, eax
call fcn.0042b687
push eax
lea ecx, [ebp - 0x234]
call fcn.0042ba19
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x24c]
call fcn.0042b15a
lea ecx, [ebp - 0x234]
call fcn.0042bc17
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 6
call fcn.0042bc17
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.0042bc17
lea ecx, [ebp - 0x2ac]
call fcn.0042bc17
lea ecx, [ebp - 0x24c]
call fcn.0042bc17
call fcn.004a9c0c
ret