Function at 0x4edadc
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 0x4ee23d
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, 0x4ee258
xor eax, eax
call fcn.004b40ec
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], ebx
mov eax, ebx
mov ecx, 0x122
mov edx, 0x1f4
call fcn.004b89b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b9488
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov byte [eax + 0x495], 0
mov edx, 0x80ca0000
call fcn.004b6d84
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b9044
mov edx, 0xd
call fcn.004b0224
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b9044
mov edx, 0x4ee280
call fcn.004b0244
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, 0xffffff
call fcn.004b83ec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dl, 1
call fcn.004b9750
xor ecx, ecx
push ebp
push 0x4edbc6
push dword fs:[ecx]
mov dword fs:[ecx], esp
xor edx, edx
xor eax, eax
call fcn.004bc740
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], ebx
mov ecx, 0x4ee290
mov eax, ebx
mov edx, dword [0x535c50]
call fcn.004bd794
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4edbe3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b45ac
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], ebx
mov eax, ebx
xor ecx, ecx
xor edx, edx
call fcn.004c3b40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b809c
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.004b89b0
mov eax, dword [ebp - 4]
push eax
push 0x4ef1b8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004b8dec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004c4dd0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b470c
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], ebx
mov eax, ebx
mov ecx, 0x78
mov edx, 0x14
call fcn.004c3b40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b9278
mov edx, eax
sub edx, 0x28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ecx, 0x10
call fcn.004b89b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
call fcn.004b7990
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
xor ecx, ecx
xor edx, edx
call fcn.004b44d8
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x20], ebx
mov eax, ebx
mov ecx, 0x64
mov edx, 0x14
call fcn.004c3b40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.004b9044
movzx edx, byte [0x4ee2a0]
call fcn.004b0450
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov dl, 1
call fcn.004c3650
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.004c4dd0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.004b7990
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
xor ecx, ecx
xor edx, edx
call fcn.004b44d8
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.004b8004
mov edx, eax
mov eax, ebx
mov ecx, 0x46
call fcn.004c3b40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b9278
mov edx, eax
sub edx, 0x28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov ecx, 0x1c
call fcn.004b89b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.004b9044
mov edx, 0x12
call fcn.004b0224
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.004b9044
movzx edx, byte [0x4ee2a0]
call fcn.004b0450
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.004c4dd0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
xor edx, edx
call fcn.004b4550
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.004b8050
add eax, 0x19
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.004b8004
mov edx, eax
mov eax, ebx
pop ecx
call fcn.004c3b40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.004b809c
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ecx, 0x28
call fcn.004b89b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.004c4dd0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.004b80e0
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.004b4550
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.004b8050
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.004b80e0
add esi, eax
add esi, 8
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.004b8004
mov edx, eax
mov eax, ebx
pop ecx
call fcn.004c3b40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.004b809c
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov ecx, 0x1a
call fcn.004b89b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.004b9044
movzx edx, byte [0x4ee2a0]
call fcn.004b0450
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.004c4dd0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
xor edx, edx
call fcn.004b4550
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.004b8050
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.004b80e0
add esi, eax
add esi, 5
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.004b8004
mov edx, eax
mov eax, ebx
pop ecx
call fcn.004c3b40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.004b809c
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov ecx, 0x1a
call fcn.004b89b0
mov eax, dword [ebp - 4]
push eax
push 0x4ef690
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004b8dec
mov eax, dword [ebp - 4]
push eax
push 0x4ef6a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004b6cfc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 4]
mov dword [eax + 0x474], edx
mov dword [eax + 0x470], 0x4ef73c
call fcn.004c4dd0
mov dl, 1
mov eax, dword [0x4e534c]
call fcn.004e7dd0
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.004b809c
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], 0x4ef504
mov edx, dword [ebp - 4]
mov dword [eax + 0x3c], edx
mov dword [eax + 0x38], 0x4ef58c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dl, 2
call fcn.004b4600
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x34], ebx
mov eax, ebx
mov edx, 0x8000000f
call fcn.004b83ec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b9278
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ecx, 0x2b
call fcn.004b89b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b925c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004b80e0
pop ecx
sub ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
xor edx, edx
call fcn.004c3b40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dl, 1
call fcn.004b4600
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004b809c
mov edx, eax
add edx, 2
mov ecx, 2
mov eax, ebx
call fcn.004b89b0
xor ecx, ecx
or edx, 0xffffffff
mov eax, ebx
call fcn.004c3b40
mov eax, ebx
call fcn.004b7948
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
xor edx, edx
call fcn.004b43a8
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], ebx
mov eax, ebx
mov ecx, 0x1b
mov edx, 0x78
call fcn.004b89b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004b80e0
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.004b80e0
sub ebx, eax
sub ebx, 8
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004b9278
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.004b809c
pop edx
sub edx, eax
sub edx, 8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
pop ecx
call fcn.004c3b40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 4]
mov dword [eax + 0x474], edx
mov dword [eax + 0x470], 0x4ef478
call fcn.004b5958
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.004c4dd0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
xor edx, edx
call fcn.004b43a8
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], ebx
mov eax, ebx
mov ecx, 0x1b
mov edx, 0xb4
call fcn.004b89b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.004b8004
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.004b809c
sub ebx, eax
sub ebx, 0x10
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.004b8050
mov ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
pop edx
call fcn.004c3b40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 4]
mov dword [eax + 0x474], edx
mov dword [eax + 0x470], 0x4ef288
mov dl, 1
call fcn.004b719c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.004b9044
movzx edx, byte [0x4ee2a0]
call fcn.004b0450
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.004b5958
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.004c4dd0
push 0x4ee2b0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
mov ecx, 0x4ee324
mov edx, 0x4ee344
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.0048c360
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 0x3c
call fcn.00408010
push 0x4ee360
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
mov ecx, 0x4ee3d8
mov edx, 0x4ee344
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.0048c360
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.00408010
push 0x4ee3fc
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
mov ecx, 0x4ee4a0
mov edx, 0x4ee344
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 0x4ee244
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00407c90
ret