Function at 0x1022f750
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [edx + 0x24]
push edi
movdqu xmm0, xmmword [eax]
mov edi, ecx
mov dword [esp + 0x14], edx
movss xmm1, dword [eax + 8]
mulss xmm1, dword [eax + 4]
movdqu xmmword [esp + 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x50], xmm0
movss xmm0, dword [eax + 0xc]
mulss xmm0, dword [eax]
subss xmm0, xmm1
call fcn.10102db0
call fcn.101c2e50
mulss xmm0, dword [0x10588898]
lea eax, [esp + 0x40]
mov edx, dword [esp + 0x14]
mov ecx, edi
push eax
push dword [ebp + 8]
movss dword [esp + 0x20], xmm0
call fcn.1022f5f0
mov eax, dword [esp + 0x1c]
add esp, 8
cmp dword [eax + 0x30], 0
je 0x1022f81f
movss xmm5, dword [esp + 0x48]
xorps xmm0, xmm0
movss xmm6, dword [esp + 0x4c]
movss xmm3, dword [esp + 0x40]
movss xmm4, dword [esp + 0x44]
mulss xmm5, xmm0
mulss xmm6, xmm0
addss xmm5, xmm3
mulss xmm3, dword [0x10588900]
addss xmm6, xmm4
mulss xmm4, dword [0x10588900]
addss xmm3, dword [esp + 0x48]
addss xmm4, dword [esp + 0x4c]
jmp 0x1022f837
movss xmm4, dword [esp + 0x4c]
movss xmm3, dword [esp + 0x48]
movss xmm6, dword [esp + 0x44]
movss xmm5, dword [esp + 0x40]
movss xmm1, dword [0x10588cc0]
movaps xmm0, xmm5
mulss xmm0, xmm1
push 2
movss dword [esp + 0x24], xmm5
movss dword [esp + 0x20], xmm6
cvttss2si eax, xmm0
movaps xmm0, xmm6
movss dword [esp + 0x34], xmm3
mulss xmm0, xmm1
mov dword [esp + 0x70], eax
movss dword [esp + 0x14], xmm4
cvttss2si eax, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
mov dword [esp + 0x78], eax
cvttss2si eax, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm1
mov dword [esp + 0x74], eax
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x54]
mulss xmm0, xmm1
mov dword [esp + 0x7c], eax
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x58]
mulss xmm0, xmm1
mov dword [esp + 0x3c], eax
cvttss2si eax, xmm0
mov dword [esp + 0x40], eax
mov eax, dword [edi + 4]
push dword [eax]
mov eax, dword [eax + 4]
call eax
add esp, 8
mov dword [esp + 0x40], 0
lea edx, [esp + 0x40]
mov dword [esp + 0x44], 0x10000
mov ecx, esi
mov dword [esp + 0x48], 0x10000
mov dword [esp + 0x4c], 0x48
mov dword [esp + 0x50], 0x48
call fcn.10236110
test eax, eax
je 0x1022f93f
cmp dword [str.no_error], 0
mov ecx, 0x1036b610
je 0x1022f921
jmp 0x1022f910
cmp dword [ecx], eax
je 0x1022fa77
add ecx, 8
cmp dword [ecx + 4], 0
jne 0x1022f910
mov eax, str.Unknown_error
push eax
push str.freetype_setting_character_size:__s
push 0x226
push str...mupdf_source_fitz_font.c
push edi
call fcn.101df520
add esp, 0x14
lea eax, [esp + 0x38]
mov ecx, esi
push eax
lea edx, [esp + 0x70]
call fcn.10234f20
add esp, 4
cmp dword [ebp + 0x10], 0
jne 0x1022fa7f
movss xmm1, dword [esp + 0x30]
movss xmm0, dword [esp + 0x10]
mulss xmm0, dword [esp + 0x20]
mulss xmm1, dword [esp + 0x1c]
subss xmm0, xmm1
call fcn.10102db0
call fcn.101c2e50
movss xmm1, dword [0x10588d50]
sub esp, 8
movss xmm2, dword [esp + 0x28]
mov ecx, esi
mulss xmm2, xmm1
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
divss xmm2, xmm0
cvttss2si eax, xmm2
movss xmm2, dword [esp + 0x24]
mulss xmm2, xmm1
mov dword [esp + 0x74], eax
divss xmm2, xmm0
cvttss2si eax, xmm2
movss xmm2, dword [esp + 0x38]
mulss xmm2, xmm1
mov dword [esp + 0x7c], eax
divss xmm2, xmm0
cvttss2si eax, xmm2
movss xmm2, dword [esp + 0x18]
mulss xmm2, xmm1
mov dword [esp + 0x78], eax
divss xmm2, xmm0
mulss xmm0, dword [0x10588cc0]
cvttss2si eax, xmm2
cvttss2si edx, xmm0
mov dword [esp + 0x80], eax
push edx
call fcn.10236190
add esp, 0xc
test eax, eax
je 0x1022fa33
mov ecx, eax
call fcn.1022f0f0
push eax
push str.freetype_setting_character_size:__s
push 0x236
push str...mupdf_source_fitz_font.c
push edi
call fcn.101df520
add esp, 0x14
lea eax, [esp + 0x38]
mov ecx, esi
push eax
lea edx, [esp + 0x70]
call fcn.10234f20
mov edx, dword [ebp + 8]
add esp, 4
mov ecx, esi
push 0x20008
call fcn.10235040
add esp, 4
test eax, eax
je 0x1022fb1b
mov ecx, eax
call fcn.1022f0f0
push eax
push dword [ebp + 8]
push str.freetype_load_hinted_glyph__gid__d_:__s
push 0x23a
jmp 0x1022fab1
mov eax, dword [ecx + 4]
jmp 0x1022f926
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x34], 0
je 0x1022fabf
mov edx, dword [ebp + 8]
mov ecx, esi
push 8
call fcn.10235040
add esp, 4
test eax, eax
je 0x1022fb1b
mov ecx, eax
call fcn.1022f0f0
push eax
push dword [ebp + 8]
push str.freetype_load_hinted_glyph__gid__d_:__s
push 0x249
push str...mupdf_source_fitz_font.c
push edi
call fcn.101df520
add esp, 0x18
mov edx, dword [ebp + 8]
mov ecx, esi
push 0xa
call fcn.10235040
add esp, 4
test eax, eax
je 0x1022fb1b
cmp dword [str.no_error], 0
mov ecx, 0x1036b610
je 0x1022faed
cmp dword [ecx], eax
je 0x1022fb05
add ecx, 8
cmp dword [ecx + 4], 0
jne 0x1022fae0
mov eax, str.Unknown_error
push eax
push dword [ebp + 8]
push str.freetype_load_glyph__gid__d_:__s
push 0x253
jmp 0x1022fbf2
mov eax, dword [ecx + 4]
push eax
push dword [ebp + 8]
push str.freetype_load_glyph__gid__d_:__s
push 0x253
jmp 0x1022fbf2
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x2c], 0
je 0x1022fb67
movss xmm0, dword [esp + 0x18]
mulss xmm0, dword [0x10588cc0]
mov ecx, dword [esi + 0x54]
add ecx, 0x6c
cvttss2si edx, xmm0
push edx
call fcn.102377a0
movss xmm0, dword [esp + 0x1c]
add esp, 4
mulss xmm0, dword [0x10588dec]
mov ecx, dword [esi + 0x54]
add ecx, 0x6c
cvttss2si edx, xmm0
push edx
call fcn.10237510
add esp, 4
mov eax, dword [edi + 0x1c]
mov edx, dword [esi + 0x54]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x18], eax
test edx, edx
je 0x1022fbbf
mov eax, dword [edx + 4]
test eax, eax
je 0x1022fbbf
mov eax, dword [eax + 0x60]
cmp dword [esp + 0x18], 0
mov dword [esp + 0x10], 0
mov ecx, dword [eax + 4]
mov eax, 2
cmovg eax, dword [esp + 0x10]
push eax
call fcn.102368e0
mov ecx, eax
add esp, 4
test ecx, ecx
jne 0x1022fbc4
mov eax, dword [esi + 0x54]
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.1033d458
mov esp, ebp
pop ebp
ret
mov ecx, 6
cmp dword [str.no_error], 0
mov eax, 0x1036b610
je 0x1022fbdf
cmp dword [eax], ecx
je 0x1022fc16
add eax, 8
cmp dword [eax + 4], 0
jne 0x1022fbd2
mov eax, str.Unknown_error
push eax
push dword [ebp + 8]
push str.freetype_render_glyph__gid__d_:__s
push 0x261
push str...mupdf_source_fitz_font.c
push edi
call fcn.101df520
mov ecx, dword [esp + 0x94]
add esp, 0x18
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.1033d458
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + 4]
jmp 0x1022fbe4