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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x569e50
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5c5678]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp + 0xc], edi
cmp ebx, edi
je 0x4d3d08
cmp dword [ebp + 0x10], edi
je 0x4d3d08
mov eax, dword [0x5ce94c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5ce94c
call edx
lea esi, [eax + 0x10]
mov dword [ebp + 0xc], esi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
mov dword [ebp - 4], edi
push ebx
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4d3ba6
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea edi, [ebp + 0xc]
call fcn.00423030
test eax, eax
je 0x4d3ba1
push 0
lea ecx, [ebp - 0x14]
push ecx
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, dword [ebp + 0xc]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0053e3ad
add esp, 8
xor edx, edx
mov dword [esi - 0xc], eax
push ebx
mov word [esi + eax*2], dx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4d3ba4
mov esi, dword [ebp + 0xc]
xor edi, edi
cmp dword [esi - 0xc], edi
je 0x4d3cb9
cmp dword [ebp - 0x14], edi
je 0x4d3cb9
mov eax, dword [0x5ce94c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5ce94c
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
cmp dword [esi - 0xc], edi
jl 0x4d3c82
push str._language_font_face_
push esi
call fcn.0053f4fe
add esp, 8
cmp eax, edi
je 0x4d3c82
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x4d3c82
mov edx, dword [ebp + 0x10]
mov ecx, eax
lea esi, [ebp + 0xc]
call fcn.0040efc0
cmp eax, 0xffffffff
je 0x4d3c82
mov ecx, eax
mov edx, str.face_
call fcn.0040efc0
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4d3c82
add ebx, 6
mov ecx, ebx
mov edx, 0x58c9bc
call fcn.0040efc0
cmp eax, 0xffffffff
je 0x4d3c82
lea ecx, [ebp - 0x18]
push ecx
mov edx, esi
sub eax, ebx
push edx
mov ecx, ebx
call fcn.00424aa0
push 0x5907e8
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], edi
call fcn.004227e0
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00425450
lea ecx, [ebp - 0x20]
call fcn.00425530
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00425530
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004254c0
mov esi, dword [ebp + 8]
add eax, 0x10
lea ecx, [ebp - 0x10]
mov dword [esi], eax
call fcn.00425530
lea ecx, [ebp + 0xc]
call fcn.00425530
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0x5ce94c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5ce94c
call eax
mov edi, dword [ebp + 8]
add eax, 0x10
add esi, 0xfffffff0
mov dword [edi], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d3cf4
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x5ce94c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5ce94c
call edx
mov ecx, eax
mov eax, dword [ebp + 8]
add ecx, 0x10
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret