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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov ecx, dword [ebp + 8]
xor eax, eax
mov edx, dword [ebp + 0x18]
push ebx
push esi
mov ebx, dword [ecx]
xor ecx, ecx
mov esi, dword [ebp + 0x10]
mov edx, dword [edx]
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x68], ecx
push edi
test esi, esi
je 0x100c1cb0
mov eax, dword [ebp + 0x14]
movsd xmm3, qword [0x10204160]
and eax, 0xfffffff0
mov dword [esp + 0x70], eax
nop word [eax + eax]
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi + ecx*4]
xor edi, edi
mov dword [esp + 0x10], ecx
test eax, eax
je 0x100c1c6f
lea eax, [esi + esi]
mov dword [esp + 0xc], eax
nop dword [eax + eax]
imul esi, edx, 0x19660d
mov dword [esp + 0x74], edx
add esi, 0x3c6ef35f
imul eax, esi, 0x19660d
shr esi, 6
add eax, 0x3c6ef35f
mov edx, eax
mov dword [esp + 0x78], 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 xmm0, eax
mov eax, dword [esp + 0x10]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, qword [eax + edi*8]
movsd qword [esp + 0x14], xmm0
fld qword [esp + 0x14]
fistp word [esp + 0x20]
movzx eax, word [esp + 0x20]
mov word [ebx], ax
shr esi, 3
shr edx, 3
mov eax, esi
add ebx, dword [esp + 0xc]
mov ecx, edx
and eax, 0x1f
and ecx, 0x1f
sub eax, ecx
movd xmm0, eax
mov eax, dword [esp + 0x10]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, qword [eax + edi*8 + 8]
movsd qword [esp + 0x14], xmm0
fld qword [esp + 0x14]
fistp word [esp + 0x24]
movzx eax, word [esp + 0x24]
mov word [ebx], ax
shr esi, 3
shr edx, 3
mov eax, esi
add ebx, dword [esp + 0xc]
mov ecx, edx
and eax, 0x1f
and ecx, 0x1f
sub eax, ecx
movd xmm0, eax
mov eax, dword [esp + 0x10]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, qword [eax + edi*8 + 0x10]
movsd qword [esp + 0x14], xmm0
fld qword [esp + 0x14]
fistp word [esp + 0x28]
movzx eax, word [esp + 0x28]
mov word [ebx], ax
shr esi, 3
shr edx, 3
mov eax, esi
add ebx, dword [esp + 0xc]
mov ecx, edx
and eax, 0x1f
and ecx, 0x1f
sub eax, ecx
movd xmm0, eax
mov eax, dword [esp + 0x10]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, qword [eax + edi*8 + 0x18]
movsd qword [esp + 0x14], xmm0
fld qword [esp + 0x14]
fistp word [esp + 0x2c]
movzx eax, word [esp + 0x2c]
shr edx, 3
mov word [ebx], ax
mov ecx, edx
add ebx, dword [esp + 0xc]
shr esi, 3
and ecx, 0x1f
mov eax, esi
and eax, 0x1f
sub eax, ecx
movd xmm0, eax
mov eax, dword [esp + 0x10]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, qword [eax + edi*8 + 0x20]
movsd qword [esp + 0x14], xmm0
fld qword [esp + 0x14]
fistp word [esp + 0x30]
movzx eax, word [esp + 0x30]
mov word [ebx], ax
shr esi, 3
shr edx, 3
mov eax, esi
add ebx, dword [esp + 0xc]
mov ecx, edx
and eax, 0x1f
and ecx, 0x1f
sub eax, ecx
movd xmm0, eax
mov eax, dword [esp + 0x10]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, qword [eax + edi*8 + 0x28]
movsd qword [esp + 0x14], xmm0
fld qword [esp + 0x14]
fistp word [esp + 0x34]
movzx eax, word [esp + 0x34]
mov word [ebx], ax
shr esi, 3
shr edx, 3
mov eax, esi
add ebx, dword [esp + 0xc]
mov ecx, edx
and eax, 0x1f
and ecx, 0x1f
sub eax, ecx
movd xmm0, eax
mov eax, dword [esp + 0x10]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, qword [eax + edi*8 + 0x30]
movsd qword [esp + 0x14], xmm0
fld qword [esp + 0x14]
fistp word [esp + 0x38]
movzx eax, word [esp + 0x38]
mov word [ebx], ax
shr esi, 3
shr edx, 3
mov eax, esi
add ebx, dword [esp + 0xc]
mov ecx, edx
and eax, 0x1f
and ecx, 0x1f
sub eax, ecx
movd xmm0, eax
mov eax, dword [esp + 0x10]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, qword [eax + edi*8 + 0x38]
movsd qword [esp + 0x14], xmm0
fld qword [esp + 0x14]
fistp word [esp + 0x3c]
movzx eax, word [esp + 0x3c]
mov word [ebx], ax
shr esi, 3
shr edx, 3
mov eax, esi
add ebx, dword [esp + 0xc]
mov ecx, edx
and eax, 0x1f
and ecx, 0x1f
sub eax, ecx
movd xmm0, eax
mov eax, dword [esp + 0x10]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, qword [eax + edi*8 + 0x40]
movsd qword [esp + 0x14], xmm0
fld qword [esp + 0x14]
fistp word [esp + 0x40]
movzx eax, word [esp + 0x40]
mov word [ebx], ax
add ebx, dword [esp + 0xc]
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 [esp + 0x10]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, qword [eax + edi*8 + 0x48]
movsd qword [esp + 0x14], xmm0
fld qword [esp + 0x14]
fistp word [esp + 0x44]
movzx eax, word [esp + 0x44]
mov word [ebx], ax
shr esi, 3
shr edx, 3
mov eax, esi
add ebx, dword [esp + 0xc]
mov ecx, edx
and eax, 0x1f
and ecx, 0x1f
sub eax, ecx
movd xmm0, eax
mov eax, dword [esp + 0x10]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, qword [eax + edi*8 + 0x50]
movsd qword [esp + 0x14], xmm0
fld qword [esp + 0x14]
fistp word [esp + 0x48]
movzx eax, word [esp + 0x48]
mov word [ebx], ax
shr esi, 3
shr edx, 3
mov eax, esi
add ebx, dword [esp + 0xc]
mov ecx, edx
and eax, 0x1f
and ecx, 0x1f
sub eax, ecx
movd xmm0, eax
mov eax, dword [esp + 0x10]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, qword [eax + edi*8 + 0x58]
movsd qword [esp + 0x14], xmm0
fld qword [esp + 0x14]
fistp word [esp + 0x4c]
movzx eax, word [esp + 0x4c]
mov word [ebx], ax
shr esi, 3
shr edx, 3
mov eax, esi
add ebx, dword [esp + 0xc]
mov ecx, edx
and eax, 0x1f
and ecx, 0x1f
sub eax, ecx
movd xmm0, eax
mov eax, dword [esp + 0x10]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, qword [eax + edi*8 + 0x60]
movsd qword [esp + 0x14], xmm0
fld qword [esp + 0x14]
fistp word [esp + 0x50]
movzx eax, word [esp + 0x50]
mov word [ebx], ax
add ebx, dword [esp + 0xc]
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 [esp + 0x10]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, qword [eax + edi*8 + 0x68]
movsd qword [esp + 0x14], xmm0
fld qword [esp + 0x14]
fistp word [esp + 0x54]
movzx eax, word [esp + 0x54]
mov word [ebx], ax
shr esi, 3
shr edx, 3
mov eax, esi
add ebx, dword [esp + 0xc]
mov ecx, edx
and ecx, 0x1f
and eax, 0x1f
sub eax, ecx
mov ecx, dword [esp + 0x10]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, qword [ecx + edi*8 + 0x70]
movsd qword [esp + 0x14], xmm0
fld qword [esp + 0x14]
fistp word [esp + 0x58]
movzx eax, word [esp + 0x58]
shr edx, 3
shr esi, 3
sub esi, edx
mov word [ebx], ax
add ebx, dword [esp + 0xc]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, qword [ecx + edi*8 + 0x78]
movsd qword [esp + 0x14], xmm0
fld qword [esp + 0x14]
fistp word [esp + 0x5c]
movzx eax, word [esp + 0x5c]
add edi, 0x10
mov word [ebx], ax
add ebx, dword [esp + 0xc]
fnstsw word [esp + 0x60]
test byte [esp + 0x60], 1
je 0x100c1c5a
fnstenv [esp + 0x7c]
and dword [esp + 0x80], 0xfffffffe
fldenv [esp + 0x7c]
mov esi, dword [ebp + 0x10]
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x6c]
push eax
push edi
lea eax, [edi - 0x10]
push eax
push esi
push ecx
push dword [esp + 0x7c]
call fcn.100c3ae0
mov ecx, dword [esp + 0x2c]
add esp, 0x1c
jmp 0x100c1c5d
mov esi, dword [ebp + 0x10]
mov edx, dword [esp + 0x78]
cmp edi, dword [esp + 0x70]
jb 0x100c17e0
mov ebx, dword [esp + 0x64]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x6c]
push eax
push dword [ebp + 0x14]
push edi
push esi
push ecx
push ebx
call fcn.100c3ae0
mov ecx, dword [esp + 0x88]
add ebx, 2
mov edx, dword [esp + 0x38]
inc ecx
add esp, 0x1c
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x64], ebx
cmp ecx, esi
jae 0x100c1cac
mov eax, dword [esp + 0x70]
jmp 0x100c17c0
mov eax, dword [esp + 0x68]
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x14]
mov dword [ecx], edx
mov edx, dword [ebp + 8]
lea ecx, [edi*2 - 2]
imul ecx, esi
pop edi
pop esi
add ecx, ebx
mov dword [edx], ecx
pop ebx
mov esp, ebp
pop ebp
ret