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

Disassembly:
push 0xffffffffffffffff
push 0x420470
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov eax, dword [0x42a448]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x10], eax
push 0xe2a3
lea ecx, [esp + 0x14]
mov dword [esp + 0x5c], 0
call fcn.00416e6b
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x10]
and edi, 0xffff00
and eax, 0xffff00
push ecx
mov ecx, dword [ebp + 0x18]
sub eax, edi
add eax, 0x100
mov ebx, eax
call fcn.004068d0
mov ecx, dword [ebp + 0x18]
push 0x64
push 0
call fcn.00406900
mov ecx, dword [ebp + 0x18]
push 1
call fcn.00406980
mov ecx, dword [ebp + 0x18]
push 0
call fcn.00406940
lea ecx, [esp + 0x14]
call fcn.004163af
push 0xffffffffffffffff
push 5
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], 1
call fcn.0041640f
lea ecx, [esp + 0x28]
call fcn.004163af
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0x60], 2
call fcn.0041640f
mov eax, dword [ebp + 0x10]
mov ecx, ebx
mov edx, ecx
mov esi, dword [eax + 4]
add esi, edi
mov edi, dword [esp + 0x2c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov byte [eax], 0xe1
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x18]
mov ecx, eax
shr ecx, 8
mov byte [edx + 1], cl
mov ecx, dword [esp + 0x18]
shr eax, 0x10
mov byte [ecx + 2], al
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x18]
mov edx, eax
shr edx, 8
mov byte [ecx + 3], dl
mov edx, dword [esp + 0x18]
shr eax, 0x10
mov byte [edx + 4], al
mov ecx, dword [ebp + 0x14]
lea eax, [esp + 0x14]
push eax
call fcn.004014f0
lea ecx, [esp + 0x3c]
call fcn.004163af
mov ecx, dword [ebp + 0xc]
push 1
lea eax, [esp + 0x40]
mov byte [esp + 0x5c], 3
mov edx, dword [ecx + 0x6d0]
mov ecx, dword [ebp + 0x14]
push edx
push 2
push eax
call fcn.004013a0
test eax, eax
je 0x402798
mov eax, dword [esp + 0x40]
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax]
xor eax, eax
cmp ebx, eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], eax
jbe 0x402785
mov ecx, dword [esp + 0x2c]
mov esi, eax
inc eax
xor edx, edx
mov edi, eax
mov dh, byte [esi + ecx]
mov esi, dword [esp + 0x60]
mov dl, byte [edi + ecx]
inc eax
add esi, edx
cmp eax, ebx
mov dword [esp + 0x60], esi
jb 0x402769
mov ax, word [esp + 0x60]
cmp word [esp + 0x64], ax
je 0x4027d7
mov dword [ebp + 4], 0xb
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 2
call fcn.004163e2
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 1
call fcn.004163e2
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 0
call fcn.004163e2
lea ecx, [esp + 0x10]
mov dword [esp + 0x58], 0xffffffff
call fcn.00416b1c
xor eax, eax
jmp 0x402821
mov ecx, dword [ebp + 0x18]
push 0x64
call fcn.00406940
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 2
call fcn.004163e2
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 1
call fcn.004163e2
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 0
call fcn.004163e2
lea ecx, [esp + 0x10]
mov dword [esp + 0x58], 0xffffffff
call fcn.00416b1c
mov eax, 1
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret 8