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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push edi
push esi
push ebx
sub esp, 0x134
mov ebx, ecx
inc dword [0x10210950]
mov dword [esp + 0x100], edx
mov dword [esp + 0xf4], eax
mov eax, dword [0x10282f80]
push 4
inc eax
push eax
call fcn.101beb7a
add esp, 8
mov esi, eax
mov eax, dword [0x10282f80]
test eax, eax
jle 0x1006f851
mov edx, dword [0x10219190]
mov dword [esp + 0x10c], ebx
mov eax, 1
mov edi, 0xa10
mov ebx, eax
push 4
push dword [edx + edi + 0x70]
call fcn.101beb7a
add esp, 8
mov edx, dword [0x10219190]
cmp dword [edi + edx + 0x70], 0
mov dword [esi + ebx*4], eax
jle 0x1006f836
mov dword [esp + 0xd0], esi
xor ecx, ecx
lea eax, [edi + edx]
mov esi, ecx
mov ecx, dword [esp + 0x10c]
mov ecx, dword [ecx + ebx*4]
cmp dword [ecx + esi*4], 0
je 0x1006f824
push 0x10
mov edx, dword [eax + 0xd0]
mov edx, dword [edx]
push dword [edx + 0x10]
call fcn.101beb7a
mov edx, dword [esp + 0xd8]
mov edx, dword [edx + ebx*4]
mov dword [edx + esi*4], eax
mov edx, dword [0x10219190]
mov edx, dword [edx + edi + 0xd0]
mov ecx, dword [edx]
mov edx, dword [ecx + 0x10]
shl edx, 4
push edx
push dword [ecx]
push eax
call fcn.101d7590
add esp, 0x14
mov edx, dword [0x10219190]
mov eax, dword [esp + 0xd0]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax + esi*4]
lea ecx, [esp + 0x20]
pxor xmm2, xmm2
mov dword [esp], eax
mov eax, dword [edx + edi + 0xd0]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [esp + 4], eax
movsd xmm0, qword [edi + edx + 0x78]
lea eax, [esp + 8]
movsd qword [eax], xmm0
movsd xmm1, qword [edi + edx + 0x80]
movsd qword [eax + 8], xmm1
mov edx, dword [esp + 0xf4]
mov edx, dword [edx + ebx*4]
movsd qword [esp + 0x18], xmm2
mov eax, esi
shl eax, 4
movsd xmm3, qword [edx + eax]
movsd qword [ecx], xmm3
movsd xmm4, qword [edx + eax + 8]
movsd qword [ecx + 8], xmm4
mov edx, dword [esp + 0x100]
mov edx, dword [edx + ebx*4]
movsd xmm5, qword [edx + esi*8]
movsd qword [esp + 0x30], xmm5
call fcn.100ae4e0
mov edx, dword [0x10219190]
lea eax, [edi + edx]
inc esi
cmp esi, dword [edx + edi + 0x70]
jl 0x1006f73a
mov esi, dword [esp + 0xd0]
mov eax, dword [0x10282f80]
add edi, 0xa10
inc ebx
cmp ebx, eax
jle 0x1006f70a
mov ebx, dword [esp + 0x10c]
mov edx, dword [esi + 4]
mov ecx, dword [edx]
movsd xmm5, qword [ecx]
movaps xmm4, xmm5
movsd xmm0, qword [ecx + 8]
movaps xmm3, xmm0
test eax, eax
jle 0x1006f9d2
mov ecx, dword [0x10219190]
movsd qword [esp + 0xe0], xmm0
movsd qword [esp + 0x48], xmm3
movsd qword [esp + 0x50], xmm4
movsd qword [esp + 0x58], xmm5
mov dword [esp + 0xd0], esi
mov esi, ecx
mov dword [esp + 0x10c], ebx
mov edi, 1
mov edx, 0xa10
mov ebx, eax
lea eax, [edx + esi]
mov ecx, dword [eax + 0x70]
test ecx, ecx
jle 0x1006f99a
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], esi
mov esi, dword [esp + 0x10c]
xor ebx, ebx
mov edx, dword [esi + edi*4]
cmp dword [edx + ebx*4], 0
je 0x1006f983
mov ecx, dword [esp + 0xd0]
mov edx, dword [ecx + edi*4]
mov eax, dword [eax + 0xd0]
mov ecx, dword [eax]
lea eax, [esp + 0x38]
push eax
push dword [ecx + 0x10]
push dword [edx + ebx*4]
call fcn.100ae040
add esp, 0xc
mov edx, dword [esp + 0xd0]
movsd xmm0, qword [esp + 0x58]
movsd xmm1, qword [esp + 0xe0]
movsd xmm2, qword [esp + 0x50]
mov ecx, dword [edx + edi*4]
mov eax, dword [ecx + ebx*4]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
movsd xmm3, qword [esp + 0x48]
shl edx, 4
maxsd xmm0, qword [eax + edx]
mov edx, dword [esp + 0x38]
movsd qword [esp + 0x58], xmm0
shl ecx, 4
maxsd xmm1, qword [eax + ecx + 8]
mov ecx, dword [esp + 0x44]
movsd qword [esp + 0xe0], xmm1
shl edx, 4
minsd xmm2, qword [eax + edx]
mov edx, dword [0x10219190]
movsd qword [esp + 0x50], xmm2
mov dword [esp + 0x64], edx
shl ecx, 4
minsd xmm3, qword [eax + ecx + 8]
mov eax, dword [esp + 0x60]
movsd qword [esp + 0x48], xmm3
add eax, edx
mov ecx, dword [eax + 0x70]
inc ebx
cmp ebx, ecx
jl 0x1006f8c9
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
mov ebx, dword [0x10282f80]
add edx, 0xa10
inc edi
cmp edi, ebx
jle 0x1006f8aa
movsd xmm0, qword [esp + 0xe0]
movsd xmm3, qword [esp + 0x48]
movsd xmm4, qword [esp + 0x50]
movsd xmm5, qword [esp + 0x58]
mov esi, dword [esp + 0xd0]
mov ebx, dword [esp + 0x10c]
mov eax, dword [ebp + 0x24]
subsd xmm0, xmm3
subsd xmm5, xmm4
mulsd xmm0, xmm5
test eax, eax
je 0x1006f9e9
movsd qword [eax], xmm0
mov eax, dword [ebp + 0x1c]
movsd qword [esp + 0xe0], xmm0
movsd qword [esp], xmm0
pxor xmm1, xmm1
movsd qword [esp + 8], xmm1
call fcn.10070084
fstp st(0)
movsd xmm0, qword [esp + 0xe0]
movsd xmm2, qword [ebp + 0x14]
mov eax, dword [ebp + 0x1c]
movsd xmm1, qword [eax]
comisd xmm1, xmm2
jbe 0x1006fa49
cmp dword [ebp + 0x20], 0
je 0x1006fa37
mov eax, dword [ebp + 0x20]
pxor xmm0, xmm0
movsd qword [eax], xmm0
mov eax, 1
add esp, 0x134
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret
mov edi, dword [0x10282f80]
test edi, edi
pxor xmm1, xmm1
jle 0x1006ff73
mov eax, dword [0x10219190]
movsd qword [esp + 0xe8], xmm1
movsd qword [esp + 0xe0], xmm0
mov dword [esp + 0x48], edi
mov dword [esp + 0xd0], esi
mov dword [esp + 0x10c], ebx
mov ecx, 1
mov edx, 0xa10
pxor xmm0, xmm0
imul ebx, ecx, 0xa10
mov esi, dword [eax + ebx + 0x70]
add edx, 0xa10
mov dword [esp + 0x4c], ebx
lea edi, [ecx + 1]
test esi, esi
jle 0x1006ff4c
mov dword [esp + 0xd8], edi
mov dword [esp + 0xd4], edx
mov dword [esp + 0xf0], ecx
xor ebx, ebx
mov edx, dword [esp + 0x10c]
mov ecx, dword [esp + 0xf0]
mov edi, dword [edx + ecx*4]
cmp dword [edi + ebx*4], 0
je 0x1006ff35
mov edx, dword [esp + 0xf4]
mov edi, dword [esp + 0x4c]
mov edi, dword [eax + edi + 0x24]
mov dword [esp + 0xdc], ebx
mov ecx, ebx
shl ecx, 4
mov ebx, dword [esp + 0xf0]
mov esi, dword [edx + ebx*4]
movsd xmm1, qword [esi + ecx]
addsd xmm1, qword [edi]
mov esi, dword [esp + 0x4c]
movsd qword [esp + 0x50], xmm1
movsd qword [esp + 0x80], xmm1
mov edi, dword [edx + ebx*4]
mov esi, dword [eax + esi + 0x2c]
movsd xmm2, qword [edi + ecx]
addsd xmm2, qword [esi]
mov edi, dword [esp + 0x4c]
movsd qword [esp + 0x60], xmm2
movsd qword [esp + 0x70], xmm2
mov esi, dword [edx + ebx*4]
mov edi, dword [eax + edi + 0x28]
movsd xmm3, qword [ecx + esi + 8]
addsd xmm3, qword [edi]
mov edi, dword [esp + 0x100]
movsd qword [esp + 0x58], xmm3
movsd qword [esp + 0x68], xmm3
mov esi, dword [edx + ebx*4]
mov edx, dword [esp + 0x4c]
mov edx, dword [eax + edx + 0x30]
movsd xmm4, qword [ecx + esi + 8]
addsd xmm4, qword [edx]
movsd qword [esp + 0x78], xmm4
movsd qword [esp + 0x88], xmm4
mov edx, dword [edi + ebx*4]
mov ebx, dword [esp + 0xdc]
movsd xmm3, qword [edx + ebx*8]
ucomisd xmm3, xmm0
jp 0x1006fba3
je 0x1006fc00
mov edx, dword [esp + 0xf4]
mov esi, dword [esp + 0xf0]
mov edi, dword [edx + esi*4]
lea eax, [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], 4
movsd xmm1, qword [edi + ecx]
lea eax, [esp + 8]
movsd qword [eax], xmm1
movsd xmm2, qword [edi + ecx + 8]
movsd qword [eax + 8], xmm2
movsd qword [esp + 0x18], xmm3
mov dword [esp + 0x20], 1
call fcn.100aef80
mov eax, dword [0x10282f80]
mov dword [esp + 0x48], eax
mov eax, dword [0x10219190]
pxor xmm0, xmm0
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xd8]
cmp edx, dword [esp + 0x48]
jg 0x10070054
mov dword [esp + 0xdc], ebx
mov ebx, dword [esp + 0x48]
xor esi, esi
mov edi, dword [ecx + eax + 0x70]
test edi, edi
jle 0x1006ff13
mov dword [esp + 0x110], edx
mov ebx, esi
mov dword [esp + 0x104], ecx
mov edx, dword [esp + 0x10c]
mov ecx, dword [esp + 0x110]
mov esi, dword [edx + ecx*4]
cmp dword [esi + ebx*4], 0
je 0x1006fef4
mov edx, dword [esp + 0xf4]
mov edi, dword [esp + 0x104]
mov edi, dword [edi + eax + 0x24]
mov dword [esp + 0x108], ebx
mov ecx, ebx
shl ecx, 4
mov ebx, dword [esp + 0x110]
mov esi, dword [edx + ebx*4]
movsd xmm4, qword [esi + ecx]
addsd xmm4, qword [edi]
mov esi, dword [esp + 0x104]
movsd qword [esp + 0x90], xmm4
movsd qword [esp + 0xc0], xmm4
mov edi, dword [edx + ebx*4]
mov esi, dword [esi + eax + 0x2c]
movsd xmm1, qword [edi + ecx]
addsd xmm1, qword [esi]
mov edi, dword [esp + 0x104]
movsd qword [esp + 0xa0], xmm1
movsd qword [esp + 0xb0], xmm1
mov esi, dword [edx + ebx*4]
mov edi, dword [edi + eax + 0x28]
movsd xmm2, qword [ecx + esi + 8]
addsd xmm2, qword [edi]
movsd qword [esp + 0x98], xmm2
movsd qword [esp + 0xa8], xmm2
mov esi, dword [edx + ebx*4]
movsd xmm3, qword [ecx + esi + 8]
mov edx, dword [esp + 0x104]
mov eax, dword [edx + eax + 0x30]
addsd xmm3, qword [eax]
mov eax, dword [esp + 0x100]
movsd qword [esp + 0xb8], xmm3
movsd qword [esp + 0xc8], xmm3
mov edx, dword [eax + ebx*4]
mov ebx, dword [esp + 0x108]
movsd xmm3, qword [edx + ebx*8]
ucomisd xmm3, xmm0
jp 0x1006fd3a
je 0x1006fd95
mov edx, dword [esp + 0xf4]
mov esi, dword [esp + 0x110]
mov edi, dword [edx + esi*4]
lea eax, [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], 4
movsd xmm1, qword [edi + ecx]
lea eax, [esp + 8]
movsd qword [eax], xmm1
movsd xmm2, qword [edi + ecx + 8]
movsd qword [eax + 8], xmm2
movsd qword [esp + 0x18], xmm3
mov dword [esp + 0x20], 1
call fcn.100aef80
movsd xmm4, qword [esp + 0x90]
pxor xmm0, xmm0
comisd xmm4, xmmword [esp + 0x60]
ja 0x1006fdd0
movsd xmm1, qword [esp + 0x50]
comisd xmm1, xmmword [esp + 0xa0]
ja 0x1006fdd0
movsd xmm1, qword [esp + 0x98]
comisd xmm1, xmmword [esp + 0x78]
ja 0x1006fdd0
movsd xmm1, qword [esp + 0x58]
comisd xmm1, xmmword [esp + 0xb8]
jbe 0x1006fde2
movsd qword [esp + 0xf8], xmm0
pxor xmm2, xmm2
jmp 0x1006fea1
mov edx, dword [0x10219190]
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x104]
mov eax, dword [edx + edi + 0xd0]
mov esi, dword [eax]
mov edi, dword [ecx + edx + 0xd0]
mov ecx, dword [esp + 0xd0]
mov eax, dword [esp + 0x110]
mov edx, dword [edi]
mov edi, dword [ecx + eax*4]
mov eax, dword [edi + ebx*4]
movsd xmm1, qword [edx + 0x18]
mov edx, dword [edx + 0x10]
movsd xmm2, qword [esi + 0x18]
mov esi, dword [esi + 0x10]
movsd qword [esp + 4], xmm1
movsd qword [esp + 0x18], xmm2
mov dword [esp + 0x28], 1
mov dword [esp], eax
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xf0]
mov ecx, dword [ecx + edx*4]
mov edx, dword [esp + 0xdc]
mov ecx, dword [ecx + edx*4]
mov dword [esp + 0x14], ecx
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], eax
lea edx, [esp + 0xf8]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
call fcn.100d28c0
movsd xmm2, qword [esp + 0xf8]
movsd xmm1, qword [esp + 0xe8]
addsd xmm1, xmm2
movsd qword [esp + 0xe8], xmm1
pxor xmm0, xmm0
comisd xmm2, xmm0
jbe 0x1006fee4
movsd xmm1, qword [esp + 0xe0]
movsd xmm2, qword [esp + 0xe8]
mov eax, dword [ebp + 0x1c]
movsd qword [esp], xmm1
movsd qword [esp + 8], xmm2
call fcn.10070084
fstp st(0)
mov eax, dword [ebp + 0x1c]
movsd xmm1, qword [eax]
comisd xmm1, xmmword [ebp + 0x14]
pxor xmm0, xmm0
ja 0x1007002c
mov eax, dword [0x10219190]
mov edx, dword [esp + 0x104]
mov edi, dword [edx + eax + 0x70]
inc ebx
cmp ebx, edi
jl 0x1006fc41
mov edx, dword [esp + 0x110]
mov ecx, dword [esp + 0x104]
mov ebx, dword [0x10282f80]
xor esi, esi
add ecx, 0xa10
inc edx
cmp edx, ebx
jle 0x1006fc25
mov edx, dword [esp + 0x4c]
mov esi, dword [eax + edx + 0x70]
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0xdc]
inc ebx
cmp ebx, esi
jl 0x1006fac8
mov edi, dword [esp + 0xd8]
mov edx, dword [esp + 0xd4]
cmp edi, dword [esp + 0x48]
mov ecx, edi
jle 0x1006fa92
movsd xmm1, qword [esp + 0xe8]
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0xd0]
mov ebx, dword [esp + 0x10c]
cmp dword [ebp + 0x20], 0
je 0x1006ff80
mov eax, dword [ebp + 0x20]
movsd qword [eax], xmm1
test edi, edi
jle 0x10070016
mov dword [esp + 0x10c], ebx
mov edi, 1
mov eax, 0xa10
mov ebx, eax
mov edx, dword [0x10219190]
cmp dword [edx + ebx + 0x70], 0
jle 0x1006fffe
mov dword [esp + 0xd0], esi
xor eax, eax
mov ecx, eax
mov eax, edi
mov edi, ecx
mov esi, ebx
mov ebx, dword [esp + 0x10c]
mov ecx, dword [ebx + eax*4]
cmp dword [ecx + edi*4], 0
je 0x1006ffec
mov edx, dword [esp + 0xd0]
mov ecx, dword [edx + eax*4]
push dword [ecx + edi*4]
mov dword [esp + 0x4c], eax
call fcn.101bceaa
mov eax, dword [esp + 0x4c]
add esp, 4
mov edx, dword [0x10219190]
inc edi
cmp edi, dword [edx + esi + 0x70]
jl 0x1006ffc0
mov edi, eax
mov ebx, esi
mov esi, dword [esp + 0xd0]
push dword [esi + edi*4]
call fcn.101bceaa
pop ecx
add ebx, 0xa10
inc edi
cmp edi, dword [0x10282f80]
jle 0x1006ff9b
push esi
call fcn.101bceaa
pop ecx
xor eax, eax
add esp, 0x134
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x20], 0
movsd xmm1, qword [esp + 0xe8]
je 0x10070042
mov eax, dword [ebp + 0x20]
movsd qword [eax], xmm1
mov eax, 1
add esp, 0x134
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x4c]
mov esi, dword [eax + edx + 0x70]
inc ebx
cmp ebx, esi
jl 0x1006fac8
mov edi, dword [esp + 0xd8]
mov edx, ecx
jmp 0x1006ff4c