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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov ecx, dword [ebp + 8]
xor eax, eax
push ebx
push esi
push edi
mov edx, dword [ecx]
xor ecx, ecx
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x58], ecx
test edi, edi
je 0x100c239e
mov eax, dword [ebp + 0x14]
and eax, 0xfffffff0
mov dword [esp + 0x5c], eax
mov ebx, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebx + ecx*4]
test eax, eax
je 0x100c2366
lea ecx, [edi + edi]
mov edi, edx
mov dword [esp + 0x60], ecx
nop
movsd xmm0, qword [ebx + esi*8]
movsd qword [esp + 0x64], xmm0
fld qword [esp + 0x64]
fistp word [esp + 0xc]
movzx eax, word [esp + 0xc]
mov word [edi], ax
add edi, ecx
movsd xmm0, qword [ebx + esi*8 + 8]
movsd qword [esp + 0x64], xmm0
fld qword [esp + 0x64]
fistp word [esp + 0x10]
movzx eax, word [esp + 0x10]
mov word [edi], ax
add edi, ecx
movsd xmm0, qword [ebx + esi*8 + 0x10]
movsd qword [esp + 0x64], xmm0
fld qword [esp + 0x64]
fistp word [esp + 0x14]
movzx eax, word [esp + 0x14]
mov word [edi], ax
add edi, ecx
movsd xmm0, qword [ebx + esi*8 + 0x18]
movsd qword [esp + 0x64], xmm0
fld qword [esp + 0x64]
fistp word [esp + 0x18]
movzx eax, word [esp + 0x18]
mov word [edi], ax
add edi, ecx
movsd xmm0, qword [ebx + esi*8 + 0x20]
movsd qword [esp + 0x64], xmm0
fld qword [esp + 0x64]
fistp word [esp + 0x1c]
movzx eax, word [esp + 0x1c]
mov word [edi], ax
add edi, ecx
movsd xmm0, qword [ebx + esi*8 + 0x28]
movsd qword [esp + 0x64], xmm0
fld qword [esp + 0x64]
fistp word [esp + 0x20]
movzx eax, word [esp + 0x20]
mov word [edi], ax
add edi, ecx
movsd xmm0, qword [ebx + esi*8 + 0x30]
movsd qword [esp + 0x64], xmm0
fld qword [esp + 0x64]
fistp word [esp + 0x24]
movzx eax, word [esp + 0x24]
mov word [edi], ax
add edi, ecx
movsd xmm0, qword [ebx + esi*8 + 0x38]
movsd qword [esp + 0x64], xmm0
fld qword [esp + 0x64]
fistp word [esp + 0x28]
movzx eax, word [esp + 0x28]
mov word [edi], ax
add edi, ecx
movsd xmm0, qword [ebx + esi*8 + 0x40]
movsd qword [esp + 0x64], xmm0
fld qword [esp + 0x64]
fistp word [esp + 0x2c]
movzx eax, word [esp + 0x2c]
mov word [edi], ax
add edi, ecx
movsd xmm0, qword [ebx + esi*8 + 0x48]
movsd qword [esp + 0x64], xmm0
fld qword [esp + 0x64]
fistp word [esp + 0x30]
movzx eax, word [esp + 0x30]
mov word [edi], ax
add edi, ecx
movsd xmm0, qword [ebx + esi*8 + 0x50]
movsd qword [esp + 0x64], xmm0
fld qword [esp + 0x64]
fistp word [esp + 0x34]
movzx eax, word [esp + 0x34]
mov word [edi], ax
add edi, ecx
movsd xmm0, qword [ebx + esi*8 + 0x58]
movsd qword [esp + 0x64], xmm0
fld qword [esp + 0x64]
fistp word [esp + 0x38]
movzx eax, word [esp + 0x38]
mov word [edi], ax
add edi, ecx
movsd xmm0, qword [ebx + esi*8 + 0x60]
movsd qword [esp + 0x64], xmm0
fld qword [esp + 0x64]
fistp word [esp + 0x3c]
movzx eax, word [esp + 0x3c]
mov word [edi], ax
add edi, ecx
movsd xmm0, qword [ebx + esi*8 + 0x68]
movsd qword [esp + 0x64], xmm0
fld qword [esp + 0x64]
fistp word [esp + 0x40]
movzx eax, word [esp + 0x40]
mov word [edi], ax
add edi, ecx
movsd xmm0, qword [ebx + esi*8 + 0x70]
movsd qword [esp + 0x64], xmm0
fld qword [esp + 0x64]
fistp word [esp + 0x44]
movzx eax, word [esp + 0x44]
mov word [edi], ax
add edi, ecx
movsd xmm0, qword [ebx + esi*8 + 0x78]
movsd qword [esp + 0x64], xmm0
fld qword [esp + 0x64]
fistp word [esp + 0x48]
movzx eax, word [esp + 0x48]
add esi, 0x10
mov word [edi], ax
add edi, ecx
fnstsw word [esp + 0x4c]
test byte [esp + 0x4c], 1
je 0x100c2359
fnstenv [esp + 0x6c]
and dword [esp + 0x70], 0xfffffffe
fldenv [esp + 0x6c]
lea eax, [esp + 0x54]
push eax
push esi
lea eax, [esi - 0x10]
push eax
push dword [ebp + 0x10]
push ebx
push edx
call fcn.100c4690
mov ecx, dword [esp + 0x78]
add esp, 0x18
mov edx, dword [esp + 0x50]
cmp esi, dword [esp + 0x5c]
jb 0x100c2140
mov edi, dword [ebp + 0x10]
lea eax, [esp + 0x54]
push eax
push dword [ebp + 0x14]
push esi
push edi
push ebx
push edx
call fcn.100c4690
mov ecx, dword [esp + 0x70]
add esp, 0x18
mov edx, dword [esp + 0x50]
inc ecx
mov eax, dword [esp + 0x5c]
add edx, 2
mov dword [esp + 0x58], ecx
mov dword [esp + 0x50], edx
cmp ecx, edi
jb 0x100c2126
mov eax, dword [esp + 0x54]
mov esi, dword [ebp + 0x14]
lea ecx, [esi*2 - 2]
imul ecx, edi
pop edi
pop esi
pop ebx
add ecx, edx
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov esp, ebp
pop ebp
ret