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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10039c95
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x1007d00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
lea edi, [ebx + 0x30]
mov esi, dword [ebp + 0x18]
mov ecx, 0x21
mov dword [ebx + 4], eax
sub esp, 0x28
mov eax, dword [ebp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 0x88]
mov dword [ebx + 8], eax
shr eax, 0xf
not eax
mov dword [ebx + 0xc], ecx
and eax, 1
mov dword [ebx + 0x2c], edi
mov dword [ebx + 0xe0], eax
mov eax, esp
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x20], ecx
mov dword [ebx + 0x24], ecx
mov dword [ebp + 0x18], eax
mov dword [ebp + 8], esp
mov dword [eax + 0x24], 0
mov dword [ebp - 4], 0
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_a00c53f6f286e26eb669822b8bf8daed___class_CAudioMeter____.0
mov dword [eax + 4], ebx
mov dword [eax + 0x24], eax
mov dword [ebp - 4], 1
lea ecx, [ebx + 0xe4]
push dword [ebx + 0xe0]
mov dword [ebp - 4], 0xffffffff
call fcn.1002a610
mov esi, dword [ebx + 0x84]
mov eax, 0x3e8
test esi, esi
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0xc4], ecx
cmove esi, eax
mov ecx, dword [ebx + 0x90]
xor edx, edx
mov dword [ebx + 0xc8], ecx
div edi
xor edx, edx
movss xmm1, dword [0x100756f0]
mov ecx, eax
mov dword [ebx + 0xd0], 0
mov eax, esi
mov dword [ebx + 0xcc], 0
div ecx
push 0x1004
mov dword [ebx + 0xd4], 0x400
mov dword [ebx + 0xd8], 0x401
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10075730]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [ebx + 0xc0], xmm1
call fcn.10035ceb
mov ecx, dword [ebx + 0xd8]
shl ecx, 2
push ecx
push 0
push eax
mov dword [ebx + 0xdc], eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebx + 0xd4]
lea edx, [ebx + 0x34]
add esp, 0x10
mov dword [ebx + 0xb4], eax
xor eax, eax
mov ecx, edx
inc eax
cmp dword [ecx], 0x64
je 0x100297c1
add ecx, 4
cmp eax, 0xa
jl 0x100297b1
jmp 0x100297c5
test eax, eax
jne 0x10029840
mov dword [ebp + 8], 0
lea ecx, [ebx + 0x5c]
mov eax, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ebp + 8], 0xff0000
mov eax, dword [ebp + 8]
mov dword [ebx + 0x60], eax
mov dword [ebp + 8], 0xff00
mov eax, dword [ebp + 8]
mov dword [ebx + 0x64], eax
mov dword [ebp + 8], 0xffff
mov eax, dword [ebp + 8]
mov dword [ebx + 0x68], eax
mov dword [ebp + 8], 0xff
mov eax, dword [ebp + 8]
mov dword [ebx + 0x6c], eax
mov dword [ebp + 8], 0xff
mov eax, dword [ebp + 8]
mov dword [edx], 0
mov dword [ebx + 0x38], 0xa
mov dword [ebx + 0x3c], 0x1e
mov dword [ebx + 0x40], 0x32
mov dword [ebx + 0x44], 0x50
mov dword [ebx + 0x48], 0x64
mov dword [ebx + 0x70], eax
jmp 0x10029843
lea ecx, [ebx + 0x5c]
push dword [ebx + 0xdc]
push dword [ebx + 0xd8]
push ecx
push edx
push ecx
call fcn.100335a0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14