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

Disassembly:
push 0xffffffffffffffff
push 0x52c5a8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x568fd0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x568fd0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
xor eax, eax
mov esi, ecx
lea ecx, [esp + 0x34]
xor edi, edi
push ecx
mov dword [esp + 0x30], esi
mov word [esp + 0x38], ax
mov dword [esp + 0x3a], eax
mov dword [esp + 0x3e], eax
mov dword [esp + 0x42], eax
mov word [esp + 0x46], ax
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x401ee0
sub eax, edx
sar eax, 1
push eax
push esi
mov ecx, 0x56b5d0
call fcn.00401260
mov esi, dword [0x56eadc]
mov ebp, esi
mov dword [esp + 0x30], ebp
cmp dword [0x56ead8], esi
jbe 0x401f1a
call fcn.00501daa
mov esi, dword [0x56eadc]
mov ebx, dword [0x56ead8]
cmp ebx, esi
jbe 0x401f2f
call fcn.00501daa
mov esi, dword [0x56eadc]
mov eax, dword [0x56eacc]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ebx
cmp ebx, ebp
je 0x401fda
mov esi, dword [0x56b5e4]
lea ebp, [ebx + 0x14]
mov ebx, dword [ebp + 0x10]
mov ecx, 8
cmp dword [ebp + 0x14], ecx
jb 0x401f63
mov eax, dword [ebp]
jmp 0x401f65
mov eax, ebp
mov edx, esi
cmp esi, ebx
jb 0x401f6d
mov edx, ebx
cmp dword [0x56b5e8], ecx
mov ecx, dword [0x56b5d4]
jae 0x401f80
mov ecx, 0x56b5d4
cmp edx, edi
jbe 0x401fad
mov di, word [ecx]
cmp di, word [eax]
jne 0x401f9b
add ecx, 2
add eax, 2
sub edx, 1
jne 0x401f84
xor edi, edi
jmp 0x401fad
mov cx, word [ecx]
cmp cx, word [eax]
sbb eax, eax
and eax, 0xfffffffe
inc eax
xor edi, edi
cmp eax, edi
jne 0x401fbc
cmp esi, ebx
jb 0x401fbc
xor eax, eax
cmp esi, ebx
setne al
cmp eax, edi
je 0x401fd0
mov eax, dword [esp + 0x18]
add eax, 0x30
add ebp, 0x30
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x30]
jne 0x401f51
mov eax, dword [esp + 0x24]
mov esi, dword [0x56eadc]
cmp dword [0x56ead8], esi
jbe 0x401feb
call fcn.00501daa
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x401ff7
cmp eax, dword [0x56eacc]
je 0x402000
call fcn.00501daa
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x18], esi
je 0x40203a
cmp eax, edi
jne 0x402036
call fcn.00501daa
xor eax, eax
mov edx, dword [esp + 0x18]
cmp edx, dword [eax + 0x10]
jb 0x40201f
call fcn.00501daa
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x20]
mov dword [eax + 0xc], edx
jmp 0x4020c8
mov eax, dword [eax]
jmp 0x402011
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
xor edx, edx
mov dword [esp + 0x4c], eax
mov esi, 7
mov eax, ebx
mov word [esp + 0x58], dx
mov dword [esp + 0x44], edi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], edi
lea edx, [eax + 2]
jmp 0x402070
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x402070
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x5c]
call fcn.00401260
lea ebx, [esp + 0x44]
mov dword [esp + 0x80], edi
call fcn.004023e0
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x6c], 8
jb 0x4020b9
mov eax, dword [esp + 0x58]
push eax
call fcn.00501b8f
add esp, 4
xor ecx, ecx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], edi
mov word [esp + 0x58], cx
mov eax, dword [0x56eadc]
mov ebx, dword [0x56ead8]
mov ebp, eax
cmp ebx, eax
jbe 0x4020e9
call fcn.00501daa
mov eax, dword [0x56eadc]
mov ebx, dword [0x56ead8]
mov esi, dword [0x56eacc]
cmp ebx, eax
jbe 0x4020f8
call fcn.00501daa
cmp esi, edi
je 0x402104
cmp esi, dword [0x56eacc]
je 0x402109
call fcn.00501daa
mov ecx, ebp
sub ecx, ebx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
push 0x401ad0
add eax, edx
push eax
push ebp
push ebx
call fcn.00402ba0
mov ecx, dword [0x56eadc]
sub ecx, dword [0x56ead8]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add esp, 0x10
xor esi, esi
add eax, edx
je 0x402186
cmp esi, eax
jb 0x402158
call fcn.00501daa
mov ecx, dword [0x56ead8]
mov dword [edi + ecx], esi
mov ecx, dword [0x56eadc]
sub ecx, dword [0x56ead8]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
add edi, 0x30
cmp esi, eax
jb 0x402158
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00501b9a
add esp, 0x70
ret