Function at 0x44b850
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6e53
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x52cc80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x19c], ebx
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
mov dword [ebx], 0x5142b4
mov dword [ebx + 4], eax
mov byte [ebx + 8], 0
xorps xmm0, xmm0
movq qword [ebx + 0xc], xmm0
push 1
movq qword [ebx + 0x14], xmm0
push 0
mov dword [ebp - 0x1b0], ebx
mov dword [ebx + 0x1c], 0
call edi
mov dword [ebx + 0x20], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov byte [ebp - 4], 1
lea ecx, [ebx + 0x34]
push 0x1000
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
call fcn.00423110
mov byte [ebp - 4], 2
push 0
push 0
mov byte [ebx + 0x40], 0
xorps xmm0, xmm0
movq qword [ebx + 0x44], xmm0
push 1
movq qword [ebx + 0x4c], xmm0
push 0
mov dword [ebx + 0x54], 0
call edi
mov dword [ebx + 0x58], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x68], 0
mov byte [ebp - 4], 4
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [ebx + 0x74]
mov dword [ebx + 0x6c], 0
push eax
mov dword [ebx + 0x70], 0x512c34
call esi
mov byte [ebp - 4], 5
lea ecx, [ebx + 0x8c]
push ecx
mov dword [ebp - 0x1ac], ecx
mov dword [ebp - 0x1b4], ecx
call fcn.0042b9d0
mov byte [ebp - 4], 8
push 0
push 0
push 1
push 0
call edi
mov dword [ebx + 0xa0], eax
mov byte [ebp - 4], 9
lea eax, [ebx + 0xa8]
mov dword [ebx + 0xa4], 0x512c34
push eax
call esi
mov byte [ebp - 4], 0xa
mov ecx, dword [0x531d90]
mov eax, ecx
imul eax, ecx
mov byte [ebx + 0xc0], 1
and eax, 0x8000000f
jns 0x44b9d9
dec eax
or eax, 0xfffffff0
inc eax
cmp eax, 3
jne 0x44ba12
xor edx, edx
mov eax, dword [ebp + edx*4 - 0x18c]
add eax, dword [ebp + edx*4 - 0x190]
add edx, 4
add eax, dword [ebp + edx*4 - 0x1a4]
add eax, dword [ebp + edx*4 - 0x1a8]
imul eax, eax, 0x46
add ecx, eax
cmp edx, 0x188
jb 0x44b9e0
mov dword [0x531d90], ecx
cmp dword [ebx + 0xa0], 0
jne 0x44ba5a
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 0x19c], str.Failure_to_initialize_channel
call fcn.004acc08
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x1a8], 0x513be8
mov byte [ebp - 4], 0xa
push 0x516ca4
lea eax, [ebp - 0x1a8]
push eax
call fcn.004b183b
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x58]
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x54], edx
test eax, eax
je 0x44baf0
test edx, edx
je 0x44baf0
lea edx, [ecx + 2]
lea eax, [ecx + 1]
imul eax, edx
imul eax, ecx
cdq
mov esi, 0xc
idiv esi
cmp edx, 1
jne 0x44bac9
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x64
sub ecx, eax
xor ebx, ebx
lea eax, [ecx + 0x63]
mov ecx, 4
mul ecx
seto bl
neg ebx
or ebx, eax
push ebx
call fcn.004a90f9
push eax
call fcn.004aa18b
mov ebx, dword [ebp - 0x19c]
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a992a
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 0x19c], str.Failed_creating_channel_events
call fcn.004acc08
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x1a8], 0x513be8
mov byte [ebp - 4], 0xa
push 0x516ca4
lea eax, [ebp - 0x1a8]
push eax
call fcn.004b183b
int3