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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], edx
mov esi, eax
xor eax, eax
push ebp
push 0x579eb1
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x404b1c]
call fcn.0040d73c
add esp, 4
mov eax, dword [ebp - 4]
mov byte [eax], 0xd
mov eax, dword [ebp - 4]
mov byte [eax + 1], 0xa
mov eax, dword [ebp - 4]
mov byte [eax + 2], 0xd
mov eax, dword [ebp - 4]
mov byte [eax + 3], 0xa
push 2
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x404b1c]
call fcn.0040d73c
add esp, 4
mov eax, dword [ebp - 8]
mov byte [eax], 0xa
mov eax, dword [ebp - 8]
mov byte [eax + 1], 0xa
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [esi + 0xb4], eax
lea eax, [esi + 0xa4]
call fcn.0040a870
movzx eax, byte [esi + 0x98]
mov byte [esi + 0x99], al
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x50]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x78], 0
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0x30]
mov dword [ebp - 0x28], edx
mov edx, dword [eax + 0x34]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x30], 1
mov dword [eax + 0x34], 0
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x79], 1
mov dl, 1
mov eax, dword [0x49e030]
call fcn.00408a1c
mov dword [ebp - 0x30], eax
xor edx, edx
push ebp
push 0x579e7f
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x2c]
call fcn.0053abec
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea ecx, [ebp - 0xc]
mov edx, dword [ebp - 0x30]
mov eax, dword [0x555d54]
call fcn.00556530
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x579d18
sub eax, 4
mov eax, dword [eax]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00535344
mov ebx, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x579d35
sub eax, 4
mov eax, dword [eax]
mov edi, eax
test ebx, ebx
jge 0x579d66
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x579d47
sub eax, 4
mov eax, dword [eax]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00535344
mov ebx, eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x579d64
sub eax, 4
mov eax, dword [eax]
mov edi, eax
test ebx, ebx
jle 0x579ddf
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
movzx eax, byte [esi + 0x98]
push eax
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 0xc]
mov eax, dword [0x555d54]
call fcn.00556208
mov byte [esi + 0x99], al
inc dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 0xc]
mov eax, dword [0x555d54]
call fcn.00556340
mov dword [esi + 0xb4], eax
inc dword [ebp - 0x18]
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 0xc]
mov eax, dword [0x555d54]
call fcn.00556438
mov edx, dword [ebp - 0x34]
lea eax, [esi + 0xa4]
call fcn.0040ac50
cmp dword [esi + 0xb4], 0x64
jne 0x579ddf
add edi, ebx
mov dword [ebp - 0x14], edi
jmp 0x579d0c
cmp dword [ebp - 0x1c], 0x3e8
jg 0x579e16
inc dword [ebp - 0x1c]
cmp dword [esi + 0xb4], 0
je 0x579dfd
cmp dword [esi + 0xb4], 0x64
jne 0x579e16
mov eax, dword [ebp - 0x2c]
call fcn.0053abc8
test al, al
jne 0x579e16
mov eax, dword [ebp - 0x2c]
cmp byte [eax + 0x18], 0
jne 0x579ce1
mov eax, dword [ebp - 0x14]
cdq
push edx
push eax
mov eax, dword [ebp - 0x30]
call fcn.004c520c
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [edi + ebx]
sub ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
mov eax, dword [0x555d54]
call fcn.005565d4
mov eax, dword [esi + 0xa8]
mov edx, dword [ebp - 0x10]
call fcn.0055af14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x579e86
mov eax, dword [ebp - 0x30]
call fcn.00408a4c
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x79], 0
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x30], edx
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 0x2c]
call fcn.0053c894
pop eax
jmp eax