Function at 0x47c080
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x513476
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], edi
call fcn.0047ba60
xor ebp, ebp
push 0x10
mov dword [esp + 0x28], str.HOST
mov dword [esp + 0x2c], str.UID
mov dword [esp + 0x30], str.PWD
mov dword [esp + 0x34], str.DIR
mov dword [esp + 0x38], str.LOCDIR
mov dword [esp + 0x3c], str.COMMENT
mov dword [esp + 0x14], ebp
call fcn.004dd79a
add esp, 4
test eax, eax
je 0x47c0f9
mov ecx, eax
call fcn.00478280
mov esi, eax
jmp 0x47c0fb
xor esi, esi
lea eax, [esp + 0x1c]
or ebx, 0xffffffff
push 0xe8fa
push eax
mov dword [esi + 0xc], ebx
call fcn.0042e0a0
add esp, 8
push eax
lea ecx, [esi + 4]
mov dword [esp + 0x144], 0
call fcn.004dd28a
lea ecx, [esp + 0x1c]
mov dword [esp + 0x140], ebx
call fcn.004dd151
mov eax, dword [edi + 0x1c]
lea ecx, [edi + 0x14]
push esi
push eax
mov dword [esp + 0x28], eax
call fcn.004d6f13
push 0x64
call fcn.004dd79a
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x140], 1
je 0x47c187
mov ecx, dword [0x532678]
mov edx, dword [esp + 0x148]
push 1
push ecx
push 0x21
push edx
mov ecx, eax
call fcn.004d26f0
mov ebx, eax
mov dword [esp + 0x14], ebx
jmp 0x47c193
mov dword [esp + 0x14], 0
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx]
or edx, 0xffffffff
mov dword [esp + 0x140], edx
mov ecx, dword [eax + 4]
lea eax, [ecx + ebx]
mov ecx, dword [ecx + ebx + 4]
cmp dword [ecx + 0x4c], edx
jne 0x47c1ca
test ebx, ebx
je 0x47c4e7
mov edx, dword [ebx]
push 1
mov eax, dword [edx + 4]
mov edx, dword [eax + ebx]
lea ecx, [eax + ebx]
call dword [edx]
jmp 0x47c4e7
mov ecx, dword [eax + 8]
test cl, 1
jne 0x47c4d4
test ecx, ecx
jne 0x47c458
mov ecx, dword [eax + 0x34]
test ecx, ecx
jge 0x47c1f1
add eax, 0x38
push eax
call fcn.004d1cd6
add esp, 4
mov ecx, dword [ebx + 4]
push 0xa
inc ecx
lea eax, [esp + 0x40]
mov dword [ebx + 4], ecx
push 0x96
push eax
mov ecx, ebx
call fcn.004d1cec
mov ecx, dword [ebx]
mov eax, dword [ecx + 4]
mov ecx, dword [eax + ebx + 0x34]
add eax, ebx
test ecx, ecx
jge 0x47c226
add eax, 0x38
push eax
call fcn.004d1ce1
add esp, 4
mov eax, dword [ebx + 8]
test eax, eax
je 0x47c43f
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
mov dl, byte [esp + 0x3c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 2
jbe 0x47c380
cmp dl, 0x5b
jne 0x47c380
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x3b], 0x5d
jne 0x47c380
cmp byte [esp + 0x3d], 0x5f
je 0x47c380
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x3d]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x3c]
mov esi, ecx
sub esi, 2
push esi
push edx
push eax
call fcn.004c32f0
add esp, 0xc
mov byte [esp + esi + 0x3c], 0
test ebp, ebp
je 0x47c32b
mov ecx, dword [ebp + 0x10]
lea edi, [ebp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x47c319
mov eax, dword [ebp + 0xc]
mov esi, str.anonymous
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x47c2e3
test cl, cl
je 0x47c2df
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x47c2e3
add eax, 2
add esi, 2
test cl, cl
jne 0x47c2bf
xor eax, eax
jmp 0x47c2e8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x47c319
mov eax, dword [edi]
lea ecx, [esp + 0xd4]
push ecx
push eax
call fcn.0047b9f0
add esp, 8
lea edx, [esp + 0xd4]
mov ecx, edi
push edx
call fcn.004dd2da
mov eax, dword [esp + 0x10]
mov dword [eax + 0x14], 0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push edx
mov eax, dword [ecx + 8]
push eax
call fcn.004d6f13
push 0x98
call fcn.004dd79a
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x140], 2
je 0x47c356
mov ecx, eax
call fcn.00478300
mov esi, eax
jmp 0x47c358
xor esi, esi
lea eax, [esp + 0x3c]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x144], 0xffffffff
mov dword [esp + 0x14], esi
call fcn.004dd2da
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x40], ecx
jmp 0x47c43f
test ebp, ebp
je 0x47c43f
test dl, dl
je 0x47c43f
xor esi, esi
lea ebx, [esp + 0x24]
mov ebp, dword [ebx]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x3c]
push ecx
push edx
push ebp
call fcn.004c3040
add esp, 0xc
test eax, eax
jne 0x47c3d3
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x3c]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, edx
ja 0x47c3de
inc esi
add ebx, 4
cmp esi, 6
jl 0x47c396
jmp case.default.0x47c3f5
mov edi, dword [esp + esi*4 + 0x24]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp esi, 5
lea eax, [esp + ecx + 0x3c]
ja case.default.0x47c3f5
jmp dword [esi*4 + 0x47c504]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [eax + 8]
jmp 0x47c436
mov ecx, dword [esp + 0x10]
push eax
add ecx, 0xc
jmp 0x47c436
mov edx, dword [esp + 0x10]
push eax
lea ecx, [edx + 0x10]
jmp 0x47c436
push eax
mov eax, dword [esp + 0x14]
lea ecx, [eax + 0x18]
jmp 0x47c436
mov ecx, dword [esp + 0x10]
push eax
add ecx, 0x1c
jmp 0x47c436
mov edx, dword [esp + 0x10]
push eax
lea ecx, [edx + 0x20]
call fcn.004dd2da
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx]
mov ebp, dword [esp + 0x10]
mov ecx, dword [eax + 4]
lea eax, [ecx + ebx]
mov ecx, dword [ecx + ebx + 8]
test cl, 1
je 0x47c1d6
test ebp, ebp
je 0x47c4d4
lea edi, [ebp + 0x10]
mov ebp, dword [ebp + 0x10]
mov eax, dword [ebp - 8]
test eax, eax
je 0x47c4c2
mov edx, dword [esp + 0x10]
mov esi, str.anonymous
mov eax, dword [edx + 0xc]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x47c499
test cl, cl
je 0x47c495
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x47c499
add eax, 2
add esi, 2
test cl, cl
jne 0x47c475
xor eax, eax
jmp 0x47c49e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x47c4c2
lea eax, [esp + 0xd4]
push eax
push ebp
call fcn.0047b9f0
add esp, 8
lea ecx, [esp + 0xd4]
push ecx
mov ecx, edi
call fcn.004dd2da
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push edx
mov eax, dword [ecx + 8]
push eax
call fcn.004d6f13
test ebx, ebx
je 0x47c4e7
mov ecx, dword [ebx]
push 1
mov edx, dword [ecx + 4]
mov eax, dword [edx + ebx]
lea ecx, [edx + ebx]
call dword [eax]
mov ecx, dword [esp + 0x138]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x134
ret 4