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

Disassembly:
sub esp, 0x38
mov eax, dword [esp + 0x3c]
push ebx
mov ebx, dword [esp + 0x44]
push ebp
mov eax, dword [eax]
push esi
mov ebx, dword [ebx]
mov dword [esp + 0x24], eax
push edi
mov edi, ecx
mov dword [esp + 0x20], edi
cmp ebx, 1
jb 0x1006175e
mov ecx, dword [edi + 0x2c]
dec ebx
mov dword [esp + 0x18], ecx
mov ecx, dword [edi + 0x30]
mov dword [esp + 0x14], ecx
mov cl, byte [eax]
inc eax
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x20]
mov byte [esp + 0x13], cl
mov dword [esp + 0x2c], ebx
cmp eax, 5
jl 0x10060eb4
movzx ebp, cl
and ebp, 4
jmp 0x10060eb6
xor ebp, ebp
xor edx, edx
movzx esi, cl
cmp eax, 5
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x60]
mov ecx, esi
setl dl
shr ecx, 2
add edx, 0xe
sar eax, 3
and ecx, edx
and eax, edx
cmp ecx, eax
jne 0x1006175e
test ebp, ebp
mov ebp, dword [esp + 0x68]
je 0x10060ef0
test ebp, ebp
je 0x1006175e
mov al, byte [esp + 0x13]
and al, 3
shr esi, 6
mov byte [esp + 0x13], al
cmp al, 2
jne 0x10061015
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x5c]
cmp edx, edi
jge 0x1006173e
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
imul eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x64]
imul esi, edx
shl eax, 2
mov dword [esp + 0x58], eax
add esi, dword [esp + 0x60]
mov eax, dword [esp + 0x54]
mov ecx, esi
imul ecx, dword [esp + 0x14]
mov dword [esp + 0x68], esi
add ecx, ebp
mov ebp, dword [esp + 0x18]
sub edi, edx
mov dword [esp + 0x5c], edi
mov edx, edi
mov edi, dword [esp + 0x60]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x54], eax
cmp edi, ebx
jge 0x10060ff3
mov ecx, dword [esp + 0x14]
sub ebx, edi
cmp dword [esp + 0x1c], 0
mov edi, eax
lea ebp, [ecx*4]
je 0x10060fb0
nop
mov eax, dword [esp + 0x20]
mov ecx, esi
and ecx, 7
mov edx, 0x80
sar edx, cl
mov ecx, esi
sar ecx, 3
mov eax, dword [eax + 0x14]
test byte [ecx + eax], dl
jbe 0x10060fa2
mov eax, dword [edi - 4]
mov dword [edi], eax
inc esi
add edi, ebp
sub ebx, 1
jne 0x10060f80
jmp 0x10060fdb
mov eax, dword [esp + 0x20]
mov ecx, esi
and ecx, 7
mov edx, 0x80
sar edx, cl
mov ecx, esi
sar ecx, 3
mov eax, dword [eax + 0x14]
test byte [ecx + eax], dl
jbe 0x10060fd3
mov dword [edi], 0
inc esi
add edi, ebp
sub ebx, 1
jne 0x10060fb0
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x68]
add eax, ecx
add esi, ebp
mov dword [esp + 0x54], eax
sub edx, 1
mov dword [esp + 0x68], esi
mov dword [esp + 0x5c], edx
jne 0x10060f60
jmp 0x1006173e
test al, al
jne 0x10061144
cmp dword [esp + 0x1c], 0
jne 0x1006175e
mov edi, dword [esp + 0x58]
xor edx, edx
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x34], edi
cmp edi, dword [esp + 0x5c]
jge 0x10061134
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x60]
imul eax, edi
add ebx, eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x14]
mov ecx, ebx
imul eax, dword [esp + 0x18]
imul ecx, dword [esp + 0x14]
mov dword [esp + 0x30], ebx
shl eax, 2
add ecx, dword [esp + 0x68]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x54]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x60]
mov esi, ebx
cmp edx, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
jge 0x1006110d
mov edi, ebx
mov ebx, ecx
sub edi, eax
nop dword [eax]
mov eax, dword [esp + 0x20]
mov ecx, esi
and ecx, 7
mov edx, 0x80
sar edx, cl
mov ecx, esi
sar ecx, 3
mov eax, dword [eax + 0x14]
test byte [ecx + eax], dl
jbe 0x100610e4
mov ecx, dword [esp + 0x2c]
cmp ecx, 4
jb 0x1006175e
mov eax, dword [ebp]
sub ecx, 4
mov edx, dword [esp + 0x6c]
add ebp, 4
inc edx
mov dword [ebx], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x6c], edx
jmp 0x100610e8
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x14]
inc edi
inc esi
lea eax, [ecx*4]
add ebx, eax
cmp edi, dword [esp + 0x64]
jl 0x100610a0
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
add eax, dword [esp + 0x18]
inc edi
add ebx, dword [esp + 0x18]
add ecx, dword [esp + 0x24]
mov dword [esp + 0x34], edi
mov dword [esp + 0x58], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x54], ecx
cmp edi, dword [esp + 0x5c]
jl 0x10061083
mov eax, dword [esp + 0x28]
lea eax, [eax + edx*4]
mov dword [esp + 0x28], eax
jmp 0x1006173e
cmp dword [esp + 0x1c], 0
je 0x10061156
cmp dword [edi + 0x48], 6
mov eax, 4
jl 0x10061159
mov eax, dword [edi + 0x48]
push esi
push eax
call fcn.100826f0
mov esi, eax
add esp, 8
cmp esi, 8
je 0x1006175e
push esi
call fcn.100826a0
add esp, 4
mov dword [esp + 0x34], eax
cmp ebx, eax
jb 0x1006175e
lea eax, [esp + 0x28]
push esi
push eax
call fcn.10083200
sub ebx, dword [esp + 0x3c]
add esp, 8
mov edx, dword [edi + 0x20]
mov dword [esp + 0x2c], ebx
fstp qword [esp + 0x40]
cmp edx, 4
jl 0x100611b9
cmp dword [esp + 0x14], 1
jle 0x100611b9
mov eax, dword [edi + 0xb4]
movsd xmm0, qword [eax + ebp*8]
jmp 0x100611be
movsd xmm0, qword [edi + 0x60]
cmp byte [esp + 0x13], 3
movsd qword [esp + 0x38], xmm0
jne 0x10061308
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x5c]
cmp edx, edi
jge 0x1006173e
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
imul eax, dword [esp + 0x18]
movsd xmm2, qword [esp + 0x40]
imul esi, edx
shl eax, 2
mov dword [esp + 0x58], eax
add esi, dword [esp + 0x60]
mov eax, dword [esp + 0x54]
mov ecx, esi
imul ecx, dword [esp + 0x14]
mov dword [esp + 0x68], esi
add ecx, ebp
sub edi, edx
mov dword [esp + 0x5c], edi
mov edx, edi
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x54], ecx
cmp dword [esp + 0x1c], 0
mov ebx, dword [esp + 0x64]
jne 0x10061277
cvttsd2si ebp, xmm2
cmp dword [esp + 0x60], ebx
jge 0x100612de
sub ebx, dword [esp + 0x60]
mov edi, ecx
mov eax, dword [esp + 0x20]
mov ecx, esi
and ecx, 7
mov edx, 0x80
sar edx, cl
mov ecx, esi
sar ecx, 3
mov eax, dword [eax + 0x14]
test byte [ecx + eax], dl
jbe 0x10061262
mov dword [edi], ebp
mov ecx, dword [esp + 0x14]
inc esi
lea eax, [ecx*4]
add edi, eax
sub ebx, 1
jne 0x10061243
jmp 0x100612d2
cmp dword [esp + 0x60], ebx
jge 0x100612de
mov eax, dword [esp + 0x14]
mov edi, ecx
sub ebx, dword [esp + 0x60]
lea ebp, [eax*4]
nop
mov eax, dword [esp + 0x20]
mov ecx, esi
and ecx, 7
mov edx, 0x80
sar edx, cl
mov ecx, esi
sar ecx, 3
mov eax, dword [eax + 0x14]
test byte [ecx + eax], dl
jbe 0x100612c4
movd xmm1, dword [edi - 4]
cvtdq2pd xmm1, xmm1
addsd xmm1, xmm2
minsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [edi], eax
movsd xmm0, qword [esp + 0x38]
inc esi
add edi, ebp
sub ebx, 1
jne 0x10061290
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x68]
add ecx, eax
add esi, dword [esp + 0x18]
sub edx, 1
movsd xmm0, qword [esp + 0x38]
mov dword [esp + 0x68], esi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], edx
jne 0x10061224
jmp 0x1006173e
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x6c]
sub ecx, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x60]
mov ebx, eax
mov dword [esp + 0x30], eax
imul ebx, ecx
lea eax, [esp + 0x2c]
push edx
mov dword [esp + 0x28], ecx
lea ecx, [edi + 0x78]
push ebx
push esi
push eax
lea eax, [esp + 0x38]
push eax
call fcn.100866d0
test al, al
je 0x1006175e
movsd xmm3, qword [edi + 0x50]
mov eax, dword [esi + 4]
addsd xmm3, xmm3
mov edi, dword [esi]
sub eax, edi
sar eax, 2
cmp eax, ebx
jne 0x1006147c
mov ecx, dword [esp + 0x58]
cmp ecx, dword [esp + 0x5c]
jge 0x1006173e
mov esi, dword [esp + 0x14]
mov eax, esi
mov edx, dword [esp + 0x18]
movsd xmm2, qword [esp + 0x40]
movsd xmm4, qword [esp + 0x38]
imul eax, edx
imul edx, ecx
mov ecx, dword [esp + 0x60]
shl eax, 2
add edx, ecx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x54]
imul edx, esi
add edx, ebp
mov ebp, dword [esp + 0x5c]
lea ebx, [eax + edx*4]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
test edx, edx
jne 0x10061407
cmp ecx, dword [esp + 0x64]
jge 0x10061468
mov edx, dword [esp + 0x30]
mov ecx, ebx
shl esi, 2
nop dword [eax]
mov eax, dword [edi]
movaps xmm0, xmm4
add edi, 4
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x100ad510]
mulsd xmm1, xmm3
addsd xmm1, xmm2
minsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [ecx], eax
add ecx, esi
sub edx, 1
jne 0x100613d0
jmp 0x10061458
cmp ecx, dword [esp + 0x64]
jge 0x10061468
mov edx, dword [esp + 0x30]
mov ecx, ebx
shl esi, 2
mov eax, dword [edi]
add edi, 4
movd xmm0, dword [ecx - 4]
cvtdq2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x100ad510]
mulsd xmm1, xmm3
addsd xmm1, xmm2
addsd xmm1, xmm0
movaps xmm0, xmm4
minsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [ecx], eax
add ecx, esi
sub edx, 1
jne 0x10061416
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x24]
add ebx, ebp
sub eax, 1
mov dword [esp + 0x24], eax
jne 0x100613b6
jmp 0x1006173e
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x20], 2
jle 0x10061611
mov ecx, dword [esp + 0x58]
cmp ecx, dword [esp + 0x5c]
jge 0x1006173e
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x60]
mov eax, dword [esp + 0x14]
imul eax, dword [esp + 0x18]
movsd xmm2, qword [esp + 0x40]
movsd xmm4, qword [esp + 0x38]
imul esi, ecx
shl eax, 2
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
add esi, ebx
mov ecx, esi
mov dword [esp + 0x68], esi
imul ecx, dword [esp + 0x14]
add ecx, ebp
mov ebp, dword [esp + 0x18]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x58], ecx
cmp dword [esp + 0x1c], 0
jne 0x10061560
cmp ebx, dword [esp + 0x64]
jge 0x100615ef
mov ebp, dword [esp + 0x30]
mov ebx, ecx
nop dword [eax]
mov eax, dword [esp + 0x20]
mov ecx, esi
and ecx, 7
mov edx, 0x80
sar edx, cl
mov ecx, esi
sar ecx, 3
mov eax, dword [eax + 0x14]
test byte [ecx + eax], dl
jbe 0x1006154b
mov eax, dword [edi]
movaps xmm0, xmm4
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
add edi, 4
addsd xmm1, qword [eax*8 + 0x100ad510]
mulsd xmm1, xmm3
addsd xmm1, xmm2
minsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [ebx], eax
mov ecx, dword [esp + 0x14]
inc esi
lea eax, [ecx*4]
add ebx, eax
sub ebp, 1
jne 0x10061500
jmp 0x100615db
cmp ebx, dword [esp + 0x64]
jge 0x100615ef
mov ebp, dword [esp + 0x30]
mov ebx, ecx
mov eax, dword [esp + 0x20]
mov ecx, esi
and ecx, 7
mov edx, 0x80
sar edx, cl
mov ecx, esi
sar ecx, 3
mov eax, dword [eax + 0x14]
test byte [ecx + eax], dl
jbe 0x100615c8
mov eax, dword [edi]
movd xmm0, dword [ebx - 4]
cvtdq2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
add edi, 4
addsd xmm1, qword [eax*8 + 0x100ad510]
mulsd xmm1, xmm3
addsd xmm1, xmm2
addsd xmm1, xmm0
movaps xmm0, xmm4
minsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [ebx], eax
mov ecx, dword [esp + 0x14]
inc esi
lea eax, [ecx*4]
add ebx, eax
sub ebp, 1
jne 0x10061570
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x68]
add ecx, edx
add esi, ebp
mov dword [esp + 0x58], ecx
sub eax, 1
mov dword [esp + 0x68], esi
mov dword [esp + 0x24], eax
jne 0x100614e5
jmp 0x1006173e
mov edx, dword [esp + 0x58]
xor ebp, ebp
cmp edx, dword [esp + 0x5c]
jge 0x1006173e
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x60]
mov eax, dword [esp + 0x14]
imul eax, dword [esp + 0x18]
movsd xmm2, qword [esp + 0x40]
movsd xmm4, qword [esp + 0x38]
imul edi, edx
shl eax, 2
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x54]
add ebx, edi
mov dword [esp + 0x58], edi
mov ecx, ebx
mov dword [esp + 0x24], ebx
imul ecx, dword [esp + 0x14]
add ecx, dword [esp + 0x68]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x54], ecx
nop dword [eax]
mov edx, dword [esp + 0x60]
mov esi, ebx
cmp edx, dword [esp + 0x64]
mov edx, dword [esp + 0x34]
jge 0x10061719
mov edi, ebx
mov ebx, ecx
sub edi, dword [esp + 0x58]
nop dword [eax]
mov eax, dword [esp + 0x20]
mov ecx, esi
and ecx, 7
mov edx, 0x80
sar edx, cl
mov ecx, esi
sar ecx, 3
mov eax, dword [eax + 0x14]
test byte [ecx + eax], dl
jbe 0x100616f0
mov edx, dword [esp + 0x6c]
mov eax, dword [edx + 4]
mov ecx, dword [edx]
sub eax, ecx
sar eax, 2
cmp ebp, eax
je 0x1006175e
mov eax, dword [ecx + ebp*4]
movaps xmm0, xmm4
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
inc ebp
addsd xmm1, qword [eax*8 + 0x100ad510]
mulsd xmm1, xmm3
addsd xmm1, xmm2
minsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [ebx], eax
mov ecx, dword [esp + 0x14]
inc edi
inc esi
lea eax, [ecx*4]
add ebx, eax
cmp edi, dword [esp + 0x64]
jl 0x10061690
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x30]
add edi, dword [esp + 0x18]
inc edx
add ebx, dword [esp + 0x18]
add ecx, eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x58], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x54], ecx
cmp edx, dword [esp + 0x5c]
jl 0x10061670
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x28]
pop edi
pop esi
mov dword [ecx], eax
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x24]
pop ebp
pop ebx
mov dword [ecx], eax
mov al, 1
add esp, 0x38
ret 0x24
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x38
ret 0x24