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

Disassembly:
push 0x3dc
mov eax, 0x4ff272
call fcn.004d998f
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x3e4], ecx
mov dword [ebp - 0x3d8], eax
mov dword [ebp - 0x3d0], ebx
xor esi, esi
call fcn.0043b257
push eax
lea ecx, [ebp - 0x94]
call fcn.0043a8df
mov dword [ebp - 4], ebx
call fcn.0043b25d
mov edi, eax
mov ecx, eax
call fcn.0043a5cb
lea ecx, [ebp - 0x94]
test al, al
je 0x43e424
push dword [ebp - 0x3d8]
call fcn.0043a664
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.0043a4b7
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x43e3cb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.0043a49d
jmp 0x43e5a1
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
je 0x43e3b7
push esi
mov dword [ebp - 0x3e0], ebx
call fcn.004d4432
pop ecx
push ebx
lea ecx, [ebp - 0x3e0]
push ecx
push esi
push eax
push edi
mov dword [ebp - 0x3d0], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x3e0], esi
je 0x43e58a
push dword [ebp - 0x3d0]
call fcn.004d6376
pop ecx
mov dword [ebp - 0x3d0], ebx
jmp 0x43e3b7
push edi
call fcn.0043a647
call fcn.0043b269
test al, al
je 0x43e43c
call fcn.0043b26f
mov edi, eax
jmp 0x43e4a0
call fcn.0043b263
push eax
lea ecx, [ebp - 0x19c]
call fcn.0043a8df
push ebx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.0043a4b7
push eax
call fcn.0046b545
pop ecx
pop ecx
mov edi, eax
push edi
lea ecx, [ebp - 0x94]
call fcn.0043a4b7
push eax
call fcn.00466b8a
pop ecx
pop ecx
mov dword [ebp - 0x3d4], eax
cmp edi, ebx
je 0x43e48c
push edi
call fcn.004d6376
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], bl
call fcn.0043a49d
mov edi, dword [ebp - 0x3d4]
cmp edi, ebx
je 0x43e3b7
push 0xffffffffffffffff
push dword [ebp - 0x3d8]
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x3dc], ebx
call fcn.0043a8bb
push 0x50ab28
push 0x50ab24
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.0043aa3f
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3dc]
push eax
push 1
lea ecx, [ebp - 0x118]
call fcn.0043a4b7
push eax
push edi
call fcn.00465104
add esp, 0x14
test eax, eax
je 0x43e516
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], bl
call fcn.0043a49d
jmp 0x43e3b7
mov esi, dword [ebp - 0x1a0]
cmp esi, ebx
je 0x43e503
push esi
call fcn.004d4432
push esi
push eax
push dword [ebp - 0x3dc]
mov dword [ebp - 0x3d0], eax
push edi
call fcn.00466bf1
add esp, 0x14
cmp eax, ebx
je 0x43e56c
cmp eax, 0x600
je 0x43e56c
push dword [ebp - 0x3d0]
call fcn.004d6376
pop ecx
mov dword [ebp - 0x3d0], ebx
call fcn.0043b269
test al, al
jne 0x43e503
push edi
call fcn.00466c0c
pop ecx
jmp 0x43e503
call fcn.0043b269
test al, al
jne 0x43e57c
push edi
call fcn.00466c0c
pop ecx
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], bl
call fcn.0043a49d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.0043a49d
cmp dword [ebp - 0x3d0], ebx
jne 0x43e617
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp - 0x3d8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x43e617
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
je 0x43e617
push esi
mov dword [ebp - 0x3d4], ebx
call fcn.004d4432
pop ecx
push ebx
lea ecx, [ebp - 0x3d4]
push ecx
push esi
push eax
push edi
mov dword [ebp - 0x3d0], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x3d4], esi
je 0x43e617
push dword [ebp - 0x3d0]
call fcn.004d6376
pop ecx
mov dword [ebp - 0x3d0], ebx
lea eax, [ebp - 0x3e8]
push eax
push ebx
push esi
push dword [ebp - 0x3d0]
call dword [sym.imp.GDI32.dll_AddFontMemResourceEx]
push dword [ebp - 0x3d0]
mov esi, eax
call fcn.004d6376
pop ecx
mov ecx, dword [ebp - 0x3e4]
push esi
add ecx, 0x50c
call fcn.0043a2ed
call fcn.004d9a12
ret 4