Function at 0x100e6460
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 [0x102d2bb0]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x40], eax
movsd qword [esp + 0x10], xmm0
fld qword [esp + 0x10]
fstp qword [esp]
call fcn.101166f0
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.101ac9f0
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 0x100e6505
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 0x100e651d
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 0x100e6575
cmp dword [ecx + 0x78], 0
je 0x100e6566
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 0x100e6729
cmp dword [edx + 0x1c], 0
je 0x100e659c
mov edx, dword [esp + 0x24]
mov edx, dword [edx]
imul edx, eax
mov dword [esp + 0x2c], edx
jmp 0x100e65a2
mov edx, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
movsd xmm0, qword [0x10204468]
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 0x100e661a
test edi, edi
jle 0x100e665d
nop dword [eax]
cmp esi, edx
jle 0x100e665d
mov eax, dword [ecx + 0x54]
sub eax, edx
add eax, esi
cmp eax, dword [esp + 0x30]
jle 0x100e665d
mov eax, dword [esp + 0x34]
dec edi
sub eax, 4
mov dword [esp + 0x34], eax
push dword [eax]
call fcn.101ac9f0
mov ecx, dword [esp + 0x4c]
mov esi, eax
mov edx, dword [esp + 0x30]
add esp, 4
shl esi, 3
test edi, edi
jg 0x100e65e0
jmp 0x100e665d
jge 0x100e665d
lea eax, [edi + 1]
cmp eax, 0xf
jge 0x100e665d
cmp esi, edx
jge 0x100e665d
mov eax, dword [ecx + 0x54]
sub eax, edx
add eax, esi
cmp eax, dword [esp + 0x30]
jge 0x100e665d
mov eax, dword [esp + 0x34]
inc edi
add eax, 4
mov dword [esp + 0x34], eax
push dword [eax]
call fcn.101ac9f0
mov ecx, dword [esp + 0x4c]
mov esi, eax
mov edx, dword [esp + 0x30]
add esp, 4
shl esi, 3
cmp edi, 0xe
jl 0x100e6624
movsd xmm0, qword [esp + 8]
sub esp, 8
xorps xmm0, xmmword [0x101f4c00]
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 [0x102d2bb0]
movsd qword [esp + 0x1c], xmm0
fld qword [esp + 0x1c]
fstp qword [esp]
call fcn.101166f0
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 [0x102d2bb0]
movsd qword [esp + 0x10], xmm0
fld qword [esp + 0x10]
fstp qword [esp]
call fcn.101166f0
mov eax, dword [esp + 0x4c]
fstp qword [esp + 0x10]
cvttsd2si edi, qword [esp + 0x10]
push dword [eax + edi*4 + 0xc]
call fcn.101ac9f0
mov ecx, dword [esp + 0x54]
mov esi, eax
add esp, 0xc
shl esi, 3
cmp dword [ecx + 0x60], 0
jle 0x100e677f
mov edx, dword [esp + 0x3c]
cmp esi, edx
jge 0x100e677f
mov eax, dword [ecx + 0x58]
sub eax, edx
add eax, esi
jns 0x100e677f
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 0x100e677f
push dword [eax]
call fcn.101ac9f0
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 0x100e6750
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x40]
cmp dword [eax], 0
jle 0x100e67ed
cmp esi, edx
jle 0x100e67ed
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 0x100e67ed
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 0x100e67ed
push dword [eax]
call fcn.101ac9f0
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 0x100e67b1
test edi, edi
jns 0x100e684c
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.101ac9f0
mov ecx, dword [esp + 0x14]
add esp, 4
cmp eax, ecx
jle 0x100e68b2
lea eax, [ecx*8]
push eax
push dword [edi + 0xc]
call fcn.101acdd0
push dword [edi + 0xc]
call fcn.101ac9f0
add esp, 0xc
jmp 0x100e68ad
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.101ac9f0
sub esi, eax
add esp, 4
test esi, esi
jle 0x100e689d
mov eax, dword [esp + 0x44]
dec esi
push 8
push 0
push dword [eax + edi*4 + 0xc]
call fcn.101acc30
add esp, 0xc
test esi, esi
jg 0x100e6884
mov eax, dword [esp + 0x44]
push dword [eax + edi*4 + 0xc]
call fcn.101ac9f0
add esp, 4
mov esi, eax
shl esi, 3
mov edi, dword [esp + 0x48]
cmp dword [edi + 0x60], 0
jg 0x100e68c5
mov eax, dword [esp + 0x28]
cmp dword [eax], 0
jle 0x100e6924
mov edx, dword [esp + 0x40]
test edx, edx
jle 0x100e68da
cmp esi, edx
jle 0x100e68da
mov eax, esi
sub eax, edx
add dword [edi + 0x58], eax
jmp 0x100e6924
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x100e68f1
cmp esi, eax
jge 0x100e68f1
mov eax, esi
sub eax, dword [esp + 0x3c]
add dword [edi + 0x58], eax
jmp 0x100e6924
mov ecx, dword [esp + 0x30]
cmp dword [edi + 0x58], ecx
jle 0x100e690e
test edx, edx
jle 0x100e6921
mov eax, dword [edi + 0x58]
sub eax, edx
add eax, esi
mov dword [edi + 0x58], eax
cmp eax, ecx
jge 0x100e6924
jmp 0x100e6921
test eax, eax
jle 0x100e6921
mov edx, dword [edi + 0x58]
sub edx, eax
lea eax, [edx + esi]
mov dword [edi + 0x58], eax
cmp eax, ecx
jle 0x100e6924
mov dword [edi + 0x58], ecx
mov ecx, dword [edi + 0x5c]
test ecx, ecx
jle 0x100e6952
mov eax, dword [esp + 0x50]
cmp dword [eax + 0x1c], 0
je 0x100e694b
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