Function at 0x4af2a4
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 0x4afa05
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, 0x4afa20
xor eax, eax
call fcn.00489454
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], ebx
mov eax, ebx
mov ecx, 0x122
mov edx, 0x1f4
call fcn.0048ca28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0048d130
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov byte [eax + 0x495], 0
mov edx, 0x80ca0000
call fcn.0048b890
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0048ce94
mov edx, 0xd
call fcn.0048799c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0048ce94
mov edx, 0x4afa48
call fcn.004879ac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, 0xffffff
call fcn.0048c6d0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dl, 1
call fcn.0048d1b8
xor ecx, ecx
push ebp
push 0x4af38e
push dword fs:[ecx]
mov dword fs:[ecx], esp
xor edx, edx
xor eax, eax
call fcn.0048d810
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], ebx
mov ecx, 0x4afa58
mov eax, ebx
mov edx, dword [0x4e4c50]
call fcn.0048df4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4af3ab
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00489978
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], ebx
mov eax, ebx
xor ecx, ecx
xor edx, edx
call fcn.0048f3a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0048c644
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.0048ca28
mov eax, dword [ebp - 4]
push eax
push 0x4b097c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.0048ce24
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.0048f724
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00489ad8
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], ebx
mov eax, ebx
mov ecx, 0x78
mov edx, 0x14
call fcn.0048f3a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0048cfd4
mov edx, eax
sub edx, 0x28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ecx, 0x10
call fcn.0048ca28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
call fcn.0048c260
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
xor ecx, ecx
xor edx, edx
call fcn.004898a4
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x20], ebx
mov eax, ebx
mov ecx, 0x64
mov edx, 0x14
call fcn.0048f3a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.0048ce94
movzx edx, byte [0x4afa68]
call fcn.004879d4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov dl, 1
call fcn.0048f2e4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.0048f724
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.0048c260
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
xor ecx, ecx
xor edx, edx
call fcn.004898a4
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.0048c5ac
mov edx, eax
mov eax, ebx
mov ecx, 0x46
call fcn.0048f3a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0048cfd4
mov edx, eax
sub edx, 0x28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov ecx, 0x1c
call fcn.0048ca28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0048ce94
mov edx, 0x12
call fcn.0048799c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0048ce94
movzx edx, byte [0x4afa68]
call fcn.004879d4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0048f724
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
xor edx, edx
call fcn.0048991c
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.0048c5f8
add eax, 0x19
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.0048c5ac
mov edx, eax
mov eax, ebx
pop ecx
call fcn.0048f3a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0048c644
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ecx, 0x28
call fcn.0048ca28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.0048f724
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.0048c688
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.0048991c
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.0048c5f8
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.0048c688
add esi, eax
add esi, 8
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.0048c5ac
mov edx, eax
mov eax, ebx
pop ecx
call fcn.0048f3a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0048c644
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov ecx, 0x1a
call fcn.0048ca28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.0048ce94
movzx edx, byte [0x4afa68]
call fcn.004879d4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.0048f724
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
xor edx, edx
call fcn.0048991c
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.0048c5f8
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.0048c688
add esi, eax
add esi, 5
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.0048c5ac
mov edx, eax
mov eax, ebx
pop ecx
call fcn.0048f3a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0048c644
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov ecx, 0x1a
call fcn.0048ca28
mov eax, dword [ebp - 4]
push eax
push 0x4b0e54
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0048ce24
mov eax, dword [ebp - 4]
push eax
push 0x4b0e6c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0048b878
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 4]
mov dword [eax + 0x474], edx
mov dword [eax + 0x470], 0x4b0f00
call fcn.0048f724
mov dl, 1
mov eax, dword [0x4a88a8]
call fcn.004aaf28
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.0048c644
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], 0x4b0cc8
mov edx, dword [ebp - 4]
mov dword [eax + 0x3c], edx
mov dword [eax + 0x38], 0x4b0d50
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dl, 2
call fcn.004899cc
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x34], ebx
mov eax, ebx
mov edx, 0x8000000f
call fcn.0048c6d0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0048cfd4
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ecx, 0x2b
call fcn.0048ca28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0048cfb8
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.0048c688
pop ecx
sub ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
xor edx, edx
call fcn.0048f3a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dl, 1
call fcn.004899cc
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.0048c644
mov edx, eax
add edx, 2
mov ecx, 2
mov eax, ebx
call fcn.0048ca28
xor ecx, ecx
or edx, 0xffffffff
mov eax, ebx
call fcn.0048f3a8
mov eax, ebx
call fcn.0048c218
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
xor edx, edx
call fcn.00489710
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], ebx
mov eax, ebx
mov ecx, 0x1b
mov edx, 0x78
call fcn.0048ca28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.0048c688
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.0048c688
sub ebx, eax
sub ebx, 8
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.0048cfd4
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.0048c644
pop edx
sub edx, eax
sub edx, 8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
pop ecx
call fcn.0048f3a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 4]
mov dword [eax + 0x474], edx
mov dword [eax + 0x470], 0x4b0c3c
call fcn.0048ab3c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.0048f724
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
xor edx, edx
call fcn.00489710
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], ebx
mov eax, ebx
mov ecx, 0x1b
mov edx, 0xb4
call fcn.0048ca28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.0048c5ac
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.0048c644
sub ebx, eax
sub ebx, 0x10
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.0048c5f8
mov ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
pop edx
call fcn.0048f3a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 4]
mov dword [eax + 0x474], edx
mov dword [eax + 0x470], 0x4b0a4c
mov dl, 1
call fcn.0048bb4c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.0048ce94
movzx edx, byte [0x4afa68]
call fcn.004879d4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.0048ab3c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.0048f724
push 0x4afa78
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
mov ecx, 0x4afaec
mov edx, 0x4afb0c
call fcn.0045da90
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
add eax, 0x3c
call fcn.00407e40
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.0047a67c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 0x3c
call fcn.00407e40
push 0x4afb28
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
mov ecx, 0x4afba0
mov edx, 0x4afb0c
call fcn.0045da90
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.00407e40
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.0047a67c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.00407e40
push 0x4afbc4
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
mov ecx, 0x4afc64
mov edx, 0x4afb0c
call fcn.0045da90
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
add eax, 0x44
call fcn.00407e40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4afa0c
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00407ac0
ret