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

Disassembly:
sub esp, 0xb0
mov eax, dword [0x102cf440]
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.1017c080
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 0x1017568f
lea ecx, [esp + 0xb0]
push ecx
push eax
call sym.project.dll_pixman_transform_point_3d
add esp, 8
test eax, eax
jne 0x10175659
mov eax, dword [esp + 0x64]
jmp 0x10175a75
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 0x101756a3
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.101eb910
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.101eb910
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 0x101759b3
cmp dword [esp + 0x34], 0
je 0x1017589a
xorps xmm0, xmm0
movsd qword [esp + 0x40], xmm0
cmp ebx, dword [esp + 0x24]
jae 0x10175a6e
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 0x10175756
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x10175862
test ebp, ebp
je 0x1017582f
push dword [esp + 0x1c]
mov eax, edi
push dword [esp + 0x24]
cdq
push edx
push eax
call fcn.101eb910
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.101eb910
add edi, eax
mov ecx, edi
adc edx, esi
call fcn.101ebeb0
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.101eb910
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.101eb910
add edi, eax
mov ecx, edi
adc edx, esi
call fcn.101ebeb0
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x18]
movd xmm1, ebp
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [0x1022ac08]
mulsd xmm0, xmm1
movsd xmm1, qword [esp + 0x40]
subsd xmm1, xmm0
movsd qword [esp + 0x40], xmm1
call fcn.101ebeb0
movd xmm1, ebp
cvtdq2pd xmm1, xmm1
mulsd xmm0, xmm1
movsd xmm1, qword [0x102bc278]
divsd xmm1, xmm0
movsd xmm0, qword [esp + 0x40]
mulsd xmm0, xmm1
movsd qword [esp + 0x40], xmm0
push ebx
call fcn.101ebdb0
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 0x10175741
jmp 0x10175a6e
test ebp, ebp
je 0x101759b3
call fcn.101ebeb0
movd xmm1, ebp
mov eax, edi
cvtdq2pd xmm1, xmm1
cdq
push dword [esp + 0x1c]
mulsd xmm0, xmm1
movsd xmm1, qword [0x102bc278]
push dword [esp + 0x24]
divsd xmm1, xmm0
push edx
push eax
movsd qword [esp + 0x58], xmm1
call fcn.101eb910
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.101eb910
add edi, eax
mov ecx, edi
adc edx, esi
call fcn.101ebeb0
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.101eb910
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.101eb910
add edi, eax
mov ecx, edi
adc edx, esi
call fcn.101ebeb0
movd xmm1, ebp
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [0x1022ac08]
mulsd xmm0, xmm1
movsd xmm1, qword [esp + 0x34]
subsd xmm1, xmm0
mulsd xmm1, qword [esp + 0x48]
movaps xmm0, xmm1
call fcn.101ebdb0
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.101eb910
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.101eb910
add edi, eax
mov ecx, edi
adc edx, esi
call fcn.101ebeb0
movaps xmm1, xmm0
mulsd xmm1, qword [esp + 0x48]
mov esi, dword [esp + 0x34]
jmp 0x101759cf
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.101ebdb0
or eax, edx
jne 0x10175a0a
push dword [esp + 0x24]
lea eax, [esp + 0x74]
push ebx
push esi
push ebp
push eax
call dword [esp + 0x54]
add esp, 0x14
jmp 0x10175a6e
xor edi, edi
cmp ebx, dword [esp + 0x24]
jae 0x10175a6e
mov esi, dword [esp + 0xc8]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
test esi, esi
je 0x10175a2e
mov eax, dword [esi]
add esi, 4
test eax, eax
je 0x10175a45
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.101ebdb0
mov ebp, dword [esp + 0x3c]
mov ecx, eax
lea eax, [ebp*4]
add ebx, eax
cmp ebx, dword [esp + 0x24]
jb 0x10175a21
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.101eafcd
add esp, 0xb0
ret