Function at 0x100c3250
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 + 0x14], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
test edi, edi
je 0x100c34ee
mov eax, dword [ebp + 0x14]
and eax, 0xfffffff0
mov dword [esp + 0x1c], eax
mov ebx, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebx + ecx*4]
test eax, eax
je 0x100c34b6
lea ecx, [edi*4]
mov edi, edx
mov dword [esp + 0x60], ecx
nop dword [eax]
nop word [eax + eax]
movsd xmm0, qword [ebx + esi*8]
movsd qword [esp + 0x64], xmm0
fld qword [esp + 0x64]
fistp dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov dword [edi], eax
add edi, ecx
movsd xmm0, qword [ebx + esi*8 + 8]
movsd qword [esp + 0x64], xmm0
fld qword [esp + 0x64]
fistp dword [esp + 0x24]
mov eax, dword [esp + 0x24]
mov dword [edi], eax
add edi, ecx
movsd xmm0, qword [ebx + esi*8 + 0x10]
movsd qword [esp + 0x64], xmm0
fld qword [esp + 0x64]
fistp dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov dword [edi], eax
add edi, ecx
movsd xmm0, qword [ebx + esi*8 + 0x18]
movsd qword [esp + 0x64], xmm0
fld qword [esp + 0x64]
fistp dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
mov dword [edi], eax
add edi, ecx
movsd xmm0, qword [ebx + esi*8 + 0x20]
movsd qword [esp + 0x64], xmm0
fld qword [esp + 0x64]
fistp dword [esp + 0x30]
mov eax, dword [esp + 0x30]
mov dword [edi], eax
add edi, ecx
movsd xmm0, qword [ebx + esi*8 + 0x28]
movsd qword [esp + 0x64], xmm0
fld qword [esp + 0x64]
fistp dword [esp + 0x34]
mov eax, dword [esp + 0x34]
mov dword [edi], eax
add edi, ecx
movsd xmm0, qword [ebx + esi*8 + 0x30]
movsd qword [esp + 0x64], xmm0
fld qword [esp + 0x64]
fistp dword [esp + 0x38]
mov eax, dword [esp + 0x38]
mov dword [edi], eax
add edi, ecx
movsd xmm0, qword [ebx + esi*8 + 0x38]
movsd qword [esp + 0x64], xmm0
fld qword [esp + 0x64]
fistp dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
mov dword [edi], eax
add edi, ecx
movsd xmm0, qword [ebx + esi*8 + 0x40]
movsd qword [esp + 0x64], xmm0
fld qword [esp + 0x64]
fistp dword [esp + 0x40]
mov eax, dword [esp + 0x40]
mov dword [edi], eax
add edi, ecx
movsd xmm0, qword [ebx + esi*8 + 0x48]
movsd qword [esp + 0x64], xmm0
fld qword [esp + 0x64]
fistp dword [esp + 0x44]
mov eax, dword [esp + 0x44]
mov dword [edi], eax
add edi, ecx
movsd xmm0, qword [ebx + esi*8 + 0x50]
movsd qword [esp + 0x64], xmm0
fld qword [esp + 0x64]
fistp dword [esp + 0x48]
mov eax, dword [esp + 0x48]
mov dword [edi], eax
add edi, ecx
movsd xmm0, qword [ebx + esi*8 + 0x58]
movsd qword [esp + 0x64], xmm0
fld qword [esp + 0x64]
fistp dword [esp + 0x4c]
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
add edi, ecx
movsd xmm0, qword [ebx + esi*8 + 0x60]
movsd qword [esp + 0x64], xmm0
fld qword [esp + 0x64]
fistp dword [esp + 0x50]
mov eax, dword [esp + 0x50]
mov dword [edi], eax
add edi, ecx
movsd xmm0, qword [ebx + esi*8 + 0x68]
movsd qword [esp + 0x64], xmm0
fld qword [esp + 0x64]
fistp dword [esp + 0x54]
mov eax, dword [esp + 0x54]
mov dword [edi], eax
add edi, ecx
movsd xmm0, qword [ebx + esi*8 + 0x70]
movsd qword [esp + 0x64], xmm0
fld qword [esp + 0x64]
fistp dword [esp + 0x58]
mov eax, dword [esp + 0x58]
mov dword [edi], eax
add edi, ecx
movsd xmm0, qword [ebx + esi*8 + 0x78]
movsd qword [esp + 0x64], xmm0
fld qword [esp + 0x64]
fistp dword [esp + 0x5c]
mov eax, dword [esp + 0x5c]
add esi, 0x10
mov dword [edi], eax
add edi, ecx
fnstsw word [esp + 0xc]
test byte [esp + 0xc], 1
je 0x100c34a9
fnstenv [esp + 0x6c]
and dword [esp + 0x70], 0xfffffffe
fldenv [esp + 0x6c]
lea eax, [esp + 0x14]
push eax
push esi
lea eax, [esi - 0x10]
push eax
push dword [ebp + 0x10]
push ebx
push edx
call fcn.100c3d70
mov ecx, dword [esp + 0x78]
add esp, 0x18
mov edx, dword [esp + 0x10]
cmp esi, dword [esp + 0x1c]
jb 0x100c32b0
mov edi, dword [ebp + 0x10]
lea eax, [esp + 0x14]
push eax
push dword [ebp + 0x14]
push esi
push edi
push ebx
push edx
call fcn.100c3d70
mov ecx, dword [esp + 0x30]
add esp, 0x18
mov edx, dword [esp + 0x10]
inc ecx
mov eax, dword [esp + 0x1c]
add edx, 4
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edx
cmp ecx, edi
jb 0x100c3286
mov eax, dword [esp + 0x14]
mov esi, dword [ebp + 0x14]
lea ecx, [esi*4 - 4]
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