Function at 0x4edea4
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ee605
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, 0x4ee620
xor eax, eax
call fcn.004b4498
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], ebx
mov eax, ebx
mov ecx, 0x122
mov edx, 0x1f4
call fcn.004b8d5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b9834
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov byte [eax + 0x495], 0
mov edx, 0x80ca0000
call fcn.004b7130
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b93f0
mov edx, 0xd
call fcn.004b05d0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b93f0
mov edx, 0x4ee648
call fcn.004b05f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, 0xffffff
call fcn.004b8798
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dl, 1
call fcn.004b9afc
xor ecx, ecx
push ebp
push 0x4edf8e
push dword fs:[ecx]
mov dword fs:[ecx], esp
xor edx, edx
xor eax, eax
call fcn.004bcaec
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], ebx
mov ecx, 0x4ee658
mov eax, ebx
mov edx, dword [0x536c50]
call fcn.004bdb40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4edfab
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b4958
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], ebx
mov eax, ebx
xor ecx, ecx
xor edx, edx
call fcn.004c3eec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b8448
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004b8d5c
mov eax, dword [ebp - 4]
push eax
push 0x4ef580
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004b9198
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004c517c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b4ab8
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], ebx
mov eax, ebx
mov ecx, 0x78
mov edx, 0x14
call fcn.004c3eec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b9624
mov edx, eax
sub edx, 0x28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ecx, 0x10
call fcn.004b8d5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
call fcn.004b7d3c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
xor ecx, ecx
xor edx, edx
call fcn.004b4884
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x20], ebx
mov eax, ebx
mov ecx, 0x64
mov edx, 0x14
call fcn.004c3eec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.004b93f0
movzx edx, byte [0x4ee668]
call fcn.004b07fc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov dl, 1
call fcn.004c39fc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.004c517c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.004b7d3c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
xor ecx, ecx
xor edx, edx
call fcn.004b4884
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x24], ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.004b83b0
mov edx, eax
mov eax, ebx
mov ecx, 0x46
call fcn.004c3eec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b9624
mov edx, eax
sub edx, 0x28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov ecx, 0x1c
call fcn.004b8d5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.004b93f0
mov edx, 0x12
call fcn.004b05d0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.004b93f0
movzx edx, byte [0x4ee668]
call fcn.004b07fc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.004c517c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
xor edx, edx
call fcn.004b48fc
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.004b83fc
add eax, 0x19
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.004b83b0
mov edx, eax
mov eax, ebx
pop ecx
call fcn.004c3eec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.004b8448
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ecx, 0x28
call fcn.004b8d5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.004c517c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.004b848c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x28]
mov dword [edx + 0x2e], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
xor edx, edx
call fcn.004b48fc
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x2c], ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.004b83fc
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.004b848c
add esi, eax
add esi, 8
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.004b83b0
mov edx, eax
mov eax, ebx
pop ecx
call fcn.004c3eec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.004b8448
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov ecx, 0x1a
call fcn.004b8d5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.004b93f0
movzx edx, byte [0x4ee668]
call fcn.004b07fc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.004c517c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
xor edx, edx
call fcn.004b48fc
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x30], ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.004b83fc
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.004b848c
add esi, eax
add esi, 5
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.004b83b0
mov edx, eax
mov eax, ebx
pop ecx
call fcn.004c3eec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.004b8448
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov ecx, 0x1a
call fcn.004b8d5c
mov eax, dword [ebp - 4]
push eax
push 0x4efa58
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004b9198
mov eax, dword [ebp - 4]
push eax
push 0x4efa70
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004b70a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 4]
mov dword [eax + 0x474], edx
mov dword [eax + 0x470], 0x4efb04
call fcn.004c517c
mov dl, 1
mov eax, dword [0x4e570c]
call fcn.004e8190
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 8], ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004b8448
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 4]
mov dword [eax + 0x34], edx
mov dword [eax + 0x30], 0x4ef8cc
mov edx, dword [ebp - 4]
mov dword [eax + 0x3c], edx
mov dword [eax + 0x38], 0x4ef954
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dl, 2
call fcn.004b49ac
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x34], ebx
mov eax, ebx
mov edx, 0x8000000f
call fcn.004b8798
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b9624
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ecx, 0x2b
call fcn.004b8d5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b9608
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004b848c
pop ecx
sub ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
xor edx, edx
call fcn.004c3eec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dl, 1
call fcn.004b49ac
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004b8448
mov edx, eax
add edx, 2
mov ecx, 2
mov eax, ebx
call fcn.004b8d5c
xor ecx, ecx
or edx, 0xffffffff
mov eax, ebx
call fcn.004c3eec
mov eax, ebx
call fcn.004b7cf4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
xor edx, edx
call fcn.004b4754
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], ebx
mov eax, ebx
mov ecx, 0x1b
mov edx, 0x78
call fcn.004b8d5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004b848c
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.004b848c
sub ebx, eax
sub ebx, 8
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004b9624
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.004b8448
pop edx
sub edx, eax
sub edx, 8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
pop ecx
call fcn.004c3eec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 4]
mov dword [eax + 0x474], edx
mov dword [eax + 0x470], 0x4ef840
call fcn.004b5d04
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.004c517c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
xor edx, edx
call fcn.004b4754
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], ebx
mov eax, ebx
mov ecx, 0x1b
mov edx, 0xb4
call fcn.004b8d5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.004b83b0
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.004b8448
sub ebx, eax
sub ebx, 0x10
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.004b83fc
mov ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
pop edx
call fcn.004c3eec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 4]
mov dword [eax + 0x474], edx
mov dword [eax + 0x470], 0x4ef650
mov dl, 1
call fcn.004b7548
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.004b93f0
movzx edx, byte [0x4ee668]
call fcn.004b07fc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.004b5d04
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.004c517c
push 0x4ee678
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
mov ecx, 0x4ee6ec
mov edx, 0x4ee70c
call fcn.004687a0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
add eax, 0x3c
call fcn.00408010
lea ecx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.0048c87c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 0x3c
call fcn.00408010
push 0x4ee728
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
mov ecx, 0x4ee7a0
mov edx, 0x4ee70c
call fcn.004687a0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.00408010
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.0048c87c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.00408010
push 0x4ee7c4
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
mov ecx, 0x4ee868
mov edx, 0x4ee70c
call fcn.004687a0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
add eax, 0x44
call fcn.00408010
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ee60c
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00407c90
ret