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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509675
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5522c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [edi], vtable.CInstallControl.0
mov eax, dword [0x551f18]
mov edx, dword [eax + 0xc]
mov ecx, 0x551f18
call edx
add eax, 0x10
mov dword [edi + 0x54], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [0x551f18]
mov edx, dword [eax + 0xc]
mov ecx, 0x551f18
call edx
add eax, 0x10
mov dword [edi + 0x58], eax
mov byte [ebp - 4], 1
mov eax, dword [0x551f18]
mov edx, dword [eax + 0xc]
mov ecx, 0x551f18
call edx
add eax, 0x10
mov dword [edi + 0x5c], eax
mov byte [ebp - 4], 2
mov eax, dword [0x551f18]
mov edx, dword [eax + 0xc]
mov ecx, 0x551f18
call edx
add eax, 0x10
mov dword [edi + 0x64], eax
mov byte [ebp - 4], 3
mov eax, dword [0x551f18]
mov edx, dword [eax + 0xc]
mov ecx, 0x551f18
call edx
add eax, 0x10
mov dword [edi + 0x68], eax
mov byte [ebp - 4], 4
lea esi, [edi + 0x80]
lea eax, [ebx + 1]
mov dword [esi], ebx
call fcn.0048d880
xor ecx, ecx
mov dword [esi], eax
cmp eax, ebx
je 0x473729
mov dword [eax], ecx
mov dword [eax + 4], ebx
mov eax, dword [esi]
mov dword [eax], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
lea eax, [edi + 0x98]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov dword [edi + 0xb0], vtable.CSHManage.0
mov byte [ebp - 4], 7
mov edx, dword [0x551f18]
mov eax, dword [edx + 0xc]
mov ecx, 0x551f18
call eax
add eax, 0x10
mov dword [edi + 0xb4], eax
mov dword [edi + 0xb8], ebx
mov dword [edi + 0xbc], ebx
mov dword [edi + 0xc0], ebx
lea ecx, [edi + 0xd0]
push ecx
mov byte [ebp - 4], 9
call fcn.0048f7e0
mov dword [edi + 0x1a4], ebx
mov dword [edi + 0x1a8], ebx
mov dword [edi + 0x1ac], ebx
mov byte [ebp - 4], 0xb
mov edx, dword [0x551f18]
mov eax, dword [edx + 0xc]
mov ecx, 0x551f18
call eax
add eax, 0x10
mov dword [edi + 0x1b4], eax
mov cl, byte [ebp + 0xc]
mov byte [ebp - 4], 0xc
push 0x51a1b4
lea eax, [edi + 0x54]
mov dword [edi + 0x48], ebx
mov dword [edi + 0x4c], ebx
mov dword [edi + 0x50], ebx
push eax
xor ebx, ebx
mov byte [edi + 0xc8], cl
call fcn.004594c0
push 0x51a1b4
lea eax, [edi + 0x64]
push eax
call fcn.004594c0
push 0x51a1b4
lea eax, [edi + 0x68]
push eax
call fcn.004594c0
xor eax, eax
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], eax
mov dword [edi + 0x78], eax
push 0x51a1b4
lea eax, [edi + 0xb4]
push eax
mov dword [edi + 0x6c], 1
call fcn.004594c0
push ebx
push ebx
push ebx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
call ebx
push 0
push 0
mov dword [edi + 0xc], eax
push 0
push 0
call ebx
mov dword [edi + 8], eax
xor eax, eax
mov dword [edi + 0x7c], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
push 0x51a1b4
lea eax, [edi + 0x58]
push eax
xor ebx, ebx
call fcn.004594c0
push 0x51a1b4
lea eax, [edi + 0x5c]
push eax
call fcn.004594c0
fldz
fst qword [edi + 0x20]
mov dword [edi + 0x40], 1
fst qword [edi + 0x28]
mov dword [edi + 0x44], ebx
fst qword [edi + 0x30]
fstp qword [edi + 0x38]
call fcn.0048d690
mov dword [edi + 0xcc], ebx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8