Function at 0x4ec83c
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 0x4ecf9d
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, 0x4ecfb8
xor eax, eax
call fcn.004b352c
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], ebx
mov eax, ebx
mov ecx, 0x122
mov edx, 0x1f4
call fcn.004b7df0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b88c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov byte [eax + 0x495], 0
mov edx, 0x80ca0000
call fcn.004b61c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b8484
mov edx, 0xd
call fcn.004af664
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b8484
mov edx, 0x4ecfe0
call fcn.004af684
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, 0xffffff
call fcn.004b782c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dl, 1
call fcn.004b8b90
xor ecx, ecx
push ebp
push 0x4ec926
push dword fs:[ecx]
mov dword fs:[ecx], esp
xor edx, edx
xor eax, eax
call fcn.004bbb80
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], ebx
mov ecx, 0x4ecff0
mov eax, ebx
mov edx, dword [0x530c50]
call fcn.004bcbd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ec943
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b39ec
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], ebx
mov eax, ebx
xor ecx, ecx
xor edx, edx
call fcn.004c2f80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b74dc
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.004b7df0
mov eax, dword [ebp - 4]
push eax
push 0x4edf18
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004b822c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004c4210
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b3b4c
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], ebx
mov eax, ebx
mov ecx, 0x78
mov edx, 0x14
call fcn.004c2f80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b86b8
mov edx, eax
sub edx, 0x28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ecx, 0x10
call fcn.004b7df0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
call fcn.004b6dd0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
xor ecx, ecx
xor edx, edx
call fcn.004b3918
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x20], ebx
mov eax, ebx
mov ecx, 0x64
mov edx, 0x14
call fcn.004c2f80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.004b8484
movzx edx, byte [0x4ed000]
call fcn.004af890
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov dl, 1
call fcn.004c2a90
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.004c4210
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.004b6dd0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
xor ecx, ecx
xor edx, edx
call fcn.004b3918
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.004b7444
mov edx, eax
mov eax, ebx
mov ecx, 0x46
call fcn.004c2f80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b86b8
mov edx, eax
sub edx, 0x28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov ecx, 0x1c
call fcn.004b7df0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.004b8484
mov edx, 0x12
call fcn.004af664
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.004b8484
movzx edx, byte [0x4ed000]
call fcn.004af890
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.004c4210
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
xor edx, edx
call fcn.004b3990
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.004b7490
add eax, 0x19
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.004b7444
mov edx, eax
mov eax, ebx
pop ecx
call fcn.004c2f80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.004b74dc
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ecx, 0x28
call fcn.004b7df0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.004c4210
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.004b7520
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.004b3990
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.004b7490
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.004b7520
add esi, eax
add esi, 8
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.004b7444
mov edx, eax
mov eax, ebx
pop ecx
call fcn.004c2f80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.004b74dc
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov ecx, 0x1a
call fcn.004b7df0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.004b8484
movzx edx, byte [0x4ed000]
call fcn.004af890
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.004c4210
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
xor edx, edx
call fcn.004b3990
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.004b7490
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.004b7520
add esi, eax
add esi, 5
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.004b7444
mov edx, eax
mov eax, ebx
pop ecx
call fcn.004c2f80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.004b74dc
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov ecx, 0x1a
call fcn.004b7df0
mov eax, dword [ebp - 4]
push eax
push 0x4ee3f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004b822c
mov eax, dword [ebp - 4]
push eax
push 0x4ee408
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004b613c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 4]
mov dword [eax + 0x474], edx
mov dword [eax + 0x470], 0x4ee49c
call fcn.004c4210
mov dl, 1
mov eax, dword [0x4e40ac]
call fcn.004e6b30
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.004b74dc
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], 0x4ee264
mov edx, dword [ebp - 4]
mov dword [eax + 0x3c], edx
mov dword [eax + 0x38], 0x4ee2ec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dl, 2
call fcn.004b3a40
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x34], ebx
mov eax, ebx
mov edx, 0x8000000f
call fcn.004b782c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b86b8
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ecx, 0x2b
call fcn.004b7df0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b869c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004b7520
pop ecx
sub ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
xor edx, edx
call fcn.004c2f80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dl, 1
call fcn.004b3a40
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004b74dc
mov edx, eax
add edx, 2
mov ecx, 2
mov eax, ebx
call fcn.004b7df0
xor ecx, ecx
or edx, 0xffffffff
mov eax, ebx
call fcn.004c2f80
mov eax, ebx
call fcn.004b6d88
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
xor edx, edx
call fcn.004b37e8
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], ebx
mov eax, ebx
mov ecx, 0x1b
mov edx, 0x78
call fcn.004b7df0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004b7520
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.004b7520
sub ebx, eax
sub ebx, 8
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004b86b8
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.004b74dc
pop edx
sub edx, eax
sub edx, 8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
pop ecx
call fcn.004c2f80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 4]
mov dword [eax + 0x474], edx
mov dword [eax + 0x470], 0x4ee1d8
call fcn.004b4d98
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.004c4210
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
xor edx, edx
call fcn.004b37e8
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], ebx
mov eax, ebx
mov ecx, 0x1b
mov edx, 0xb4
call fcn.004b7df0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.004b7444
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.004b74dc
sub ebx, eax
sub ebx, 0x10
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.004b7490
mov ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
pop edx
call fcn.004c2f80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 4]
mov dword [eax + 0x474], edx
mov dword [eax + 0x470], 0x4edfe8
mov dl, 1
call fcn.004b65dc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.004b8484
movzx edx, byte [0x4ed000]
call fcn.004af890
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.004b4d98
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.004c4210
push 0x4ed010
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
mov ecx, 0x4ed084
mov edx, 0x4ed0a4
call fcn.004686c0
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.0048b528
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 0x3c
call fcn.00408010
push 0x4ed0c0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
mov ecx, 0x4ed138
mov edx, 0x4ed0a4
call fcn.004686c0
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.0048b528
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.00408010
push 0x4ed15c
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
mov ecx, 0x4ed200
mov edx, 0x4ed0a4
call fcn.004686c0
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 0x4ecfa4
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00407c90
ret