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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [ebp + 0x18]
xor edx, edx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x10]
push edi
mov esi, dword [esi]
xor edi, edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x70], edx
test eax, eax
je 0x10062f8f
mov ecx, dword [ebp + 0x14]
movsd xmm4, qword [0x1017d128]
and ecx, 0xfffffff0
mov dword [esp + 0x74], ecx
nop
mov ebx, dword [ebp + 0xc]
xor edi, edi
mov ebx, dword [ebx + edx*4]
test ecx, ecx
je 0x10062f47
add eax, eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
nop word [eax + eax]
mov eax, dword [esp + 0x68]
imul esi, eax, 0x19660d
mov dword [esp + 0x78], eax
movss xmm0, dword [ebx + edi*4]
cvtps2pd xmm0, xmm0
add esi, 0x3c6ef35f
imul eax, esi, 0x19660d
shr esi, 6
add eax, 0x3c6ef35f
mov edx, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x1c], eax
mov eax, esi
shr edx, 6
and eax, 0x1f
mov ecx, edx
and ecx, 0x1f
sub eax, ecx
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm4
addsd xmm1, xmm0
movsd qword [esp + 0x14], xmm1
fld qword [esp + 0x14]
fistp word [esp + 0x20]
mov ecx, dword [esp + 0xc]
movzx eax, word [esp + 0x20]
shr esi, 3
shr edx, 3
mov word [ecx], ax
mov eax, esi
add ecx, dword [esp + 0x10]
and eax, 0x1f
movss xmm0, dword [ebx + edi*4 + 4]
mov dword [esp + 0xc], ecx
mov ecx, edx
and ecx, 0x1f
sub eax, ecx
cvtps2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm4
addsd xmm1, xmm0
movsd qword [esp + 0x14], xmm1
fld qword [esp + 0x14]
fistp word [esp + 0x24]
mov ecx, dword [esp + 0xc]
movzx eax, word [esp + 0x24]
shr esi, 3
shr edx, 3
mov word [ecx], ax
mov eax, esi
add ecx, dword [esp + 0x10]
and eax, 0x1f
movss xmm0, dword [ebx + edi*4 + 8]
mov dword [esp + 0xc], ecx
mov ecx, edx
and ecx, 0x1f
sub eax, ecx
cvtps2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm4
addsd xmm1, xmm0
movsd qword [esp + 0x14], xmm1
fld qword [esp + 0x14]
fistp word [esp + 0x28]
mov ecx, dword [esp + 0xc]
movzx eax, word [esp + 0x28]
shr esi, 3
shr edx, 3
mov word [ecx], ax
mov eax, esi
add ecx, dword [esp + 0x10]
and eax, 0x1f
movss xmm0, dword [ebx + edi*4 + 0xc]
mov dword [esp + 0xc], ecx
mov ecx, edx
and ecx, 0x1f
sub eax, ecx
cvtps2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm4
addsd xmm1, xmm0
movsd qword [esp + 0x14], xmm1
fld qword [esp + 0x14]
fistp word [esp + 0x2c]
mov ecx, dword [esp + 0xc]
movzx eax, word [esp + 0x2c]
shr esi, 3
shr edx, 3
mov word [ecx], ax
mov eax, esi
add ecx, dword [esp + 0x10]
and eax, 0x1f
movss xmm0, dword [ebx + edi*4 + 0x10]
mov dword [esp + 0xc], ecx
mov ecx, edx
and ecx, 0x1f
sub eax, ecx
cvtps2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm4
addsd xmm1, xmm0
movsd qword [esp + 0x14], xmm1
fld qword [esp + 0x14]
fistp word [esp + 0x30]
mov ecx, dword [esp + 0xc]
movzx eax, word [esp + 0x30]
shr esi, 3
shr edx, 3
mov word [ecx], ax
mov eax, esi
add ecx, dword [esp + 0x10]
and eax, 0x1f
movss xmm0, dword [ebx + edi*4 + 0x14]
mov dword [esp + 0xc], ecx
mov ecx, edx
and ecx, 0x1f
sub eax, ecx
cvtps2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm4
addsd xmm1, xmm0
movsd qword [esp + 0x14], xmm1
fld qword [esp + 0x14]
fistp word [esp + 0x34]
mov ecx, dword [esp + 0xc]
movzx eax, word [esp + 0x34]
shr esi, 3
shr edx, 3
mov word [ecx], ax
mov eax, esi
add ecx, dword [esp + 0x10]
and eax, 0x1f
movss xmm0, dword [ebx + edi*4 + 0x18]
mov dword [esp + 0xc], ecx
mov ecx, edx
and ecx, 0x1f
sub eax, ecx
cvtps2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm4
addsd xmm1, xmm0
movsd qword [esp + 0x14], xmm1
fld qword [esp + 0x14]
fistp word [esp + 0x38]
mov ecx, dword [esp + 0xc]
movzx eax, word [esp + 0x38]
shr esi, 3
shr edx, 3
mov word [ecx], ax
mov eax, esi
add ecx, dword [esp + 0x10]
and eax, 0x1f
movss xmm0, dword [ebx + edi*4 + 0x1c]
mov dword [esp + 0xc], ecx
mov ecx, edx
and ecx, 0x1f
sub eax, ecx
cvtps2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm4
addsd xmm1, xmm0
movsd qword [esp + 0x14], xmm1
fld qword [esp + 0x14]
fistp word [esp + 0x3c]
mov ecx, dword [esp + 0xc]
movzx eax, word [esp + 0x3c]
shr esi, 3
shr edx, 3
mov word [ecx], ax
mov eax, esi
add ecx, dword [esp + 0x10]
and eax, 0x1f
movss xmm0, dword [ebx + edi*4 + 0x20]
mov dword [esp + 0xc], ecx
mov ecx, edx
and ecx, 0x1f
sub eax, ecx
cvtps2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm4
addsd xmm1, xmm0
movsd qword [esp + 0x14], xmm1
fld qword [esp + 0x14]
fistp word [esp + 0x40]
mov ecx, dword [esp + 0xc]
movzx eax, word [esp + 0x40]
shr esi, 3
shr edx, 3
mov word [ecx], ax
mov eax, esi
add ecx, dword [esp + 0x10]
and eax, 0x1f
movss xmm0, dword [ebx + edi*4 + 0x24]
mov dword [esp + 0xc], ecx
mov ecx, edx
and ecx, 0x1f
sub eax, ecx
cvtps2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm4
addsd xmm1, xmm0
movsd qword [esp + 0x14], xmm1
fld qword [esp + 0x14]
fistp word [esp + 0x44]
mov ecx, dword [esp + 0xc]
movzx eax, word [esp + 0x44]
shr esi, 3
shr edx, 3
mov word [ecx], ax
mov eax, esi
add ecx, dword [esp + 0x10]
and eax, 0x1f
movss xmm0, dword [ebx + edi*4 + 0x28]
mov dword [esp + 0xc], ecx
mov ecx, edx
and ecx, 0x1f
sub eax, ecx
cvtps2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm4
addsd xmm1, xmm0
movsd qword [esp + 0x14], xmm1
fld qword [esp + 0x14]
fistp word [esp + 0x48]
mov ecx, dword [esp + 0xc]
movzx eax, word [esp + 0x48]
shr esi, 3
shr edx, 3
mov word [ecx], ax
mov eax, esi
add ecx, dword [esp + 0x10]
and eax, 0x1f
movss xmm0, dword [ebx + edi*4 + 0x2c]
mov dword [esp + 0xc], ecx
mov ecx, edx
and ecx, 0x1f
sub eax, ecx
cvtps2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm4
addsd xmm1, xmm0
movsd qword [esp + 0x14], xmm1
fld qword [esp + 0x14]
fistp word [esp + 0x4c]
mov ecx, dword [esp + 0xc]
movzx eax, word [esp + 0x4c]
shr esi, 3
shr edx, 3
mov word [ecx], ax
mov eax, esi
add ecx, dword [esp + 0x10]
and eax, 0x1f
movss xmm0, dword [ebx + edi*4 + 0x30]
mov dword [esp + 0xc], ecx
mov ecx, edx
and ecx, 0x1f
sub eax, ecx
cvtps2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm4
addsd xmm1, xmm0
movsd qword [esp + 0x14], xmm1
fld qword [esp + 0x14]
fistp word [esp + 0x50]
mov ecx, dword [esp + 0xc]
movzx eax, word [esp + 0x50]
shr esi, 3
shr edx, 3
mov word [ecx], ax
mov eax, esi
add ecx, dword [esp + 0x10]
and eax, 0x1f
movss xmm0, dword [ebx + edi*4 + 0x34]
mov dword [esp + 0xc], ecx
mov ecx, edx
and ecx, 0x1f
sub eax, ecx
cvtps2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm4
addsd xmm1, xmm0
movsd qword [esp + 0x14], xmm1
fld qword [esp + 0x14]
fistp word [esp + 0x54]
mov ecx, dword [esp + 0xc]
movzx eax, word [esp + 0x54]
shr esi, 3
shr edx, 3
mov word [ecx], ax
mov eax, esi
add ecx, dword [esp + 0x10]
and eax, 0x1f
movss xmm0, dword [ebx + edi*4 + 0x38]
mov dword [esp + 0xc], ecx
mov ecx, edx
and ecx, 0x1f
sub eax, ecx
cvtps2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm4
addsd xmm1, xmm0
movsd qword [esp + 0x14], xmm1
fld qword [esp + 0x14]
fistp word [esp + 0x58]
mov ecx, dword [esp + 0xc]
movzx eax, word [esp + 0x58]
shr edx, 3
shr esi, 3
sub esi, edx
mov word [ecx], ax
movss xmm0, dword [ebx + edi*4 + 0x3c]
add ecx, dword [esp + 0x10]
cvtps2pd xmm0, xmm0
movd xmm1, esi
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm4
addsd xmm1, xmm0
movsd qword [esp + 0x14], xmm1
fld qword [esp + 0x14]
fistp word [esp + 0x5c]
movzx eax, word [esp + 0x5c]
add edi, 0x10
mov word [ecx], ax
add ecx, dword [esp + 0x10]
mov dword [esp + 0xc], ecx
fnstsw word [esp + 0x60]
test byte [esp + 0x60], 1
je 0x10062f36
fnstenv [esp + 0x7c]
and dword [esp + 0x80], 0xfffffffe
fldenv [esp + 0x7c]
mov esi, dword [esp + 0x64]
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x70]
push eax
push edi
lea eax, [edi - 0x10]
push eax
push dword [ebp + 0x10]
push ebx
push esi
call fcn.100648a0
add esp, 0x1c
jmp 0x10062f3a
mov esi, dword [esp + 0x64]
cmp edi, dword [esp + 0x74]
jb 0x10062a10
mov eax, dword [ebp + 0x10]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x70]
push ecx
push dword [ebp + 0x14]
push edi
push eax
push ebx
push esi
call fcn.100648a0
mov edx, dword [esp + 0x8c]
add esi, 2
mov eax, dword [ebp + 0x10]
inc edx
mov ecx, dword [esp + 0x38]
add esp, 0x1c
mov dword [esp + 0x70], edx
mov dword [esp + 0x64], esi
cmp edx, eax
jae 0x10062f8b
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x74]
jmp 0x100629f0
mov edi, dword [esp + 0x6c]
mov edx, dword [ebp + 0x18]
mov dword [edx], ecx
mov ecx, dword [ebp + 0x14]
lea ecx, [ecx*2 - 2]
imul ecx, eax
mov eax, dword [ebp + 8]
add ecx, esi
mov dword [eax], ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret