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

Disassembly:
sub esp, 0x60
mov eax, dword [0x10120140]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
mov ebx, dword [esp + 0x70]
push ebp
mov ebp, dword [esp + 0x6c]
push esi
push edi
mov edi, edx
mov esi, ecx
lea edx, [ebx + 8]
mov dword [esp + 0x20], edi
push ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], esi
call fcn.100603d0
mov edx, edi
lea ecx, [esp + 0x18]
push dword [eax + 4]
push dword [eax]
push ebx
call fcn.100604c0
mov eax, dword [esp + 0x94]
add esp, 0x10
cmp eax, 1
jne 0x1006f8c1
mov ecx, dword [esp + 0x78]
movaps xmm0, xmmword [0x101174c0]
mov ebx, dword [esp + 0x80]
movups xmmword [esp + 0x2c], xmm0
mov edi, dword [ecx]
inc edi
neg edi
sbb edi, edi
mov eax, dword [ecx]
cmp edi, 0xffffffff
jne 0x1006f760
mov esi, eax
jmp 0x1006f76c
mov esi, dword [esp + edi*4 + 0x2c]
cmp esi, eax
je 0x1006f814
lea ecx, [esp + 0x14]
call fcn.10047530
cmp esi, 3
jne 0x1006f789
movss xmm2, dword [ebx + 0xc]
lea ecx, [esp + 0x3c]
movss xmm1, dword [ebx]
jmp 0x1006f7ce
cmp esi, 1
jne 0x1006f798
movss xmm1, dword [ebx]
lea ecx, [esp + 0x44]
jmp 0x1006f7c4
test esi, esi
jne 0x1006f7b1
movss xmm1, dword [ebx + 8]
lea ecx, [esp + 0x4c]
subss xmm1, dword [ebp]
movss xmm2, dword [ebx + 0xc]
jmp 0x1006f7ce
cmp esi, 2
jne 0x1006f7e0
movss xmm1, dword [ebx + 8]
lea ecx, [esp + 0x54]
subss xmm1, dword [ebp]
movss xmm2, dword [ebx + 4]
subss xmm2, dword [ebp + 4]
call fcn.1005fea0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
push ebp
lea edx, [esp + 0x18]
lea ecx, [esp + 0x28]
call fcn.100603b0
add esp, 4
lea ecx, [esp + 0x5c]
push eax
mov eax, edx
push eax
call fcn.100606a0
mov ecx, dword [esp + 0x7c]
push eax
call fcn.100607f0
test al, al
jne 0x1006f895
mov ecx, dword [esp + 0x78]
inc edi
cmp edi, 4
jl 0x1006f755
mov ebx, dword [esp + 0x7c]
mov dword [ecx], 0xffffffff
mov eax, dword [esp + 0x20]
movss xmm0, dword [ebp]
movss xmm1, dword [ebx + 8]
addss xmm0, dword [eax]
call fcn.10075320
subss xmm0, dword [ebp]
movss xmm1, dword [ebx]
call fcn.10075330
movss xmm1, dword [ebx + 0xc]
movaps xmm3, xmm0
movss xmm0, dword [ebp + 4]
addss xmm0, dword [eax + 4]
call fcn.10075320
subss xmm0, dword [ebp + 4]
movss xmm1, dword [ebx + 4]
call fcn.10075330
mov edx, dword [esp + 0x1c]
movss dword [edx], xmm3
movss dword [edx + 4], xmm0
mov eax, edx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.100c0cd4
add esp, 0x60
ret
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [edx], esi
mov edx, dword [esp + 0x1c]
mov dword [edx], eax
mov eax, edx
mov dword [edx + 4], ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.100c0cd4
add esp, 0x60
ret
cmp eax, 2
je 0x1006f8ce
test eax, eax
jne 0x1006f96b
mov edx, dword [esp + 0x78]
movaps xmm0, xmmword [0x101174a0]
mov edi, dword [esp + 0x80]
movups xmmword [esp + 0x2c], xmm0
mov edx, dword [edx]
lea eax, [edx + 1]
neg eax
sbb eax, eax
nop
cmp eax, 0xffffffff
jne 0x1006f8f9
mov esi, edx
jmp 0x1006f901
mov esi, dword [esp + eax*4 + 0x2c]
cmp esi, edx
je 0x1006f95d
lea ecx, [ebx + 8]
test esi, esi
jne 0x1006f9b9
movss xmm0, dword [edi]
subss xmm0, dword [ebx]
movaps xmm2, xmm0
cmp esi, 2
jne 0x1006f9d5
movss xmm1, dword [edi + 4]
movss xmm3, dword [ebx + 4]
movss xmm2, dword [ebp]
subss xmm1, xmm3
comiss xmm2, xmm0
jbe 0x1006f941
test esi, esi
je 0x1006f95d
cmp esi, 1
je 0x1006f95d
movss xmm0, dword [ebp + 4]
comiss xmm0, xmm1
jbe 0x1006f9f0
cmp esi, 2
je 0x1006f95d
cmp esi, 3
jne 0x1006f9f0
inc eax
cmp eax, 4
jl 0x1006f8f0
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
cmp dword [esp + 0x84], 2
mov eax, dword [esp + 0x78]
mov dword [eax], 0xffffffff
jne 0x1006f828
movss xmm2, dword [0x10117060]
lea ecx, [esp + 0x24]
movaps xmm1, xmm2
call fcn.1005fea0
push eax
mov edx, edi
mov ecx, esi
call fcn.100603b0
mov ecx, dword [esp + 0x70]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100c0cd4
add esp, 0x60
ret
movss xmm0, dword [ecx]
cmp esi, 1
jne 0x1006f910
subss xmm0, dword [edi + 8]
movss xmm1, dword [ecx + 4]
jmp 0x1006f925
movss xmm1, dword [ecx + 4]
movaps xmm0, xmm2
cmp esi, 3
jne 0x1006f925
movss xmm3, dword [edi + 0xc]
jmp 0x1006f92a
lea ecx, [esp + 0x24]
call fcn.10047530
test esi, esi
jne 0x1006fa38
movss xmm0, dword [edi]
subss xmm0, dword [ebp]
movss xmm3, dword [esp + 0x18]
movss xmm1, dword [ebx]
call fcn.10075330
movss xmm1, dword [ebx + 4]
movaps xmm2, xmm0
movaps xmm0, xmm3
call fcn.10075330
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x1c]
mov dword [eax], esi
movss dword [edx], xmm2
jmp 0x1006f87b
cmp esi, 1
jne 0x1006fa44
movss xmm0, dword [edi + 8]
jmp 0x1006fa06
movss xmm0, dword [esp + 0x14]
cmp esi, 2
jne 0x1006fa5b
movss xmm3, dword [edi + 4]
subss xmm3, dword [ebp + 4]
jmp 0x1006fa0c
cmp esi, 3
jne 0x1006fa06
movss xmm3, dword [edi + 0xc]
jmp 0x1006fa0c