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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x10140e28]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
mov ecx, 0x1014c1d2
call fcn.100584db
movss xmm0, dword [edi + 0x10]
mov eax, dword [edi + 0x34]
movsx ecx, word [edi + 0x38]
cvtps2pd xmm0, xmm0
test eax, eax
je 0x1006cf8c
add eax, 0x4a
jmp 0x1006cf91
mov eax, 0x1010c548
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.10058260
add esp, 0x14
mov bl, al
mov dword [esp + 4], 0xbf800000
and dword [esp], 0
call fcn.1005795a
push str.Set_as_default
call fcn.10058701
add esp, 0xc
test al, al
je 0x1006cfd7
call fcn.100566a4
mov dword [eax + 0x4c], edi
test bl, bl
je 0x1006d3dc
push esi
push edi
call fcn.10056857
mov dword [esp], str.The_quick_brown_fox_jumps_over_the_lazy_dog
call fcn.100576a8
call fcn.100560d7
call fcn.10058274
fmul dword [0x10115bc8]
fstp dword [esp]
call fcn.10058472
pop ecx
push 0
push str._.1f
sub esp, 0xc
lea eax, [edi + 0x44]
mov dword [esp + 8], 0x40000000
mov dword [esp + 4], 0x3e99999a
mov dword [esp], 0x3ba3d70a
push eax
push str.Font_scale
call fcn.10058198
add esp, 0x14
mov dword [esp + 4], 0xbf800000
and dword [esp], 0
call fcn.1005795a
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.1007a621
movss xmm0, dword [edi + 0x48]
sub esp, 0xc
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.100576a8
movzx esi, word [edi + 0x3a]
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.1005833c
push esi
push eax
push str.Fallback_character:__s__U_04X_
call fcn.100576a8
movzx esi, word [edi + 0x3c]
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.1005833c
push esi
push eax
push str.Ellipsis_character:__s__U_04X_
call fcn.100576a8
movd xmm0, dword [edi + 0x50]
add esp, 0x44
cvtdq2ps xmm0, xmm0
push ecx
movss dword [esp], xmm0
call fcn.10057d74
fstp dword [ebp - 0x28]
cvttss2si eax, dword [ebp - 0x28]
push eax
push eax
push dword [edi + 0x50]
push str.Texture_Area:_about__d_px__dx_d_px
call fcn.100576a8
xor eax, eax
add esp, 0x14
xor ebx, ebx
cmp ax, word [edi + 0x38]
jge 0x1006d158
xor esi, esi
mov eax, dword [edi + 0x34]
test eax, eax
je 0x1006d14c
lea ecx, [esi + eax]
test ecx, ecx
je 0x1006d14c
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.10056ea6
add esp, 0x28
movsx eax, word [edi + 0x38]
inc ebx
add esi, 0x78
cmp ebx, eax
jl 0x1006d103
push dword [edi + 0x20]
push str.Glyphs___d_
push str.Glyphs
call fcn.1005656e
add esp, 0xc
test al, al
je 0x1006d3d6
call fcn.100580d5
push ecx
mov dword [esp], 0x3f800000
push 0
mov dword [ebp - 0x38], eax
call fcn.10057de7
movss xmm0, dword [edi + 0x10]
pop ecx
pop ecx
mov dword [ebp - 0x3c], eax
movss dword [ebp - 0x2c], xmm0
call fcn.10058279
xor esi, esi
mov dword [ebp - 0x28], esi
movss xmm0, dword [eax + 0x50]
movss dword [ebp - 0x34], xmm0
test esi, 0xfff
jne 0x1006d1d5
lea eax, [esi + 0xfff]
mov ecx, edi
push eax
push esi
call fcn.10058580
test al, al
je 0x1006d1d5
add esi, 0xf00
jmp 0x1006d3bc
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x20], ecx
movzx eax, si
mov edx, eax
add eax, ecx
push eax
mov ecx, edi
mov dword [ebp - 0x24], edx
call fcn.10057fae
test eax, eax
je 0x1006d1f3
inc ebx
mov ecx, dword [ebp - 0x20]
inc ecx
mov dword [ebp - 0x20], ecx
cmp ecx, 0x100
jb 0x1006d1dc
mov eax, dword [ebp - 0x24]
movzx eax, ax
mov dword [ebp - 0x20], eax
test ebx, ebx
jle 0x1006d3bc
mov ecx, str.glyph
cmp ebx, 1
mov eax, str.glyphs
cmovle eax, ecx
push eax
push ebx
lea eax, [esi + 0xff]
push eax
push esi
push str.U_04X..U_04X___d__s_
push esi
call fcn.10058260
add esp, 0x18
test al, al
je 0x1006d3bc
lea eax, [ebp - 0x44]
push eax
call fcn.10056492
movss xmm1, dword [ebp - 0x34]
xor ebx, ebx
addss xmm1, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x38]
pop ecx
movss dword [ebp - 0x24], xmm1
mov eax, ebx
shr eax, 4
push ecx
push ecx
lea ecx, [ebp - 0x14]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10115cc0]
mov eax, ebx
and eax, 0xf
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
addss xmm0, dword [ebp - 0x40]
movss dword [esp + 4], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10115cc0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
addss xmm0, dword [ebp - 0x44]
movss dword [esp], xmm0
call fcn.10057680
movss xmm0, dword [ebp - 0x10]
addss xmm0, dword [ebp - 0x2c]
push ecx
push ecx
lea ecx, [ebp - 0x1c]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x14]
addss xmm0, dword [ebp - 0x2c]
movss dword [esp], xmm0
call fcn.10057680
mov eax, dword [ebp - 0x20]
mov ecx, edi
add eax, ebx
push eax
call fcn.10057fae
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 [ebp - 0x30], eax
lea eax, [ebp - 0x1c]
cmovne ecx, edx
push ecx
push eax
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.10056695
cmp dword [ebp - 0x30], 0
je 0x1006d37b
mov ecx, dword [ebp - 0x20]
movss xmm0, dword [ebp - 0x2c]
lea eax, [ecx + ebx]
push eax
push dword [ebp - 0x3c]
lea eax, [ebp - 0x14]
push eax
push ecx
movss dword [esp], xmm0
mov ecx, edi
push esi
call fcn.10057252
push 1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.100568e8
add esp, 0xc
test al, al
je 0x1006d37b
call fcn.10058904
push dword [ebp - 0x30]
push edi
call fcn.10056703
pop ecx
pop ecx
call fcn.1005825b
movss xmm1, dword [ebp - 0x24]
inc ebx
cmp ebx, 0x100
jb 0x1006d261
movaps xmm0, xmm1
mulss xmm0, dword [0x10115bd8]
push ecx
push ecx
lea ecx, [ebp - 0x4c]
movss dword [esp + 4], xmm0
movss dword [esp], xmm0
call fcn.10057680
push eax
call fcn.1005757c
pop ecx
call fcn.100585d5
mov esi, dword [ebp - 0x28]
add esi, 0x100
mov dword [ebp - 0x28], esi
cmp esi, 0xffff
jbe 0x1006d1af
call fcn.100585d5
call fcn.100585d5
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.10056ffa
leave
ret