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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x14]
push edi
xor edi, edi
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], ebx
mov ecx, dword [eax]
mov eax, esi
and eax, 0xfffffff0
mov dword [esp + 0x54], ecx
mov dword [esp + 0x64], eax
jbe 0x10063749
movsd xmm3, qword [0x1017d128]
mov eax, ecx
nop word [eax + eax]
imul esi, eax, 0x19660d
mov dword [esp + 0x60], ecx
add esi, 0x3c6ef35f
imul eax, esi, 0x19660d
shr esi, 6
add eax, 0x3c6ef35f
mov edx, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x54], eax
mov eax, esi
shr edx, 6
and eax, 0x1f
mov ecx, edx
and ecx, 0x1f
sub eax, ecx
movd xmm0, eax
mov eax, dword [ebp + 0xc]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, qword [eax + edi*8]
movsd qword [esp + 0x6c], xmm0
fld qword [esp + 0x6c]
fistp word [esp + 0x10]
movzx eax, word [esp + 0x10]
mov word [ebx], ax
shr esi, 3
shr edx, 3
mov eax, esi
mov ecx, edx
and eax, 0x1f
and ecx, 0x1f
sub eax, ecx
movd xmm0, eax
mov eax, dword [ebp + 0xc]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, qword [eax + edi*8 + 8]
movsd qword [esp + 0x6c], xmm0
fld qword [esp + 0x6c]
fistp word [esp + 0x14]
movzx eax, word [esp + 0x14]
mov word [ebx + 2], ax
shr esi, 3
shr edx, 3
mov eax, esi
mov ecx, edx
and eax, 0x1f
and ecx, 0x1f
sub eax, ecx
movd xmm0, eax
mov eax, dword [ebp + 0xc]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, qword [eax + edi*8 + 0x10]
movsd qword [esp + 0x6c], xmm0
fld qword [esp + 0x6c]
fistp word [esp + 0x18]
movzx eax, word [esp + 0x18]
mov word [ebx + 4], ax
shr esi, 3
shr edx, 3
mov eax, esi
mov ecx, edx
and eax, 0x1f
and ecx, 0x1f
sub eax, ecx
movd xmm0, eax
mov eax, dword [ebp + 0xc]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, qword [eax + edi*8 + 0x18]
movsd qword [esp + 0x6c], xmm0
fld qword [esp + 0x6c]
fistp word [esp + 0x1c]
movzx eax, word [esp + 0x1c]
mov word [ebx + 6], ax
shr esi, 3
shr edx, 3
mov eax, esi
mov ecx, edx
and eax, 0x1f
and ecx, 0x1f
sub eax, ecx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mov eax, dword [ebp + 0xc]
mulsd xmm0, xmm3
addsd xmm0, qword [eax + edi*8 + 0x20]
movsd qword [esp + 0x6c], xmm0
fld qword [esp + 0x6c]
fistp word [esp + 0x20]
movzx eax, word [esp + 0x20]
mov word [ebx + 8], ax
shr esi, 3
shr edx, 3
mov eax, esi
mov ecx, edx
and eax, 0x1f
and ecx, 0x1f
sub eax, ecx
movd xmm0, eax
mov eax, dword [ebp + 0xc]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, qword [eax + edi*8 + 0x28]
movsd qword [esp + 0x6c], xmm0
fld qword [esp + 0x6c]
fistp word [esp + 0x24]
movzx eax, word [esp + 0x24]
mov word [ebx + 0xa], ax
shr esi, 3
shr edx, 3
mov eax, esi
mov ecx, edx
and eax, 0x1f
and ecx, 0x1f
sub eax, ecx
movd xmm0, eax
mov eax, dword [ebp + 0xc]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, qword [eax + edi*8 + 0x30]
movsd qword [esp + 0x6c], xmm0
fld qword [esp + 0x6c]
fistp word [esp + 0x28]
movzx eax, word [esp + 0x28]
mov word [ebx + 0xc], ax
shr esi, 3
shr edx, 3
mov eax, esi
mov ecx, edx
and eax, 0x1f
and ecx, 0x1f
sub eax, ecx
movd xmm0, eax
mov eax, dword [ebp + 0xc]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, qword [eax + edi*8 + 0x38]
movsd qword [esp + 0x6c], xmm0
fld qword [esp + 0x6c]
fistp word [esp + 0x2c]
movzx eax, word [esp + 0x2c]
mov word [ebx + 0xe], ax
shr esi, 3
shr edx, 3
mov eax, esi
mov ecx, edx
and eax, 0x1f
and ecx, 0x1f
sub eax, ecx
movd xmm0, eax
mov eax, dword [ebp + 0xc]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, qword [eax + edi*8 + 0x40]
movsd qword [esp + 0x6c], xmm0
fld qword [esp + 0x6c]
fistp word [esp + 0x30]
movzx eax, word [esp + 0x30]
mov word [ebx + 0x10], ax
shr esi, 3
shr edx, 3
mov eax, esi
mov ecx, edx
and eax, 0x1f
and ecx, 0x1f
sub eax, ecx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
mov eax, dword [ebp + 0xc]
addsd xmm0, qword [eax + edi*8 + 0x48]
movsd qword [esp + 0x6c], xmm0
fld qword [esp + 0x6c]
fistp word [esp + 0x34]
movzx eax, word [esp + 0x34]
mov word [ebx + 0x12], ax
shr esi, 3
shr edx, 3
mov eax, esi
mov ecx, edx
and eax, 0x1f
and ecx, 0x1f
sub eax, ecx
movd xmm0, eax
mov eax, dword [ebp + 0xc]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, qword [eax + edi*8 + 0x50]
movsd qword [esp + 0x6c], xmm0
fld qword [esp + 0x6c]
fistp word [esp + 0x38]
movzx eax, word [esp + 0x38]
mov word [ebx + 0x14], ax
shr esi, 3
shr edx, 3
mov eax, esi
mov ecx, edx
and eax, 0x1f
and ecx, 0x1f
sub eax, ecx
movd xmm0, eax
mov eax, dword [ebp + 0xc]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, qword [eax + edi*8 + 0x58]
movsd qword [esp + 0x6c], xmm0
fld qword [esp + 0x6c]
fistp word [esp + 0x3c]
movzx eax, word [esp + 0x3c]
mov word [ebx + 0x16], ax
shr esi, 3
shr edx, 3
mov eax, esi
mov ecx, edx
and eax, 0x1f
and ecx, 0x1f
sub eax, ecx
movd xmm0, eax
mov eax, dword [ebp + 0xc]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, qword [eax + edi*8 + 0x60]
movsd qword [esp + 0x6c], xmm0
fld qword [esp + 0x6c]
fistp word [esp + 0x40]
movzx eax, word [esp + 0x40]
mov word [ebx + 0x18], ax
shr esi, 3
shr edx, 3
mov eax, esi
mov ecx, edx
and eax, 0x1f
and ecx, 0x1f
sub eax, ecx
movd xmm0, eax
mov eax, dword [ebp + 0xc]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, qword [eax + edi*8 + 0x68]
movsd qword [esp + 0x6c], xmm0
fld qword [esp + 0x6c]
fistp word [esp + 0x44]
movzx eax, word [esp + 0x44]
mov word [ebx + 0x1a], ax
shr esi, 3
shr edx, 3
mov eax, esi
mov ecx, edx
and eax, 0x1f
and ecx, 0x1f
sub eax, ecx
mov ecx, dword [ebp + 0xc]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, qword [ecx + edi*8 + 0x70]
movsd qword [esp + 0x6c], xmm0
fld qword [esp + 0x6c]
fistp word [esp + 0x48]
movzx eax, word [esp + 0x48]
shr edx, 3
shr esi, 3
sub esi, edx
mov word [ebx + 0x1c], ax
movd xmm0, esi
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, qword [ecx + edi*8 + 0x78]
movsd qword [esp + 0x6c], xmm0
fld qword [esp + 0x6c]
fistp word [esp + 0x4c]
movzx eax, word [esp + 0x4c]
add edi, 0x10
mov word [ebx + 0x1e], ax
add ebx, 0x20
fnstsw word [esp + 0x50]
test byte [esp + 0x50], 1
je 0x10063732
fnstenv [esp + 0x74]
and dword [esp + 0x78], 0xfffffffe
fldenv [esp + 0x74]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x5c]
push eax
push edi
lea eax, [edi - 0x10]
push eax
push 1
push ecx
push dword [esp + 0x74]
call fcn.100647b0
add esp, 0x1c
mov ecx, dword [esp + 0x68]
mov eax, ecx
cmp edi, dword [esp + 0x64]
jb 0x10063300
mov ebx, dword [esp + 0x5c]
mov esi, dword [ebp + 0x10]
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x5c]
push eax
push esi
push edi
push 1
push dword [ebp + 0xc]
push ebx
call fcn.100647b0
mov ecx, dword [ebp + 0x14]
add esp, 0x1c
mov eax, dword [esp + 0x54]
mov dword [ecx], eax
lea eax, [ebx + esi*2]
mov ecx, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, dword [esp + 0x4c]
mov esp, ebp
pop ebp
ret