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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x456abe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
call fcn.0040ba10
mov eax, dword [edi + 0x1a8]
push 0x40813000
push 0
lea esi, [edi + 0x1a8]
push 0x4070e000
push 0
mov ecx, esi
mov dword [esp + 0x54], 0
mov dword [edi], 0x45b4c4
mov dword [edi + 0x440], 0
call dword [eax + 8]
push 0x40100000
push 0
mov ecx, esi
call fcn.0041ddd0
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.0041ddd0
mov edx, dword [esi]
push 0
sub esp, 0x10
mov dword [esp + 0x3c], 0
mov ecx, dword [esp + 0x3c]
mov eax, esp
mov dword [eax], ecx
mov dword [esp + 0x40], 0
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
mov dword [esp + 0x44], 0
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x48], 0
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0xc0e00000
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0xc0e00000
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
mov ecx, dword [esp + 0x44]
push 0xc0490000
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x4c]
push 0
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.0041ddd0
mov edx, dword [0x477958]
mov ecx, dword [edx + 0x8b0]
push 0
call fcn.004248d0
mov dword [eax + 0x24], 0x64
mov eax, dword [0x477958]
mov ecx, dword [eax + 0x8b0]
push 1
call fcn.004248d0
push 0xffffffffffffffff
mov dword [eax + 0x24], 0xbb
mov ecx, dword [0x477958]
mov ecx, dword [ecx + 0x8b0]
push 0
push 1
call fcn.00424b80
push 0x98
call fcn.00449098
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
mov byte [esp + 0x44], 1
je 0x40e6dc
mov edx, dword [0x477958]
mov ecx, dword [edx + 0x8b0]
push 0
call fcn.004248d0
push eax
push 0x4072c000
push 0
push 0x40740000
push 0
mov ecx, esi
call fcn.00422220
jmp 0x40e6de
xor eax, eax
lea ebp, [edi + 0x10]
push eax
mov ecx, ebp
mov byte [esp + 0x48], 0
call fcn.00401210
push 0x98
call fcn.00449098
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
mov byte [esp + 0x44], 2
je 0x40e734
mov eax, dword [0x477958]
mov ecx, dword [eax + 0x738]
push 0
call fcn.004248d0
push eax
push 0x40690000
push 0
push 0xc03e0000
push 0
mov ecx, esi
call fcn.00422220
jmp 0x40e736
xor eax, eax
push eax
mov ecx, ebp
mov dword [edi + 0x440], eax
call fcn.00401210
mov ecx, dword [esp + 0x3c]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
mov esp, ebp
pop ebp
ret