Function at 0x47cd68
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 0x47cff0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
mov edx, dword [0x45e188]
call fcn.00405638
push 4
lea eax, [ebp - 0x1c]
mov ecx, 1
mov edx, dword [0x45e188]
call fcn.0040562c
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 [0x45e188]
call fcn.0040562c
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.004042dc
mov al, byte [esi + 0x88]
mov byte [esi + 0x89], al
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x34]
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 dl, 1
mov eax, dword [0x412ce4]
call fcn.00403500
mov dword [ebp - 0x2c], eax
xor edx, edx
push ebp
push 0x47cfc0
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x28]
call fcn.00460c20
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x10]
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x473020]
call fcn.00473398
mov eax, dword [ebp - 0x24]
call fcn.00405450
push eax
mov ecx, edi
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
call fcn.0045eb38
mov ebx, eax
mov eax, dword [ebp - 0x1c]
call fcn.00405450
mov dword [ebp - 0xc], eax
test ebx, ebx
jge 0x47cedc
mov eax, dword [ebp - 0x24]
call fcn.00405450
push eax
mov ecx, edi
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.0045eb38
mov ebx, eax
mov eax, dword [ebp - 0x20]
call fcn.00405450
mov dword [ebp - 0xc], eax
test ebx, ebx
jle 0x47cf51
mov dword [ebp - 8], edi
mov al, byte [esi + 0x88]
push eax
lea ecx, [ebp - 8]
mov edx, dword [ebp - 0x24]
mov eax, dword [0x473020]
call fcn.004730ac
mov byte [esi + 0x89], al
inc dword [ebp - 8]
lea ecx, [ebp - 8]
mov edx, dword [ebp - 0x24]
mov eax, dword [0x473020]
call fcn.004731d0
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 [0x473020]
call fcn.004732b8
mov edx, dword [ebp - 0x30]
lea eax, [esi + 0x94]
call fcn.00404330
cmp dword [esi + 0xa4], 0x64
jne 0x47cf51
mov edi, dword [ebp - 0xc]
add edi, ebx
jmp 0x47ce92
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x47ce67
cmp eax, 0x64
je 0x47ce67
mov eax, edi
cdq
push edx
push eax
mov eax, dword [ebp - 0x2c]
call fcn.00416628
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 [0x473020]
call fcn.00473430
mov eax, dword [esi + 0x98]
mov edx, dword [ebp - 4]
call fcn.004748ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47cfc7
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 - 0x2c]
call fcn.00403530
ret