Function at 0x48b058
Capabilities:
Check for peb beingdebugged flag
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x48b31b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
mov edx, dword [0x46814c]
call fcn.00405ce4
push 4
lea eax, [ebp - 0x1c]
mov ecx, 1
mov edx, dword [0x46814c]
call fcn.00405bb8
add esp, 4
mov eax, dword [ebp - 0x1c]
mov byte [eax], 0xd
mov eax, dword [ebp - 0x1c]
mov byte [eax + 1], 0xa
mov eax, dword [ebp - 0x1c]
mov byte [eax + 2], 0xd
mov eax, dword [ebp - 0x1c]
mov byte [eax + 3], 0xa
push 2
lea eax, [ebp - 0x20]
mov ecx, 1
mov edx, dword [0x46814c]
call fcn.00405bb8
add esp, 4
mov eax, dword [ebp - 0x20]
mov byte [eax], 0xa
mov eax, dword [ebp - 0x20]
mov byte [eax + 1], 0xa
xor edi, edi
xor eax, eax
mov dword [esi + 0xa4], eax
lea eax, [esi + 0x94]
call fcn.00404798
mov al, byte [esi + 0x88]
mov byte [esi + 0x89], al
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x3c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov byte [eax + 0x78], 0
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 0x30]
mov dword [ebp - 0x18], edx
mov edx, dword [eax + 0x34]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x30], 1
mov dword [eax + 0x34], 0
mov eax, dword [ebp - 0x28]
mov byte [eax + 0x79], 1
mov dl, 1
mov eax, dword [0x41ad9c]
call fcn.00403960
mov dword [ebp - 0x2c], eax
xor eax, eax
push ebp
push 0x48b2eb
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x28]
call fcn.0046b7f8
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x47c0d0]
call fcn.0047c510
mov eax, dword [ebp - 0x24]
call fcn.004059dc
push eax
mov ecx, edi
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
call fcn.00469554
mov ebx, eax
mov eax, dword [ebp - 0x1c]
call fcn.004059dc
mov dword [ebp - 0xc], eax
test ebx, ebx
jge 0x48b1d8
mov eax, dword [ebp - 0x24]
call fcn.004059dc
push eax
mov ecx, edi
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.00469554
mov ebx, eax
mov eax, dword [ebp - 0x20]
call fcn.004059dc
mov dword [ebp - 0xc], eax
test ebx, ebx
jle 0x48b24d
mov dword [ebp - 8], edi
mov al, byte [esi + 0x88]
push eax
lea ecx, [ebp - 8]
mov edx, dword [ebp - 0x24]
mov eax, dword [0x47c0d0]
call fcn.0047c224
mov byte [esi + 0x89], al
inc dword [ebp - 8]
lea ecx, [ebp - 8]
mov edx, dword [ebp - 0x24]
mov eax, dword [0x47c0d0]
call fcn.0047c348
mov dword [esi + 0xa4], eax
inc dword [ebp - 8]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 8]
mov edx, dword [ebp - 0x24]
mov eax, dword [0x47c0d0]
call fcn.0047c430
mov edx, dword [ebp - 0x30]
lea eax, [esi + 0x94]
call fcn.004047ec
cmp dword [esi + 0xa4], 0x64
jne 0x48b24d
mov edi, dword [ebp - 0xc]
add edi, ebx
jmp 0x48b18e
cmp dword [ebp - 0x10], 0x3e8
jg 0x48b284
inc dword [ebp - 0x10]
cmp dword [esi + 0xa4], 0
je 0x48b26b
cmp dword [esi + 0xa4], 0x64
jne 0x48b284
mov eax, dword [ebp - 0x28]
call fcn.0046b7d4
test al, al
jne 0x48b284
mov eax, dword [ebp - 0x28]
cmp byte [eax + 0x18], 0
jne 0x48b163
mov eax, edi
cdq
push edx
push eax
mov eax, dword [ebp - 0x2c]
call fcn.0041f530
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, ebx
sub ecx, edi
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x47c0d0]
call fcn.0047c5a8
mov eax, dword [esi + 0x98]
mov edx, dword [ebp - 4]
call fcn.0047f5b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b2f2
mov eax, dword [ebp - 0x2c]
call fcn.00403990
mov eax, dword [ebp - 0x28]
mov byte [eax + 0x79], 0
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x30], edx
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 0x28]
call fcn.0046cf54
ret