Function at 0x100c22f0
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 + 0x4c], eax
mov ecx, dword [ecx]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x50], ebx
push esi
test edx, edx
je 0x100c25b9
mov eax, dword [esp + 0x8c]
and eax, 0xfffffff0
push ebp
mov dword [esp + 0x5c], 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 0x100c2574
lea ebp, [edx + edx]
mov edi, ecx
nop dword [eax]
movss xmm0, dword [ebx + esi*4]
movss dword [esp + 0x64], xmm0
fld dword [esp + 0x64]
fistp word [esp + 0x10]
movzx eax, word [esp + 0x10]
mov word [edi], ax
add edi, ebp
movss xmm0, dword [ebx + esi*4 + 4]
movss dword [esp + 0x64], xmm0
fld dword [esp + 0x64]
fistp word [esp + 0x14]
movzx eax, word [esp + 0x14]
mov word [edi], ax
add edi, ebp
movss xmm0, dword [ebx + esi*4 + 8]
movss dword [esp + 0x64], xmm0
fld dword [esp + 0x64]
fistp word [esp + 0x18]
movzx eax, word [esp + 0x18]
mov word [edi], ax
add edi, ebp
movss xmm0, dword [ebx + esi*4 + 0xc]
movss dword [esp + 0x64], xmm0
fld dword [esp + 0x64]
fistp word [esp + 0x1c]
movzx eax, word [esp + 0x1c]
mov word [edi], ax
add edi, ebp
movss xmm0, dword [ebx + esi*4 + 0x10]
movss dword [esp + 0x64], xmm0
fld dword [esp + 0x64]
fistp word [esp + 0x20]
movzx eax, word [esp + 0x20]
mov word [edi], ax
add edi, ebp
movss xmm0, dword [ebx + esi*4 + 0x14]
movss dword [esp + 0x64], xmm0
fld dword [esp + 0x64]
fistp word [esp + 0x24]
movzx eax, word [esp + 0x24]
mov word [edi], ax
add edi, ebp
movss xmm0, dword [ebx + esi*4 + 0x18]
movss dword [esp + 0x64], xmm0
fld dword [esp + 0x64]
fistp word [esp + 0x28]
movzx eax, word [esp + 0x28]
mov word [edi], ax
add edi, ebp
movss xmm0, dword [ebx + esi*4 + 0x1c]
movss dword [esp + 0x64], xmm0
fld dword [esp + 0x64]
fistp word [esp + 0x2c]
movzx eax, word [esp + 0x2c]
mov word [edi], ax
add edi, ebp
movss xmm0, dword [ebx + esi*4 + 0x20]
movss dword [esp + 0x64], xmm0
fld dword [esp + 0x64]
fistp word [esp + 0x30]
movzx eax, word [esp + 0x30]
mov word [edi], ax
add edi, ebp
movss xmm0, dword [ebx + esi*4 + 0x24]
movss dword [esp + 0x64], xmm0
fld dword [esp + 0x64]
fistp word [esp + 0x34]
movzx eax, word [esp + 0x34]
mov word [edi], ax
add edi, ebp
movss xmm0, dword [ebx + esi*4 + 0x28]
movss dword [esp + 0x64], xmm0
fld dword [esp + 0x64]
fistp word [esp + 0x38]
movzx eax, word [esp + 0x38]
mov word [edi], ax
add edi, ebp
movss xmm0, dword [ebx + esi*4 + 0x2c]
movss dword [esp + 0x64], xmm0
fld dword [esp + 0x64]
fistp word [esp + 0x3c]
movzx eax, word [esp + 0x3c]
mov word [edi], ax
add edi, ebp
movss xmm0, dword [ebx + esi*4 + 0x30]
movss dword [esp + 0x64], xmm0
fld dword [esp + 0x64]
fistp word [esp + 0x40]
movzx eax, word [esp + 0x40]
mov word [edi], ax
add edi, ebp
movss xmm0, dword [ebx + esi*4 + 0x34]
movss dword [esp + 0x64], xmm0
fld dword [esp + 0x64]
fistp word [esp + 0x44]
movzx eax, word [esp + 0x44]
mov word [edi], ax
add edi, ebp
movss xmm0, dword [ebx + esi*4 + 0x38]
movss dword [esp + 0x64], xmm0
fld dword [esp + 0x64]
fistp word [esp + 0x48]
movzx eax, word [esp + 0x48]
mov word [edi], ax
add edi, ebp
movss xmm0, dword [ebx + esi*4 + 0x3c]
movss dword [esp + 0x64], xmm0
fld dword [esp + 0x64]
fistp word [esp + 0x4c]
movzx eax, word [esp + 0x4c]
add esi, 0x10
mov word [edi], ax
add edi, ebp
fnstsw word [esp + 0x50]
test byte [esp + 0x50], 1
je 0x100c256a
fnstenv [esp + 0x68]
and dword [esp + 0x6c], 0xfffffffe
fldenv [esp + 0x68]
lea eax, [esp + 0x58]
push eax
push esi
lea eax, [esi - 0x10]
push eax
push edx
push ebx
push ecx
call fcn.100c3cd0
mov ecx, dword [esp + 0x6c]
add esp, 0x18
mov edx, dword [esp + 0x90]
cmp esi, dword [esp + 0x60]
jb 0x100c2350
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x98]
push esi
push edx
push ebx
push ecx
call fcn.100c3cd0
mov ebx, dword [esp + 0x74]
add esp, 0x18
mov ecx, dword [esp + 0x54]
inc ebx
mov edx, dword [esp + 0x90]
add ecx, 2
mov eax, dword [esp + 0x60]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x54], ecx
cmp ebx, edx
jb 0x100c2330
mov eax, dword [esp + 0x58]
pop edi
pop ebp
mov esi, dword [esp + 0x8c]
lea ecx, [esi*2 - 2]
imul ecx, edx
mov edx, dword [esp + 0x80]
pop esi
pop ebx
add ecx, dword [esp + 0x44]
mov dword [edx], ecx
add esp, 0x74
ret