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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x1008c00c]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov edi, ecx
movss xmm0, dword [edi + 0x10]
mov eax, dword [edi + 0x34]
movsx ecx, word [edi + 0x38]
cvtps2pd xmm0, xmm0
test eax, eax
je 0x1001999e
add eax, 0x4a
jmp 0x100199a3
mov eax, 0x1007149a
push ecx
push dword [edi + 0x20]
push ecx
push ecx
movsd qword [esp], xmm0
push eax
push str.Font:___s__n_.2f_px___d_glyphs___d_file_s_
push edi
call fcn.1005d562
movss xmm1, dword [0x10088720]
add esp, 0x1c
xorps xmm0, xmm0
mov bl, al
call fcn.1000ff81
mov ecx, str.Set_as_default
call fcn.1004ef1c
test al, al
je 0x100199e5
mov eax, dword [0x10090d48]
mov dword [eax + 0x54], edi
test bl, bl
je 0x10019f47
mov ecx, edi
call fcn.1000d3cd
push str.The_quick_brown_fox_jumps_over_the_lazy_dog
call fcn.1004e10e
pop ecx
call fcn.1000d43d
mov eax, dword [0x10090d48]
xor ebx, ebx
movss xmm3, dword [0x10088454]
mov ecx, str.Font_scale
push ebx
push str._.1f
movss xmm0, dword [eax + 0x3bb4]
mulss xmm0, dword [0x100885f0]
or dword [eax + 0x4688], 1
mov dword [esp + 0x54], 0x3e99999a
mov dword [esp + 0x58], 0x40000000
movss dword [eax + 0x468c], xmm0
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [edi + 0x44]
push eax
push 8
pop edx
call fcn.10052be3
movss xmm1, dword [0x10088720]
add esp, 0x14
xorps xmm0, xmm0
call fcn.1000ff81
mov ecx, str.Note_than_the_default_embedded_font_is_NOT_meant_to_be_scaled._n_nFont_are_currently_rendered_into_bitmaps_at_a_given_size_at_the_time_of_building_the_atlas._You_may_oversample_them_to_get_some_flexibility_with_scaling._You_can_also_render_at_multiple_sizes_and_select_which_one_to_use_at_runtime._n_n_Glimmer_of_hope:_the_atlas_system_will_be_rewritten_in_the_future_to_make_scaling_more_flexible._
call fcn.10017007
movss xmm0, dword [edi + 0x48]
sub esp, 0x18
subss xmm0, dword [edi + 0x4c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [edi + 0x4c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [edi + 0x48]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.Ascent:__f__Descent:__f__Height:__f
call fcn.1004e10e
movzx esi, word [edi + 0x3a]
lea ecx, [esp + 0x70]
add esp, 0x1c
push esi
push 5
pop edx
call fcn.100033fd
pop ecx
push esi
mov byte [esp + eax + 0x58], bl
lea eax, [esp + 0x58]
push eax
push str.Fallback_character:__s__U_04X_
call fcn.1004e10e
movzx esi, word [edi + 0x3c]
lea ecx, [esp + 0x60]
add esp, 0xc
push esi
push 5
pop edx
call fcn.100033fd
pop ecx
push esi
mov byte [esp + eax + 0x58], bl
lea eax, [esp + 0x58]
push eax
push str.Ellipsis_character:__s__U_04X_
call fcn.1004e10e
movd xmm0, dword [edi + 0x50]
add esp, 0xc
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
cvtsd2ss xmm0, xmm0
cvttss2si eax, xmm0
push eax
push eax
push dword [edi + 0x50]
push str.Texture_Area:_about__d_px__dx_d_px
call fcn.1004e10e
xor eax, eax
add esp, 0x10
cmp ax, word [edi + 0x38]
jge 0x10019b99
xor esi, esi
mov eax, dword [edi + 0x34]
test eax, eax
je 0x10019b8d
lea ecx, [esi + eax]
test ecx, ecx
je 0x10019b8d
movss xmm0, dword [ecx + 0x2c]
sub esp, 0x10
movzx eax, byte [ecx + 0x1c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [ecx + 0x28]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push eax
push dword [ecx + 0x18]
lea eax, [ecx + 0x4a]
push dword [ecx + 0x14]
push eax
push ebx
push str.Input__d:__s__Oversample:___d__d___PixelSnapH:__d__Offset:___.1f__.1f_
call fcn.1004e4af
add esp, 0x28
movsx eax, word [edi + 0x38]
inc ebx
add esi, 0x78
cmp ebx, eax
jl 0x10019b44
push dword [edi + 0x20]
push str.Glyphs___d_
push str.Glyphs
call fcn.1005d549
add esp, 0xc
test al, al
je 0x10019f42
call fcn.1000db11
movss xmm1, dword [0x10088500]
xor ecx, ecx
mov dword [esp + 0x2c], eax
call fcn.10004763
mov ecx, dword [0x10090d48]
xor ebx, ebx
movss xmm2, dword [edi + 0x10]
mov esi, 0xfff
mov dword [esp + 0x30], eax
movss dword [esp + 0x1c], xmm2
movss xmm0, dword [ecx + 0x37e8]
movss dword [esp + 0x28], xmm0
mov dword [esp + 0x50], ebx
mov dword [esp + 0x14], esi
test ebx, 0xfff
jne 0x10019c51
mov eax, esi
mov edx, ebx
shr eax, 0xc
shr edx, 0xc
mov dword [esp + 0x18], eax
cmp edx, eax
ja 0x10019c43
mov eax, edx
shr eax, 3
mov dword [esp + 0x4c], eax
cmp eax, 2
jae 0x10019c3c
xor eax, eax
mov ecx, edx
and ecx, 7
inc eax
shl eax, cl
mov ecx, dword [esp + 0x4c]
test byte [ecx + edi + 0x54], al
jne 0x10019c51
inc edx
cmp edx, dword [esp + 0x18]
jbe 0x10019c1a
mov eax, 0xf00
add ebx, eax
add esi, eax
jmp 0x10019f1d
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x10], edx
movzx eax, bx
mov esi, ecx
mov dword [esp + 0x18], eax
mov ecx, edi
add eax, edx
push eax
call fcn.1003f08e
mov edx, dword [esp + 0x10]
lea ecx, [esi + 1]
test eax, eax
cmove ecx, esi
inc edx
mov dword [esp + 0x10], edx
cmp edx, 0x100
jb 0x10019c59
test ecx, ecx
jle 0x10019f19
cmp ecx, 1
mov edx, str.glyph
mov eax, str.glyphs
cmovle eax, edx
push eax
push ecx
lea eax, [ebx + 0xff]
push eax
push ebx
push str.U_04X..U_04X___d__s_
push ebx
call fcn.1005d562
add esp, 0x18
test al, al
je 0x10019f19
mov eax, dword [0x10090d48]
xor esi, esi
movss xmm2, dword [esp + 0x28]
movss xmm3, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
addss xmm2, xmm3
mov ecx, dword [eax + 0x3e28]
mov eax, dword [ecx + 0xec]
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 0xf0]
mov dword [esp + 0x38], eax
movss dword [esp + 0x4c], xmm2
mov eax, esi
mov ecx, edi
and eax, 0xf
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10088fa0]
mov eax, esi
shr eax, 4
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10088fa0]
mov eax, dword [esp + 0x18]
addss xmm1, dword [esp + 0x34]
add eax, esi
push eax
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x24], xmm1
addss xmm1, xmm3
mulss xmm0, xmm2
addss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x28], xmm0
addss xmm0, xmm3
movss dword [esp + 0x44], xmm0
call fcn.1003f08e
push ecx
mov dword [esp], 0x3f800000
mov edx, 0x64ffffff
push 0
push ecx
and dword [esp], 0
mov ecx, 0x32ffffff
test eax, eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x48]
cmovne ecx, edx
push ecx
push eax
lea eax, [esp + 0x34]
mov ecx, ebx
push eax
call fcn.1003c0e6
cmp dword [esp + 0x10], 0
je 0x10019ed7
mov eax, dword [esp + 0x18]
mov ecx, edi
movss xmm2, dword [esp + 0x1c]
add eax, esi
push eax
push dword [esp + 0x34]
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.1003f3da
push 1
lea edx, [esp + 0x40]
lea ecx, [esp + 0x24]
call fcn.1000e55c
add esp, 4
test al, al
je 0x10019ed7
xor ecx, ecx
call fcn.10010fe8
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
shr eax, 2
push eax
push str.Codepoint:_U_04X
call fcn.1004e10e
call fcn.100513d7
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
shr eax, 1
and eax, 1
push eax
push str.Visible:__d
call fcn.1004e10e
mov eax, dword [esp + 0x20]
add esp, 8
movss xmm0, dword [eax + 4]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.AdvanceX:__.1f
call fcn.1004e10e
mov eax, dword [esp + 0x1c]
sub esp, 0x14
movss xmm0, dword [eax + 0x14]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x18], xmm0
movss xmm0, dword [eax + 0x10]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [eax + 0xc]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [eax + 8]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.Pos:___.2f__.2f_____.2f__.2f_
call fcn.1004e10e
mov eax, dword [esp + 0x34]
movss xmm0, dword [eax + 0x24]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x1c], xmm0
movss xmm0, dword [eax + 0x20]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x14], xmm0
movss xmm0, dword [eax + 0x1c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0xc], xmm0
movss xmm0, dword [eax + 0x18]
cvtps2pd xmm0, xmm0
movsd qword [esp + 4], xmm0
mov dword [esp], str.UV:___.3f__.3f_____.3f__.3f_
call fcn.1004e10e
add esp, 0x24
call fcn.1000cfc1
movss xmm2, dword [esp + 0x4c]
inc esi
movss xmm3, dword [esp + 0x1c]
cmp esi, 0x100
jb 0x10019cf8
movaps xmm0, xmm2
lea ecx, [esp + 0x44]
mulss xmm0, dword [0x1008860c]
movss dword [esp + 0x44], xmm0
movss dword [esp + 0x48], xmm0
call fcn.10050fe7
call fcn.1005e039
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x14]
add ebx, 0x100
add esi, 0x100
mov dword [esp + 0x50], ebx
mov dword [esp + 0x14], esi
cmp ebx, 0xffff
jbe 0x10019c00
call fcn.1005e039
call fcn.1005e039
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1006dac1
mov esp, ebp
pop ebp
ret