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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
mov eax, dword [0x4b36c0]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, 0x4bb1b0
mov dword [esp + 0x2c], edi
call fcn.0048decd
movss xmm0, dword [edi + 0x10]
mov eax, dword [edi + 0x34]
movsx ecx, word [edi + 0x38]
cvtps2pd xmm0, xmm0
test eax, eax
je 0x40ff70
add eax, 0x4a
jmp 0x40ff75
mov eax, 0x493370
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.004893e0
add esp, 0x14
mov bl, al
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.00424fe0
push str.Set_as_default
call fcn.00485d90
add esp, 0xc
test al, al
je 0x40ffbf
mov eax, dword [0x4b3748]
mov dword [eax + 0x54], edi
test bl, bl
je 0x4106f3
mov esi, dword [0x4b3748]
push edi
call fcn.00425cd0
mov ebx, dword [esi + 0x4768]
add esp, 4
mov ecx, dword [esi + 0x476c]
cmp ebx, ecx
jne 0x41008d
inc ebx
test ecx, ecx
je 0x40fffa
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x40ffff
mov eax, 8
cmp eax, ebx
cmovg ebx, eax
cmp ebx, ecx
jle 0x41008d
mov eax, dword [0x4b3748]
test eax, eax
je 0x41001b
inc dword [eax + 0xb4]
push dword [0x4b3750]
lea eax, [ebx*4]
push eax
call dword [0x4af008]
mov edx, dword [esi + 0x4770]
add esp, 8
mov dword [esp + 0x30], eax
test edx, edx
je 0x410081
mov ecx, dword [esi + 0x4768]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 0x4770]
add esp, 0xc
test ecx, ecx
je 0x41006d
mov eax, dword [0x4b3748]
test eax, eax
je 0x41006d
dec dword [eax + 0xb4]
push dword [0x4b3750]
push ecx
call dword [0x4af00c]
mov eax, dword [esp + 0x38]
add esp, 8
mov dword [esi + 0x4770], eax
mov dword [esi + 0x476c], ebx
mov ecx, dword [esi + 0x4768]
mov eax, dword [esi + 0x4770]
mov dword [eax + ecx*4], edi
inc dword [esi + 0x4768]
mov eax, dword [edi + 0x30]
mov ecx, dword [esi + 0x3e40]
push dword [eax + 4]
mov ecx, dword [ecx + 0x264]
call fcn.00455290
push str.The_quick_brown_fox_jumps_over_the_lazy_dog
call fcn.00488b60
mov esi, dword [0x4b3748]
add esp, 4
mov ecx, dword [esi + 0x3e40]
mov ecx, dword [ecx + 0x264]
call fcn.00454c50
mov ecx, dword [esi + 0x4768]
sub ecx, 1
mov dword [esi + 0x4768], ecx
jne 0x410105
mov ecx, dword [0x4b3748]
mov eax, dword [ecx + 0x54]
test eax, eax
jne 0x41010f
mov eax, dword [ecx + 0x48]
mov eax, dword [eax + 0x44]
mov eax, dword [eax]
jmp 0x41010f
mov eax, dword [esi + 0x4770]
mov eax, dword [eax + ecx*4 - 4]
push eax
call fcn.00425cd0
mov eax, dword [0x4b3748]
add esp, 4
movss xmm0, dword [eax + 0x3bd0]
mulss xmm0, dword [0x4963bc]
or dword [eax + 0x46a0], 1
push 0
push str._.1f
sub esp, 0xc
movss dword [eax + 0x46a4], xmm0
lea eax, [edi + 0x4c]
mov dword [esp + 8], 0x40000000
mov dword [esp + 4], 0x3e99999a
mov dword [esp], 0x3ba3d70a
push eax
push str.Font_scale
call fcn.0047c370
add esp, 0x14
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.00424fe0
push 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.0041c4d0
movss xmm2, dword [edi + 0x50]
sub esp, 0xc
movss xmm1, dword [edi + 0x54]
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.00488b60
movzx esi, word [edi + 0x3a]
lea eax, [esp + 0x90]
push esi
push 5
push eax
call fcn.00418f60
push esi
mov byte [esp + eax + 0xa0], 0
lea eax, [esp + 0xa0]
push eax
push str.Fallback_character:__s__U_04X_
call fcn.00488b60
movzx esi, word [edi + 0x3c]
lea eax, [esp + 0xa8]
push esi
push 5
push eax
call fcn.00418f60
add esp, 0x40
mov byte [esp + eax + 0x74], 0
lea eax, [esp + 0x74]
push esi
push eax
push str.Ellipsis_character:__s__U_04X_
call fcn.00488b60
mov esi, dword [edi + 0x58]
xorps xmm1, xmm1
movd xmm0, esi
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x41023b
sqrtsd xmm0, xmm0
jmp 0x410240
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 esi
push str.Texture_Area:_about__d_px__dx_d_px
call fcn.00488b60
xor eax, eax
add esp, 0x1c
xor esi, esi
cmp ax, word [edi + 0x38]
jge 0x4102b9
xor ebx, ebx
mov eax, dword [edi + 0x34]
test eax, eax
je 0x4102ad
lea ecx, [eax + ebx]
test ecx, ecx
je 0x4102ad
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.004754d0
add esp, 0x28
movsx eax, word [edi + 0x38]
inc esi
add ebx, 0x78
cmp esi, eax
jl 0x410264
push dword [edi + 0x20]
push str.Glyphs___d_
push str.Glyphs
call fcn.00489360
add esp, 0xc
test al, al
je 0x4106ee
mov ecx, dword [0x4b3748]
mov eax, dword [ecx + 0x3e40]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e40]
mov eax, dword [eax + 0x264]
mov dword [esp + 0x3c], eax
mov eax, dword [0x4b3748]
movups xmm0, xmmword [eax + 0x387c]
movups xmmword [esp + 0x64], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [eax + 0x37a0]
lea eax, [esp + 0x64]
push eax
movss dword [esp + 0x74], xmm0
call fcn.0040e120
mov ecx, dword [0x4b3748]
add esp, 4
movss xmm0, dword [edi + 0x10]
xor ebx, ebx
movss dword [esp + 0x34], xmm0
mov dword [esp + 0x58], eax
movss xmm0, dword [ecx + 0x37f0]
movss dword [esp + 0x54], xmm0
mov dword [esp + 0x30], ebx
test ebx, 0xfff
jne 0x410378
lea eax, [ebx + 0xfff]
mov ecx, edi
push eax
push ebx
call fcn.00453800
test al, al
je 0x410378
add ebx, 0xf00
jmp 0x4106d3
xor edi, edi
xor esi, esi
nop dword [eax]
mov ecx, dword [esp + 0x2c]
movzx eax, bx
mov dword [esp + 0x38], eax
add eax, esi
push eax
call fcn.004511b0
test eax, eax
lea ecx, [edi + 1]
cmove ecx, edi
inc esi
mov edi, ecx
cmp esi, 0x100
jb 0x410380
test edi, edi
jle 0x4106cf
cmp edi, 1
mov ecx, str.glyph
mov eax, str.glyphs
cmovle eax, ecx
push eax
push edi
lea eax, [ebx + 0xff]
push eax
push ebx
push str.U_04X..U_04X___d__s_
push ebx
call fcn.004893e0
add esp, 0x18
test al, al
je 0x4106cf
mov eax, dword [0x4b3748]
xor edi, edi
movss xmm2, dword [esp + 0x54]
movss xmm3, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
addss xmm2, xmm3
mov eax, dword [eax + 0x3e40]
movss xmm4, dword [eax + 0xf0]
movss xmm5, dword [eax + 0xf4]
movss dword [esp + 0x5c], xmm4
movss dword [esp + 0x60], xmm5
movss dword [esp + 0x40], xmm2
mov eax, edi
mov ecx, ebx
and eax, 0xf
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x492980]
mov eax, edi
shr eax, 4
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x492980]
mov eax, dword [esp + 0x38]
addss xmm1, xmm4
add eax, edi
push eax
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x48], xmm1
addss xmm1, xmm3
mulss xmm0, xmm2
addss xmm0, xmm5
movss dword [esp + 0x50], xmm1
movss dword [esp + 0x4c], xmm0
addss xmm0, xmm3
movss dword [esp + 0x54], xmm0
call fcn.004511b0
push ecx
mov dword [esp], 0x3f800000
mov esi, eax
push 0
push ecx
test esi, esi
mov dword [esp], 0
mov eax, 0x64ffffff
mov ecx, 0x32ffffff
cmovne ecx, eax
lea eax, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x4c]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.0044f330
test esi, esi
je 0x41067d
mov ecx, dword [esp + 0x38]
movss xmm0, dword [esp + 0x34]
lea eax, [ecx + edi]
push eax
push dword [esp + 0x5c]
lea eax, [esp + 0x4c]
push eax
push ecx
movss dword [esp], xmm0
mov ecx, ebx
push dword [esp + 0x4c]
call fcn.00455650
mov ecx, dword [0x4b3748]
movss xmm2, dword [esp + 0x44]
movss xmm4, dword [esp + 0x4c]
movss xmm3, dword [esp + 0x48]
mov eax, dword [ecx + 0x3e40]
movss xmm1, dword [ecx + 0x3804]
movss xmm5, dword [esp + 0x50]
movss xmm0, dword [ecx + 0x3808]
maxss xmm2, dword [eax + 0x210]
minss xmm4, dword [eax + 0x218]
maxss xmm3, dword [eax + 0x214]
minss xmm5, dword [eax + 0x21c]
subss xmm2, xmm1
addss xmm4, xmm1
movss xmm1, dword [ecx + 0xdc0]
subss xmm3, xmm0
addss xmm5, xmm0
comiss xmm1, xmm2
jb 0x41067d
movss xmm0, dword [ecx + 0xdc4]
comiss xmm0, xmm3
jb 0x41067d
comiss xmm4, xmm1
jbe 0x41067d
comiss xmm5, xmm0
jbe 0x41067d
push 0
push 0
call fcn.0040c390
add esp, 8
test al, al
je 0x41067d
mov eax, dword [esi]
shr eax, 2
push eax
push str.Codepoint:_U_04X
call fcn.00488b60
call fcn.00484950
mov eax, dword [esi]
shr eax, 1
and eax, 1
push eax
push str.Visible:__d
call fcn.00488b60
movss xmm0, dword [esi + 4]
add esp, 8
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.AdvanceX:__.1f
call fcn.00488b60
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.00488b60
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.00488b60
add esp, 0x24
call fcn.00412810
movss xmm2, dword [esp + 0x40]
inc edi
movss xmm3, dword [esp + 0x34]
movss xmm4, dword [esp + 0x5c]
movss xmm5, dword [esp + 0x60]
cmp edi, 0x100
jb 0x410421
movaps xmm0, xmm2
lea eax, [esp + 0x64]
mulss xmm0, dword [0x4963cc]
push eax
movss dword [esp + 0x68], xmm0
movss dword [esp + 0x6c], xmm0
call fcn.0047cea0
add esp, 4
call fcn.00489ff0
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
add ebx, 0x100
mov dword [esp + 0x30], ebx
cmp ebx, 0xffff
jbe 0x410352
call fcn.00489ff0
call fcn.00489ff0
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0048deff
mov esp, ebp
pop ebp
ret