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

Disassembly:
push edi
lea edi, [esp + 8]
and esp, 0xfffffff8
push dword [edi - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x350
mov eax, dword [0x544094]
test eax, eax
je 0x44efc0
mov dword [esp], 0
lea ebx, [ebp - 0x304]
call dword [sym.imp.user32.dll_GetDC]
mov dword [ebp - 0x304], 0xcccccccc
sub esp, 4
mov dword [ebp - 0x334], eax
mov dword [ebp - 0x300], 0xcccccccc
mov dword [ebp - 0x2fc], 0xcccccccc
mov dword [ebp - 0x2f8], 0xcccccccc
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [0x544094]
sub esp, 8
mov esi, eax
mov eax, 0x1111
call fcn.00446860
xor eax, eax
test esi, esi
mov dword [esp + 4], str.ret_0_n
setne al
mov dword [esp], eax
call fcn.004471c0
mov eax, 0x1112
call fcn.00446860
mov eax, dword [ebp - 0x304]
mov dword [esp + 4], str.info_0____lx_for_the_system_font_n
mov dword [esp + 8], eax
and eax, 0xf
cmp eax, 1
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004471c0
mov eax, 0x1113
call fcn.00446860
mov dword [esp + 4], str.structure_longer_than_3_dwords_n
xor eax, eax
cmp dword [ebp - 0x2f8], 0xcccccccc
sete al
mov dword [esp], eax
call fcn.004471c0
mov eax, 0x4ac1ca
call fcn.004460c0
test eax, eax
je 0x44ed60
lea edx, [ebp - 0x2e0]
xor eax, eax
mov ecx, 0xe
mov dword [ebp - 0x2e4], 0x14
mov edi, edx
lea esi, [ebp - 0x2e4]
rep stosd dword es:[edi], eax
mov byte [ebp - 0x2d0], 1
mov dword [ebp - 0x2c8], 0x6f686154
mov dword [ebp - 0x2d4], 0x2bc
mov dword [ebp - 0x2c5], 0x616d6f
mov dword [esp], esi
call dword [sym.imp.gdi32.dll_CreateFontIndirectA]
sub esp, 4
mov dword [esp + 4], eax
mov eax, dword [sym.imp.gdi32.dll_SelectObject]
mov edi, dword [ebp - 0x334]
mov dword [esp], edi
mov dword [ebp - 0x33c], eax
call eax
mov dword [ebp - 0x304], 0xcccccccc
sub esp, 8
mov dword [ebp - 0x338], eax
mov dword [ebp - 0x300], 0xcccccccc
mov dword [ebp - 0x2fc], 0xcccccccc
mov dword [ebp - 0x2f8], 0xcccccccc
mov dword [esp + 4], ebx
mov dword [ebp - 0x334], edi
mov dword [esp], edi
call dword [0x544094]
sub esp, 8
mov ebx, eax
mov eax, 0x1125
call fcn.00446860
xor eax, eax
test ebx, ebx
mov dword [esp + 4], str.ret_0_n
setne al
mov dword [esp], eax
call fcn.004471c0
mov eax, 0x1126
call fcn.00446860
mov eax, dword [ebp - 0x304]
mov dword [esp + 4], str.info_0____lx_for_arial_n
mov dword [esp + 8], eax
and eax, 0xf
cmp eax, 3
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004471c0
mov eax, 0x1127
call fcn.00446860
mov dword [esp + 4], str.structure_longer_than_3_dwords_n
xor eax, eax
cmp dword [ebp - 0x2f8], 0xcccccccc
sete al
mov dword [esp], eax
call fcn.004471c0
mov edx, dword [0x544090]
test edx, edx
je 0x44ed08
mov esi, 0xcccccccc
lea ebx, [ebp - 0x2a8]
mov ecx, 0x1f
mov dword [ebp - 0x2a8], 0x10
mov eax, esi
lea edi, [ebp - 0x2a4]
rep stosd dword es:[edi], eax
mov dword [esp + 4], ebx
mov edi, dword [ebp - 0x334]
mov dword [esp], edi
call edx
sub esp, 8
mov edi, eax
mov eax, 0x1139
call fcn.00446860
xor eax, eax
test edi, edi
mov dword [esp + 4], str.ret_0_n
setne al
lea edi, [ebp - 0x2a4]
mov dword [esp], eax
call fcn.004471c0
mov eax, 0x113c
call fcn.00446860
mov eax, dword [ebp - 0x2a8]
mov dword [esp + 4], str.got__ld_n
mov dword [esp + 8], eax
and eax, 0xfffffff7
cmp eax, 0x10
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004471c0
mov eax, 0x113d
call fcn.00446860
mov dword [esp + 4], str.flags_mismatch_n
mov eax, dword [ebp - 0x304]
cmp dword [ebp - 0x2a4], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004471c0
mov eax, 0x113e
call fcn.00446860
mov dword [esp + 4], str.cache_num_mismatch_n
mov eax, dword [ebp - 0x300]
cmp dword [ebp - 0x2a0], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004471c0
mov eax, 0x113f
call fcn.00446860
mov dword [esp + 4], str.instance_id_mismatch_n
mov eax, dword [ebp - 0x2fc]
cmp dword [ebp - 0x29c], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004471c0
mov eax, 0x1140
call fcn.00446860
mov eax, dword [ebp - 0x290]
mov dword [esp + 4], str.got_wrong_dword_6__0x_08lx_n
cmp eax, 0xcccccccc
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004471c0
mov eax, esi
mov ecx, 0x1f
mov dword [ebp - 0x2a8], 0x1c
rep stosd dword es:[edi], eax
mov dword [esp + 4], ebx
mov edi, dword [ebp - 0x334]
mov dword [esp], edi
call dword [0x544090]
sub esp, 8
mov edi, eax
mov eax, 0x1145
call fcn.00446860
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], 0x4abaa6
lea edi, [ebp - 0x2a4]
mov dword [esp], eax
call fcn.004471c0
mov eax, esi
mov ecx, 0x1f
mov dword [ebp - 0x2a8], 0x18
rep stosd dword es:[edi], eax
mov dword [esp + 4], ebx
mov edi, dword [ebp - 0x334]
mov dword [esp], edi
lea edi, [ebp - 0x228]
call dword [0x544090]
sub esp, 8
mov ebx, eax
mov eax, 0x114a
call fcn.00446860
xor eax, eax
test ebx, ebx
mov dword [esp + 4], str.ret_0_n
setne al
mov dword [esp], eax
call fcn.004471c0
mov eax, 0x114b
call fcn.00446860
mov eax, dword [ebp - 0x2a8]
mov dword [esp + 4], str.got__ld_n
cmp eax, 0x18
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004471c0
mov eax, 0x114c
call fcn.00446860
mov dword [esp + 4], str.flags_mismatch_n
mov eax, dword [ebp - 0x304]
cmp dword [ebp - 0x2a4], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004471c0
mov eax, 0x114d
call fcn.00446860
mov dword [esp + 4], str.cache_num_mismatch_n
mov eax, dword [ebp - 0x300]
cmp dword [ebp - 0x2a0], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004471c0
mov eax, 0x114e
call fcn.00446860
mov dword [esp + 4], str.instance_id_mismatch_n
mov eax, dword [ebp - 0x2fc]
cmp dword [ebp - 0x29c], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004471c0
mov eax, 0x114f
call fcn.00446860
movzx edx, word [ebp - 0x292]
mov dword [esp + 4], str.got_simulations_flags_0x_04x_n
cmp dx, 2
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004471c0
mov eax, 0x1150
call fcn.00446860
movzx edx, word [ebp - 0x294]
mov dword [esp + 4], str.got_wrong_face_index__u_n
test dx, dx
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004471c0
mov eax, 0x1151
call fcn.00446860
mov dword [esp + 4], str.structure_longer_than_6_dwords_n
xor eax, eax
cmp dword [ebp - 0x290], 0xcccccccc
sete al
mov dword [esp], eax
mov esi, dword fs:[0x18]
call fcn.004471c0
lea eax, [ebp - 0x32c]
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x218
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0xabababab
call dword [0x54408c]
sub esp, 0x14
mov ebx, eax
mov eax, 0x1157
call fcn.00446860
mov edx, dword [esi + 0x34]
xor eax, eax
test ebx, ebx
jne 0x44ebdd
xor eax, eax
cmp edx, 0x57
sete al
mov dword [esp + 0xc], edx
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.ret__d_gle__ld_n
mov esi, dword fs:[0x18]
call fcn.004471c0
lea eax, [ebp - 0x32c]
mov dword [ebp - 0x32c], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x218
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call dword [0x54408c]
sub esp, 0x14
mov ebx, eax
mov eax, 0x115b
call fcn.00446860
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.Failed_to_get_font_file_info__error__ld._n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.004471c0
test ebx, ebx
jne 0x44edc0
lea eax, [ebp - 0x312]
mov dword [esp + 0x14], 0xe
mov dword [esp + 0x10], eax
mov dword [esp + 8], 2
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call dword [0x544088]
sub esp, 0x18
mov ebx, eax
mov eax, 0x1175
call fcn.00446860
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 4], str.ret_0_gle__ld_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.004471c0
mov eax, 0x1177
call fcn.00446860
mov eax, dword [ebp - 0x2f2]
cmp dword [ebp - 0x312], eax
je 0x44ed80
mov eax, 1
xor eax, 1
mov dword [esp + 4], 0x4ad49b
mov dword [esp], eax
call fcn.004471c0
mov eax, dword [ebp - 0x338]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x334]
mov dword [esp], eax
mov eax, dword [ebp - 0x33c]
call eax
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_DeleteObject]
sub esp, 4
mov eax, dword [ebp - 0x334]
mov dword [esp], 0
mov dword [esp + 4], eax
call dword [sym.imp.user32.dll_ReleaseDC]
sub esp, 8
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret
mov eax, 0x1117
call fcn.00446860
mov dword [esp], str.skipping_GdiRealizationInfo_with_truetype_font_n
call fcn.00446a30
jmp 0x44ed32
mov eax, dword [ebp - 0x2ee]
cmp dword [ebp - 0x30e], eax
jne 0x44ecf0
mov eax, dword [ebp - 0x2ea]
cmp dword [ebp - 0x30a], eax
jne 0x44ecf0
movzx eax, word [ebp - 0x2e6]
cmp word [ebp - 0x306], ax
jne 0x44ecf0
xor eax, eax
jmp 0x44ecf5
mov eax, 0x115f
call fcn.00446860
mov dword [esp + 4], str.Unexpected_required_size._n
mov eax, dword [ebp - 0x32c]
sub eax, 1
cmp eax, 0x216
setbe al
movzx eax, al
mov dword [esp], eax
call fcn.004471c0
lea eax, [ebp - 0x218]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x80000000
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreateFileW]
sub esp, 0x1c
mov ebx, eax
mov eax, 0x1162
call fcn.00446860
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.Unable_to_open_file__ld_n
mov dword [esp + 8], eax
xor eax, eax
cmp ebx, 0xffffffff
setne al
mov dword [esp], eax
call fcn.004471c0
lea edx, [ebp - 0x31c]
mov dword [esp], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call dword [sym.imp.kernel32.dll_GetFileTime]
mov eax, 0x1165
sub esp, 0x10
call fcn.00446860
lea edx, [ebp - 0x31c]
mov dword [esp], edi
mov dword [esp + 4], edx
call dword [sym.imp.kernel32.dll_CompareFileTime]
sub esp, 8
test eax, eax
sete al
mov dword [esp + 4], str.time_mismatch_n
movzx eax, al
mov dword [esp], eax
call fcn.004471c0
lea eax, [ebp - 0x328]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_GetFileSizeEx]
mov eax, 0x1167
sub esp, 8
call fcn.00446860
mov dword [esp + 4], str.size_mismatch_n
mov eax, dword [ebp - 0x220]
mov edx, dword [ebp - 0x21c]
xor eax, dword [ebp - 0x328]
xor edx, dword [ebp - 0x324]
or eax, edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004471c0
lea eax, [ebp - 0x330]
mov dword [esp], ebx
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x2f4]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x10
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_ReadFile]
sub esp, 0x14
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
lea eax, [ebp - 0x32c]
mov dword [esi + 0x34], 0xdeadbeef
sub esp, 4
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x32c]
mov dword [esp + 8], edi
sub eax, 1
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call dword [0x54408c]
sub esp, 0x14
mov ebx, eax
mov eax, 0x1170
call fcn.00446860
mov edx, dword [esi + 0x34]
xor eax, eax
test ebx, ebx
jne 0x44ef9e
xor eax, eax
cmp edx, 0x7a
sete al
mov dword [esp + 0xc], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], str.ret__d_gle__ld_n
mov dword [esp], eax
call fcn.004471c0
jmp 0x44ec68
mov eax, 0x1109
call fcn.00446860
mov dword [esp], str.GdiRealizationInfo_not_available_n
call fcn.0044e0c0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret