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

Disassembly:
push 0xb8
mov eax, 0x59cd05
call fcn.00594fd1
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xb8], eax
and dword [ebp - 4], 0
call fcn.0042797a
test al, al
je 0x424d16
pop edx
pop ecx
push eax
pop ebp
pop esp
pop esi
push edx
pop ebp
pop eax
pop ecx
push eax
push ebp
push edx
pop esp
pop edi
pop esp
push ebp
pop edi
pop ebx
push ebp
pop ebx
push edi
pop eax
call fcn.004277dc
test al, al
je 0x424d32
push ecx
push esp
push edi
push ecx
push esp
pop ebx
push ebx
push ebp
pop edx
push edx
push ebp
pop eax
push ebp
push edx
pop ebp
push edi
push eax
push edi
push esp
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x14], 7
push eax
push 0x619730
mov word [ebp - 0x28], ax
call fcn.00401820
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 1
call fcn.0043823c
xor ebx, ebx
call fcn.00427752
test al, al
je 0x424d7b
pop esp
push ebx
pop ebp
pop ecx
pop esi
push esi
pop ebp
push edi
pop edi
push eax
pop esp
pop esi
push eax
push ebx
push ebx
pop ecx
call fcn.0042763e
test al, al
je 0x424d9f
pop esp
pop esp
pop eax
pop edx
push ecx
pop ecx
push edx
pop edx
pop ecx
pop ebp
push esi
push eax
push ebx
push edx
pop ebp
push ebx
pop esp
push esp
push ebp
push edi
pop esi
pop esi
push ecx
pop esi
push edx
push esp
push esp
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 0x424e68
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 bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0xbc], esi
cmp esi, 0xffffffff
je 0x424e66
call fcn.00427683
test al, al
je 0x424e05
pop ebp
push ecx
pop edi
push ecx
push ebx
pop ebx
push ebx
pop ecx
pop ebp
push edx
pop ebx
push ebx
pop esp
push esp
pop edx
pop edi
push ebx
push ebx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, dword [ebp - 0xb8]
push eax
mov dword [ebx], eax
call fcn.0041efa8
mov esi, eax
mov dword [ebp - 0xc0], esi
pop ecx
test esi, esi
jne 0x424e88
call fcn.00427752
test al, al
je 0x424e42
pop esp
push ebx
pop ebp
pop ecx
pop esi
push esi
pop ebp
push edi
pop edi
push eax
pop esp
pop esi
push eax
push ebx
push ebx
pop ecx
call fcn.0042763e
test al, al
je 0x424e66
pop esp
pop esp
pop eax
pop edx
push ecx
pop ecx
push edx
pop edx
pop ecx
pop ebp
push esi
push eax
push ebx
push edx
pop ebp
push ebx
pop esp
push esp
push ebp
push edi
pop esi
pop esi
push ecx
pop esi
push edx
push esp
push esp
xor ebx, ebx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00401760
push 0
push 1
lea ecx, [ebp + 8]
call fcn.00401760
mov eax, ebx
call fcn.00594f8c
ret
push dword [ebx]
push 0
push esi
call fcn.0043ffd0
add esp, 0xc
call fcn.00427683
test al, al
je 0x424eb6
pop ebp
push ecx
pop edi
push ecx
push ebx
pop ebx
push ebx
pop ecx
pop ebp
push edx
pop ebx
push ebx
pop esp
push esp
pop edx
pop edi
push ebx
push ebx
mov ebx, dword [ebp - 0xb8]
push 0
lea eax, [ebp - 0xc4]
push eax
push dword [ebx]
push esi
push dword [ebp - 0xbc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
call fcn.0042756f
test al, al
je 0x424eeb
pop edx
push esi
push esp
pop ecx
push ecx
pop ebp
pop esp
pop edi
push esi
push ebx
pop eax
push edi
push eax
push edx
push ebp
pop edi
pop esi
pop esi
pop esp
pop edi
call fcn.0042770d
test al, al
je 0x424f0a
pop esp
push edi
push edi
push edx
pop eax
push ebx
pop edx
pop edx
pop ecx
pop esi
pop ebp
pop edi
pop esi
pop edx
pop eax
pop ebx
pop edx
pop esi
push eax
pop ebx
push ebx
pop eax
call fcn.00427821
test al, al
je 0x424f33
pop ebx
pop ebp
pop esp
push ebp
pop ecx
pop edi
push edi
push ebx
push esi
pop esp
pop eax
push ebp
pop ecx
push edx
pop esp
pop ecx
push ebx
push ebp
push eax
push ecx
push esp
pop edx
push edx
push edi
push eax
pop eax
pop esp
push ebx
push ebx
push ebp
pop eax
pop edi
push dword [ebp - 0xbc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0xc0]
jmp 0x424e68