Function at 0x41acc0
Capabilities:
Get number of processors

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14c
mov eax, dword [0x462040]
xor eax, esp
mov dword [esp + 0x148], eax
mov eax, dword [ebp + 0x14]
push ebx
xor bh, bh
mov byte [esp + 0xb], bh
push esi
push edi
test eax, eax
je 0x41acf6
mov edx, eax
mov dword [0x4637a0], edx
jmp 0x41acfc
mov edx, dword [0x4637a0]
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x41ad0d
mov ecx, edi
mov dword [0x4637a4], ecx
jmp 0x41ad13
mov ecx, dword [0x4637a4]
test edx, edx
je 0x41b23b
test ecx, ecx
je 0x41b23b
test eax, eax
je 0x41ad44
inc dword [eax + 8]
lea edx, [eax + 0x10]
call fcn.00421610
push edx
xor ecx, ecx
xor edx, edx
test al, al
je 0x41ad3e
inc ecx
jmp 0x41ad3f
inc edx
call fcn.0041a2f9
mov eax, dword [0x7ffe0004]
mov ecx, 0x7ffe0320
mov edx, 0x7ffe0324
mov dword [esp + 0x18], eax
lea eax, [ecx + 8]
mov edx, dword [edx]
mov esi, dword [ecx]
mov eax, dword [eax]
cmp edx, eax
je 0x41ad7e
lea edi, [ecx + 4]
lea eax, [ecx + 8]
pause
mov edx, dword [edi]
mov esi, dword [ecx]
mov ecx, dword [eax]
cmp edx, ecx
mov ecx, 0x7ffe0320
jne 0x41ad6a
mov edi, dword [ebp + 0x18]
mov eax, edx
mul dword [esp + 0x18]
mov ecx, eax
mov eax, esi
shld edx, ecx, 8
mov esi, dword [ebp + 8]
mov dword [esp + 0x14], edx
mul dword [esp + 0x18]
shl ecx, 8
shrd eax, edx, 0x18
shr edx, 0x18
add ecx, eax
mov dword [esp + 0x20], ecx
mov ecx, dword [0x4637a0]
adc dword [esp + 0x14], edx
cmp byte [ecx], 0
je 0x41adf3
mov eax, dword [ecx + 8]
cmp eax, 1
je 0x41adf1
cmp eax, dword [ecx + 4]
je 0x41adf1
mov edx, dword [esp + 0x20]
sub edx, dword [ecx + 0x18]
mov eax, dword [esp + 0x14]
sbb eax, dword [ecx + 0x1c]
mov dword [esp + 0x1c], eax
jne 0x41adf1
cmp edx, 0x3e8
jae 0x41adf1
test esi, esi
je 0x41adf3
cmp byte [ecx + 0x20], 0
jne 0x41adf3
mov bh, 1
mov byte [esp + 0x13], bh
jmp 0x41adf3
mov bh, 1
cmp byte [ecx + 0x21], 0
je 0x41ae31
test edi, edi
je 0x41ae31
test esi, esi
jne 0x41ae31
mov eax, dword [0x4637a4]
mov eax, dword [eax]
sub eax, 1
je 0x41ae2d
sub eax, 1
je 0x41ae2d
dec eax
sub eax, 1
je 0x41ae2d
sub eax, 1
je 0x41ae2d
sub eax, 1
je 0x41ae2d
dec eax
sub eax, 1
je 0x41ae2d
sub eax, 9
jne 0x41ae31
mov bl, 1
jmp 0x41ae33
xor bl, bl
and dword [esp + 0x68], 0
and dword [esp + 0x6c], 0
test bh, bh
jne 0x41ae49
test bl, bl
je 0x41b23b
lea eax, [esp + 0x44]
push eax
lea edx, [esp + 0x6c]
call fcn.0041a966
test eax, eax
js 0x41b23b
movzx eax, word [esp + 0x68]
mov ecx, 0xffff
sub ecx, eax
cmp ecx, 2
jb 0x41b23b
test bl, bl
je 0x41afa2
push 0xa
pop ecx
xor al, al
mov dword [esp + 0x98], ecx
mov dword [esp + 0xa4], ecx
xor edi, edi
mov dword [esp + 0xb0], ecx
lea ecx, [esp + 0x94]
mov byte [esp + 0x12], al
mov dword [esp + 0x94], 8
mov dword [esp + 0x9c], 0x403180
mov dword [esp + 0xa0], 8
mov dword [esp + 0xa8], 0x40318c
mov dword [esp + 0xac], 8
mov dword [esp + 0xb4], 0x403198
mov dword [esp + 0x18], ecx
test al, al
jne 0x41af24
lea eax, [esp + 0x12]
mov edx, ecx
push eax
push ecx
lea ecx, [esp + 0x4c]
call fcn.00459767
test eax, eax
js 0x41b23b
mov ecx, dword [esp + 0x18]
inc edi
add ecx, 0xc
mov dword [esp + 0x18], ecx
cmp edi, 3
jae 0x41af1d
mov al, byte [esp + 0x12]
jmp 0x41aee9
cmp byte [esp + 0x12], 0
je 0x41afa2
lea eax, [esp + 0x12]
mov dword [esp + 0x38], 0x14
push eax
push ecx
lea edx, [esp + 0x4c]
mov dword [esp + 0x44], 0x16
lea ecx, [esp + 0x40]
mov dword [esp + 0x48], 0x4031a4
call fcn.00459adc
test eax, eax
js 0x41b23b
cmp byte [esp + 0x12], 0
jne 0x41afa2
xor eax, eax
lea edi, [esp + 0x2c]
stosd dword es:[edi], eax
lea ecx, [esp + 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x44]
push eax
call fcn.0041d3d4
mov ecx, dword [0x4637a0]
lea eax, [esp + 0x2c]
sub esp, 0xc
lea ecx, [ecx + 0x24]
push eax
call fcn.0041d472
lea ecx, [esp + 0x2c]
test eax, eax
jns 0x41af9d
call fcn.0041d2e7
jmp 0x41b23b
call fcn.0041d2e7
test bh, bh
je 0x41b23b
mov ecx, dword [0x4637a0]
xor ebx, ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x7c], ebx
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x70], eax
mov eax, dword [ecx + 0xc]
lea ecx, [esp + 0x70]
mov dword [esp + 0x78], eax
call fcn.0042cf6e
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x5c]
add eax, 2
mov dword [esp + 0x5c], ebx
movzx edx, ax
push ecx
mov dword [esp + 0x64], ebx
call fcn.00459929
test eax, eax
js 0x41b232
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.ntdll.dll_RtlCopyUnicodeString]
movzx ecx, word [esp + 0x5c]
xor edx, edx
mov eax, dword [esp + 0x60]
shr ecx, 1
mov word [eax + ecx*2], dx
cmp word [esp + 0x5c], dx
jbe 0x41b232
mov dword [esp + 0x64], ebx
sub esi, ebx
je 0x41b045
sub esi, 1
je 0x41b03e
sub esi, 1
jne 0x41b232
mov eax, 0xc0000003
jmp 0x41b04a
mov eax, 0xc0000002
jmp 0x41b04a
mov eax, 0x40000001
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], ebx
push ecx
push eax
mov eax, dword fs:[0x30]
push ebx
push 0xb
push dword [eax + 8]
call dword [sym.imp.ntdll.dll_RtlFindMessage]
test eax, eax
js 0x41b232
mov eax, dword [esp + 0x50]
test byte [eax + 2], 1
je 0x41b232
mov ecx, dword [0x4637a0]
push 0x64
pop esi
cmp dword [ecx + 4], ebx
jbe 0x41b0b8
mov edx, dword [ecx + 8]
cmp dword [ecx + 4], edx
jbe 0x41b0b8
lea eax, [esp + 0x28]
push eax
push esi
lea ecx, [esp + 0x2c]
call fcn.0041d6b7
mov ecx, dword [0x4637a0]
cmp dword [esp + 0x24], ebx
jl 0x41b0b8
mov eax, dword [esp + 0x28]
xor edx, edx
div dword [ecx + 4]
mov esi, eax
mov eax, dword [ecx + 8]
mov edi, 0x96
mov dword [esp + 0x80], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x64]
push eax
push edi
lea eax, [esp + 0xc0]
mov dword [esp + 0x98], esi
push eax
lea eax, [esp + 0x8c]
push eax
mov eax, dword [esp + 0x60]
push 1
push ebx
push ebx
push ebx
add eax, 4
push eax
call dword [sym.imp.ntdll.dll_RtlFormatMessage]
cmp eax, 0x80000005
jne 0x41b1c1
push 0x2e
pop esi
mov ax, word [esp + 0x5c]
cmp ax, 0x10
jb 0x41b232
movzx ecx, word [esp + 0x5e]
shr ax, 1
movzx edx, ax
mov word [esp + 0x5c], ax
movzx eax, ax
sub ecx, eax
cmp ecx, 8
jb 0x41b232
mov eax, dword [esp + 0x60]
shr edx, 1
mov word [eax + edx*2], si
xor edx, edx
movzx ecx, word [esp + 0x5c]
mov eax, dword [esp + 0x60]
shr ecx, 1
mov word [eax + ecx*2 + 2], si
movzx ecx, word [esp + 0x5c]
mov eax, dword [esp + 0x60]
shr ecx, 1
mov word [eax + ecx*2 + 4], si
movzx ecx, word [esp + 0x5c]
mov eax, dword [esp + 0x60]
shr ecx, 1
mov word [eax + ecx*2 + 6], dx
lea eax, [esp + 0x64]
push eax
push edi
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0x8c]
push eax
mov eax, dword [esp + 0x60]
push 1
push ebx
push ebx
push ebx
add eax, 4
push eax
call dword [sym.imp.ntdll.dll_RtlFormatMessage]
cmp eax, 0x80000005
je 0x41b124
test eax, eax
js 0x41b232
mov eax, dword [esp + 0x64]
cmp eax, 2
jb 0x41b1d5
sub eax, 2
mov dword [esp + 0x64], eax
mov word [esp + 0x54], ax
lea ecx, [esp + 0xb8]
mov dword [esp + 0x58], ecx
mov ecx, 0x98
movzx eax, ax
shr eax, 1
mov word [esp + 0x56], cx
xor ecx, ecx
mov word [esp + eax*2 + 0xb8], cx
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.ntdll.dll_NtDrawText]
test eax, eax
jns 0x41b218
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.ntdll.dll_NtDisplayString]
mov eax, dword [0x4637a0]
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x1c], ecx
mov cl, byte [esp + 0x13]
mov byte [eax + 0x20], cl
lea ecx, [esp + 0x5c]
call fcn.0041e0b5
mov ecx, dword [esp + 0x154]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00461687
mov esp, ebp
pop ebp
ret 0x14