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

Disassembly:
push 0xffffffffffffffff
push 0x44b014
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push ebp
mov ebp, ecx
mov ecx, dword [esp + 0xa0]
mov eax, dword [ebp + 0x3c]
xor ebx, ebx
mov dword [esp + 0x8c], ecx
cmp ecx, ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], eax
jne 0x41eba7
lea ecx, [esp + 0x4c]
push ecx
push eax
call dword [0x44c450]
mov dword [esp + 0x44], eax
jmp 0x41ebab
mov dword [esp + 0x44], ecx
push esi
push edi
mov eax, dword [ebp + 0x3c]
lea edx, [esp + 0x38]
push edx
push eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call dword [0x44c434]
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x44]
push eax
mov byte [esp + 0xa4], 3
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
call dword [0x44c040]
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
sub ecx, esi
sub eax, edi
push eax
mov eax, dword [esp + 0x1c]
push ecx
push eax
call dword [0x44c084]
mov ecx, dword [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x34], eax
call dword [0x44c048]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
push ebx
neg edx
neg eax
push edx
push eax
lea ecx, [esp + 0x20]
call fcn.0041f030
mov ecx, dword [ebp + 0x3c]
mov edx, dword [esp + 0x14]
push ecx
push edx
mov ecx, ebp
mov byte [esp + 0xa8], 4
call fcn.00423fe0
mov eax, dword [0x454050]
mov dword [esp + 0x10], eax
mov ecx, dword [eax - 0xc]
lea esi, [eax - 0xc]
cmp ecx, 1
mov byte [esp + 0xa0], 5
mov edi, 0x64
mov dword [esp + 0x48], esi
jg 0x41eca2
cmp dword [eax - 4], edi
jge 0x41ecfb
mov eax, dword [eax - 8]
cmp eax, edi
mov dword [esp + 0x34], eax
jle 0x41ecaf
mov edi, eax
push edi
lea ecx, [esp + 0x14]
call fcn.00401820
test eax, eax
je 0x41ecfb
mov eax, dword [esp + 0x34]
lea edx, [edi + edi + 2]
lea ecx, [eax + eax + 2]
cmp edx, ecx
jb 0x41ece6
mov edi, dword [esp + 0x10]
mov eax, ecx
add esi, 0xc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
push esi
mov dword [ecx - 8], edx
call fcn.004018c0
mov eax, dword [esp + 0x10]
push 0x64
push eax
mov eax, dword [ebp + 0x3c]
push eax
call dword [0x44c468]
lea ecx, [esp + 0x10]
call fcn.0040a9c0
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x44c2c4]
mov edx, dword [esp + 0x10]
pop edi
pop esi
mov dword [edx - 8], eax
mov ecx, dword [esp + 8]
mov word [ecx + eax*2], bx
mov eax, dword [ebp + 0x68]
cmp eax, ebx
jne 0x41ed6c
mov edx, dword [ebp + 0x30]
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x28]
push 0xff
push edx
mov edx, dword [ebp + 0x64]
push eax
mov eax, dword [ebp + 0x24]
push ecx
push edx
mov edx, dword [ebp + 0x20]
lea ecx, [esp + 0x44]
push eax
push ecx
mov ecx, dword [esp + 0x28]
add ebp, 0x1c
push edx
lea eax, [esp + 0x28]
push ebp
push eax
push ecx
call fcn.004224e0
add esp, 0x2c
mov eax, dword [esp + 8]
mov ecx, dword [0x454054]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x41ed9b
add eax, 0xfffffff4
push eax
call dword [0x44c268]
test eax, eax
jg 0x41ed9b
mov eax, dword [esp + 8]
add eax, 0xfffffff4
push eax
call fcn.0042a5ee
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
push 0xcc0020
push eax
push ecx
push edx
mov edx, dword [esp + 0x30]
sub edx, eax
mov byte [esp + 0xa8], 6
push edx
mov edx, dword [esp + 0x30]
sub edx, ecx
push edx
push eax
mov eax, dword [esp + 0x2c]
push ecx
push eax
call dword [0x44c050]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0xc]
push ecx
push edx
call dword [0x44c048]
lea ecx, [esp + 0x24]
call fcn.00417c80
lea ecx, [esp + 0xc]
mov byte [esp + 0x98], 1
call fcn.004130c0
lea ecx, [esp + 0x44]
mov byte [esp + 0x98], bl
call fcn.0040b080
mov ecx, dword [esp + 0x90]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x94
ret 4