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

Disassembly:
push 0xffffffffffffffff
push 0x51e0ae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0050b490
xor ebp, ebp
mov dword [esi + 0x24], 0x524cf0
mov dword [esp + 0x1c], ebp
mov dword [esi + 0x28], 0x64
lea edi, [esi + 0x2c]
mov byte [esp + 0x1c], 1
mov ecx, edi
call fcn.004f8b10
mov al, byte [esp + 0xf]
mov dword [esi + 0x30], 0x524ce0
mov byte [esi + 0x34], al
mov dword [esi + 0x38], ebp
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
lea ecx, [esi + 0x4c]
mov byte [esp + 0x1c], 3
call fcn.004fefd0
lea ecx, [esi + 0xf3c]
mov byte [esp + 0x1c], 4
call fcn.004fefd0
mov dword [esi + 0x1e2c], ebp
mov dword [esi + 0x1e30], ebp
mov dword [esi + 0x1e34], ebp
mov dword [esi + 0x1e38], ebp
mov dword [esi + 0x1e44], ebp
mov dword [esi + 0x1e48], ebp
mov dword [esi + 0x1e4c], ebp
mov dword [esi + 0x1e50], ebp
mov dword [esi + 0x3fa8], ebp
mov dword [esi + 0x3fac], ebp
push ebp
lea ecx, [esi + 0x70a8]
mov byte [esp + 0x20], 7
call fcn.004e7c10
mov dword [esi], 0x524cc4
mov dword [esi + 0x24], 0x524cbc
mov dword [edi], 0x524cb8
mov dword [esi + 0x30], 0x524ca8
mov dword [esi + 0x44], ebp
mov dword [esi + 0x3f18], ebp
mov dword [esi + 0x3f1c], ebp
mov eax, 5
mov dword [esi + 0x3f88], ebp
mov dword [esi + 0x3f54], eax
mov dword [esi + 0x3f5c], ebp
mov dword [esi + 0x3f58], eax
mov dword [esi + 0x3f60], ebp
mov dword [esi + 0x3f64], ebp
mov dword [esi + 0x3f68], 0x1a
mov dword [esi + 0x3f74], ebp
mov dword [esi + 0x3f78], eax
mov dword [esi + 0x3f6c], 3
mov dword [esi + 0x3f8c], ebp
mov dword [esi + 0x3f70], 0x10
mov dword [esi + 0x3f7c], ebp
mov dword [esi + 0x3f80], ebp
mov dword [esi + 0x3f84], 0xa9a9a9
mov dword [esi + 0x3f50], ebp
mov dword [esi + 0x3f4c], ebp
mov dword [esi + 0x3f14], 0x20
mov dword [esi + 0x3f2c], 3
mov dword [esi + 0x1e68], ebp
mov dword [esi + 0x1e6c], ebp
mov dword [esi + 0x1e70], ebp
mov dword [esi + 0x48], ebp
mov dword [esi + 0x3f10], ebp
mov dword [esi + 0x3f20], ebp
mov ecx, 0x412
xor eax, eax
lea edi, [esi + 0x5010]
or edx, 0xffffffff
rep stosd dword es:[edi], eax
mov ecx, 0x412
lea edi, [esi + 0x6058]
rep stosd dword es:[edi], eax
mov ecx, 0x412
lea edi, [esi + 0x3fc8]
rep stosd dword es:[edi], eax
mov dword [esi + 0x1e74], ebp
mov word [esi + 0x1e78], bp
mov word [esi + 0x2ec0], bp
mov dword [esi + 0x3f08], ebp
mov dword [esi + 0x3f0c], ebp
mov dword [esi + 0x70e0], ebp
mov dword [esi + 0x3fc4], 0x12
mov dword [esi + 0x70a4], edx
mov ecx, 0x82
lea edi, [esi + 0x70fc]
mov dword [esi + 0x70a0], edx
mov dword [esi + 0x3fa0], ebp
mov dword [esi + 0x3f90], ebp
mov dword [esi + 0x3fa4], 0x20
mov dword [esi + 0x3f3c], ebp
mov dword [esi + 0x3f28], ebp
mov dword [esi + 0x1e3c], ebp
mov dword [esi + 0x3f24], ebp
mov dword [esi + 0x1e54], ebp
mov dword [esi + 0x3f30], ebp
mov dword [esi + 0x3f34], ebp
mov dword [esi + 0x3f38], ebp
mov dword [esi + 0x3f40], ebp
mov dword [esi + 0x3f94], ebp
mov dword [esi + 0x3f98], ebp
mov dword [esi + 0x1e64], ebp
mov dword [esi + 0x1e5c], ebp
mov dword [esi + 0x1e60], ebp
mov dword [esi + 0x70e8], ebp
mov dword [esi + 0x70e4], ebp
mov dword [esi + 0x70ec], ebp
mov dword [esi + 0x70f0], 1
mov dword [esi + 0x3f9c], edx
mov dword [esi + 0x70f8], ebp
rep stosd dword es:[edi], eax
lea eax, [esi + 0x3fb4]
mov dword [esi + 0x7308], edx
mov edx, eax
xor ecx, ecx
mov dword [esi + 0x7304], ebp
mov dword [esi + 0x70f4], ebp
mov dword [esi + 0x3fb0], 2
mov dword [edx], ecx
pop edi
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax], 0x10
mov dword [esi + 0x730c], ebp
mov dword [esi + 0x1e40], ebp
mov dword [esi + 0x1e58], ebp
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret