Function at 0x50aeb0
Capabilities:
Access peb ldr_data
Enumerate pe sections
Get number of processors
Get process heap force flags

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a4650
push eax
mov dword fs:[0], esp
sub esp, 0x30
push esi
mov esi, dword [esp + 0x48]
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0xc]
mov edi, dword [esp + 0x48]
push esi
mov dword [edi], eax
call fcn.0050ae80
add esp, 4
test eax, eax
je 0x50b10d
mov edx, dword [esi]
push ebx
push ebp
mov ecx, esi
call dword [edx + 0x64]
mov ebp, eax
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.00438560
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 4]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x18], edx
call fcn.00437450
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov eax, dword [ebp]
add esp, 4
mov ecx, ebp
call dword [eax + 0x80]
mov dword [edi + 0xc], eax
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x84]
mov dword [edi + 0x10], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x50]
mov word [edi + 0x14], ax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x12c]
mov ecx, ebp
mov word [edi + 0x16], ax
call fcn.0044a540
mov ecx, ebp
mov dword [edi + 0x18], eax
call fcn.0044c430
mov ecx, esi
mov dword [edi + 0x1c], eax
call fcn.00423e10
test eax, eax
jne 0x50afd2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
test eax, eax
je 0x50af9e
push 0x5b3634
mov ecx, esi
call fcn.00591e20
test eax, eax
je 0x50af9e
mov ebx, esi
jmp 0x50afa0
xor ebx, ebx
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xe8]
mov dword [edi + 0x20], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xf8]
mov dword [edi + 0x24], eax
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xf0]
mov dword [edi + 0x28], eax
mov ebx, dword [ebx + 0x1d8]
mov dword [edi + 0x2c], ebx
jmp 0x50afe0
xor eax, eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
push esi
call fcn.0050abd0
push esi
mov dword [edi + 0x30], eax
call fcn.0050b8c0
add esp, 8
mov ecx, esi
mov dword [edi + 0x34], eax
call fcn.00424d00
mov dword [edi + 0x38], eax
lea eax, [esi + 0x20]
mov edx, dword [eax]
lea ecx, [edi + 0x3c]
mov dword [ecx], edx
mov dx, word [eax + 4]
mov word [ecx + 4], dx
mov al, byte [eax + 6]
mov byte [ecx + 6], al
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xbc]
mov ebx, eax
push ebx
call fcn.00404810
add esp, 4
test eax, eax
je 0x50b052
lea eax, [ebx + 0x10]
mov edx, dword [eax]
lea ecx, [edi + 0x43]
mov dword [ecx], edx
mov al, byte [eax + 4]
mov byte [ecx + 4], al
add ebx, 0x15
mov edx, dword [ebx]
lea ecx, [edi + 0x48]
mov dword [ecx], edx
mov al, byte [ebx + 4]
mov byte [ecx + 4], al
jmp 0x50b05a
mov byte [edi + 0x43], 0
mov byte [edi + 0x48], 0
mov ebp, dword [ebp + 0x24]
mov dword [edi + 0x50], ebp
mov edx, dword [esi]
push 0x22
mov ecx, esi
call dword [edx + 0x18]
lea ecx, [esp + 0x20]
mov dword [edi + 0x54], eax
call fcn.00459e30
mov eax, dword [esi]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
mov dword [esp + 0x4c], 0
call dword [eax + 0x7c]
or ebx, 0xffffffff
lea ecx, [esp + 0x20]
mov dword [edi + 0x74], eax
mov dword [esp + 0x48], ebx
call fcn.00459e50
lea ecx, [esp + 0x54]
call fcn.0056bc10
mov edx, dword [esi]
push 0x18
lea eax, [esp + 0x58]
push eax
mov ecx, esi
mov dword [esp + 0x50], 1
call dword [edx + 0x24]
mov ecx, dword [esp + 0x54]
push ecx
lea edx, [edi + 0x58]
push edx
call fcn.00587c9a
add esi, 0x10
mov eax, dword [esi]
add edi, 0x64
mov dword [edi], eax
mov ecx, dword [esi + 4]
mov dword [edi + 4], ecx
mov edx, dword [esi + 8]
mov dword [edi + 8], edx
mov eax, dword [esi + 0xc]
add esp, 8
lea ecx, [esp + 0x54]
mov dword [edi + 0xc], eax
mov dword [esp + 0x48], ebx
call fcn.0056bd20
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
mov ecx, dword [esp + 0x38]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x3c
ret