Function at 0x40d8c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x43fb30
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x455ac0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
mov eax, dword [edi]
mov ebx, dword [edi + 0x11c]
mov edx, dword [eax + 0x30]
mov dword [esp + 0x30], ebx
call edx
mov ebp, dword [esp + 0x90]
mov esi, eax
mov eax, dword [ebp]
mov edx, dword [eax + 8]
push 0x2710
mov ecx, ebp
mov dword [esp + 0x30], esi
call edx
push eax
mov ecx, ebx
call fcn.004096b0
push edi
call fcn.00409600
mov edi, eax
xor ebx, ebx
add esp, 4
cmp edi, ebx
mov dword [esp + 0x90], edi
je 0x40dba6
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], edi
push 0x3e8
mov dword [esp + 0x8c], ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [edi]
mov edx, dword [eax + 8]
push ebx
mov ecx, edi
call edx
xor eax, eax
cmp esi, ebx
mov dword [esp + 0x28], eax
jg 0x40d9aa
mov eax, dword [edi]
mov ecx, edi
mov edx, dword [eax]
push 1
mov dword [esp + 0x8c], 0xffffffff
call edx
mov eax, 0xe
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret 4
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
lea ecx, [eax + 0x100000]
cmp ecx, esi
jle 0x40d9b8
sub esi, eax
jmp 0x40d9bd
mov esi, 0x100000
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
push esi
mov ecx, edi
call eax
mov ebx, eax
test ebx, ebx
je 0x40db91
mov dword [esp + 0x1c], 0
jmp 0x40d9e7
mov edi, dword [esp + 0x90]
cmp dword [esp + 0x1c], 6
je 0x40dbb0
push 0
push esi
push ebx
call fcn.004072c0
push esi
push ebx
mov edi, eax
call fcn.00407240
mov ecx, dword [esp + 0x30]
add esp, 0x14
and ecx, 0x80000001
jns 0x40da18
dec ecx
or ecx, 0xfffffffe
inc ecx
jne 0x40da1c
mov eax, edi
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x12c]
push ecx
mov ecx, dword [esp + 0x34]
push eax
push esi
push ebx
lea edx, [esp + 0x24]
push edx
call fcn.00409b60
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
cmp dword [eax + 0xc], 1
mov byte [esp + 0x88], 1
jle 0x40da61
mov eax, dword [eax + 4]
push eax
lea ecx, [esp + 0x18]
call fcn.00401610
mov ecx, dword [esp + 0x14]
lea eax, [ecx - 0x10]
or ecx, 0xffffffff
add dword [eax + 0xc], ecx
jne 0x40da6c
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x14]
movzx edx, word [eax + 2]
movzx edi, word [eax]
mov ecx, dword [eax - 4]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 4]
add eax, 0xfffffffc
test ecx, ecx
mov dword [esp + 0x20], edx
jge 0x40da99
add ecx, 1
mov dword [eax], ecx
jne 0x40da99
mov dword [eax], 1
mov eax, dword [ebp]
push edx
mov edx, dword [eax + 0x10]
mov ecx, ebp
call edx
cmp di, 0x8001
jne 0x40daf8
cmp word [esp + 0x24], 3
jne 0x40daf8
cmp dword [esp + 0x20], 1
jne 0x40daf8
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x88], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dae2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, 6
mov dword [esp + 0x1c], eax
jbe 0x40d9e0
jmp 0x40db20
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x88], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40db20
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x28]
mov eax, 0x51eb851f
imul dword [esp + 0x2c]
sar edx, 5
mov ecx, edx
add ebx, esi
shr ecx, 0x1f
add ecx, edx
mov eax, ebx
cdq
idiv ecx
mov esi, dword [ebp]
mov edx, dword [esi + 0xc]
mov ecx, ebp
mov dword [esp + 0x28], ebx
push eax
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 8]
push 0x2710
mov ecx, ebp
call edx
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call fcn.004096b0
cmp di, 1
jne 0x40dc61
mov eax, dword [esp + 0x24]
cmp ax, di
jne 0x40dbcf
cmp ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x90]
jl 0x40d9a2
jmp 0x40d96f
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
mov dword [esp + 0x8c], 0xffffffff
call edx
mov eax, 7
jmp 0x40d989
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
mov dword [esp + 0x8c], 0xffffffff
call edx
mov eax, 0xf
jmp 0x40d989
cmp ax, 2
jne 0x40dc3d
mov eax, dword [ebp]
mov edx, dword [eax + 0xc]
push 0x64
mov ecx, ebp
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 8]
push 0x2710
mov ecx, ebp
call edx
push eax
mov ecx, esi
call fcn.004096b0
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x121], 0
je 0x40dc1c
mov al, byte [eax + 0x124]
neg al
mov ecx, esi
sbb eax, eax
and eax, 0x2710
push eax
call fcn.0040d2c0
mov ecx, dword [esp + 0x90]
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
mov dword [esp + 0x8c], 0xffffffff
call eax
xor eax, eax
jmp 0x40d989
mov ecx, dword [esp + 0x90]
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
mov dword [esp + 0x8c], 0xffffffff
call eax
mov eax, 8
jmp 0x40d989
cmp di, 0x8001
jne 0x40dc8c
mov ecx, dword [esp + 0x90]
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
mov dword [esp + 0x8c], 0xffffffff
call eax
mov eax, 0x12
jmp 0x40d989
cmp di, 0x8002
jne 0x40de5f
mov eax, dword [esp + 0x24]
cmp ax, 2
jne 0x40dcf5
cmp dword [esp + 0x20], 1
jne 0x40dcd1
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.0040c980
lea edx, [esi + 0x58]
mov esi, eax
mov edi, edx
mov ecx, 0x11
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp]
push edx
mov edx, dword [eax + 0x14]
mov ecx, ebp
call edx
mov ecx, dword [esp + 0x90]
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
mov dword [esp + 0x8c], 0xffffffff
call edx
mov eax, 4
jmp 0x40d989
cmp ax, 5
jne 0x40dda3
cmp dword [esp + 0x20], 1
jne 0x40dd24
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.0040c980
lea edi, [esi + 0x58]
mov ecx, 0x11
mov esi, eax
rep movsd dword es:[edi], dword [esi]
jmp 0x40dd6d
push str.NoMoreInfo
lea ecx, [esp + 0x2c]
call fcn.004030d0
mov eax, dword [esp + 0x28]
mov ecx, dword [eax - 0xc]
push ecx
mov ecx, dword [esp + 0x1c]
push eax
add ecx, 0x6c
push 0x10
push ecx
call fcn.004250e4
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40dd6d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov edx, dword [ebp]
mov edx, dword [edx + 0x14]
add eax, 0x58
push eax
mov ecx, ebp
call edx
mov ecx, dword [esp + 0x90]
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
mov dword [esp + 0x8c], 0xffffffff
call edx
mov eax, 0x10
jmp 0x40d989
cmp ax, 3
mov ecx, dword [esp + 0x90]
jne 0x40ddcd
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
mov dword [esp + 0x8c], 0xffffffff
call edx
mov eax, 0x15
jmp 0x40d989
cmp ax, 4
jne 0x40ddf0
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
mov dword [esp + 0x8c], 0xffffffff
call edx
mov eax, 0x14
jmp 0x40d989
cmp ax, 7
jne 0x40de13
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
mov dword [esp + 0x8c], 0xffffffff
call edx
mov eax, 5
jmp 0x40d989
cmp ax, 8
jne 0x40de58
mov eax, dword [esp + 0x20]
cmp eax, 0x10002
mov dword [esp + 0x88], 0xffffffff
push 1
jne 0x40de41
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov eax, 0x17
jmp 0x40d989
cmp eax, 0x20001
mov eax, dword [ecx]
mov edx, dword [eax]
jne 0x40deae
call edx
mov eax, 0x18
jmp 0x40d989
mov eax, dword [ecx]
jmp 0x40d973
cmp di, 0x8003
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x88], 0xffffffff
push 1
jne 0x40deaa
mov eax, dword [esp + 0x28]
cmp ax, 1
jne 0x40de94
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov eax, 0xd
jmp 0x40d989
cmp ax, 2
mov eax, dword [ecx]
mov edx, dword [eax]
jne 0x40deae
call edx
mov eax, 0x13
jmp 0x40d989
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov eax, 8
jmp 0x40d989