Function at 0x56bf20
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73e7b9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
push esi
push edi
mov eax, dword [0x857060]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], edi
lea esi, [edi + 8]
mov word [edi], 0
mov byte [edi + 2], 0
mov dword [ebp - 0x14], esi
push 0x40
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006d0976
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [esi + 8], 0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 7
mov word [edi + 0x20], ax
mov byte [ebp - 4], 1
mov ecx, edi
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], eax
call fcn.0056c8f0
push 0x98
call fcn.006d0976
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
push 0x98
push 0
push esi
call fcn.006e9470
xor eax, eax
mov dword [esi + 0x10], 0
add esp, 0xc
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edi, [esi + 0x18]
mov byte [ebp - 4], 3
mov dword [ebp - 0x20], edi
mov ecx, edi
push eax
push 0x799430
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
call fcn.00426d40
mov byte [ebp - 4], 4
lea esi, [edi + 0x44]
mov dword [edi + 0x1c], 0
mov byte [edi + 0x38], 0
mov byte [edi + 0x39], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [ebp - 0x18], esi
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.006d0976
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
lea eax, [esi + 0x14]
push eax
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call esi
lea eax, [edi + 0x20]
mov dword [edi + 0x70], 0
push eax
mov dword [edi + 0x74], 0
call esi
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.0054e590
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x1c]
mov dword [esi + 0x94], 0
mov word [esi + 0x90], 0
push 0x10
mov dword [edi + 0x14], esi
call fcn.006d0976
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 6
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push 0x40
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006d0976
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3c]
push 0xb
xor eax, eax
mov dword [esi + 8], 0
push str.environment
mov dword [esi + 0xc], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
call fcn.00426d40
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 8
push eax
mov ecx, esi
call fcn.005541a0
push 4
push str.PROD
mov ecx, eax
call fcn.00426d40
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 7
call fcn.00426ce0
push 9
xor eax, eax
mov dword [ebp - 0x44], 0
push str.appLocale
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
call fcn.00426d40
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 9
push eax
mov ecx, esi
call fcn.005541a0
push 5
push str.en_US
mov ecx, eax
call fcn.00426d40
lea ecx, [ebp - 0x54]
call fcn.00426ce0
mov byte [ebp - 4], 1
push 0x64
mov dword [edi + 0x18], esi
call fcn.006d0976
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
push 0x64
push 0
push esi
mov byte [ebp - 4], 0xa
call fcn.006e9470
add esp, 0xc
mov ecx, esi
push dword [edi + 0x18]
call fcn.00574020
mov dword [edi + 0x1c], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret