Function at 0x47cdf0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x47cdf8
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47d385
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 1
push 0x64
xor ecx, ecx
mov dl, 5
mov eax, dword [ebp - 4]
call fcn.0047e658
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x47cf0b
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
cmp byte [esi + 4], 1
jne 0x47cf01
test esi, esi
je 0x47ce70
cmp byte [esi + 5], 0
jbe 0x47ce74
xor eax, eax
jmp 0x47ce76
mov al, 1
mov byte [ebp - 0x19], al
mov eax, dword [ebp - 0x10]
call fcn.0040c6c4
test al, al
je 0x47cf01
mov eax, dword [ebp - 0x10]
call fcn.0040c6d4
mov edx, eax
and edx, 0xfffffff8
mov eax, dword [ebp - 0x10]
call fcn.0040c6e8
mov eax, dword [ebp - 0x10]
call fcn.0040c804
mov byte [ebp - 6], al
jmp 0x47ceb2
mov eax, dword [ebp - 0x10]
call fcn.0040c804
mov byte [ebp - 6], al
cmp byte [ebp - 0x19], 0
jne 0x47ceea
cmp byte [ebp - 6], 0
jne 0x47ceea
push 0x15
push 0x47d398
lea eax, [ebp - 0x20]
mov ecx, 0x47d3a8
mov edx, dword [ebp - 0x10]
call fcn.004043f0
mov eax, dword [ebp - 0x20]
call fcn.00404568
push eax
push 0
call sub.user32.dll_MessageBoxA
cmp eax, 4
je 0x47cea7
cmp byte [ebp - 5], 0
je 0x47cef8
mov al, byte [ebp - 0x19]
or al, byte [ebp - 6]
jne 0x47cefc
xor eax, eax
jmp 0x47cefe
mov al, 1
mov byte [ebp - 5], al
dec ebx
cmp ebx, 0xffffffff
jne 0x47ce3d
push 0x64
mov ecx, 0x64
mov dl, 5
mov eax, dword [ebp - 4]
call fcn.0047e658
push 0x64
xor ecx, ecx
mov dl, 6
mov eax, dword [ebp - 4]
call fcn.0047e658
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x47d00f
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
cmp byte [esi + 4], 1
jne 0x47d005
test esi, esi
je 0x47cf74
cmp byte [esi + 5], 0
jbe 0x47cf78
xor eax, eax
jmp 0x47cf7a
mov al, 1
mov byte [ebp - 0x19], al
mov eax, dword [ebp - 0x10]
call fcn.004640b8
test al, al
je 0x47d005
mov eax, dword [ebp - 0x10]
call fcn.0040c6d4
mov edx, eax
and edx, 0xfffffff8
mov eax, dword [ebp - 0x10]
call fcn.0040c6e8
mov eax, dword [ebp - 0x10]
call fcn.0040ce4c
mov byte [ebp - 6], al
jmp 0x47cfb6
mov eax, dword [ebp - 0x10]
call fcn.0040ce4c
mov byte [ebp - 6], al
cmp byte [ebp - 0x19], 0
jne 0x47cfee
cmp byte [ebp - 6], 0
jne 0x47cfee
push 0x15
push 0x47d398
lea eax, [ebp - 0x24]
mov ecx, 0x47d3a8
mov edx, dword [ebp - 0x10]
call fcn.004043f0
mov eax, dword [ebp - 0x24]
call fcn.00404568
push eax
push 0
call sub.user32.dll_MessageBoxA
cmp eax, 4
je 0x47cfab
cmp byte [ebp - 5], 0
je 0x47cffc
mov al, byte [ebp - 0x19]
or al, byte [ebp - 6]
jne 0x47d000
xor eax, eax
jmp 0x47d002
mov al, 1
mov byte [ebp - 5], al
dec ebx
cmp ebx, 0xffffffff
jne 0x47cf41
push 0x64
mov ecx, 0x64
mov dl, 6
mov eax, dword [ebp - 4]
call fcn.0047e658
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x47d208
mov dl, 1
mov eax, dword [0x46a8e0]
call fcn.0046a9e0
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x47d201
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x47d1eb
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
mov al, byte [esi + 4]
dec eax
sub al, 2
jae 0x47d1e1
mov edx, dword [ebp - 0x10]
mov eax, 0x47d3c8
call fcn.00404690
mov edi, eax
test edi, edi
jle 0x47d1e1
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.004045ac
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
call fcn.004043a4
mov ecx, eax
sub ecx, edi
inc ecx
mov edx, edi
mov eax, dword [ebp - 0x10]
call fcn.004045ac
cmp dword [ebp - 0x18], 0
je 0x47d1e1
mov eax, dword [ebp - 0x14]
mov edx, 0x47d3d4
call fcn.004044b4
jne 0x47d104
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0046aa80
mov byte [ebp - 6], 1
jmp 0x47d12a
mov eax, dword [ebp - 0x14]
mov edx, 0x47d3f0
call fcn.004044b4
jne 0x47d126
mov edx, 0x80000000
mov eax, dword [ebp - 0xc]
call fcn.0046aa80
mov byte [ebp - 6], 1
jmp 0x47d12a
mov byte [ebp - 6], 0
cmp byte [ebp - 6], 0
je 0x47d1e1
mov edx, dword [ebp - 0x18]
mov eax, 0x47d3c8
call fcn.0040c870
mov edi, eax
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x18]
call fcn.004045ac
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x18]
call fcn.004043a4
mov ecx, eax
sub ecx, edi
lea edx, [edi + 1]
mov eax, dword [ebp - 0x18]
call fcn.004045ac
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.0046aae8
test al, al
je 0x47d1e1
mov al, byte [esi + 4]
cmp al, 1
jne 0x47d197
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0046ae6c
jmp 0x47d1e1
cmp al, 2
jne 0x47d1e1
mov al, byte [esi + 0x10]
sub al, 1
jb 0x47d1aa
je 0x47d1ba
dec al
je 0x47d1ca
jmp 0x47d1e1
mov ecx, dword [esi + 0xc]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0046b120
jmp 0x47d1e1
mov ecx, dword [esi + 0xc]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0046b14c
jmp 0x47d1e1
mov eax, dword [esi + 0xc]
xor edx, edx
call fcn.0040c4f4
mov ecx, eax
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0046b1f0
dec ebx
cmp ebx, 0xffffffff
jne 0x47d067
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d208
mov eax, dword [ebp - 0xc]
call fcn.00403374
ret
push 0x64
xor ecx, ecx
mov dl, 7
mov eax, dword [ebp - 4]
call fcn.0047e658
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x47d34c
mov dl, 1
mov eax, dword [0x46a8e0]
call fcn.0046a9e0
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x47d345
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x47d32f
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov edx, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
cmp byte [esi + 4], 1
jne 0x47d325
mov edx, dword [ebp - 0x10]
mov eax, 0x47d3c8
call fcn.00404690
mov edi, eax
test edi, edi
jle 0x47d325
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.004045ac
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
call fcn.004043a4
mov ecx, eax
sub ecx, edi
inc ecx
mov edx, edi
mov eax, dword [ebp - 0x10]
call fcn.004045ac
mov eax, dword [ebp - 0x14]
mov edx, 0x47d3d4
call fcn.004044b4
jne 0x47d2ee
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0046aa80
mov byte [ebp - 6], 1
jmp 0x47d314
mov eax, dword [ebp - 0x14]
mov edx, 0x47d3f0
call fcn.004044b4
jne 0x47d310
mov edx, 0x80000000
mov eax, dword [ebp - 0xc]
call fcn.0046aa80
mov byte [ebp - 6], 1
jmp 0x47d314
mov byte [ebp - 6], 0
cmp byte [ebp - 6], 0
je 0x47d325
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0046acf4
dec ebx
cmp ebx, 0xffffffff
jne 0x47d25d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d34c
mov eax, dword [ebp - 0xc]
call fcn.00403374
ret
push 0x64
mov ecx, 0x64
mov dl, 7
mov eax, dword [ebp - 4]
call fcn.0047e658
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d38c
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0040411c
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.0040411c
ret