Function at 0x48e4e3
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x214
mov eax, 0x630abb
call fcn.004e5a7f
mov dword [ebp - 0x21c], ecx
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x210], eax
xor esi, esi
call fcn.0048f555
push eax
lea ecx, [ebp - 0x54]
call fcn.0048ca90
and dword [ebp - 4], esi
call fcn.0048f561
mov ebx, eax
mov ecx, eax
call fcn.0048d240
lea ecx, [ebp - 0x54]
test al, al
je 0x48e5cf
push dword [ebp - 0x210]
call fcn.0048cd28
push esi
push 0x80
push 3
push esi
push 1
push accept
lea ecx, [ebp - 0x54]
call fcn.0048ccb0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
or ebx, 0xffffffff
mov dword [ebp - 0x20c], eax
cmp eax, ebx
jne 0x48e576
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], ebx
call fcn.0048cba9
jmp 0x48e736
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x48e566
and dword [ebp - 0x214], 0
push esi
call fcn.004e48f7
pop ecx
push 0
mov edi, eax
lea eax, [ebp - 0x214]
push eax
push esi
push edi
push dword [ebp - 0x20c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x20c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x214], esi
je 0x48e727
push edi
call fcn.004e4900
pop ecx
xor edi, edi
jmp 0x48e566
push ebx
call fcn.0048cceb
call fcn.0048f869
test al, al
je 0x48e5ed
call fcn.0048f567
mov ebx, eax
mov dword [ebp - 0x20c], ebx
jmp 0x48e635
call fcn.0048f56d
push eax
lea ecx, [ebp - 0xdc]
call fcn.0048ca90
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 1
call fcn.0048ccb0
push eax
lea ecx, [ebp - 0x54]
call fcn.0048ccb0
push eax
call fcn.004ac002
pop ecx
pop ecx
mov ebx, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0x20c], ebx
call fcn.0048cba9
test ebx, ebx
jne 0x48e641
or ebx, 0xffffffff
jmp 0x48e566
and dword [ebp - 0x218], 0
lea ecx, [ebp - 0x98]
or ebx, 0xffffffff
push ebx
push dword [ebp - 0x210]
call fcn.0048cac8
push 0x6c1858
push 0x6c1854
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
call fcn.0048d3ed
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
lea ecx, [ebp - 0x98]
call fcn.0048ccb0
push eax
push dword [ebp - 0x20c]
call fcn.004ab9dc
add esp, 0x14
test eax, eax
je 0x48e6b4
lea ecx, [ebp - 0x98]
call fcn.0048cba9
jmp 0x48e566
mov esi, dword [ebp - 0xe0]
test esi, esi
je 0x48e6a4
push esi
call fcn.004e48f7
push esi
mov edi, eax
push edi
push dword [ebp - 0x218]
push dword [ebp - 0x20c]
call fcn.004ac407
add esp, 0x14
test eax, eax
je 0x48e707
cmp eax, 0x600
je 0x48e707
push edi
call fcn.004e4900
pop ecx
xor edi, edi
call fcn.0048f869
test al, al
jne 0x48e6a4
push dword [ebp - 0x20c]
call fcn.004ab7e6
pop ecx
jmp 0x48e6a4
call fcn.0048f869
test al, al
jne 0x48e71c
push dword [ebp - 0x20c]
call fcn.004ab7e6
pop ecx
lea ecx, [ebp - 0x98]
call fcn.0048cba9
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], ebx
call fcn.0048cba9
test edi, edi
jne 0x48e7ac
push 0
push 0x80
push 3
push 0
push 1
push accept
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x210], eax
cmp eax, ebx
je 0x48e7ac
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x48e7ac
push esi
mov dword [ebp - 0x20c], ebx
call fcn.004e48f7
pop ecx
push ebx
mov ebx, dword [ebp - 0x210]
mov edi, eax
lea eax, [ebp - 0x20c]
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x20c], esi
je 0x48e7ac
push edi
call fcn.004e4900
pop ecx
xor edi, edi
lea eax, [ebp - 0x220]
push eax
push 0
push esi
push edi
call dword [sym.imp.GDI32.dll_AddFontMemResourceEx]
push edi
mov esi, eax
call fcn.004e4900
pop ecx
mov ecx, dword [ebp - 0x21c]
push esi
add ecx, 0x32c
call fcn.0048cd43
call fcn.004e5a3a
ret 4