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

Disassembly:
sub esp, 0x70
mov eax, dword [0x104fb780]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
mov ebx, dword [esp + 0x78]
push ebp
mov ebp, dword [esp + 0x80]
push esi
movsd xmm0, qword [ebx + 0x3328]
mulsd xmm0, qword [0x104eaa78]
cmp word [ebp + 0x3c], 0
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x38]
mulsd xmm0, qword [0x104eaa40]
push edi
mov edi, dword [ebx + 0x4698]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x44], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x48], 0
movsd qword [esp + 0x3c], xmm0
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0
jbe 0x101a88ba
lea eax, [esp + 0x58]
push eax
call fcn.10190b40
mov ecx, dword [esp + 0x5c]
add esp, 4
cmp dword [edi + 0x7838], ecx
jne 0x101a8451
movsd xmm0, qword [edi + 0x7840]
ucomisd xmm0, qword [ebx + 0x3458]
lahf
test ah, 0x44
jp 0x101a8451
movsd xmm0, qword [edi + 0x7848]
ucomisd xmm0, qword [ebx + 0x31f0]
lahf
test ah, 0x44
jp 0x101a8451
movsd xmm0, qword [edi + 0x7850]
ucomisd xmm0, qword [ebx + 0x31f8]
lahf
test ah, 0x44
jnp 0x101a845b
push ecx
push ebx
call fcn.101a78e0
add esp, 8
cmp dword [ebx + 0xc], 0
je 0x101a84a4
mov edx, dword [edi + 0x7884]
movsx ecx, word [edx + 0x46]
movsx esi, word [edx + 0x50]
mov eax, ecx
sub eax, esi
sar ecx, 6
sar eax, 6
push eax
movsx eax, word [edx + 0x48]
push ecx
sar eax, 6
push eax
sar esi, 6
push esi
push str.plD_render_freetype_text:
push str._s__d__d__d__d_n
push 2
call fcn.101307d4
add esp, 4
push eax
call fcn.10041eb0
add esp, 0x1c
movzx ecx, word [ebp + 0x3c]
mov ebx, dword [ebp + 0x38]
lea eax, [ebx + ecx*4]
cmp dword [esp + 0x10], eax
jae 0x101a8a17
movsd xmm0, qword [esp + 0x3c]
mov eax, ecx
mov dword [esp + 0x20], eax
call fcn.101324f0
mulsd xmm0, qword [0x104ac838]
cvttsd2si eax, xmm0
movsd xmm0, qword [esp + 0x3c]
mov dword [esp + 0x60], eax
call fcn.101abcd0
mulsd xmm0, qword [0x104ac838]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
cvttsd2si eax, xmm0
mulsd xmm0, qword [0x1040d660]
mov dword [esp + 0x50], eax
cvttsd2si eax, xmm0
mov dword [esp + 0x2c], eax
nop dword [eax]
xor esi, esi
cmp dword [edx], 0xa
je 0x101a852e
movzx eax, cx
lea ecx, [ebx + eax*4]
mov eax, edx
nop
cmp eax, ecx
jae 0x101a852e
inc esi
cmp dword [edx + esi*4], 0xa
lea eax, [edx + esi*4]
jne 0x101a8520
lea ebx, [edi + 0x7858]
mov dword [edi + 0x785c], 0
lea eax, [edi + 0x7868]
mov dword [ebx], 0x10000
push ebx
push eax
mov dword [edi + 0x7860], 0
mov dword [edi + 0x7864], 0x10000
call fcn.101b3ea0
lea eax, [edi + 0x7868]
push eax
push ebx
push dword [edi + 0x7884]
call fcn.101b3060
mov ebx, dword [esp + 0x24]
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x30]
movzx eax, si
push ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x58], eax
push ecx
lea ecx, [esp + 0x64]
push ecx
push eax
push ebx
push dword [esp + 0x40]
call fcn.101a7a40
mov eax, dword [edi + 0x7884]
add esp, 0x30
mov ebx, dword [esp + 0x5c]
movsx edx, word [eax + 0x46]
movsx eax, word [eax + 0x48]
mov ecx, edx
sub ecx, eax
movd xmm0, edx
lea edx, [edi + 0x7858]
cvtdq2pd xmm0, xmm0
movd xmm1, ecx
xor ecx, ecx
cvtdq2pd xmm1, xmm1
divsd xmm1, xmm0
movaps xmm0, xmm1
movsd qword [esp + 0x64], xmm1
mulsd xmm0, qword [0x104ac838]
cvttsd2si eax, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movaps xmm0, xmm1
lea edx, [edx + 4]
mulsd xmm0, qword [ebx + ecx*8]
inc ecx
cvttsd2si eax, xmm0
mov dword [edx - 4], eax
cmp ecx, 4
jl 0x101a85f4
mov eax, dword [esp + 0x60]
lea ebx, [edi + 0x7858]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x78], eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x2c]
push ebx
push eax
mov dword [esp + 0x7c], ecx
call fcn.101b0b40
lea eax, [edi + 0x7868]
push ebx
push eax
call fcn.101b3ea0
lea eax, [edi + 0x7868]
push eax
push ebx
push dword [edi + 0x7884]
call fcn.101b3060
movsd xmm3, qword [edi + 8]
add esp, 0x1c
movd xmm2, dword [ebp + 0x14]
xorps xmm4, xmm4
mov al, byte [edi + 0x21]
ucomisd xmm3, xmm4
cvtdq2pd xmm2, xmm2
lahf
test ah, 0x44
jnp 0x101a86b0
divsd xmm2, xmm3
cmp al, 1
jne 0x101a86a1
movd xmm0, dword [ebp + 0x18]
cvtdq2pd xmm0, xmm0
movsx eax, word [edi + 0x22]
movd xmm1, eax
divsd xmm0, xmm3
cvtdq2pd xmm1, xmm1
subsd xmm1, xmm0
jmp 0x101a86e7
movd xmm1, dword [ebp + 0x18]
cvtdq2pd xmm1, xmm1
divsd xmm1, xmm3
jmp 0x101a86e7
divsd xmm2, qword [edi + 0x10]
cmp al, 1
jne 0x101a86d9
movd xmm0, dword [ebp + 0x18]
cvtdq2pd xmm0, xmm0
movsx eax, word [edi + 0x22]
movd xmm1, eax
divsd xmm0, qword [edi + 0x18]
cvtdq2pd xmm1, xmm1
subsd xmm1, xmm0
jmp 0x101a86e7
movd xmm1, dword [ebp + 0x18]
cvtdq2pd xmm1, xmm1
divsd xmm1, qword [edi + 0x18]
cmp word [ebp + 0x3c], 2
mov ebx, dword [esp + 0x10]
cvttsd2si eax, xmm1
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], eax
cvttsd2si eax, xmm2
mov dword [esp + 0x34], eax
jne 0x101a87aa
mov eax, dword [ebp + 0x38]
cmp dword [eax], 0x80000004
jne 0x101a87aa
mov eax, dword [edi + 0x7884]
movsd xmm1, qword [0x104eaa40]
mov eax, dword [eax + 0x54]
movd xmm0, dword [eax + 0x18]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x104ac830]
comisd xmm4, xmm0
jbe 0x101a874b
subsd xmm0, xmm1
jmp 0x101a874f
addsd xmm0, xmm1
cvttsd2si eax, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [ebp + 8]
cvttsd2si eax, xmm0
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x7884]
mov eax, dword [eax + 0x54]
movd xmm0, dword [eax + 0x1c]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x104ac828]
comisd xmm4, xmm0
jbe 0x101a8799
subsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [esp + 0x28], eax
jmp 0x101a8841
addsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [esp + 0x28], eax
jmp 0x101a8841
mov eax, dword [edi + 0x7884]
movsd xmm3, qword [0x104ac830]
movsd xmm2, qword [0x104eaa40]
mov eax, dword [eax + 0x58]
movd xmm1, dword [eax + 0x20]
cvtdq2pd xmm1, xmm1
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x1c]
movd xmm0, eax
divsd xmm1, qword [esp + 0x64]
cvtdq2pd xmm0, xmm0
mulsd xmm1, qword [0x104ac828]
mulsd xmm0, xmm3
subsd xmm1, xmm0
comisd xmm4, xmm1
jbe 0x101a87fe
subsd xmm1, xmm2
jmp 0x101a8802
addsd xmm1, xmm2
movd xmm0, dword [esp + 0x44]
cvtdq2pd xmm0, xmm0
cvttsd2si eax, xmm1
mulsd xmm0, xmm3
mov dword [esp + 0x28], eax
comisd xmm4, xmm0
jbe 0x101a8824
subsd xmm0, xmm2
jmp 0x101a8828
addsd xmm0, xmm2
cvttsd2si eax, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [ebp + 8]
cvttsd2si eax, xmm0
mov dword [esp + 0x24], eax
lea eax, [edi + 0x7858]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.101b3ea0
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x30]
push eax
push dword [esp + 0x4c]
push ebx
push dword [esp + 0x2c]
call fcn.101a7c90
mov eax, dword [esp + 0x64]
add esp, 0x1c
add eax, dword [esp + 0x18]
add eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x10]
add dword [esp + 0x1c], eax
movzx eax, word [ebp + 0x3c]
mov ebx, dword [ebp + 0x38]
mov ecx, eax
lea edx, [edx + esi*4]
add edx, 4
mov dword [esp + 0x10], edx
lea eax, [ebx + eax*4]
cmp edx, eax
jb 0x101a8510
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1011f88a
add esp, 0x70
ret
movsd xmm2, qword [edi + 8]
ucomisd xmm2, qword [0x102235d8]
movd xmm0, dword [ebp + 0x14]
cvtdq2pd xmm0, xmm0
lahf
test ah, 0x44
jnp 0x101a890b
cmp byte [edi + 0x21], 1
divsd xmm0, xmm2
movsd qword [esp + 0x50], xmm0
movd xmm0, dword [ebp + 0x18]
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
jne 0x101a8956
movsx eax, word [edi + 0x22]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm1, xmm0
movsd qword [esp + 0x34], xmm1
jmp 0x101a895c
cmp byte [edi + 0x21], 1
divsd xmm0, qword [edi + 0x10]
movsd qword [esp + 0x50], xmm0
jne 0x101a8942
movd xmm0, dword [ebp + 0x18]
cvtdq2pd xmm0, xmm0
movsx eax, word [edi + 0x22]
movd xmm1, eax
divsd xmm0, qword [edi + 0x18]
cvtdq2pd xmm1, xmm1
subsd xmm1, xmm0
movsd qword [esp + 0x34], xmm1
jmp 0x101a895c
movsd qword [esp + 0x50], xmm0
movd xmm0, dword [ebp + 0x18]
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [edi + 0x18]
movsd qword [esp + 0x34], xmm0
mov eax, dword [edi + 0x7884]
movsx eax, word [eax + 0x48]
sar eax, 6
mov dword [esp + 0x30], eax
lea eax, [edi + 0x7858]
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0
push eax
call fcn.101b3ea0
cvttsd2si ebx, qword [esp + 0x58]
lea eax, [esp + 0x44]
push eax
cvttsd2si esi, qword [esp + 0x40]
add ebx, dword [esp + 0x38]
sub esi, dword [esp + 0x3c]
call fcn.10190b40
push dword [esp + 0x48]
mov edi, dword [esp + 0x24]
push edi
call fcn.101a78e0
mov edi, dword [edi + 0x4698]
lea eax, [edi + 0x7868]
push eax
lea eax, [edi + 0x7858]
push eax
push dword [edi + 0x7884]
call fcn.101b3060
cmp dword [edi + 0x34], 0
mov ecx, 0x1004
mov eax, 0x24
cmove eax, ecx
push eax
push dword [ebp + 0x34]
push dword [edi + 0x7884]
call fcn.101b01f0
mov eax, dword [edi + 0x7884]
push esi
mov ecx, dword [eax + 0x54]
mov eax, dword [ecx + 0x40]
sar eax, 6
cdq
sub eax, edx
sar eax, 1
sub ebx, eax
push ebx
push ecx
push edi
push dword [esp + 0x50]
call fcn.101a72c0
add esp, 0x40
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1011f88a
add esp, 0x70
ret