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

Disassembly:
push 0x360
mov eax, 0x527d42
call fcn.004ebc96
mov dword [ebp - 0x36c], ecx
mov ebx, dword [ebp + 8]
xor eax, eax
push 0x84
push eax
mov edi, eax
mov dword [ebp - 0x1c], ebx
mov esi, eax
lea eax, [ebp - 0xac]
push eax
call fcn.004eddc0
add esp, 0xc
lea ecx, [ebp - 0xac]
push 0x579018
call fcn.0044e850
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [0x578f90]
cmp word [eax], cx
jne 0x444122
test ebx, ebx
je 0x444096
push ebx
lea ecx, [ebp - 0xac]
call fcn.0044e8c3
xor ecx, ecx
push ecx
push 0x80
push 3
push ecx
push 1
push closesocket
push dword [ebp - 0xac]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
or ebx, 0xffffffff
mov dword [ebp - 0x368], eax
cmp eax, ebx
jne 0x4440d2
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0xac]
call fcn.0044e875
jmp 0x44421e
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x4440bf
and dword [ebp - 0x18], 0
push esi
call fcn.004eb2d8
pop ecx
push 0
mov edi, eax
lea eax, [ebp - 0x18]
push eax
push esi
push edi
push dword [ebp - 0x368]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x368]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], esi
je 0x44420c
push edi
call fcn.004ead03
pop ecx
xor edi, edi
jmp 0x4440bf
push eax
lea ecx, [ebp - 0xac]
call fcn.0044e8c3
mov eax, dword [0x57dc00]
mov dword [ebp - 0x368], eax
test eax, eax
jne 0x444145
or ebx, 0xffffffff
jmp 0x4440bf
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x134]
push 0x84
push 0
push eax
call fcn.004eddc0
add esp, 0xc
lea ecx, [ebp - 0x134]
or ebx, 0xffffffff
push ebx
push dword [ebp - 0x1c]
call fcn.0044e82c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x134]
push 0x550df8
push 0x54b8c4
call fcn.0044ec52
mov edx, dword [ebp - 0x134]
lea eax, [ebp - 0x364]
push eax
lea eax, [ebp - 0x18]
push eax
push ecx
mov ecx, dword [ebp - 0x368]
call fcn.0046a526
add esp, 0xc
test eax, eax
je 0x4441c2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.0044e875
jmp 0x4440bf
mov esi, dword [ebp - 0x138]
test esi, esi
je 0x4441ae
push esi
call fcn.004eb2d8
mov edx, dword [ebp - 0x18]
mov edi, eax
mov ecx, dword [ebp - 0x368]
push esi
push edi
call fcn.0046a559
add esp, 0xc
test eax, eax
je 0x4441fd
cmp eax, 0x600
je 0x4441fd
push edi
call fcn.004ead03
pop ecx
xor edi, edi
jmp 0x4441ae
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.0044e875
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0xac]
call fcn.0044e875
test edi, edi
jne 0x444288
push 0
push 0x80
push 3
push 0
push 1
push closesocket
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x368], eax
cmp eax, ebx
je 0x444288
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x444288
push esi
mov dword [ebp - 0x1c], ebx
call fcn.004eb2d8
pop ecx
push ebx
mov ebx, dword [ebp - 0x368]
mov edi, eax
lea eax, [ebp - 0x1c]
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 - 0x1c], esi
je 0x444288
push edi
call fcn.004ead03
pop ecx
xor edi, edi
lea eax, [ebp - 0x20]
push eax
push 0
push esi
push edi
call dword [sym.imp.GDI32.dll_AddFontMemResourceEx]
push edi
mov esi, eax
call fcn.004ead03
pop ecx
mov ecx, dword [ebp - 0x36c]
push esi
add ecx, 0x4f8
call fcn.0044e691
call fcn.004ebc45
ret 4