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

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x8e59b7
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov eax, edi
mov edx, dword [esi + 0x28]
call fcn.004040dc
lea eax, [edi + 4]
mov edx, 0x8e59d0
call fcn.004040dc
lea eax, [edi + 8]
call fcn.00404088
lea eax, [edi + 0xc]
mov edx, 0x8e59dc
call fcn.004040dc
lea eax, [edi + 0x10]
call fcn.00404088
lea eax, [edi + 0x14]
call fcn.00404088
lea eax, [edi + 0x18]
mov edx, 0x8e59e8
call fcn.004040dc
lea eax, [edi + 0x1c]
mov edx, 0x8e59e8
call fcn.004040dc
lea eax, [edi + 0x20]
mov edx, 0x8e59e8
call fcn.004040dc
lea eax, [edi + 0x24]
mov edx, 0x8e59e8
call fcn.004040dc
lea eax, [edi + 0x28]
mov edx, 0x8e59e8
call fcn.004040dc
lea eax, [edi + 0x2c]
call fcn.00404088
lea eax, [edi + 0x30]
call fcn.00404088
lea eax, [edi + 0x34]
call fcn.00404088
lea eax, [edi + 0x38]
call fcn.00404088
lea eax, [edi + 0x3c]
call fcn.00404088
lea eax, [edi + 0x40]
call fcn.00404088
lea eax, [edi + 0x44]
call fcn.00404088
lea eax, [edi + 0x48]
call fcn.00404088
lea eax, [edi + 0x4c]
call fcn.00404088
lea eax, [edi + 0x50]
call fcn.00404088
lea eax, [edi + 0x54]
call fcn.00404088
lea eax, [edi + 0x58]
call fcn.00404088
lea eax, [edi + 0x5c]
call fcn.00404088
lea eax, [edi + 0x60]
call fcn.00404088
lea eax, [edi + 0x64]
mov edx, 0x8e59dc
call fcn.004040dc
lea eax, [edi + 0x68]
call fcn.00404088
lea eax, [edi + 0x6c]
mov edx, 0x8e59e8
call fcn.004040dc
lea eax, [edi + 0x70]
call fcn.00404088
lea eax, [edi + 0x74]
call fcn.00404088
lea eax, [edi + 0x78]
call fcn.00404088
lea eax, [edi + 0x7c]
call fcn.00404088
lea eax, [edi + 0x80]
call fcn.00404088
lea eax, [edi + 0x84]
call fcn.00404088
lea eax, [edi + 0x88]
call fcn.00404088
lea eax, [edi + 0x8c]
call fcn.00404088
lea eax, [edi + 0x90]
mov edx, 0x8e59dc
call fcn.004040dc
lea eax, [edi + 0x94]
mov edx, 0x8e59dc
call fcn.004040dc
lea eax, [edi + 0x98]
mov edx, 0x8e59dc
call fcn.004040dc
lea eax, [edi + 0x9c]
mov edx, 0x8e59dc
call fcn.004040dc
lea eax, [edi + 0xa0]
mov edx, 0x8e59dc
call fcn.004040dc
lea eax, [edi + 0xa4]
call fcn.00404088
lea eax, [edi + 0xa8]
mov edx, 0x8e59dc
call fcn.004040dc
lea eax, [edi + 0xac]
mov edx, 0x8e59dc
call fcn.004040dc
lea eax, [edi + 0xb0]
mov edx, 0x8e59dc
call fcn.004040dc
lea eax, [edi + 0xb4]
mov edx, 0x8e59dc
call fcn.004040dc
lea eax, [edi + 0xb8]
call fcn.00404088
lea eax, [edi + 0xbc]
mov edx, 0x8e59f8
call fcn.004040dc
lea edx, [ebp - 4]
mov eax, dword [esi + 0x18]
call fcn.0040a8e8
mov edx, dword [ebp - 4]
lea eax, [edi + 0xc0]
call fcn.004040dc
lea edx, [ebp - 8]
mov eax, dword [esi + 0x1c]
call fcn.0040a8e8
mov edx, dword [ebp - 8]
lea eax, [edi + 0xc4]
call fcn.004040dc
lea eax, [edi + 0xc8]
call fcn.00404088
lea eax, [edi + 0xcc]
call fcn.00404088
lea eax, [edi + 0xd0]
call fcn.00404088
lea eax, [edi + 0xd4]
call fcn.00404088
lea eax, [edi + 0xd8]
mov edx, 0x8e59dc
call fcn.004040dc
lea eax, [edi + 0xdc]
call fcn.00404088
lea eax, [edi + 0xe0]
call fcn.00404088
lea eax, [edi + 0xe4]
call fcn.00404088
lea eax, [edi + 0xe8]
mov edx, 0x8e59e8
call fcn.004040dc
lea eax, [edi + 0xec]
call fcn.00404088
lea eax, [edi + 0xf0]
call fcn.00404088
lea eax, [edi + 0xf4]
call fcn.00404088
lea eax, [edi + 0xf8]
call fcn.00404088
lea eax, [edi + 0xfc]
call fcn.00404088
lea eax, [edi + 0x100]
call fcn.00404088
lea eax, [edi + 0x104]
call fcn.00404088
lea eax, [edi + 0x108]
call fcn.00404088
lea eax, [edi + 0x10c]
call fcn.00404088
lea eax, [edi + 0x110]
mov edx, 0x8e59dc
call fcn.004040dc
lea eax, [edi + 0x114]
mov edx, 0x8e59dc
call fcn.004040dc
lea eax, [edi + 0x118]
mov edx, 0x8e59dc
call fcn.004040dc
lea eax, [edi + 0x11c]
call fcn.00404088
lea eax, [edi + 0x120]
call fcn.00404088
lea eax, [edi + 0x124]
call fcn.00404088
lea eax, [edi + 0x128]
call fcn.00404088
lea eax, [edi + 0x12c]
call fcn.00404088
lea eax, [edi + 0x130]
call fcn.00404088
lea eax, [edi + 0x134]
call fcn.00404088
lea eax, [edi + 0x138]
call fcn.00404088
lea eax, [edi + 0x13c]
call fcn.00404088
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8e59be
lea eax, [ebp - 8]
mov edx, 2
call fcn.004040ac
ret