Function at 0x10016110
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10038647
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x1007d00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0xa0], ebx
mov edx, dword [ebx]
lea esi, [edx + 0x30]
mov ecx, 0x21
lea edi, [ebp - 0x98]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x18], eax
movss xmm0, dword [ebp + 0x14]
movss dword [ebx + 0x30], xmm0
mov ecx, dword [ebp + 0x18]
mov dword [ebx + 0x1c], ecx
mov eax, dword [edx + 0xc]
mov dword [ebx + 4], eax
mov eax, dword [edx + 0x10]
mov dword [ebx + 8], eax
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], ecx
mov eax, dword [ebp - 0x2c]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10075730]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [edx + 0xc8]
divss xmm0, dword [0x100756e0]
call fcn.10035e20
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x2c], 0
test byte [ebp - 0x38], 0x19
je 0x1001620c
xor esi, esi
cmp byte [ebp + esi*4 - 0x6c], 0
jne 0x100161ea
cmp byte [ebp + esi*4 - 0x6b], 0
jne 0x100161ea
cmp byte [ebp + esi*4 - 0x6a], 0
je 0x100161fc
lea eax, [ebp - 0x9c]
push eax
call fcn.10033810
mov eax, dword [eax]
mov dword [ebp + esi*4 - 0x6c], eax
cmp dword [ebp + esi*4 - 0x94], 0x64
je 0x1001620c
inc esi
cmp esi, 0xa
jl 0x100161d5
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0x14]
cmp ecx, edx
jbe 0x10016220
add eax, ecx
mov dword [ebx + 0x3c], eax
jmp 0x10016229
add eax, edx
mov dword [ebx + 0x3c], eax
cmp ecx, edx
jb 0x1001622b
mov ecx, edx
shr ecx, 1
inc ecx
add eax, ecx
mov dword [ebx + 0x38], eax
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10035ceb
mov dword [ebx + 0x34], eax
mov ecx, dword [ebx + 0x38]
shl ecx, 2
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
push dword [ebx + 0x34]
push dword [ebx + 0x3c]
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x94]
push eax
push ecx
call fcn.100335a0
mov edx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x34]
lea edi, [eax + edx*4]
mov ecx, dword [ebx + 0x38]
sub ecx, edx
je 0x1001628a
mov eax, dword [edi - 4]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x3c]
add eax, eax
mov dword [ebx + 0x44], eax
mov dword [ebp - 4], 0
wait
push 0x18
call fcn.100351a1
add esp, 4
mov dword [ebp - 0xa4], eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x9c], 0
mov ecx, dword [ebx + 0x44]
lea edx, [ebp - 0x9c]
push edx
sub esp, 8
push ecx
push ecx
mov ecx, eax
call fcn.10016750
mov byte [ebp - 4], 0
mov dword [ebx + 0x40], eax
wait
mov dword [ebp - 4], 0xffffffff
cmp dword [ebx + 0x40], 0
je 0x10016308
mov dword [ebx + 0x28], 1
xor eax, eax
jmp 0x1001630d
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10034b1d
mov esp, ebp
pop ebp
ret 0x14