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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba110
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4f3958]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov edi, dword [ebp + 0xc]
cmp edi, ebx
je 0x44c106
cmp dword [ebp + 0x10], ebx
je 0x44c106
mov eax, dword [0x4f7780]
mov edx, dword [eax + 0xc]
mov ecx, 0x4f7780
call edx
lea esi, [eax + 0x10]
mov dword [ebp + 0xc], esi
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x44bfa4
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
lea ecx, [ebp + 0xc]
call fcn.0040df20
cmp eax, ebx
je 0x44bfa1
push ebx
lea ecx, [ebp - 0x14]
push ecx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, dword [ebp + 0xc]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00496d18
add esp, 8
xor edx, edx
mov dword [esi - 0xc], eax
push edi
mov word [esi + eax*2], dx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44bfa4
mov esi, dword [ebp + 0xc]
cmp dword [esi - 0xc], ebx
je 0x44c0b7
cmp dword [ebp - 0x14], ebx
je 0x44c0b7
mov eax, dword [0x4f7780]
mov edx, dword [eax + 0xc]
mov ecx, 0x4f7780
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
cmp dword [esi - 0xc], ebx
mov byte [ebp - 4], 1
jl 0x44c085
push str._language_font_face_
push esi
call fcn.00495298
add esp, 8
cmp eax, ebx
je 0x44c085
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x44c085
push eax
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp + 0xc]
call fcn.0040c190
cmp eax, 0xffffffff
je 0x44c085
push eax
push str.face_
lea ecx, [ebp + 0xc]
call fcn.0040c190
mov esi, eax
cmp esi, 0xffffffff
je 0x44c085
add esi, 6
push esi
push 0x4c1880
lea ecx, [ebp + 0xc]
call fcn.0040c190
cmp eax, 0xffffffff
je 0x44c085
sub eax, esi
push eax
push esi
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp + 0xc]
call fcn.0040ddc0
lea edx, [ebp - 0x1c]
push edx
push 0x4cbb00
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], ebx
call int.00413ac0
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004104e0
lea ecx, [ebp - 0x20]
call fcn.00407680
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00407680
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, esi
call fcn.0040cce0
lea ecx, [ebp - 0x10]
call fcn.00407680
lea ecx, [ebp + 0xc]
call fcn.00407680
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 [0x4f7780]
mov eax, dword [edx + 0xc]
mov ecx, 0x4f7780
call eax
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44c0f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 edx, dword [0x4f7780]
mov eax, dword [edx + 0xc]
mov ecx, 0x4f7780
call eax
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