Function at 0x104a4f5
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
mov edx, dword [ebp + 0x10]
fldz
fstp dword [ebp - 0x24]
push ebx
fldz
push esi
xor esi, esi
fstp dword [ebp - 0x20]
cmp edx, esi
fldz
push edi
fstp dword [ebp - 0x1c]
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
je 0x104a83a
cmp word [edx], si
je 0x104a83a
mov ecx, dword [ebp + 0x1c]
cmp ecx, esi
je 0x104a56d
fld dword [ebp + 0x14]
fcomp dword [0x1001628]
fnstsw ax
test ah, 5
jp 0x104a552
push 0x1002f08
jmp 0x104a567
fld dword [ebp + 0x18]
fcomp dword [0x1001628]
fnstsw ax
test ah, 5
jp 0x104a577
push 0x1002ed8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ebx, 0x8876086c
jmp 0x104a88a
push edx
mov dword [ecx], esi
call fcn.01083e44
mov esi, eax
mov edi, esi
shl edi, 2
push edi
mov dword [ebp - 0xc], esi
call fcn.01083e2c
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 8], eax
jne 0x104a5a2
mov ebx, 0x8007000e
jmp 0x104a866
fld dword [ebp + 0x18]
mov ecx, edi
mov edi, dword [ebp - 8]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [ebp - 0x14]
push eax
push ecx
push ecx
xor edi, edi
inc edi
fstp dword [esp + 4]
fld dword [ebp + 0x14]
fstp dword [esp]
push dword [ebp + 0xc]
call fcn.01049920
mov ebx, eax
add esp, 0x10
test ebx, ebx
jge 0x104a5f1
push 0x1002eb0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esi, dword [ebp - 0x14]
jmp 0x104a859
and dword [ebp - 0x18], 0
test esi, esi
mov esi, dword [ebp - 0x14]
jbe 0x104a79d
mov edi, 0x10935f0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
movzx ebx, word [eax + ecx*2]
push edi
xor eax, eax
cmp dword [ebp + 0x28], eax
push eax
push eax
lea eax, [ebp - 0x38]
push eax
push 2
push ebx
push dword [ebp + 0xc]
je 0x104a62b
call dword [sym.imp.GDI32.dll_GetGlyphOutlineW]
jmp 0x104a631
call dword [sym.imp.GDI32.dll_GetGlyphOutlineA]
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
je 0x104a802
cmp eax, dword [ebp - 0x10]
jbe 0x104a669
cmp dword [ebp - 4], 0
je 0x104a651
push dword [ebp - 4]
call fcn.0100f567
pop ecx
mov eax, dword [ebp - 0x14]
push eax
mov dword [ebp - 0x10], eax
call fcn.0100f62c
test eax, eax
pop ecx
mov dword [ebp - 4], eax
je 0x104a814
cmp dword [ebp + 0x28], 0
push edi
push dword [ebp - 4]
lea eax, [ebp - 0x38]
push dword [ebp - 0x10]
push eax
push 2
push ebx
push dword [ebp + 0xc]
je 0x104a688
call dword [sym.imp.GDI32.dll_GetGlyphOutlineW]
jmp 0x104a68e
call dword [sym.imp.GDI32.dll_GetGlyphOutlineA]
cmp eax, 0xffffffff
je 0x104a81b
mov eax, dword [ebp - 4]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x14], eax
mov eax, esi
call fcn.0104a3af
mov ebx, eax
test ebx, ebx
jl 0x104a82d
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esi + 0x1bc]
mov ecx, dword [eax + 0x1c]
call fcn.010493f4
mov eax, dword [esi + 0x1bc]
mov eax, dword [eax + 0x1c]
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp - 0x18]
push 0x28
mov dword [ecx + ebx*4], eax
call fcn.01083e2c
test eax, eax
pop ecx
je 0x104a6ed
mov ecx, eax
call fcn.0104931f
jmp 0x104a6ef
xor eax, eax
mov ecx, dword [esi + 0x1bc]
mov dword [ecx + 0x1c], eax
mov eax, dword [esi + 0x1bc]
cmp dword [eax + 0x1c], 0
je 0x104a80d
movsx eax, word [ebp - 0x28]
mov dword [ebp - 0x18], eax
movsx eax, word [ebp - 0x26]
fild dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x24]
test eax, eax
fld st(0)
fmul dword [esi + 8]
fadd dword [ebp - 0x24]
fstp dword [ebp - 0x24]
fild dword [ebp - 0x18]
fst dword [ebp - 0x18]
fmul dword [esi + 8]
fadd dword [ebp - 0x20]
fstp dword [ebp - 0x20]
je 0x104a78e
mov ecx, dword [ebp - 0x38]
fild dword [ebp - 0x38]
test ecx, ecx
jge 0x104a74a
fadd dword [0x10013a8]
fmul dword [esi + 8]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
fstp dword [eax]
fild dword [ebp - 0x34]
jge 0x104a75f
fadd dword [0x10013a8]
fmul dword [esi + 8]
add eax, 0x18
mov dword [ebp + 0x24], eax
fstp dword [eax - 0x14]
fild dword [ebp - 0x30]
fmul dword [esi + 8]
fstp dword [eax - 0x10]
fild dword [ebp - 0x2c]
fmul dword [esi + 8]
fstp dword [eax - 0xc]
fmul dword [esi + 8]
fstp dword [eax - 8]
fld dword [ebp - 0x18]
fmul dword [esi + 8]
fstp dword [eax - 4]
jmp 0x104a790
fstp st(0)
inc ebx
cmp ebx, dword [ebp - 0xc]
mov dword [ebp - 0x18], ebx
jb 0x104a605
mov edi, dword [ebp + 0x1c]
push edi
push dword [ebp - 0xc]
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.01049487
mov ebx, eax
add esp, 0x10
test ebx, ebx
jl 0x104a84a
cmp dword [ebp + 0x20], 0
je 0x104a84a
mov eax, dword [edi]
push dword [ebp + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
lea eax, [eax + eax*2]
shl eax, 2
push eax
call fcn.010579af
mov ebx, eax
test ebx, ebx
jl 0x104a84a
mov ecx, dword [edi]
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov ebx, dword [ecx]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
fldz
push eax
push ecx
fstp dword [esp]
push dword [edi]
call dword [ebx + 0x54]
mov ebx, eax
jmp 0x104a84a
push 0x1002e88
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ebx, 0x8007000e
jmp 0x104a84a
push 0x1002e5c
jmp 0x104a807
push 0x1002e88
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ebx, 0x80004005
jmp 0x104a84a
push 0x1002e28
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x104a84a
push 0x1002e04
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ebx, 0x8876086c
cmp dword [ebp - 4], 0
je 0x104a859
push dword [ebp - 4]
call fcn.0100f567
pop ecx
test esi, esi
je 0x104a866
push dword [ebp + 0xc]
call fcn.01049101
pop ecx
cmp dword [ebp - 8], 0
je 0x104a88a
xor esi, esi
cmp dword [ebp - 0xc], esi
jbe 0x104a88a
mov eax, dword [ebp - 8]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x104a884
push 1
call fcn.010495f7
inc esi
cmp esi, dword [ebp - 0xc]
jb 0x104a873
push dword [ebp - 8]
call fcn.010839d6
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret