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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2b7d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x517b80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp byte [ebp + 0xc], 0
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x14], eax
jne 0x427ccb
test edi, edi
je 0x427ccb
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x427cc8
push 0x4e66a8
mov dword [ebp - 0x18], 0
call fcn.004a27e0
push eax
push 0x4e66a8
call fcn.004a29e0
mov dword [ebp - 0x2c], eax
push edi
mov dword [ebp - 4], 0
call fcn.004a27e0
push eax
push edi
call fcn.004a29e0
add esp, 0x18
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004a24b0
mov esi, eax
push 0x4e66e4
mov byte [ebp - 4], 2
call fcn.004a27e0
push eax
push 0x4e66e4
call fcn.004a29e0
add esp, 0xc
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.004a24b0
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x427c3f
call fcn.004a2a20
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 4], 8
test ecx, ecx
je 0x427c4f
call fcn.004a2a20
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 0xa
test ecx, ecx
je 0x427c5f
call fcn.004a2a20
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xc
test ecx, ecx
je 0x427c6f
call fcn.004a2a20
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xb
call fcn.004a2380
push 4
push 0x4e4e40
push eax
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x427cab
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], 0xd
test ecx, ecx
je 0x427ca4
call fcn.004a2a20
xor al, al
jmp 0x427e22
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], 0xe
test ecx, ecx
je 0x427cbe
call fcn.004a2a20
mov esi, dword [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
push eax
push esi
push edi
mov ecx, ebx
call fcn.00427e40
mov byte [ebp - 0x19], al
test al, al
jne 0x427e22
push 0x4e66f0
mov dword [ebp - 0x14], 0
call fcn.004a27e0
push eax
push 0x4e66f0
call fcn.004a29e0
add esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xf
test edi, edi
je 0x427df3
cmp word [edi], 0
je 0x427df3
push 0x4e6740
call fcn.004a27e0
push eax
push 0x4e6740
call fcn.004a29e0
mov dword [ebp - 0x20], eax
push edi
mov byte [ebp - 4], 0x10
call fcn.004a27e0
push eax
push edi
call fcn.004a29e0
add esp, 0x18
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x20]
call fcn.004a24b0
mov esi, eax
push 0x4e6748
mov byte [ebp - 4], 0x12
call fcn.004a27e0
push eax
push 0x4e6748
call fcn.004a29e0
add esp, 0xc
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call fcn.004a24b0
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x14
call fcn.004a25e0
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 0x15
test ecx, ecx
je 0x427daf
call fcn.004a2a20
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 0x16
test ecx, ecx
je 0x427dbf
call fcn.004a2a20
mov ecx, dword [ebp - 0x40]
mov byte [ebp - 4], 0x17
test ecx, ecx
je 0x427dcf
call fcn.004a2a20
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 0x18
test ecx, ecx
je 0x427ddf
call fcn.004a2a20
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 0x19
test ecx, ecx
je 0x427def
call fcn.004a2a20
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x14]
call fcn.004a2380
push 0
push 0x4e4e40
push eax
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0x1a
test ecx, ecx
je 0x427e1f
call fcn.004a2a20
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a71aa
mov esp, ebp
pop ebp
ret 0x10