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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x459a2c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
call fcn.0040b870
mov dword [edi], 0x45e34c
mov dword [edi + 0x440], 0
mov eax, dword [0x47c158]
mov ecx, dword [eax + 0x870]
mov edx, dword [ecx + 0x10]
push 0
push 0xffffffffffffffff
dec edx
push edx
push 0
lea ecx, [edi + 0x444]
mov dword [esp + 0x54], 0
call fcn.004263f0
mov eax, dword [edi + 0x1a8]
push 0x40813000
push 0
lea esi, [edi + 0x1a8]
push 0x4070e000
mov ebx, 1
push 0
mov ecx, esi
mov byte [esp + 0x54], bl
call dword [eax + 8]
push 0x40100000
push 0
mov ecx, esi
call fcn.004261e0
push 0
mov edx, dword [esi]
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x2c]
mov dword [eax], ecx
mov dword [esp + 0x30], 0
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov dword [esp + 0x34], 0
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
sub esp, 0x10
mov dword [esp + 0x48], 0
mov ecx, dword [esp + 0x48]
mov dword [eax + 0xc], ecx
mov eax, esp
mov dword [esp + 0x4c], 0
mov ecx, dword [esp + 0x4c]
mov dword [eax], ecx
mov dword [esp + 0x50], 0xc0e00000
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], ecx
push 0x40740000
mov dword [esp + 0x58], 0
mov ecx, dword [esp + 0x58]
mov dword [eax + 8], ecx
push 0
mov dword [esp + 0x60], 0xc0e00000
mov ecx, dword [esp + 0x60]
push 0x4070e000
mov dword [eax + 0xc], ecx
push 0
mov ecx, esi
call dword [edx + 0xc]
push 0x40180000
push 0
mov ecx, esi
call fcn.004261e0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0xc0e00000
mov ecx, dword [esp + 0x28]
push 0
mov edx, dword [esi]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x2c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
push 0xc0490000
mov dword [esp + 0x48], 0
mov ecx, dword [esp + 0x48]
mov dword [eax + 8], ecx
push 0
mov dword [esp + 0x50], 0xc0e00000
mov ecx, dword [esp + 0x50]
push 0x4070e000
mov dword [eax + 0xc], ecx
push 0
mov ecx, esi
call dword [edx + 0xc]
push 0x3ff00000
push 0
mov ecx, esi
call fcn.004261e0
mov edx, dword [0x47c158]
mov ecx, dword [edx + 0xa20]
push 0
call fcn.0042d010
mov dword [eax + 0x24], 0x64
mov eax, dword [0x47c158]
mov ecx, dword [eax + 0xa20]
push ebx
call fcn.0042d010
push 0xffffffffffffffff
mov dword [eax + 0x24], 0xbb
mov ecx, dword [0x47c158]
mov ecx, dword [ecx + 0xa20]
push 0
push ebx
call fcn.0042d2c0
push 0x98
call fcn.0044bba8
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
mov byte [esp + 0x44], 2
je 0x40e674
mov edx, dword [0x47c158]
mov ecx, dword [edx + 0xa20]
push 0
call fcn.0042d010
push eax
push 0x4072c000
push 0
push 0x40740000
push 0
mov ecx, esi
call fcn.0042a950
jmp 0x40e676
xor eax, eax
mov byte [esp + 0x44], bl
lea ebx, [edi + 0x10]
push eax
mov ecx, ebx
call fcn.00401210
push 0x98
call fcn.0044bba8
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
mov byte [esp + 0x44], 3
je 0x40e6cb
mov eax, dword [0x47c158]
mov ecx, dword [eax + 0x870]
push 0
call fcn.0042d010
push eax
push 0x40690000
push 0
push 0xc03e0000
push 0
mov ecx, esi
call fcn.0042a950
jmp 0x40e6cd
xor eax, eax
push eax
mov ecx, ebx
mov dword [edi + 0x440], eax
call fcn.00401210
mov ecx, dword [esp + 0x3c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret