Function at 0x47d768
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
test dl, dl
je 0x47d77d
add esp, 0xfffffff0
call fcn.00403dcc
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x47da3f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
xor eax, eax
call fcn.004030f4
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00409684
mov edx, dword [ebp - 4]
lea eax, [esi + 4]
call fcn.00405100
mov byte [esi + 0x13], 0
mov byte [esi + 8], 0
lea eax, [esi + 0xc]
call fcn.00404f5c
mov byte [esi + 0x10], 0
mov byte [esi + 0x11], 0
mov byte [esi + 0x12], 0
lea eax, [esi + 0x14]
call fcn.00404f5c
lea eax, [esi + 0x18]
call fcn.00404f5c
lea eax, [esi + 0x1c]
call fcn.00404f5c
xor eax, eax
mov dword [esi + 0x20], eax
mov byte [esi + 0x24], 0
mov byte [esi + 0x25], 0
mov dword [esi + 0x28], 0x32
mov dword [esi + 0x2c], 0x32
mov dword [esi + 0x30], 0x32
mov dword [esi + 0x34], 0x64
xor eax, eax
mov dword [esi + 0x38], eax
mov byte [esi + 0x3c], 0
mov byte [esi + 0x3d], 0
mov byte [esi + 0x3e], 0
mov byte [esi + 0x3f], 0
mov byte [esi + 0x40], 1
mov byte [esi + 0x41], 1
mov byte [esi + 0x42], 1
mov dword [esi + 0x44], 0x32
xor eax, eax
mov dword [esi + 0x48], eax
mov byte [esi + 0x4c], 1
lea eax, [esi + 0x50]
mov edx, 0x47da68
call fcn.00404f98
mov byte [esi + 0x54], 1
mov dword [esi + 0x58], 0x1d4c0
xor eax, eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], 1
xor eax, eax
mov dword [esi + 0x64], eax
xor eax, eax
mov dword [esi + 0x68], eax
mov byte [esi + 0x6c], 0
mov byte [esi + 0x6d], 0
mov byte [esi + 0x6e], 0
mov dword [esi + 0x70], 1
mov dword [esi + 0x74], 1
mov dword [esi + 0x78], 1
mov byte [esi + 0x7c], 0
mov byte [esi + 0x7d], 0
mov byte [esi + 0x7e], 0
mov byte [esi + 0x7f], 0
mov byte [esi + 0x80], 0
mov byte [esi + 0x81], 0
mov byte [esi + 0x82], 1
mov byte [esi + 0x83], 0
mov byte [esi + 0x84], 0
mov byte [esi + 0x85], 1
mov byte [esi + 0x86], 0
mov byte [esi + 0x87], 0
mov dword [esi + 0x88], 0x12c
lea eax, [esi + 0x8c]
mov edx, 0x47da80
call fcn.00404f98
lea eax, [esi + 0x90]
mov edx, 0x47da94
call fcn.00404f98
mov dword [esi + 0x94], 0xa
mov dword [esi + 0x98], 0x64
mov dword [esi + 0x9c], 0xa
mov dword [esi + 0xa0], 0x64
mov byte [esi + 0xa4], 1
mov byte [esi + 0xa5], 1
lea eax, [esi + 0xa8]
call fcn.00404f5c
xor eax, eax
mov dword [esi + 0xac], eax
xor eax, eax
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], 0x32
mov dword [esi + 0xb8], 0x80
mov byte [esi + 0xbc], 1
lea eax, [esi + 0xc0]
mov edx, 0x47daa8
call fcn.00404f98
mov byte [esi + 0xc4], 1
mov byte [esi + 0xc5], 1
mov byte [esi + 0xc6], 0
mov byte [esi + 0xc7], 0
mov byte [esi + 0xc8], 0
mov byte [esi + 0xc9], 0
mov byte [esi + 0xca], 0
mov byte [esi + 0xcb], 0
lea eax, [esi + 0xcc]
call fcn.00404f5c
lea eax, [esi + 0xd0]
call fcn.00404f5c
lea eax, [esi + 0xd4]
call fcn.00404f5c
lea eax, [esi + 0xd8]
call fcn.00404f5c
lea eax, [esi + 0xdc]
call fcn.00404f5c
lea eax, [esi + 0xe0]
call fcn.00404f5c
xor eax, eax
mov dword [esi + 0xe4], eax
xor eax, eax
mov dword [esi + 0xe8], eax
xor eax, eax
mov dword [esi + 0xec], eax
xor eax, eax
mov dword [esi + 0xf0], eax
xor eax, eax
mov dword [esi + 0xf4], eax
xor eax, eax
mov dword [esi + 0xf8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47da46
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404858
ret