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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cde8d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x513b94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp byte [ebp + 0xc], 0
mov edi, dword [ebp + 8]
jne 0x42ac6e
test edi, edi
je 0x42ac6e
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42ac6e
push 0x4dfab8
call fcn.0049c580
push eax
push 0x4dfab8
call fcn.0049c710
mov dword [ebp - 0x18], eax
push edi
mov dword [ebp - 4], 0
call fcn.0049c580
push eax
push edi
call fcn.0049c710
add esp, 0x18
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call fcn.0049c250
mov esi, eax
push 0x4dfaf4
mov byte [ebp - 4], 2
call fcn.0049c580
push eax
push 0x4dfaf4
call fcn.0049c710
add esp, 0xc
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp + 0xc]
mov ecx, esi
push eax
call fcn.0049c250
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x42abd9
call fcn.0049c750
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 8
test ecx, ecx
je 0x42abe9
call fcn.0049c750
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xa
test ecx, ecx
je 0x42abf9
call fcn.0049c750
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0xc
test ecx, ecx
je 0x42ac09
call fcn.0049c750
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xb
call fcn.0049c120
push 4
push 0x4de0b8
push eax
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x42ac54
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 0xd
test ecx, ecx
je 0x42ac3e
call fcn.0049c750
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 0xe
test ecx, ecx
je 0x42ac67
call fcn.0049c750
mov dword [ebp - 4], 0xffffffff
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
push edi
call fcn.0042ade0
mov byte [ebp + 0xf], al
test al, al
jne 0x42adc2
push 0x4dfb00
call fcn.0049c580
push eax
push 0x4dfb00
call fcn.0049c710
add esp, 0xc
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0xf
test edi, edi
je 0x42ad93
cmp word [edi], 0
je 0x42ad93
push 0x4dfb50
call fcn.0049c580
push eax
push 0x4dfb50
call fcn.0049c710
mov dword [ebp - 0x1c], eax
push edi
mov byte [ebp - 4], 0x10
call fcn.0049c580
push eax
push edi
call fcn.0049c710
add esp, 0x18
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0049c250
mov esi, eax
push 0x4dfb58
mov byte [ebp - 4], 0x12
call fcn.0049c580
push eax
push 0x4dfb58
call fcn.0049c710
add esp, 0xc
mov dword [ebp + 0x14], eax
lea eax, [ebp + 0x14]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.0049c250
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x14
call fcn.0049c380
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 0x15
test ecx, ecx
je 0x42ad4f
call fcn.0049c750
mov ecx, dword [ebp + 0x14]
mov byte [ebp - 4], 0x16
test ecx, ecx
je 0x42ad5f
call fcn.0049c750
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 0x17
test ecx, ecx
je 0x42ad6f
call fcn.0049c750
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 4], 0x18
test ecx, ecx
je 0x42ad7f
call fcn.0049c750
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x19
test ecx, ecx
je 0x42ad8f
call fcn.0049c750
mov byte [ebp - 4], 0xf
lea ecx, [ebp + 8]
call fcn.0049c120
push 0
push 0x4de0b8
push eax
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], 0x1a
test ecx, ecx
je 0x42adbf
call fcn.0049c750
mov al, byte [ebp + 0xf]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10