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

Disassembly:
sub esp, 0x74
mov ecx, dword [esp + 0x78]
xor eax, eax
mov edx, dword [esp + 0x80]
push ebx
xor ebx, ebx
mov dword [esp + 0xc], eax
mov ecx, dword [ecx]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], ebx
push esi
test edx, edx
je 0x100c4409
mov eax, dword [esp + 0x8c]
and eax, 0xfffffff0
push ebp
mov dword [esp + 0x1c], eax
push edi
nop word [eax + eax]
mov esi, dword [esp + 0x8c]
mov ebx, dword [esi + ebx*4]
xor esi, esi
test eax, eax
je 0x100c43c4
lea ebp, [edx*4]
mov edi, ecx
nop dword [eax]
movss xmm0, dword [ebx + esi*4]
movss dword [esp + 0x24], xmm0
fld dword [esp + 0x24]
fistp dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov dword [edi], eax
add edi, ebp
movss xmm0, dword [ebx + esi*4 + 4]
movss dword [esp + 0x24], xmm0
fld dword [esp + 0x24]
fistp dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
mov dword [edi], eax
add edi, ebp
movss xmm0, dword [ebx + esi*4 + 8]
movss dword [esp + 0x24], xmm0
fld dword [esp + 0x24]
fistp dword [esp + 0x30]
mov eax, dword [esp + 0x30]
mov dword [edi], eax
add edi, ebp
movss xmm0, dword [ebx + esi*4 + 0xc]
movss dword [esp + 0x24], xmm0
fld dword [esp + 0x24]
fistp dword [esp + 0x34]
mov eax, dword [esp + 0x34]
mov dword [edi], eax
add edi, ebp
movss xmm0, dword [ebx + esi*4 + 0x10]
movss dword [esp + 0x24], xmm0
fld dword [esp + 0x24]
fistp dword [esp + 0x38]
mov eax, dword [esp + 0x38]
mov dword [edi], eax
add edi, ebp
movss xmm0, dword [ebx + esi*4 + 0x14]
movss dword [esp + 0x24], xmm0
fld dword [esp + 0x24]
fistp dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
mov dword [edi], eax
add edi, ebp
movss xmm0, dword [ebx + esi*4 + 0x18]
movss dword [esp + 0x24], xmm0
fld dword [esp + 0x24]
fistp dword [esp + 0x40]
mov eax, dword [esp + 0x40]
mov dword [edi], eax
add edi, ebp
movss xmm0, dword [ebx + esi*4 + 0x1c]
movss dword [esp + 0x24], xmm0
fld dword [esp + 0x24]
fistp dword [esp + 0x44]
mov eax, dword [esp + 0x44]
mov dword [edi], eax
add edi, ebp
movss xmm0, dword [ebx + esi*4 + 0x20]
movss dword [esp + 0x24], xmm0
fld dword [esp + 0x24]
fistp dword [esp + 0x48]
mov eax, dword [esp + 0x48]
mov dword [edi], eax
add edi, ebp
movss xmm0, dword [ebx + esi*4 + 0x24]
movss dword [esp + 0x24], xmm0
fld dword [esp + 0x24]
fistp dword [esp + 0x4c]
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
add edi, ebp
movss xmm0, dword [ebx + esi*4 + 0x28]
movss dword [esp + 0x24], xmm0
fld dword [esp + 0x24]
fistp dword [esp + 0x50]
mov eax, dword [esp + 0x50]
mov dword [edi], eax
add edi, ebp
movss xmm0, dword [ebx + esi*4 + 0x2c]
movss dword [esp + 0x24], xmm0
fld dword [esp + 0x24]
fistp dword [esp + 0x54]
mov eax, dword [esp + 0x54]
mov dword [edi], eax
add edi, ebp
movss xmm0, dword [ebx + esi*4 + 0x30]
movss dword [esp + 0x24], xmm0
fld dword [esp + 0x24]
fistp dword [esp + 0x58]
mov eax, dword [esp + 0x58]
mov dword [edi], eax
add edi, ebp
movss xmm0, dword [ebx + esi*4 + 0x34]
movss dword [esp + 0x24], xmm0
fld dword [esp + 0x24]
fistp dword [esp + 0x5c]
mov eax, dword [esp + 0x5c]
mov dword [edi], eax
add edi, ebp
movss xmm0, dword [ebx + esi*4 + 0x38]
movss dword [esp + 0x24], xmm0
fld dword [esp + 0x24]
fistp dword [esp + 0x60]
mov eax, dword [esp + 0x60]
mov dword [edi], eax
add edi, ebp
movss xmm0, dword [ebx + esi*4 + 0x3c]
movss dword [esp + 0x24], xmm0
fld dword [esp + 0x24]
fistp dword [esp + 0x64]
mov eax, dword [esp + 0x64]
add esi, 0x10
mov dword [edi], eax
add edi, ebp
fnstsw word [esp + 0x10]
test byte [esp + 0x10], 1
je 0x100c43ba
fnstenv [esp + 0x68]
and dword [esp + 0x6c], 0xfffffffe
fldenv [esp + 0x68]
lea eax, [esp + 0x18]
push eax
push esi
lea eax, [esi - 0x10]
push eax
push edx
push ebx
push ecx
call fcn.100c4a50
mov ecx, dword [esp + 0x2c]
add esp, 0x18
mov edx, dword [esp + 0x90]
cmp esi, dword [esp + 0x20]
jb 0x100c41c0
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x98]
push esi
push edx
push ebx
push ecx
call fcn.100c4a50
mov ebx, dword [esp + 0x34]
add esp, 0x18
mov ecx, dword [esp + 0x14]
inc ebx
mov edx, dword [esp + 0x90]
add ecx, 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ecx
cmp ebx, edx
jb 0x100c41a0
mov eax, dword [esp + 0x18]
pop edi
pop ebp
mov esi, dword [esp + 0x8c]
lea ecx, [esi*4 - 4]
imul ecx, edx
mov edx, dword [esp + 0x80]
pop esi
pop ebx
add ecx, dword [esp + 4]
mov dword [edx], ecx
add esp, 0x74
ret