Function at 0x42448f
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push 0xb8
mov eax, 0x599961
call fcn.00591d11
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xbc], eax
and dword [ebp - 4], 0
call fcn.0042c573
test al, al
je 0x4244d4
push ebp
push edx
pop ecx
pop edi
push eax
push edi
push esp
pop ecx
pop edx
push eax
push edx
pop ecx
push eax
push ecx
push eax
pop edi
pop ecx
pop edx
push esi
pop esp
pop eax
push edx
pop ebp
pop ebx
push ecx
push ebx
push edx
pop edi
push edx
push ecx
pop ecx
push ebx
call fcn.0042c825
test al, al
je 0x4244fa
pop ebp
pop esp
push edx
push ebx
push ebp
pop esp
push eax
push edx
push eax
pop ecx
push ebp
pop esp
pop edx
pop ebx
push ebx
pop edx
pop edi
push ebp
push edx
push edi
pop ebp
pop ebp
push ebx
push ecx
pop eax
pop eax
pop esi
push ebx
pop ebx
call fcn.0042c1ad
test al, al
je 0x42451c
pop eax
pop esp
pop ecx
pop edi
push ebp
pop ebp
push ecx
pop esp
push edi
pop edx
push ecx
push ebp
push ecx
push eax
pop esi
pop edi
pop eax
pop ebx
pop esi
push esi
push ebp
push esp
push edx
push edi
pop edi
call fcn.0042c306
test al, al
je 0x42453a
push edx
pop eax
push ebx
pop ebx
push eax
pop ebx
push ebx
pop edx
pop edx
push esp
push ebx
push esi
pop edx
push ebx
push edx
push ecx
pop ebx
push ecx
push edi
push edx
pop ebx
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x14], 7
push eax
push 0x617ad8
mov word [ebp - 0x28], ax
call fcn.004029e0
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 1
call fcn.00433401
xor ebx, ebx
call fcn.0042c756
test al, al
je 0x42458c
push ebx
pop esi
push edx
push ecx
push ebp
pop esp
pop ebp
pop edx
pop ecx
pop edi
push esp
pop ebp
pop edi
push esi
pop ecx
pop esi
push ecx
pop ebp
pop eax
push eax
pop ebp
pop ecx
push ebx
push eax
push edi
call fcn.0042c0de
test al, al
je 0x4245a6
push edx
pop edx
push eax
pop edi
pop eax
pop esp
pop esi
push eax
push edi
pop edi
pop ebp
pop eax
pop ecx
push eax
push edi
push esp
push ebx
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42469a
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0
cmovae eax, dword [ebp + 8]
push 0x80
push 4
push 0
push 1
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0xb8], esi
cmp esi, 0xffffffff
je 0x424698
call fcn.0042c573
test al, al
je 0x42461f
pop ebx
push ebx
push ecx
pop ecx
push eax
pop edi
push edi
pop ebx
pop edx
push edx
pop ebp
pop edi
pop esp
push eax
push esp
pop esi
push esp
pop esp
push ecx
push esi
push ebx
pop ebx
push edi
pop esp
pop ebx
pop edi
pop esp
mov esi, dword [ebp - 0xb8]
call fcn.0042c1f2
test al, al
je 0x424638
pop ebx
pop eax
push esp
push esi
push eax
pop esp
push ebx
push edx
push ebp
pop ebx
push edi
pop edi
push esi
pop ecx
pop edx
pop edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, dword [ebp - 0xbc]
push eax
mov dword [ebx], eax
call fcn.0041b9a8
mov esi, eax
mov dword [ebp - 0xc0], esi
pop ecx
test esi, esi
jne 0x4246ba
call fcn.0042c756
test al, al
je 0x42467e
push ebx
pop esi
push edx
push ecx
push ebp
pop esp
pop ebp
pop edx
pop ecx
pop edi
push esp
pop ebp
pop edi
push esi
pop ecx
pop esi
push ecx
pop ebp
pop eax
push eax
pop ebp
pop ecx
push ebx
push eax
push edi
call fcn.0042c0de
test al, al
je 0x424698
push edx
pop edx
push eax
pop edi
pop eax
pop esp
pop esi
push eax
push edi
pop edi
pop ebp
pop eax
pop ecx
push eax
push edi
push esp
push ebx
xor ebx, ebx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00402920
push 0
push 1
lea ecx, [ebp + 8]
call fcn.00402920
mov eax, ebx
call fcn.00591ccc
ret
push dword [ebx]
push 0
push esi
call fcn.0043c880
add esp, 0xc
call fcn.0042c573
test al, al
je 0x4246f1
pop ebx
push ebx
push ecx
pop ecx
push eax
pop edi
push edi
pop ebx
pop edx
push edx
pop ebp
pop edi
pop esp
push eax
push esp
pop esi
push esp
pop esp
push ecx
push esi
push ebx
pop ebx
push edi
pop esp
pop ebx
pop edi
pop esp
mov esi, dword [ebp - 0xc0]
call fcn.0042c1f2
test al, al
je 0x42470a
pop ebx
pop eax
push esp
push esi
push eax
pop esp
push ebx
push edx
push ebp
pop ebx
push edi
pop edi
push esi
pop ecx
pop edx
pop edi
push 0
lea eax, [ebp - 0xc4]
push eax
mov eax, dword [ebp - 0xbc]
push dword [eax]
push esi
push dword [ebp - 0xb8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
call fcn.0042c237
test al, al
je 0x424749
pop ecx
push eax
push esi
push edx
push esi
push ebx
push edi
pop ebp
push ecx
push edi
push esp
push edx
push ebp
pop ebp
push ecx
pop ecx
pop esi
push edx
pop edi
pop ebp
pop esi
pop esi
pop ebp
pop eax
call fcn.0042c099
test al, al
je 0x424771
pop eax
push esi
push eax
pop ebp
push ebx
pop esi
push ecx
push eax
push esi
push ebx
pop esi
pop esp
pop ebp
pop esi
push edi
pop esi
push eax
pop eax
push esp
push edx
pop esp
pop edx
push esp
pop edi
push eax
pop ebp
pop ebx
pop ebx
push eax
pop ebx
pop eax
push dword [ebp - 0xb8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0xc0]
jmp 0x42469a