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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d15dd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x517ba0]
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 0x42bf1e
test edi, edi
je 0x42bf1e
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42bf1e
push 0x4e3c88
call fcn.0049fbd0
push eax
push 0x4e3c88
call fcn.0049fd60
mov dword [ebp - 0x18], eax
push edi
mov dword [ebp - 4], 0
call fcn.0049fbd0
push eax
push edi
call fcn.0049fd60
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.0049f8a0
mov esi, eax
push 0x4e3cc4
mov byte [ebp - 4], 2
call fcn.0049fbd0
push eax
push 0x4e3cc4
call fcn.0049fd60
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.0049f8a0
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x42be89
call fcn.0049fda0
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 8
test ecx, ecx
je 0x42be99
call fcn.0049fda0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xa
test ecx, ecx
je 0x42bea9
call fcn.0049fda0
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0xc
test ecx, ecx
je 0x42beb9
call fcn.0049fda0
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xb
call fcn.0049f770
push 4
push 0x4e23b8
push eax
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x42bf04
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 0xd
test ecx, ecx
je 0x42beee
call fcn.0049fda0
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 0x42bf17
call fcn.0049fda0
mov dword [ebp - 4], 0xffffffff
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
push edi
call fcn.0042c090
mov byte [ebp + 0xf], al
test al, al
jne 0x42c072
push 0x4e3cd0
call fcn.0049fbd0
push eax
push 0x4e3cd0
call fcn.0049fd60
add esp, 0xc
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0xf
test edi, edi
je 0x42c043
cmp word [edi], 0
je 0x42c043
push 0x4e3d20
call fcn.0049fbd0
push eax
push 0x4e3d20
call fcn.0049fd60
mov dword [ebp - 0x1c], eax
push edi
mov byte [ebp - 4], 0x10
call fcn.0049fbd0
push eax
push edi
call fcn.0049fd60
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.0049f8a0
mov esi, eax
push 0x4e3d28
mov byte [ebp - 4], 0x12
call fcn.0049fbd0
push eax
push 0x4e3d28
call fcn.0049fd60
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.0049f8a0
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x14
call fcn.0049f9d0
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 0x15
test ecx, ecx
je 0x42bfff
call fcn.0049fda0
mov ecx, dword [ebp + 0x14]
mov byte [ebp - 4], 0x16
test ecx, ecx
je 0x42c00f
call fcn.0049fda0
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 0x17
test ecx, ecx
je 0x42c01f
call fcn.0049fda0
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 4], 0x18
test ecx, ecx
je 0x42c02f
call fcn.0049fda0
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x19
test ecx, ecx
je 0x42c03f
call fcn.0049fda0
mov byte [ebp - 4], 0xf
lea ecx, [ebp + 8]
call fcn.0049f770
push 0
push 0x4e23b8
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 0x42c06f
call fcn.0049fda0
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