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

Disassembly:
sub esp, 0x84
mov eax, dword [0x102cf440]
xor eax, esp
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x90]
push esi
mov esi, dword [esp + 0x90]
push edi
mov edi, dword [esp + 0x90]
mov dword [esp + 0x38], ecx
add ecx, 0x18
lea eax, [esi + 0x18]
mov dword [esp + 0x34], edi
push eax
push ecx
mov dword [esp + 0x44], esi
mov dword [esp + 0x34], ecx
call fcn.10093760
mov edx, dword [esp + 0x40]
add esp, 8
mov ecx, dword [esi + 0x10]
shr eax, 0x1f
mov dword [esp + 0x44], eax
lea eax, [edx + 0x10]
mov dword [esp + 0x24], eax
lea eax, [esi + 0x10]
cmp ecx, dword [edx + 0x10]
jne 0x10097935
mov eax, dword [esi + 0x14]
cmp eax, dword [edx + 0x14]
jne 0x10097932
mov eax, dword [esi]
cmp eax, dword [edx]
jne 0x10097932
mov eax, dword [esi + 4]
cmp eax, dword [edx + 4]
je 0x10098017
lea eax, [esi + 0x10]
cmp dword [esp + 0x44], 0
je 0x10097944
mov ecx, esi
mov dword [esp + 0x48], edx
jmp 0x1009794d
mov ecx, eax
lea eax, [edx + 0x10]
mov dword [esp + 0x48], eax
cmp dword [edi + 0x428], 0
mov dword [esp + 0x4c], ecx
je 0x1009799e
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x78], eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x78]
push eax
lea eax, [edi + 0x44c]
mov dword [esp + 0x88], ecx
push eax
call fcn.10056710
add esp, 8
test eax, eax
je 0x10098017
mov edx, dword [esp + 0x38]
mov eax, dword [edi + 0x34]
sub eax, 0
je 0x100979b8
sub eax, 1
je 0x10097b64
sub eax, 1
je 0x10097f92
movsd xmm4, qword [esi + 0x38]
movsd xmm3, qword [esi + 0x30]
movaps xmm1, xmm4
xorps xmm1, xmmword [0x102289b0]
movaps xmm0, xmm3
mulsd xmm0, qword [edx + 0x30]
mov eax, dword [edi]
mulsd xmm1, qword [edx + 0x38]
movsd xmm2, qword [eax + 0x10]
mulsd xmm2, xmm2
subsd xmm1, xmm0
movsd xmm0, qword [0x102bc1b8]
subsd xmm0, xmm1
mulsd xmm0, xmm2
comisd xmm0, xmmword [0x102bc1d0]
jb 0x10097f92
mov eax, dword [esp + 0x4c]
movsd qword [esp + 0x20], xmm3
movsd qword [esp + 0x40], xmm4
movd xmm0, dword [eax]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x1022ac10]
movsd qword [esp + 8], xmm0
movd xmm0, dword [eax + 4]
lea eax, [esp + 0x40]
cvtdq2pd xmm0, xmm0
push eax
lea eax, [esp + 0x24]
push eax
push dword [edi + 4]
mulsd xmm0, qword [0x1022ac10]
movsd qword [esp + 0x8c], xmm0
call sym.project.dll_cairo_matrix_transform_distance
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x44]
movd xmm0, dword [eax]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x1022ac10]
movsd qword [esp + 0x24], xmm0
movd xmm0, dword [eax + 4]
lea eax, [esp + 0x3c]
cvtdq2pd xmm0, xmm0
push eax
lea eax, [esp + 0x38]
push eax
push dword [edi + 4]
mulsd xmm0, qword [0x1022ac10]
movsd qword [esp + 0x28], xmm0
movsd xmm0, qword [ecx + 0x30]
movsd qword [esp + 0x40], xmm0
movsd xmm0, qword [ecx + 0x38]
movsd qword [esp + 0x48], xmm0
call sym.project.dll_cairo_matrix_transform_distance
movsd xmm3, qword [esp + 0x30]
add esp, 0x18
movsd xmm4, qword [esp + 8]
movaps xmm5, xmm3
movsd xmm2, qword [esp + 0x40]
subsd xmm5, xmm4
movsd xmm0, qword [esp + 0x28]
movsd xmm6, qword [esp + 0x10]
movsd xmm1, qword [esp + 0x30]
movsd xmm7, qword [esp + 0x80]
mulsd xmm0, xmm6
mulsd xmm5, xmm2
mulsd xmm0, xmm2
mulsd xmm5, xmm1
subsd xmm5, xmm0
movsd xmm0, qword [esp + 0x20]
mulsd xmm0, xmm7
mulsd xmm0, xmm1
mulsd xmm1, qword [esp + 0x20]
addsd xmm5, xmm0
movsd xmm0, qword [esp + 0x28]
mulsd xmm0, xmm2
andps xmm2, xmmword [0x1022a6e0]
subsd xmm1, xmm0
movsd xmm0, qword [esp + 0x30]
andps xmm0, xmmword [0x1022a6e0]
comisd xmm2, xmm0
divsd xmm5, xmm1
movaps xmm2, xmm5
jb 0x10097e4c
subsd xmm2, xmm7
mulsd xmm2, qword [esp + 0x20]
divsd xmm2, qword [esp + 0x40]
addsd xmm2, xmm4
jmp 0x10097e60
movsd xmm0, qword [edx + 0x20]
movsd xmm1, qword [edx + 0x28]
mulsd xmm0, qword [esi + 0x20]
mulsd xmm1, qword [esi + 0x28]
addsd xmm1, xmm0
movsd xmm0, qword [edi + 0x10]
comisd xmm0, xmm1
jbe 0x10097ddf
cmp dword [esp + 0x44], 0
lea edx, [edi + 0x40]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x54], ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x50], eax
mov eax, dword [esi]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x70], eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x50]
mov dword [esp + 0x80], ecx
push eax
push dword [esp + 0x34]
lea eax, [esi + 0x18]
push eax
push edx
je 0x10097cc8
call fcn.1006f9d0
mov ecx, dword [esp + 0x60]
add esp, 0x14
cmp ecx, dword [esp + 0x44]
je 0x10097da1
nop
mov eax, dword [esp + 0x34]
lea ecx, [ecx + ecx*2]
mov edi, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov dword [esp + 0x80], edi
mov eax, dword [eax + 0x54]
mov dword [esp + 0x84], esi
mov edx, dword [eax + ecx*8]
add edx, edi
mov dword [esp + 0x80], edx
add esi, dword [eax + ecx*8 + 4]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x84], esi
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x74]
mov dword [esp + 0x6c], edx
push eax
push dword [edi + 0x38]
mov dword [esp + 0x78], esi
call fcn.1007a500
mov eax, dword [esp + 0x8c]
add esp, 0xc
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x5c], ecx
lea ecx, [eax - 1]
mov dword [esp + 0x4c], ecx
mov edx, ecx
test eax, eax
jne 0x10097cb5
add ecx, dword [edi + 0x50]
mov dword [esp + 0x4c], ecx
mov edx, ecx
mov esi, dword [esp + 0x3c]
cmp edx, dword [esp + 0x44]
jne 0x10097c00
jmp 0x10097da1
call fcn.1006fad0
mov ecx, dword [esp + 0x60]
add esp, 0x14
cmp ecx, dword [esp + 0x44]
je 0x10097da1
nop
mov eax, dword [esp + 0x34]
lea ecx, [ecx + ecx*2]
mov edi, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov dword [esp + 0x80], edi
mov eax, dword [eax + 0x54]
mov dword [esp + 0x84], esi
mov edx, dword [eax + ecx*8]
add edx, edi
mov dword [esp + 0x80], edx
add esi, dword [eax + ecx*8 + 4]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x84], esi
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x74]
mov dword [esp + 0x6c], edx
push eax
push dword [edi + 0x38]
mov dword [esp + 0x78], esi
call fcn.1007a500
mov ecx, dword [esp + 0x90]
add esp, 0xc
mov eax, dword [esp + 0x80]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x4c]
inc ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x58], eax
mov eax, ecx
mov dword [esp + 0x4c], ecx
cmp ecx, dword [edi + 0x50]
jne 0x10097d93
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x4c], ecx
mov esi, dword [esp + 0x3c]
cmp eax, dword [esp + 0x44]
jne 0x10097ce0
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x80], eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x60], eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
jmp 0x10098002
mov ecx, dword [esp + 0x4c]
mov eax, dword [esi + 8]
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x74], eax
mov eax, dword [ecx]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x7c], eax
mov eax, dword [ecx]
mov dword [esp + 0x80], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x84], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x54], eax
mov eax, dword [esi]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x5c], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x60], eax
mov eax, dword [edx + 0x14]
mov dword [esp + 0x64], eax
mov eax, dword [edx]
mov dword [esp + 0x68], eax
mov eax, dword [edx + 4]
jmp 0x10097ffe
subsd xmm2, xmm6
mulsd xmm2, qword [esp + 0x28]
divsd xmm2, qword [esp + 0x30]
addsd xmm2, xmm3
xorps xmm0, xmm0
xorps xmm1, xmm1
cvtsi2sd xmm0, dword [esi + 8]
cvtsi2sd xmm1, dword [esi + 0xc]
mulsd xmm0, qword [0x1022ac10]
mulsd xmm1, qword [0x1022ac10]
subsd xmm3, xmm0
subsd xmm4, xmm0
subsd xmm6, xmm1
subsd xmm7, xmm1
movsd qword [esp + 0x18], xmm3
movaps xmm3, xmm5
subsd xmm3, xmm1
movsd qword [esp + 0x10], xmm6
movaps xmm6, xmm2
subsd xmm6, xmm0
xorps xmm0, xmm0
mulsd xmm4, xmm3
mulsd xmm7, xmm6
subsd xmm4, xmm7
comisd xmm4, xmm0
jbe 0x10097ec6
mov ecx, 1
jmp 0x10097ed0
xor ecx, ecx
comisd xmm0, xmm4
setbe cl
dec ecx
mulsd xmm3, qword [esp + 0x18]
mulsd xmm6, qword [esp + 0x10]
subsd xmm3, xmm6
comisd xmm3, xmm0
jbe 0x10097eed
mov eax, 1
jmp 0x10097ef7
xor eax, eax
comisd xmm0, xmm3
setbe al
dec eax
cmp ecx, eax
je 0x10097f92
mov ecx, dword [esp + 0x3c]
addsd xmm2, qword [0x1022a6d0]
addsd xmm5, qword [0x1022a6d0]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x50], eax
movsd qword [esp + 0x80], xmm2
mov esi, dword [esp + 0x80]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x58], eax
movsd qword [esp + 0x80], xmm5
mov edx, dword [esp + 0x80]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x50]
push eax
push dword [edi + 0x38]
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], edx
mov dword [esp + 0x74], ecx
call fcn.1007a110
add esp, 8
pop edi
pop esi
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.101eafcd
add esp, 0x84
ret
mov ecx, dword [esp + 0x4c]
mov eax, dword [esi + 8]
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x74], eax
mov eax, dword [ecx]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x7c], eax
mov eax, dword [ecx]
mov dword [esp + 0x80], eax
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x84], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x54], eax
mov eax, dword [esi]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x60], eax
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x64], eax
mov eax, dword [ecx]
mov dword [esp + 0x68], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x74]
push eax
push dword [edi + 0x38]
call fcn.1007a500
add esp, 0xc
mov ecx, dword [esp + 0x88]
pop edi
pop esi
xor ecx, esp
call fcn.101eafcd
add esp, 0x84
ret