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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov ecx, dword [eax]
xor esi, esi
push edi
mov edi, dword [ebp + 0x10]
mov eax, edi
and eax, 0xfffffff0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
jbe 0x100c20c3
mov edi, ecx
nop word [eax + eax]
movsd xmm0, qword [ebx + esi*8]
movsd qword [esp + 0x5c], xmm0
fld qword [esp + 0x5c]
fistp word [esp + 0xc]
movzx eax, word [esp + 0xc]
mov word [edi], ax
movsd xmm0, qword [ebx + esi*8 + 8]
movsd qword [esp + 0x5c], xmm0
fld qword [esp + 0x5c]
fistp word [esp + 0x10]
movzx eax, word [esp + 0x10]
mov word [edi + 2], ax
movsd xmm0, qword [ebx + esi*8 + 0x10]
movsd qword [esp + 0x5c], xmm0
fld qword [esp + 0x5c]
fistp word [esp + 0x14]
movzx eax, word [esp + 0x14]
mov word [edi + 4], ax
movsd xmm0, qword [ebx + esi*8 + 0x18]
movsd qword [esp + 0x5c], xmm0
fld qword [esp + 0x5c]
fistp word [esp + 0x18]
movzx eax, word [esp + 0x18]
mov word [edi + 6], ax
movsd xmm0, qword [ebx + esi*8 + 0x20]
movsd qword [esp + 0x5c], xmm0
fld qword [esp + 0x5c]
fistp word [esp + 0x1c]
movzx eax, word [esp + 0x1c]
mov word [edi + 8], ax
movsd xmm0, qword [ebx + esi*8 + 0x28]
movsd qword [esp + 0x5c], xmm0
fld qword [esp + 0x5c]
fistp word [esp + 0x20]
movzx eax, word [esp + 0x20]
mov word [edi + 0xa], ax
movsd xmm0, qword [ebx + esi*8 + 0x30]
movsd qword [esp + 0x5c], xmm0
fld qword [esp + 0x5c]
fistp word [esp + 0x24]
movzx eax, word [esp + 0x24]
mov word [edi + 0xc], ax
movsd xmm0, qword [ebx + esi*8 + 0x38]
movsd qword [esp + 0x5c], xmm0
fld qword [esp + 0x5c]
fistp word [esp + 0x28]
movzx eax, word [esp + 0x28]
mov word [edi + 0xe], ax
movsd xmm0, qword [ebx + esi*8 + 0x40]
movsd qword [esp + 0x5c], xmm0
fld qword [esp + 0x5c]
fistp word [esp + 0x2c]
movzx eax, word [esp + 0x2c]
mov word [edi + 0x10], ax
movsd xmm0, qword [ebx + esi*8 + 0x48]
movsd qword [esp + 0x5c], xmm0
fld qword [esp + 0x5c]
fistp word [esp + 0x30]
movzx eax, word [esp + 0x30]
mov word [edi + 0x12], ax
movsd xmm0, qword [ebx + esi*8 + 0x50]
movsd qword [esp + 0x5c], xmm0
fld qword [esp + 0x5c]
fistp word [esp + 0x34]
movzx eax, word [esp + 0x34]
mov word [edi + 0x14], ax
movsd xmm0, qword [ebx + esi*8 + 0x58]
movsd qword [esp + 0x5c], xmm0
fld qword [esp + 0x5c]
fistp word [esp + 0x38]
movzx eax, word [esp + 0x38]
mov word [edi + 0x16], ax
movsd xmm0, qword [ebx + esi*8 + 0x60]
movsd qword [esp + 0x5c], xmm0
fld qword [esp + 0x5c]
fistp word [esp + 0x3c]
movzx eax, word [esp + 0x3c]
mov word [edi + 0x18], ax
movsd xmm0, qword [ebx + esi*8 + 0x68]
movsd qword [esp + 0x5c], xmm0
fld qword [esp + 0x5c]
fistp word [esp + 0x40]
movzx eax, word [esp + 0x40]
mov word [edi + 0x1a], ax
movsd xmm0, qword [ebx + esi*8 + 0x70]
movsd qword [esp + 0x5c], xmm0
fld qword [esp + 0x5c]
fistp word [esp + 0x44]
movzx eax, word [esp + 0x44]
mov word [edi + 0x1c], ax
movsd xmm0, qword [ebx + esi*8 + 0x78]
movsd qword [esp + 0x5c], xmm0
fld qword [esp + 0x5c]
fistp word [esp + 0x48]
movzx eax, word [esp + 0x48]
add esi, 0x10
mov word [edi + 0x1e], ax
lea edi, [edi + 0x20]
fnstsw word [esp + 0x4c]
test byte [esp + 0x4c], 1
je 0x100c20b6
fnstenv [esp + 0x64]
and dword [esp + 0x68], 0xfffffffe
fldenv [esp + 0x64]
lea eax, [esp + 0x50]
push eax
push esi
lea eax, [esi - 0x10]
push eax
push 1
push ebx
push ecx
call fcn.100c4690
mov ecx, dword [esp + 0x6c]
add esp, 0x18
cmp esi, dword [esp + 0x58]
jb 0x100c1eb0
mov edi, dword [ebp + 0x10]
lea eax, [esp + 0x50]
push eax
push edi
push esi
push 1
push ebx
push ecx
call fcn.100c4690
mov eax, dword [esp + 0x6c]
add esp, 0x18
mov ecx, dword [ebp + 8]
lea eax, [eax + edi*2]
pop edi
pop esi
mov dword [ecx], eax
mov eax, dword [esp + 0x48]
pop ebx
mov esp, ebp
pop ebp
ret