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

Disassembly:
push 0x2c4
mov eax, 0x4a2365
call fcn.00481132
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.0042baa4
push 0x4a676c
push eax
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 1
push eax
call fcn.0042ba52
add esp, 0x18
lea ebx, [edi + 0x3e4]
mov byte [ebp - 4], 2
push ebx
mov ecx, eax
call fcn.0042d68b
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.0042d518
lea ecx, [ebp - 0x230]
call fcn.0042d628
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 5
call fcn.0042d628
and dword [ebp - 0x268], 0
lea ecx, [ebp - 0x278]
and dword [ebp - 0x264], 0
push esi
call fcn.0042d5ad
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 0x42d2a3
test al, 0x10
jne 0x42d2a3
push 0x208
lea eax, [ebp - 0x218]
inc edi
push 0
push eax
call fcn.00484300
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x42d1b2
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.00487b15
add esp, 0x14
lea ecx, [ebp - 0x278]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0042d744
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x290]
call fcn.0042bfb3
push eax
push dword [ebp - 0x2d0]
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 7
push eax
call fcn.0042ba78
push 0x4a676c
push eax
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 8
push eax
call fcn.0042ba52
add esp, 0x18
push ebx
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.0042d68b
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.0042d518
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x260]
call fcn.0042c0d9
lea ecx, [ebp - 0x230]
call fcn.0042d628
lea ecx, [ebp - 0x2a8]
call fcn.0042d628
lea ecx, [ebp - 0x2c0]
call fcn.0042d628
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 6
call fcn.0042d628
jmp 0x42d165
lea eax, [ebp - 0x278]
mov ecx, esi
push eax
call fcn.0042c102
mov edi, dword [ebp - 0x2c4]
cmp byte [edi + 0x3e0], 0
je 0x42d353
push esi
lea eax, [edi + 0x398]
push eax
lea eax, [ebp - 0x2c0]
push eax
call fcn.0042baa4
push 0x4a676c
push eax
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 0xa
push eax
call fcn.0042ba52
add esp, 0x18
push ebx
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.0042d68b
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.0042d518
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x248]
call fcn.0042c0d9
lea ecx, [ebp - 0x230]
call fcn.0042d628
lea ecx, [ebp - 0x290]
call fcn.0042d628
lea ecx, [ebp - 0x2c0]
jmp 0x42d3bd
push 0x4a676c
lea eax, [ebp - 0x290]
push esi
push eax
call fcn.0042bafd
add esp, 0xc
push ebx
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.0042d68b
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.0042d518
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x248]
call fcn.0042c0d9
lea ecx, [ebp - 0x230]
call fcn.0042d628
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 6
call fcn.0042d628
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.0042d628
lea ecx, [ebp - 0x260]
call fcn.0042d628
lea ecx, [ebp - 0x248]
call fcn.0042d628
call fcn.004810dc
ret