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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
mov eax, dword [0x5582e0]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x30], ebx
mov eax, dword [ebx + 0x34]
lea ecx, [eax + 0x4a]
test eax, eax
jne 0x46f2bd
mov ecx, 0x50a8fc
movsx eax, word [ebx + 0x38]
movss xmm0, dword [ebx + 0x10]
push eax
push dword [ebx + 0x20]
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
push ecx
push str.Font:___s__n_.2f_px___d_glyphs___d_file_s_
push ebx
call fcn.004e3cb0
add esp, 0x14
mov byte [esp + 0x37], al
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.00488160
push str.Set_as_default
call fcn.004e0b10
add esp, 0xc
test al, al
je 0x46f315
mov eax, dword [0x55b690]
mov dword [eax + 0x4c], ebx
cmp byte [esp + 0x2f], 0
je 0x46fa6d
mov esi, dword [0x55b690]
push ebx
call fcn.004889c0
mov edi, dword [esi + 0x408c]
add esp, 4
mov ecx, dword [esi + 0x4090]
cmp edi, ecx
jne 0x46f3e6
inc edi
test ecx, ecx
je 0x46f353
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x46f358
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x46f3e6
mov eax, dword [0x55b690]
test eax, eax
je 0x46f374
inc dword [eax + 0xb0]
push dword [0x55b698]
lea eax, [edi*4]
push eax
call dword [0x550190]
mov edx, dword [esi + 0x4094]
add esp, 8
mov dword [esp + 0x34], eax
test edx, edx
je 0x46f3da
mov ecx, dword [esi + 0x408c]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 0x4094]
add esp, 0xc
test ecx, ecx
je 0x46f3c6
mov eax, dword [0x55b690]
test eax, eax
je 0x46f3c6
dec dword [eax + 0xb0]
push dword [0x55b698]
push ecx
call dword [0x550194]
mov eax, dword [esp + 0x3c]
add esp, 8
mov dword [esi + 0x4094], eax
mov dword [esi + 0x4090], edi
mov ecx, dword [esi + 0x408c]
mov eax, dword [esi + 0x4094]
mov dword [eax + ecx*4], ebx
inc dword [esi + 0x408c]
mov eax, dword [ebx + 0x30]
mov ecx, dword [esi + 0x3f04]
push dword [eax + 4]
mov ecx, dword [ecx + 0x284]
call fcn.004b4b80
push str.The_quick_brown_fox_jumps_over_the_lazy_dog
call fcn.004e3640
mov esi, dword [0x55b690]
add esp, 4
mov ecx, dword [esi + 0x3f04]
mov ecx, dword [ecx + 0x284]
call fcn.004b4840
mov ecx, dword [esi + 0x408c]
sub ecx, 1
mov dword [esi + 0x408c], ecx
jne 0x46f45e
mov ecx, dword [0x55b690]
mov eax, dword [ecx + 0x4c]
test eax, eax
jne 0x46f468
mov eax, dword [ecx + 0x40]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax]
jmp 0x46f468
mov eax, dword [esi + 0x4094]
mov eax, dword [eax + ecx*4 - 4]
push eax
call fcn.004889c0
mov eax, dword [0x55b690]
add esp, 4
movss xmm0, dword [eax + 0x3c98]
mulss xmm0, dword [0x50fa50]
or dword [eax + 0x3f9c], 1
push 0
push str._.1f
sub esp, 0xc
movss dword [eax + 0x3fa0], xmm0
lea eax, [ebx + 0x44]
mov dword [esp + 8], 0x40000000
mov dword [esp + 4], 0x3e99999a
mov dword [esp], 0x3ba3d70a
push eax
push str.Font_scale
call fcn.004d7c70
add esp, 0x14
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.00488160
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.0047fa30
movss xmm2, dword [ebx + 0x48]
sub esp, 0xc
movss xmm1, dword [ebx + 0x4c]
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.004e3640
movzx eax, word [ebx + 0x3a]
add esp, 0x1c
push eax
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.0047d210
add esp, 8
push eax
push str.Fallback_character:__s__U_04X_
call fcn.004e3640
movzx eax, word [ebx + 0x3c]
add esp, 0xc
push eax
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.0047d210
add esp, 8
push eax
push str.Ellipsis_character:__s__U_04X_
call fcn.004e3640
mov esi, dword [ebx + 0x50]
xorps xmm1, xmm1
movd xmm0, esi
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x46f57b
sqrtsd xmm0, xmm0
jmp 0x46f580
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.004e3640
xor eax, eax
add esp, 0x1c
xor esi, esi
cmp ax, word [ebx + 0x38]
jge 0x46f5f9
xor edi, edi
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x46f5ed
lea ecx, [eax + edi]
test ecx, ecx
je 0x46f5ed
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.004d1a00
add esp, 0x28
movsx eax, word [ebx + 0x38]
inc esi
add edi, 0x78
cmp esi, eax
jl 0x46f5a4
push dword [ebx + 0x20]
push str.Glyphs___d_
push str.Glyphs
call fcn.004e3c40
add esp, 0xc
test al, al
je 0x46fa68
mov ecx, dword [0x55b690]
push ecx
mov dword [esp], 0x3f800000
push 0
mov eax, dword [ecx + 0x3f04]
mov byte [eax + 0xc5], 1
mov eax, dword [ecx + 0x3f04]
mov eax, dword [eax + 0x284]
mov dword [esp + 0x50], eax
call fcn.0047ad00
mov ecx, dword [0x55b690]
add esp, 8
movss xmm0, dword [ebx + 0x10]
xor edi, edi
movss dword [esp + 0x38], xmm0
mov dword [esp + 0x58], eax
movss xmm0, dword [ecx + 0x38a4]
movss dword [esp + 0x54], xmm0
test edi, 0xfff
jne 0x46f696
lea eax, [edi + 0xfff]
mov ecx, ebx
push eax
push edi
call fcn.004b3480
test al, al
je 0x46f696
add edi, 0xf00
jmp 0x46fa51
xor ebx, ebx
xor esi, esi
nop word [eax + eax]
movzx eax, di
mov ecx, eax
add eax, esi
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x30]
push eax
call fcn.004b1420
test eax, eax
je 0x46f6ba
inc ebx
inc esi
cmp esi, 0x100
jb 0x46f6a0
mov eax, dword [esp + 0x34]
movzx eax, ax
mov dword [esp + 0x44], eax
test ebx, ebx
jle 0x46fa4d
cmp ebx, 1
mov ecx, str.glyph
mov eax, str.glyphs
cmovle eax, ecx
push eax
push ebx
lea eax, [edi + 0xff]
push eax
push edi
push str.U_04X..U_04X___d__s_
push edi
call fcn.004e3cb0
add esp, 0x18
test al, al
je 0x46fa4d
mov eax, dword [0x55b690]
xor esi, esi
movss xmm2, dword [esp + 0x54]
movss xmm3, dword [esp + 0x38]
addss xmm2, xmm3
mov eax, dword [eax + 0x3f04]
movss xmm4, dword [eax + 0x108]
movss xmm5, dword [eax + 0x10c]
movss dword [esp + 0x64], xmm4
movss dword [esp + 0x68], xmm5
movss dword [esp + 0x34], xmm2
mov eax, esi
mov ecx, dword [esp + 0x30]
and eax, 0xf
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x50c350]
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 + 0x50c350]
mov eax, dword [esp + 0x44]
addss xmm1, xmm4
add eax, esi
push eax
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x40], xmm1
addss xmm1, xmm3
mulss xmm0, xmm2
addss xmm0, xmm5
movss dword [esp + 0x50], xmm1
movss dword [esp + 0x44], xmm0
addss xmm0, xmm3
movss dword [esp + 0x54], xmm0
call fcn.004b1420
push ecx
mov dword [esp], 0x3f800000
mov ebx, eax
push 0
push ecx
test ebx, ebx
mov dword [esp], 0
mov eax, 0x64ffffff
mov ecx, 0x32ffffff
cmovne ecx, eax
lea eax, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004b0150
test ebx, ebx
je 0x46f9ff
mov ecx, dword [esp + 0x44]
movss xmm0, dword [esp + 0x38]
lea eax, [ecx + esi]
push eax
push dword [esp + 0x5c]
push dword [esp + 0x48]
push dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x44]
movss dword [esp], xmm0
push dword [esp + 0x5c]
call fcn.004b5060
mov ecx, dword [0x55b690]
movss xmm7, dword [esp + 0x3c]
movss xmm0, dword [esp + 0x4c]
movss xmm6, dword [esp + 0x40]
mov eax, dword [ecx + 0x3f04]
movss xmm5, dword [esp + 0x50]
movss xmm1, dword [ecx + 0x38b8]
maxss xmm7, dword [eax + 0x228]
minss xmm0, dword [eax + 0x230]
maxss xmm6, dword [eax + 0x22c]
minss xmm5, dword [eax + 0x234]
movaps xmm2, xmm7
subss xmm2, xmm1
movss dword [esp + 0x60], xmm0
movaps xmm3, xmm0
movss dword [esp + 0x5c], xmm6
movss xmm0, dword [ecx + 0x38bc]
addss xmm3, xmm1
movaps xmm1, xmm6
movaps xmm4, xmm5
movss xmm6, dword [ecx + 0xd58]
addss xmm4, xmm0
comiss xmm6, xmm2
subss xmm1, xmm0
jb 0x46f9ff
movss xmm0, dword [ecx + 0xd5c]
comiss xmm0, xmm1
jb 0x46f9ff
comiss xmm3, xmm6
jbe 0x46f9ff
comiss xmm4, xmm0
jbe 0x46f9ff
mov eax, dword [ecx + 0x40ec]
movss xmm2, dword [eax + 0xc]
movss xmm3, dword [eax + 8]
movaps xmm0, xmm2
addss xmm0, dword [eax + 0x14]
movaps xmm1, xmm3
addss xmm1, dword [eax + 0x10]
comiss xmm0, dword [esp + 0x5c]
jbe 0x46f9ff
comiss xmm5, xmm2
jbe 0x46f9ff
comiss xmm1, xmm7
jbe 0x46f9ff
movss xmm0, dword [esp + 0x60]
comiss xmm0, xmm3
jbe 0x46f9ff
push 0
push 0
call fcn.0046bf20
lea eax, [esi + edi]
push eax
push str.Codepoint:_U_04X
call fcn.004e3640
call fcn.004df9f0
mov eax, dword [ebx]
shr eax, 1
and eax, 1
push eax
push str.Visible:__d
call fcn.004e3640
movss xmm0, dword [ebx + 4]
add esp, 0x10
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.AdvanceX:__.1f
call fcn.004e3640
movss xmm0, dword [ebx + 0x14]
sub esp, 0x14
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x18], xmm0
movss xmm0, dword [ebx + 0x10]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [ebx + 0xc]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [ebx + 8]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.Pos:___.2f__.2f_____.2f__.2f_
call fcn.004e3640
movss xmm0, dword [ebx + 0x24]
add esp, 4
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x18], xmm0
movss xmm0, dword [ebx + 0x20]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [ebx + 0x1c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [ebx + 0x18]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.UV:___.3f__.3f_____.3f__.3f_
call fcn.004e3640
add esp, 0x24
call fcn.00478c40
movss xmm2, dword [esp + 0x34]
inc esi
movss xmm3, dword [esp + 0x38]
movss xmm4, dword [esp + 0x64]
movss xmm5, dword [esp + 0x68]
cmp esi, 0x100
jb 0x46f745
movaps xmm0, xmm2
lea eax, [esp + 0x6c]
mulss xmm0, dword [0x5151f8]
push eax
movss dword [esp + 0x70], xmm0
movss dword [esp + 0x74], xmm0
call fcn.004d86f0
add esp, 4
call fcn.004e4690
mov ebx, dword [esp + 0x30]
add edi, 0x100
cmp edi, 0xffff
jbe 0x46f670
call fcn.004e4690
call fcn.004e4690
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00501271
mov esp, ebp
pop ebp
ret