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

Disassembly:
sub esp, 0x44
mov eax, dword [esp + 0x48]
push esi
push edi
sub esp, 8
mov esi, dword [eax + 0x68]
mov eax, dword [eax + 0x40]
mov dword [esp + 0x4c], esi
mov edi, dword [eax + 0x68]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x50], edi
movsd xmm0, qword [edi + 0x70]
addsd xmm0, qword [0x1028a2e0]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x40], eax
movsd qword [esp + 0x10], xmm0
fld qword [esp + 0x10]
fstp qword [esp]
call fcn.10096f30
fstp qword [esp + 0x10]
cvttsd2si edi, qword [esp + 0x10]
lea eax, [edi + 3]
push dword [esi + eax*4]
lea eax, [esi + eax*4]
mov dword [esp + 0x40], eax
call fcn.100d00a0
mov ecx, dword [esp + 0x54]
mov esi, eax
mov eax, dword [esp + 0x5c]
add esp, 0xc
shl esi, 3
lea edx, [ecx + 0x68]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x24], edx
lea edx, [ecx + 0x64]
mov dword [esp + 0x28], edx
mov edx, dword [ecx + 0x60]
test eax, eax
je 0x1006bd95
mov eax, dword [ecx + 0x68]
imul eax, edx
mov edx, dword [ecx + 0x64]
imul edx, dword [ecx + 0x68]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
jmp 0x1006bdad
lea eax, [ecx + 0x64]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x28], eax
lea edx, [ecx + 0x68]
mov eax, dword [eax]
mov dword [esp + 0x24], edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
movd xmm0, dword [eax + 0xd2c]
mov edx, dword [ecx + 0x1c]
cvtdq2pd xmm0, xmm0
mov ecx, dword [eax + edx*4]
sar ecx, 1
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x48]
mulsd xmm0, qword [eax + 0xd30]
cmp dword [ecx + 0x50], 0
cvttsd2si eax, xmm0
mov dword [esp + 0x30], eax
jne 0x1006be05
cmp dword [ecx + 0x78], 0
je 0x1006bdf6
pop edi
or eax, 0xffffffff
pop esi
add esp, 0x44
ret
mov eax, dword [esp + 0x50]
pop edi
mov dword [ecx + 0x78], eax
xor eax, eax
pop esi
add esp, 0x44
ret
mov eax, dword [ecx + 0x5c]
mov edx, dword [esp + 0x50]
mov dword [ecx + 0x78], edx
test eax, eax
jle 0x1006bfb9
cmp dword [edx + 0x1c], 0
je 0x1006be2c
mov edx, dword [esp + 0x24]
mov edx, dword [edx]
imul edx, eax
mov dword [esp + 0x2c], edx
jmp 0x1006be32
mov edx, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
movsd xmm0, qword [0x1016e100]
divsd xmm0, qword [eax + 0xd38]
mov eax, dword [ecx + 0x54]
sub eax, edx
add eax, esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
movsd qword [esp + 8], xmm0
cmp dword [esp + 0x20], eax
jle 0x1006beaa
test edi, edi
jle 0x1006beed
nop dword [eax]
cmp esi, edx
jle 0x1006beed
mov eax, dword [ecx + 0x54]
sub eax, edx
add eax, esi
cmp eax, dword [esp + 0x30]
jle 0x1006beed
mov eax, dword [esp + 0x34]
dec edi
sub eax, 4
mov dword [esp + 0x34], eax
push dword [eax]
call fcn.100d00a0
mov ecx, dword [esp + 0x4c]
mov esi, eax
mov edx, dword [esp + 0x30]
add esp, 4
shl esi, 3
test edi, edi
jg 0x1006be70
jmp 0x1006beed
jge 0x1006beed
lea eax, [edi + 1]
cmp eax, 0xf
jge 0x1006beed
cmp esi, edx
jge 0x1006beed
mov eax, dword [ecx + 0x54]
sub eax, edx
add eax, esi
cmp eax, dword [esp + 0x30]
jge 0x1006beed
mov eax, dword [esp + 0x34]
inc edi
add eax, 4
mov dword [esp + 0x34], eax
push dword [eax]
call fcn.100d00a0
mov ecx, dword [esp + 0x4c]
mov esi, eax
mov edx, dword [esp + 0x30]
add esp, 4
shl esi, 3
cmp edi, 0xe
jl 0x1006beb4
movsd xmm0, qword [esp + 8]
sub esp, 8
xorps xmm0, xmmword [0x1016a390]
mov esi, dword [esp + 0x20]
movsd qword [esp + 0x24], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, edi
mov edi, dword [esp + 0x50]
subsd xmm0, qword [edi + 0x70]
addsd xmm0, qword [0x1028a2e0]
movsd qword [esp + 0x1c], xmm0
fld qword [esp + 0x1c]
fstp qword [esp]
call fcn.10096f30
xorps xmm3, xmm3
mov eax, dword [esp + 0x18]
cvtsi2sd xmm3, esi
fstp qword [esp + 0x1c]
movsd xmm0, qword [esp + 0x1c]
xorps xmm2, xmm2
divsd xmm0, xmm3
cvtsi2sd xmm2, dword [eax + 8]
movsd xmm1, qword [esp + 0x24]
mulsd xmm0, xmm2
maxsd xmm1, xmm0
movsd xmm0, qword [esp + 0x10]
minsd xmm0, xmm1
divsd xmm0, xmm2
mulsd xmm0, xmm3
addsd xmm0, qword [edi + 0x70]
movsd qword [edi + 0x70], xmm0
addsd xmm0, qword [0x1028a2e0]
movsd qword [esp + 0x10], xmm0
fld qword [esp + 0x10]
fstp qword [esp]
call fcn.10096f30
mov eax, dword [esp + 0x4c]
fstp qword [esp + 0x10]
cvttsd2si edi, qword [esp + 0x10]
push dword [eax + edi*4 + 0xc]
call fcn.100d00a0
mov ecx, dword [esp + 0x54]
mov esi, eax
add esp, 0xc
shl esi, 3
cmp dword [ecx + 0x60], 0
jle 0x1006c00f
mov edx, dword [esp + 0x3c]
cmp esi, edx
jge 0x1006c00f
mov eax, dword [ecx + 0x58]
sub eax, edx
add eax, esi
jns 0x1006c00f
mov eax, dword [esp + 0x44]
lea eax, [eax + edi*4]
add eax, 0xc
nop word [eax + eax]
inc edi
add eax, 4
mov dword [esp + 0x10], eax
cmp edi, 0xf
jge 0x1006c00f
push dword [eax]
call fcn.100d00a0
mov ecx, dword [esp + 0x4c]
mov esi, eax
shl esi, 3
add esp, 4
mov eax, dword [ecx + 0x58]
sub eax, dword [esp + 0x3c]
add eax, esi
mov eax, dword [esp + 0x10]
js 0x1006bfe0
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x40]
cmp dword [eax], 0
jle 0x1006c07d
cmp esi, edx
jle 0x1006c07d
mov eax, dword [ecx + 0x58]
mov ecx, dword [esp + 0x38]
sub eax, edx
add eax, esi
cmp eax, dword [ecx + 0xd2c]
mov ecx, dword [esp + 0x48]
jle 0x1006c07d
mov eax, dword [esp + 0x44]
lea eax, [eax + edi*4]
add eax, 0xc
sub eax, 4
sub edi, 1
mov dword [esp + 0x10], eax
js 0x1006c07d
push dword [eax]
call fcn.100d00a0
mov ecx, dword [esp + 0x4c]
mov esi, eax
mov edx, dword [esp + 0x3c]
add esp, 4
shl esi, 3
mov eax, esi
sub eax, dword [esp + 0x40]
add eax, dword [ecx + 0x58]
cmp eax, dword [edx + 0xd2c]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x40]
jg 0x1006c041
test edi, edi
jns 0x1006c0dc
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x44]
mov eax, dword [eax + 0xd2c]
sub eax, dword [ecx + 0x58]
add eax, edx
mov dword [ecx + 0x7c], 0
push dword [edi + 0xc]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [esp + 0x14], eax
call fcn.100d00a0
mov ecx, dword [esp + 0x14]
add esp, 4
cmp eax, ecx
jle 0x1006c142
lea eax, [ecx*8]
push eax
push dword [edi + 0xc]
call fcn.100d0480
push dword [edi + 0xc]
call fcn.100d00a0
add esp, 0xc
jmp 0x1006c13d
mov eax, dword [esp + 0x3c]
sub eax, dword [ecx + 0x58]
add eax, 7
cdq
and edx, 7
lea esi, [edx + eax]
mov eax, 0xe
sar esi, 3
cmp edi, 0xf
cmovge edi, eax
mov eax, dword [esp + 0x44]
mov dword [ecx + 0x7c], edi
push dword [eax + edi*4 + 0xc]
call fcn.100d00a0
sub esi, eax
add esp, 4
test esi, esi
jle 0x1006c12d
mov eax, dword [esp + 0x44]
dec esi
push 8
push 0
push dword [eax + edi*4 + 0xc]
call fcn.100d02e0
add esp, 0xc
test esi, esi
jg 0x1006c114
mov eax, dword [esp + 0x44]
push dword [eax + edi*4 + 0xc]
call fcn.100d00a0
add esp, 4
mov esi, eax
shl esi, 3
mov edi, dword [esp + 0x48]
cmp dword [edi + 0x60], 0
jg 0x1006c155
mov eax, dword [esp + 0x28]
cmp dword [eax], 0
jle 0x1006c1b4
mov edx, dword [esp + 0x40]
test edx, edx
jle 0x1006c16a
cmp esi, edx
jle 0x1006c16a
mov eax, esi
sub eax, edx
add dword [edi + 0x58], eax
jmp 0x1006c1b4
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x1006c181
cmp esi, eax
jge 0x1006c181
mov eax, esi
sub eax, dword [esp + 0x3c]
add dword [edi + 0x58], eax
jmp 0x1006c1b4
mov ecx, dword [esp + 0x30]
cmp dword [edi + 0x58], ecx
jle 0x1006c19e
test edx, edx
jle 0x1006c1b1
mov eax, dword [edi + 0x58]
sub eax, edx
add eax, esi
mov dword [edi + 0x58], eax
cmp eax, ecx
jge 0x1006c1b4
jmp 0x1006c1b1
test eax, eax
jle 0x1006c1b1
mov edx, dword [edi + 0x58]
sub edx, eax
lea eax, [edx + esi]
mov dword [edi + 0x58], eax
cmp eax, ecx
jle 0x1006c1b4
mov dword [edi + 0x58], ecx
mov ecx, dword [edi + 0x5c]
test ecx, ecx
jle 0x1006c1e2
mov eax, dword [esp + 0x50]
cmp dword [eax + 0x1c], 0
je 0x1006c1db
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
imul eax, ecx
sub esi, eax
add dword [edi + 0x54], esi
xor eax, eax
pop edi
pop esi
add esp, 0x44
ret
mov eax, ecx
sub esi, eax
add dword [edi + 0x54], esi
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret