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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x1009f040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x100a3d98]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x34], eax
movss xmm0, dword [edi + 0x10]
mov eax, dword [edi + 0x34]
movsx ecx, word [edi + 0x38]
cvtps2pd xmm0, xmm0
test eax, eax
je 0x1003f615
add eax, 0x4a
jmp 0x1003f61a
mov eax, 0x1008a296
push ecx
push dword [edi + 0x20]
sub esp, 8
movsd qword [esp], xmm0
push eax
push str.Font:___s__n_.2f_px___d_glyphs___d_file_s_
push edi
call fcn.10077790
movss xmm1, dword [0x1009c7d4]
add esp, 0x1c
xorps xmm0, xmm0
mov bl, al
call fcn.100107f0
mov esi, dword [0x100a3d98]
lea edx, [ebp - 0x2c]
push 0x8000
mov ecx, str.Set_as_default
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
movss xmm0, dword [esi + 0x1554]
movss dword [ebp - 8], xmm0
mov dword [esi + 0x1554], 0
call fcn.10065970
movss xmm0, dword [ebp - 8]
add esp, 4
movss dword [esi + 0x1554], xmm0
test al, al
je 0x1003f6a1
mov eax, dword [ebp - 0x34]
mov dword [eax + 0xa4], edi
test bl, bl
je 0x1003fe19
mov ecx, edi
call fcn.1000fd50
push str.The_quick_brown_fox_jumps_over_the_lazy_dog
call fcn.100649b0
add esp, 4
call fcn.1000fe10
mov eax, dword [0x100a3d98]
mov edx, 8
movss xmm3, dword [0x1009c56c]
mov ecx, str.Font_scale
push 0
push str._.1f
movss xmm0, dword [eax + 0x1930]
mulss xmm0, dword [0x1009c6e8]
or dword [eax + 0x1c80], 1
mov dword [ebp - 0xc], 0x3e99999a
mov dword [ebp - 8], 0x40000000
movss dword [eax + 0x1c84], xmm0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [edi + 0x40]
push eax
call fcn.1006a340
movss xmm1, dword [0x1009c7d4]
add esp, 0x14
xorps xmm0, xmm0
call fcn.100107f0
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.1001c900
movss xmm2, dword [edi + 0x44]
sub esp, 0x18
movss xmm1, dword [edi + 0x48]
movaps xmm0, xmm2
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp + 8], xmm0
cvtps2pd xmm0, xmm2
movsd qword [esp], xmm0
push str.Ascent:__f__Descent:__f__Height:__f
call fcn.100649b0
movzx eax, word [edi + 0x3a]
add esp, 0x1c
push eax
push eax
push str.Fallback_character:__c__U_04X_
call fcn.100649b0
movzx eax, word [edi + 0x3c]
add esp, 0xc
push eax
push eax
push str.Ellipsis_character:__c__U_04X_
call fcn.100649b0
mov esi, dword [edi + 0x4c]
add esp, 0xc
movd xmm0, esi
cvtdq2ps xmm0, xmm0
call fcn.1001c890
cvttss2si eax, xmm0
push eax
push eax
push esi
push str.Texture_Area:_about__d_px__dx_d_px
call fcn.100649b0
xor eax, eax
add esp, 0x10
xor esi, esi
cmp ax, word [edi + 0x38]
jge 0x1003f825
xor ebx, ebx
nop dword [eax + eax]
mov eax, dword [edi + 0x34]
test eax, eax
je 0x1003f819
lea ecx, [ebx + eax]
test ecx, ecx
je 0x1003f819
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 esi
push str.Input__d:__s__Oversample:___d__d___PixelSnapH:__d__Offset:___.1f__.1f_
call fcn.100650e0
add esp, 0x28
movsx eax, word [edi + 0x38]
inc esi
add ebx, 0x78
cmp esi, eax
jl 0x1003f7d0
push dword [edi + 0x20]
push str.Glyphs___d_
push str.Glyphs
call fcn.10077770
add esp, 0xc
test al, al
je 0x1003fe14
mov eax, dword [0x100a3d98]
xorps xmm6, xmm6
movss xmm0, dword [0x1009c60c]
movups xmm3, xmmword [eax + 0x15dc]
comiss xmm6, xmm3
movaps xmm2, xmm3
shufps xmm2, xmm3, 0xff
mulss xmm2, dword [eax + 0x1518]
movups xmmword [ebp - 0x1c], xmm3
jbe 0x1003f876
xorps xmm1, xmm1
jmp 0x1003f87d
movaps xmm1, xmm0
minss xmm1, xmm3
movss xmm3, dword [0x1009c768]
movss xmm5, dword [0x1009c5c4]
movss xmm4, dword [ebp - 0x18]
comiss xmm6, xmm4
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si ecx, xmm1
jbe 0x1003f8a8
xorps xmm1, xmm1
jmp 0x1003f8af
movaps xmm1, xmm0
minss xmm1, xmm4
movss xmm4, dword [ebp - 0x14]
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm6, xmm4
jbe 0x1003f8cf
xorps xmm1, xmm1
jmp 0x1003f8d6
movaps xmm1, xmm0
minss xmm1, xmm4
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si eax, xmm1
shl eax, 0x10
or ecx, eax
comiss xmm6, xmm2
jbe 0x1003f8f1
xorps xmm0, xmm0
jmp 0x1003f8f5
minss xmm0, xmm2
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
xor ebx, ebx
mov dword [ebp - 0x3c], eax
mov eax, 0xfff
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], eax
test ebx, 0xfff
jne 0x1003f96a
mov edx, dword [ebp - 0x20]
mov ebx, eax
shr ebx, 0xc
shr edx, 0xc
cmp edx, ebx
ja 0x1003f954
nop dword [eax]
mov esi, edx
shr esi, 3
cmp esi, 2
jae 0x1003f94c
mov ecx, edx
mov eax, 1
and ecx, 7
shl eax, cl
test byte [edi + esi + 0x50], al
jne 0x1003f967
inc edx
cmp edx, ebx
jbe 0x1003f930
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
add ebx, 0xf00
add eax, 0xf00
jmp 0x1003fdf2
mov ebx, dword [ebp - 0x20]
xor esi, esi
xor edx, edx
nop
lea eax, [edx + ebx]
movzx ecx, ax
cmp ecx, dword [edi + 0x14]
jae 0x1003f99a
mov eax, dword [edi + 0x1c]
movzx eax, word [eax + ecx*2]
mov ecx, 0xffff
cmp ax, cx
je 0x1003f99a
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x28]
lea eax, [eax + ecx*8]
test eax, eax
je 0x1003f99a
inc esi
inc edx
cmp edx, 0x100
jb 0x1003f970
test esi, esi
jle 0x1003fdef
cmp esi, 1
mov ecx, str.glyph
mov eax, str.glyphs
cmovle eax, ecx
push eax
push esi
lea eax, [ebx + 0xff]
push eax
push ebx
push str.U_04X..U_04X___d__s_
push ebx
call fcn.10077790
add esp, 0x18
test al, al
je 0x1003fdef
mov eax, dword [ebp - 0x34]
mov ecx, dword [0x100a3d98]
movss xmm5, dword [edi + 0x10]
movss dword [ebp - 0xc], xmm5
movss xmm2, dword [eax + 0x1564]
mov eax, dword [ecx + 0x1b9c]
addss xmm2, xmm5
movss xmm3, dword [eax + 0xd0]
movss xmm4, dword [eax + 0xd4]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1b9c]
xor ecx, ecx
movss dword [ebp - 0x4c], xmm3
movss dword [ebp - 0x50], xmm4
mov dword [ebp - 0x30], ecx
mov ebx, dword [eax + 0x284]
movss dword [ebp - 8], xmm2
mov eax, ecx
and eax, 0xf
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1009cfc0]
mov eax, ecx
shr eax, 4
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x1009cfc0]
mov eax, dword [ebp - 0x20]
addss xmm1, xmm3
add eax, ecx
movzx ecx, ax
mov dword [ebp - 0x48], eax
cvtpd2ps xmm0, xmm0
movaps xmm3, xmm1
movss dword [ebp - 0x2c], xmm1
addss xmm3, xmm5
mulss xmm0, xmm2
addss xmm0, xmm4
movss dword [ebp - 0x40], xmm3
movaps xmm4, xmm0
movss dword [ebp - 0x28], xmm0
addss xmm4, xmm5
movss dword [ebp - 0x44], xmm4
cmp ecx, dword [edi + 0x14]
jb 0x1003fab7
xor esi, esi
jmp 0x1003fad5
mov eax, dword [edi + 0x1c]
movzx eax, word [eax + ecx*2]
mov ecx, 0xffff
cmp ax, cx
jne 0x1003facc
xor esi, esi
jmp 0x1003fad5
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x28]
lea esi, [eax + ecx*8]
movss xmm5, dword [0x1009c5c4]
test esi, esi
mov ecx, 0x64ffffff
addss xmm1, xmm5
mov eax, 0x32ffffff
movaps xmm2, xmm0
cmovne eax, ecx
addss xmm2, xmm5
test byte [ebx + 0x24], 1
movaps xmm0, xmm3
mov dword [ebp - 0x38], eax
mov ecx, ebx
push 0
xorps xmm3, xmm3
je 0x1003fb32
subss xmm0, xmm5
movss dword [ebp - 0x60], xmm1
lea eax, [ebp - 0x58]
movss dword [ebp - 0x5c], xmm2
push eax
lea eax, [ebp - 0x60]
movss dword [ebp - 0x58], xmm0
movaps xmm0, xmm4
subss xmm0, xmm5
movss dword [ebp - 0x54], xmm0
jmp 0x1003fb60
subss xmm0, dword [0x1009c5c0]
lea eax, [ebp - 0x68]
movss dword [ebp - 0x70], xmm1
push eax
movss dword [ebp - 0x6c], xmm2
lea eax, [ebp - 0x70]
movss dword [ebp - 0x68], xmm0
movaps xmm0, xmm4
subss xmm0, dword [0x1009c5c0]
movss dword [ebp - 0x64], xmm0
push eax
call fcn.10053680
push ecx
mov dword [esp], 0x3f800000
mov ecx, ebx
push 1
push dword [ebp - 0x38]
push dword [ebx + 0x54]
push dword [ebx + 0x5c]
call fcn.10051600
mov dword [ebx + 0x54], 0
test esi, esi
je 0x1003fd36
push dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
mov ecx, edi
push dword [ebp - 0x2c]
add eax, dword [ebp - 0x20]
movss xmm2, dword [ebp - 0xc]
push eax
push dword [ebp - 0x3c]
push ebx
call fcn.10058130
mov ecx, dword [0x100a3d98]
movss xmm5, dword [ebp - 0x2c]
movss xmm3, dword [ebp - 0x40]
movss xmm2, dword [ebp - 0x28]
mov eax, dword [ecx + 0x1b9c]
movss xmm1, dword [ecx + 0x1578]
movss xmm4, dword [ebp - 0x44]
movss xmm0, dword [ecx + 0x157c]
maxss xmm5, dword [eax + 0x230]
minss xmm3, dword [eax + 0x238]
maxss xmm2, dword [eax + 0x234]
minss xmm4, dword [eax + 0x23c]
subss xmm5, xmm1
addss xmm3, xmm1
movss xmm1, dword [ecx + 0xe4]
subss xmm2, xmm0
addss xmm4, xmm0
comiss xmm1, xmm5
jb 0x1003fd36
movss xmm0, dword [ecx + 0xe8]
comiss xmm0, xmm2
jb 0x1003fd36
comiss xmm3, xmm1
jbe 0x1003fd36
comiss xmm4, xmm0
jbe 0x1003fd36
xor edx, edx
call fcn.10011610
push dword [ebp - 0x48]
push str.Codepoint:_U_04X
call fcn.100649b0
mov eax, dword [0x100a3d98]
add esp, 8
mov ecx, dword [eax + 0x1b9c]
cmp byte [ecx + 0x8f], 0
jne 0x1003fc7d
mov ecx, dword [ecx + 0x1a0]
neg ecx
sbb ecx, ecx
add ecx, 6
call fcn.100683c0
mov eax, dword [esi]
shr eax, 1
and eax, 1
push eax
push str.Visible:__d
call fcn.100649b0
movss xmm0, dword [esi + 4]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.AdvanceX:__.1f
call fcn.100649b0
movss xmm0, dword [esi + 0x14]
sub esp, 0x14
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x18], xmm0
movss xmm0, dword [esi + 0x10]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [esi + 0xc]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [esi + 8]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.Pos:___.2f__.2f_____.2f__.2f_
call fcn.100649b0
movss xmm0, dword [esi + 0x24]
add esp, 4
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x18], xmm0
movss xmm0, dword [esi + 0x20]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [esi + 0x1c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [esi + 0x18]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.UV:___.3f__.3f_____.3f__.3f_
call fcn.100649b0
add esp, 0x24
call fcn.1000f980
mov ecx, dword [ebp - 0x30]
movss xmm2, dword [ebp - 8]
inc ecx
movss xmm5, dword [ebp - 0xc]
movss xmm3, dword [ebp - 0x4c]
movss xmm4, dword [ebp - 0x50]
mov dword [ebp - 0x30], ecx
cmp ecx, 0x100
jb 0x1003fa37
mov ecx, dword [0x100a3d98]
movaps xmm4, xmm2
mulss xmm4, dword [0x1009c704]
mov eax, dword [ecx + 0x1b9c]
movss dword [ebp - 0x78], xmm4
movss dword [ebp - 0x74], xmm4
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1b9c]
cmp byte [eax + 0x8f], 0
jne 0x1003fde7
movss xmm0, dword [eax + 0xd4]
lea ecx, [ebp - 0x78]
movss xmm2, dword [eax + 0xd0]
movaps xmm1, xmm0
addss xmm1, xmm4
movss dword [ebp - 0x1c], xmm2
movaps xmm3, xmm2
movss dword [ebp - 0x18], xmm0
addss xmm3, xmm4
movss dword [ebp - 0x10], xmm1
movss xmm1, dword [0x1009c7d4]
movss dword [ebp - 0x14], xmm3
call fcn.10010420
push 0
push 0
xor edx, edx
lea ecx, [ebp - 0x1c]
call fcn.10010550
add esp, 8
call fcn.100786a0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
add ebx, 0x100
add eax, 0x100
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], eax
cmp ebx, 0xffff
jbe 0x1003f916
call fcn.100786a0
call fcn.100786a0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10086e3f
mov esp, ebp
pop ebp
ret