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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484738
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4b31cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [ebp + 0xc], 0
mov esi, dword [ebp + 8]
jne 0x415c44
test esi, esi
je 0x415c44
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x415c44
push 0x49092c
call fcn.00468d70
push eax
push 0x49092c
call fcn.00468f00
mov dword [ebp - 0x18], eax
push esi
mov dword [ebp - 4], 0
call fcn.00468d70
push eax
push esi
call fcn.00468f00
mov dword [ebp - 0x14], eax
push 0x4908f0
mov byte [ebp - 4], 1
call fcn.00468d70
push eax
push 0x4908f0
call fcn.00468f00
add esp, 0x24
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
call fcn.00468a70
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
push ecx
lea ecx, [ebp + 0xc]
push ecx
mov ecx, eax
call fcn.00468a70
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x415bc4
call fcn.00468f40
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x415bd4
call fcn.00468f40
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x415be4
call fcn.00468f40
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 8
test ecx, ecx
je 0x415bf4
call fcn.00468f40
push 4
push 0x48f9d4
lea ecx, [ebp + 0xc]
call fcn.004689b0
push eax
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
cmp eax, 6
je 0x415c3b
test ecx, ecx
je 0x415c25
call fcn.00468f40
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
test ecx, ecx
je 0x415c44
call fcn.00468f40
push dword [ebp + 0x14]
mov ecx, edi
push dword [ebp + 0x10]
push esi
call fcn.00415db0
mov bl, al
test bl, bl
jne 0x415d8b
push 0x490938
call fcn.00468d70
push eax
push 0x490938
call fcn.00468f00
add esp, 0xc
mov dword [ebp + 8], eax
mov dword [ebp - 4], 9
test esi, esi
je 0x415d5f
cmp word [esi], 0
je 0x415d5f
push 0x490990
call fcn.00468d70
push eax
push 0x490990
call fcn.00468f00
mov dword [ebp - 0x1c], eax
push esi
mov byte [ebp - 4], 0xa
call fcn.00468d70
push eax
push esi
call fcn.00468f00
mov dword [ebp + 0x10], eax
push 0x490988
mov byte [ebp - 4], 0xb
call fcn.00468d70
push eax
push 0x490988
call fcn.00468f00
add esp, 0x24
mov dword [ebp + 0x14], eax
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 0x14]
call fcn.00468a70
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xd
push ecx
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
call fcn.00468a70
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xe
call fcn.00468b50
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 0xd
test ecx, ecx
je 0x415d1f
call fcn.00468f40
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 0xc
test ecx, ecx
je 0x415d2f
call fcn.00468f40
mov ecx, dword [ebp + 0x14]
mov byte [ebp - 4], 0xb
test ecx, ecx
je 0x415d3f
call fcn.00468f40
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 4], 0xa
test ecx, ecx
je 0x415d4f
call fcn.00468f40
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 9
test ecx, ecx
je 0x415d5f
call fcn.00468f40
push 0
push 0x48f9d4
lea ecx, [ebp + 8]
call fcn.004689b0
push eax
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x415d8b
call fcn.00468f40
mov al, bl
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