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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506c71
mov eax, dword fs:[0]
push eax
sub esp, 0x3dc
mov eax, dword [0x5675c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3e4], ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x94]
push 0x56a2c0
mov dword [ebp - 0x3e0], ebx
xor edi, edi
xor esi, esi
call fcn.0044ad60
mov ecx, 0x56a350
mov dword [ebp - 4], esi
call fcn.0044bf60
lea ecx, [ebp - 0x94]
test al, al
je 0x44dc00
push ebx
call fcn.0044b550
push esi
push 0x80
push 3
push esi
push 1
push bind
lea ecx, [ebp - 0x94]
call fcn.0044bc50
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x44db7e
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], eax
call fcn.0044af90
jmp 0x44de03
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
jne 0x44dba4
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.0044af90
jmp 0x44de03
push esi
mov dword [ebp - 0x3d0], 0
call fcn.004ffbb1
add esp, 4
mov edi, eax
lea eax, [ebp - 0x3d0]
push 0
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 - 0x3d0], esi
je 0x44dded
push edi
call fcn.004ffbba
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
xor edi, edi
call fcn.0044af90
jmp 0x44de03
push 0x56a350
call fcn.0044b4c0
cmp byte [0x5670ac], 0
je 0x44dc1e
mov ebx, dword [0x56a2b0]
jmp 0x44dce7
push 0x56a3e0
lea ecx, [ebp - 0x19c]
call fcn.0044ad60
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.0044bc50
mov dword [ebp - 0x3d8], eax
test eax, eax
je 0x44dca8
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x3d0], eax
inc eax
push eax
mov dword [ebp - 0x3d4], eax
call fcn.004ffbb1
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x44dca8
push dword [ebp - 0x3d4]
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0
push 0
push dword [ebp - 0x3d0]
push ebx
push 0xffffffffffffffff
push dword [ebp - 0x3d8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x44dcaa
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x94]
call fcn.0044bc50
push eax
call fcn.004628e0
add esp, 8
mov dword [ebp - 0x3d8], eax
test ebx, ebx
je 0x44dcd2
push ebx
call fcn.004ffbba
add esp, 4
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.0044af90
mov ebx, dword [ebp - 0x3d8]
test ebx, ebx
jne 0x44dd02
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.0044af90
jmp 0x44de03
push 0xffffffffffffffff
push dword [ebp - 0x3e0]
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x3dc], 0
call fcn.0044ad90
push 0x51e94c
push 0x51cdac
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.0044c2f0
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3dc]
push eax
push 1
lea ecx, [ebp - 0x118]
call fcn.0044b260
push eax
push ebx
call fcn.00461ed0
add esp, 0x14
test eax, eax
je 0x44dd83
lea ecx, [ebp - 0x118]
call fcn.0044af90
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.0044af90
jmp 0x44de03
mov esi, dword [ebp - 0x1a0]
test esi, esi
je 0x44dd61
push esi
call fcn.004ffbb1
push esi
mov edi, eax
push edi
push dword [ebp - 0x3dc]
push ebx
call fcn.00462f50
add esp, 0x14
test eax, eax
je 0x44ddd0
cmp eax, 0x600
je 0x44ddd0
push edi
call fcn.004ffbba
add esp, 4
xor edi, edi
cmp byte [0x5670ac], 0
jne 0x44dd61
push ebx
call fcn.00461bd0
add esp, 4
jmp 0x44dd61
cmp byte [0x5670ac], 0
jne 0x44dde2
push ebx
call fcn.00461bd0
add esp, 4
lea ecx, [ebp - 0x118]
call fcn.0044af90
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.0044af90
test edi, edi
jne 0x44de78
push 0
push 0x80
push 3
push 0
push 1
push bind
push dword [ebp - 0x3e0]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44de78
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x44de78
push esi
mov dword [ebp - 0x3d4], 0
call fcn.004ffbb1
add esp, 4
mov edi, eax
lea eax, [ebp - 0x3d4]
push 0
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 - 0x3d4], esi
je 0x44de78
push edi
call fcn.004ffbba
add esp, 4
xor edi, edi
lea eax, [ebp - 0x3e8]
push eax
push 0
push esi
push edi
call dword [sym.imp.GDI32.dll_AddFontMemResourceEx]
push edi
mov esi, eax
call fcn.004ffbba
mov ecx, dword [ebp - 0x3e4]
add esp, 4
add ecx, 0x46c
push esi
call fcn.0044b5a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ff7f3
mov esp, ebp
pop ebp
ret 4