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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x486138]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x34]
lea ecx, [eax + 0x4a]
test eax, eax
jne 0x418cb3
mov ecx, 0x466a56
movsx eax, word [esi + 0x38]
movss xmm0, dword [esi + 0x10]
push eax
push dword [esi + 0x20]
cvtps2pd xmm0, xmm0
push ecx
push ecx
movsd qword [esp], xmm0
push ecx
push str.Font:___s__n_.2f_px___d_glyphs___d_file_s_
push esi
call fcn.00453343
movss xmm1, dword [0x4833e8]
add esp, 0x1c
xorps xmm0, xmm0
mov bl, al
call fcn.00410ba6
mov ecx, str.Set_as_default
call fcn.004466dc
test al, al
je 0x418d04
call fcn.00408e6c
mov dword [eax + 0x9c], esi
test bl, bl
je 0x41918a
mov ecx, esi
call fcn.0040fa29
push str.The_quick_brown_fox_jumps_over_the_lazy_dog
call fcn.00445a37
pop ecx
call fcn.0040fa7b
call fcn.0041024b
mulss xmm0, dword [0x483288]
call fcn.00410dda
movss xmm3, dword [0x4830e4]
lea edx, [esi + 0x44]
movss xmm2, dword [0x48307c]
push 0
push str._.1f
push ecx
mov ecx, str.Font_scale
mov dword [esp], 0x40000000
call fcn.0044a460
movss xmm1, dword [0x4833e8]
add esp, 0xc
xorps xmm0, xmm0
call fcn.00410ba6
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.00416e02
movss xmm0, dword [esi + 0x48]
sub esp, 0x18
subss xmm0, dword [esi + 0x4c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [esi + 0x4c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [esi + 0x48]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.Ascent:__f__Descent:__f__Height:__f
call fcn.00445a37
movzx edx, word [esi + 0x3a]
lea ecx, [ebp - 0xc]
add esp, 0x1c
push edx
call fcn.004064db
push eax
push str.Fallback_character:__s__U_04X_
call fcn.00445a37
movzx edx, word [esi + 0x3c]
lea ecx, [ebp - 0xc]
add esp, 0xc
push edx
call fcn.004064db
push eax
push str.Ellipsis_character:__s__U_04X_
call fcn.00445a37
movd xmm0, dword [esi + 0x50]
add esp, 0xc
cvtdq2ps xmm0, xmm0
call fcn.004040a7
cvttss2si eax, xmm0
push eax
push eax
push dword [esi + 0x50]
push str.Texture_Area:_about__d_px__dx_d_px
call fcn.00445a37
xor eax, eax
add esp, 0x10
xor ebx, ebx
cmp ax, word [esi + 0x38]
jge 0x418e76
xor edi, edi
mov eax, dword [esi + 0x34]
test eax, eax
je 0x418e6a
lea ecx, [edi + eax]
test ecx, ecx
je 0x418e6a
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.00445dd5
add esp, 0x28
movsx eax, word [esi + 0x38]
inc ebx
add edi, 0x78
cmp ebx, eax
jl 0x418e21
push dword [esi + 0x20]
push str.Glyphs___d_
push str.Glyphs
call fcn.0045332b
add esp, 0xc
test al, al
je 0x419185
call fcn.00410233
movss xmm1, dword [0x4831d4]
xor ecx, ecx
mov dword [ebp - 0x20], eax
call fcn.004072ca
movss xmm2, dword [esi + 0x10]
mov dword [ebp - 0x2c], eax
movss dword [ebp - 0x14], xmm2
call fcn.0040729e
xor edi, edi
movss xmm0, dword [eax + 0x50]
movss dword [ebp - 0x28], xmm0
test edi, 0xfff
jne 0x418eee
lea eax, [edi + 0xfff]
mov ecx, esi
push eax
push edi
call fcn.00439fbb
test al, al
je 0x418eee
add edi, 0xf00
jmp 0x41916e
xor ebx, ebx
xor edx, edx
mov dword [ebp - 0x10], edx
lea eax, [edi + edx]
mov ecx, esi
push eax
call fcn.0043a265
mov edx, dword [ebp - 0x10]
lea ecx, [ebx + 1]
inc edx
test eax, eax
mov dword [ebp - 0x10], edx
cmove ecx, ebx
mov ebx, ecx
cmp edx, 0x100
jb 0x418ef5
test ebx, ebx
jle 0x41916e
mov ecx, str.glyph
cmp ebx, 1
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.00453343
add esp, 0x18
test al, al
je 0x41916e
lea ecx, [ebp - 0x34]
call fcn.00410c48
movss xmm3, dword [ebp - 0x28]
xor ebx, ebx
movss xmm4, dword [ebp - 0x14]
addss xmm3, xmm4
movss dword [ebp - 0x24], xmm3
mov eax, ebx
lea ecx, [ebp - 0x1c]
shr eax, 4
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4834d0]
mov eax, ebx
and eax, 0xf
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm2, xmm3
addsd xmm0, qword [eax*8 + 0x4834d0]
addss xmm2, dword [ebp - 0x30]
cvtpd2ps xmm1, xmm0
mulss xmm1, xmm3
addss xmm1, dword [ebp - 0x34]
call fcn.00403cd5
movss xmm2, dword [ebp - 0x18]
lea ecx, [ebp - 0x3c]
movss xmm1, dword [ebp - 0x1c]
addss xmm2, xmm4
addss xmm1, xmm4
call fcn.00403cd5
lea eax, [ebx + edi]
mov ecx, esi
push eax
call fcn.0043a265
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 - 0x10], eax
lea eax, [ebp - 0x3c]
cmovne ecx, edx
push ecx
mov ecx, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00436e86
cmp dword [ebp - 0x10], 0
je 0x419135
push dword [ebp - 0x18]
movss xmm2, dword [ebp - 0x14]
lea eax, [ebx + edi]
push dword [ebp - 0x1c]
mov ecx, esi
push eax
push dword [ebp - 0x2c]
push dword [ebp - 0x20]
call fcn.0043a587
push 1
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x1c]
call fcn.0040b1ee
pop ecx
test al, al
je 0x419135
call fcn.00411acf
lea eax, [ebx + edi]
push eax
push str.Codepoint:_U_04X
call fcn.00445a37
call fcn.0044867c
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
shr eax, 1
and eax, 1
push eax
push str.Visible:__d
call fcn.00445a37
mov eax, dword [ebp - 0x10]
add esp, 8
movss xmm0, dword [eax + 4]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.AdvanceX:__.1f
call fcn.00445a37
mov eax, dword [ebp - 0x10]
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.00445a37
mov eax, dword [ebp - 0x10]
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.00445a37
add esp, 0x24
call fcn.00411bf5
movss xmm3, dword [ebp - 0x24]
inc ebx
movss xmm4, dword [ebp - 0x14]
cmp ebx, 0x100
jb 0x418f6e
movaps xmm1, xmm3
lea ecx, [ebp - 0x44]
mulss xmm1, dword [0x4832a8]
movaps xmm2, xmm1
call fcn.00403cd5
mov ecx, eax
call fcn.004482cc
call fcn.00453e39
add edi, 0x100
cmp edi, 0xffff
jbe 0x418ec8
call fcn.00453e39
call fcn.00453e39
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00464142
mov esp, ebp
pop ebp
ret