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

Disassembly:
sub esp, 0xb0
mov eax, dword [0x102d94c0]
xor eax, esp
mov dword [esp + 0xac], eax
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x30], edx
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x18], edx
cdq
and edx, 3
mov dword [esp + 0x54], ecx
add eax, edx
sar eax, 2
push ebx
mov ebx, dword [ecx + 4]
mov dword [esp + 0x30], eax
imul eax, dword [esp + 0x1c]
push ebp
mov ebp, dword [ecx]
push esi
mov esi, dword [ecx + 8]
push edi
push dword [ebp + 0x34]
mov edi, dword [ecx + 0xc]
lea eax, [ebx + eax*4]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x28], eax
lea eax, [esp + 0x74]
push ebp
push eax
call fcn.10185790
mov ecx, dword [esp + 0x38]
mov ebp, 0x10000
shl esi, 0x10
add esp, 0xc
shl edi, 0x10
add esi, 0x8000
add edi, 0x8000
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb8], ebp
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x30], esi
test eax, eax
je 0x1017ed9f
lea ecx, [esp + 0xb0]
push ecx
push eax
call sym.project.dll_pixman_transform_point_3d
add esp, 8
test eax, eax
jne 0x1017ed69
mov eax, dword [esp + 0x64]
jmp 0x1017f185
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0xb0]
mov ebp, dword [esp + 0xb8]
mov edi, dword [esp + 0xb4]
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x30], esi
mov edx, dword [eax]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x50], edx
mov dword [esp + 0x34], eax
jmp 0x1017edb3
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], 0
mov dword [esp + 0x34], 0
mov edx, dword [ecx + 0x70]
mov eax, dword [ecx + 0x78]
sub eax, edx
mov dword [esp + 0x58], edx
cdq
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0x7c]
mov dword [esp + 0x10], edx
mov edx, dword [ecx + 0x74]
sub eax, edx
mov dword [esp + 0x68], edx
cdq
mov ecx, edx
mov dword [esp + 0x20], eax
push ecx
push eax
push ecx
push eax
mov dword [esp + 0x2c], ecx
call fcn.101f4fe0
mov ecx, dword [esp + 0x10]
push ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
push eax
push ecx
push eax
mov dword [esp + 0x58], edx
call fcn.101f4fe0
mov ecx, dword [esp + 0x18]
add ecx, eax
mov eax, ecx
mov dword [esp + 0x18], ecx
adc dword [esp + 0x48], edx
mov edx, dword [esp + 0x48]
or eax, edx
je 0x1017f0c3
cmp dword [esp + 0x34], 0
je 0x1017efaa
xorps xmm0, xmm0
movsd qword [esp + 0x40], xmm0
cmp ebx, dword [esp + 0x24]
jae 0x1017f17e
mov eax, dword [esp + 0x3c]
shl eax, 2
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x28], eax
test eax, eax
je 0x1017ee66
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x1017ef72
test ebp, ebp
je 0x1017ef3f
push dword [esp + 0x1c]
mov eax, edi
push dword [esp + 0x24]
cdq
push edx
push eax
call fcn.101f4fe0
push dword [esp + 0x10]
mov edi, eax
mov esi, edx
push dword [esp + 0x18]
mov eax, dword [esp + 0x38]
cdq
push edx
push eax
call fcn.101f4fe0
add edi, eax
mov ecx, edi
adc edx, esi
call fcn.101f5580
mov eax, dword [esp + 0x2c]
push dword [esp + 0x1c]
movsd qword [esp + 0x44], xmm0
push dword [esp + 0x24]
mov eax, dword [eax + 0x74]
cdq
push edx
push eax
call fcn.101f4fe0
push dword [esp + 0x10]
mov edi, eax
mov esi, edx
mov eax, dword [esp + 0x30]
push dword [esp + 0x18]
mov eax, dword [eax + 0x70]
cdq
push edx
push eax
call fcn.101f4fe0
add edi, eax
mov ecx, edi
adc edx, esi
call fcn.101f5580
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x18]
movd xmm1, ebp
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [0x10234c08]
mulsd xmm0, xmm1
movsd xmm1, qword [esp + 0x40]
subsd xmm1, xmm0
movsd qword [esp + 0x40], xmm1
call fcn.101f5580
movd xmm1, ebp
cvtdq2pd xmm1, xmm1
mulsd xmm0, xmm1
movsd xmm1, qword [0x102c6308]
divsd xmm1, xmm0
movsd xmm0, qword [esp + 0x40]
mulsd xmm0, xmm1
movsd qword [esp + 0x40], xmm0
push ebx
call fcn.101f5480
push edx
push eax
lea eax, [esp + 0x7c]
push eax
call dword [esp + 0x70]
mov ebp, dword [esp + 0xc8]
add esp, 0x10
mov edi, dword [esp + 0xb4]
mov esi, dword [esp + 0xb0]
movsd xmm0, qword [esp + 0x40]
mov eax, dword [esp + 0x28]
add esi, dword [esp + 0x54]
add ebx, dword [esp + 0x3c]
add edi, dword [esp + 0x50]
add ebp, dword [esp + 0x34]
mov dword [esp + 0x30], esi
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb8], ebp
cmp ebx, dword [esp + 0x24]
jb 0x1017ee51
jmp 0x1017f17e
test ebp, ebp
je 0x1017f0c3
call fcn.101f5580
movd xmm1, ebp
mov eax, edi
cvtdq2pd xmm1, xmm1
cdq
push dword [esp + 0x1c]
mulsd xmm0, xmm1
movsd xmm1, qword [0x102c6308]
push dword [esp + 0x24]
divsd xmm1, xmm0
push edx
push eax
movsd qword [esp + 0x58], xmm1
call fcn.101f4fe0
push dword [esp + 0x10]
mov edi, eax
mov esi, edx
push dword [esp + 0x18]
mov eax, dword [esp + 0x38]
cdq
push edx
push eax
call fcn.101f4fe0
add edi, eax
mov ecx, edi
adc edx, esi
call fcn.101f5580
push dword [esp + 0x1c]
mov eax, dword [esp + 0x6c]
push dword [esp + 0x24]
cdq
push edx
push eax
movsd qword [esp + 0x44], xmm0
call fcn.101f4fe0
push dword [esp + 0x10]
mov edi, eax
mov esi, edx
push dword [esp + 0x18]
mov eax, dword [esp + 0x60]
cdq
push edx
push eax
call fcn.101f4fe0
add edi, eax
mov ecx, edi
adc edx, esi
call fcn.101f5580
movd xmm1, ebp
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [0x10234c08]
mulsd xmm0, xmm1
movsd xmm1, qword [esp + 0x34]
subsd xmm1, xmm0
mulsd xmm1, qword [esp + 0x48]
movaps xmm0, xmm1
call fcn.101f5480
push dword [esp + 0x1c]
mov ebp, eax
mov dword [esp + 0x1c], eax
push dword [esp + 0x24]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x3c], edx
cdq
push edx
push eax
call fcn.101f4fe0
push dword [esp + 0x10]
mov edi, eax
mov esi, edx
push dword [esp + 0x18]
mov eax, dword [esp + 0x5c]
cdq
push edx
push eax
call fcn.101f4fe0
add edi, eax
mov ecx, edi
adc edx, esi
call fcn.101f5580
movaps xmm1, xmm0
mulsd xmm1, qword [esp + 0x48]
mov esi, dword [esp + 0x34]
jmp 0x1017f0df
xorps xmm0, xmm0
xorps xmm1, xmm1
movlpd qword [esp + 0x58], xmm0
mov esi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x34], esi
mov dword [esp + 0x18], ebp
xorps xmm0, xmm0
movsd qword [esp + 0x68], xmm1
movlpd qword [esp + 0x58], xmm0
movd xmm0, dword [esp + 0x28]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
call fcn.101f5480
or eax, edx
jne 0x1017f11a
push dword [esp + 0x24]
lea eax, [esp + 0x74]
push ebx
push esi
push ebp
push eax
call dword [esp + 0x54]
add esp, 0x14
jmp 0x1017f17e
xor edi, edi
cmp ebx, dword [esp + 0x24]
jae 0x1017f17e
mov esi, dword [esp + 0xc8]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
test esi, esi
je 0x1017f13e
mov eax, dword [esi]
add esi, 4
test eax, eax
je 0x1017f155
add ecx, dword [esp + 0x18]
lea eax, [esp + 0x70]
push ebx
adc edx, dword [esp + 0x38]
push edx
push ecx
push eax
call dword [esp + 0x70]
add esp, 0x10
inc edi
movd xmm0, edi
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [esp + 0x68]
call fcn.101f5480
mov ebp, dword [esp + 0x3c]
mov ecx, eax
lea eax, [ebp*4]
add ebx, eax
cmp ebx, dword [esp + 0x24]
jb 0x1017f131
mov eax, dword [esp + 0x64]
inc dword [eax + 0xc]
mov ecx, dword [esp + 0xbc]
mov eax, dword [eax + 4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101f469d
add esp, 0xb0
ret