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

Disassembly:
sub esp, 0x88
mov eax, dword [0x10444724]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0x20]
push edi
mov edi, dword [esp + 0x9c]
call fcn.10046670
mov eax, dword [esi]
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x9c]
shr eax, 2
movzx eax, ax
push eax
call edx
test al, al
jne 0x10170f60
xor bl, bl
jmp 0x101711c6
test byte [esi + 0x36], 0x10
je 0x10170fbc
mov ecx, dword [esp + 0x98]
mov edx, ecx
shr ecx, 0x12
and edx, 3
and ecx, 3
shl edx, 0xe
shl ecx, 0xe
mov eax, ecx
or eax, edx
je 0x10170fbc
movd xmm0, ecx
lea eax, [esp + 0x24]
cvtdq2ps xmm0, xmm0
push eax
sub esp, 8
mov ecx, eax
mulss xmm0, dword [0x1038b7ac]
movss dword [esp + 4], xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1038b7ac]
movss dword [esp], xmm0
call fcn.1004ce20
movss xmm0, dword [esi + 0x24]
xorps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10170fe8
cmp dword [esi + 0x3c], 0
jne 0x10170fe8
test edi, edi
je 0x101711c4
lea eax, [esp + 0x24]
mov ecx, edi
push eax
call fcn.1004d700
jmp 0x101711a3
lea ecx, [esp + 0xc]
call fcn.10046670
movaps xmm0, xmmword [0x10386850]
lea ecx, [esp + 0x40]
movups xmmword [esp + 0x68], xmm0
mov dword [esp + 0x88], 0x3f800000
movaps xmm0, xmmword [0x10386850]
movups xmmword [esp + 0x78], xmm0
mov dword [esp + 0x8c], 0x10
movss xmm0, dword [esi + 0x14]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esi + 0x18]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esi + 0x1c]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esi + 0x20]
movss dword [esp + 0x50], xmm0
movaps xmm0, xmmword [0x10387430]
mov dword [esp + 0x48], 0
movups xmmword [esp + 0x54], xmm0
mov dword [esp + 0x64], 0x80
call fcn.1003d080
movzx eax, al
mov dword [esp + 0x64], eax
test al, 0xf
jne 0x101711eb
lea ecx, [esp + 0x68]
call fcn.1003eef0
push 1
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x30]
call fcn.1004dde0
push 1
lea ecx, [esp + 0x34]
call fcn.100b8690
movss xmm1, dword [esi + 0x24]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x101710f8
mov al, byte [esi + 0x36]
and al, 1
movzx eax, al
push eax
push ecx
lea ecx, [esp + 0x38]
movss dword [esp], xmm1
call fcn.100b8a90
movzx eax, byte [esi + 0x35]
movss xmm0, dword [esi + 0x28]
mov ecx, eax
and ecx, 0xf
shr eax, 4
shl ecx, 0x10
or ecx, eax
movss dword [esp + 0x38], xmm0
mov eax, dword [esp + 0x3c]
and eax, 0x80000000
or ecx, eax
mov dword [esp + 0x3c], ecx
cmp dword [esi + 0x3c], 0
je 0x1017113b
lea ecx, [esp + 0x18]
call fcn.10046670
mov ecx, dword [esi + 0x3c]
lea eax, [esp + 0x30]
push 0
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.100b84c0
test al, al
je 0x10171132
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
call fcn.1004d700
lea ecx, [esp + 0x18]
call fcn.10046740
lea ecx, [esp + 0x30]
call fcn.100b8990
cmp eax, 2
je 0x1017114e
cmp eax, 3
jne 0x10171185
lea ecx, [esp + 0x18]
call fcn.10046670
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x38]
call fcn.100b8860
test al, al
je 0x1017117c
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
call fcn.1004d700
lea ecx, [esp + 0x18]
call fcn.10046740
test edi, edi
je 0x1017119a
push 1
push edi
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x18]
call fcn.1004dde0
lea ecx, [esp + 0xc]
call fcn.10046740
test edi, edi
je 0x101711c4
mov esi, dword [edi]
cmp byte [esi + 0x54], 0
je 0x101711c4
push dword [esi + 0x1c]
lea ecx, [esi + 4]
push dword [esi + 0x14]
call fcn.1003b710
mov byte [esi + 0x55], al
mov byte [esi + 0x54], 0
mov bl, 1
lea ecx, [esp + 0x24]
call fcn.10046740
mov ecx, dword [esp + 0x90]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1037e005
add esp, 0x88
ret 8
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x44]
call fcn.1003d790
test al, al
jne 0x10171088
lea ecx, [esp + 0xc]
call fcn.10046740
jmp 0x101711c4