Function at 0x47c040
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x513436
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.0047ba20
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.004dd75a
add esp, 4
test eax, eax
je 0x47c0b9
mov ecx, eax
call fcn.00478240
mov esi, eax
jmp 0x47c0bb
xor esi, esi
lea eax, [esp + 0x1c]
or ebx, 0xffffffff
push 0xe8fa
push eax
mov dword [esi + 0xc], ebx
call fcn.0042e080
add esp, 8
push eax
lea ecx, [esi + 4]
mov dword [esp + 0x144], 0
call fcn.004dd24a
lea ecx, [esp + 0x1c]
mov dword [esp + 0x140], ebx
call fcn.004dd111
mov eax, dword [edi + 0x1c]
lea ecx, [edi + 0x14]
push esi
push eax
mov dword [esp + 0x28], eax
call fcn.004d6ed3
push 0x64
call fcn.004dd75a
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x140], 1
je 0x47c147
mov ecx, dword [0x532678]
mov edx, dword [esp + 0x148]
push 1
push ecx
push 0x21
push edx
mov ecx, eax
call fcn.004d26b0
mov ebx, eax
mov dword [esp + 0x14], ebx
jmp 0x47c153
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 0x47c18a
test ebx, ebx
je 0x47c4a7
mov edx, dword [ebx]
push 1
mov eax, dword [edx + 4]
mov edx, dword [eax + ebx]
lea ecx, [eax + ebx]
call dword [edx]
jmp 0x47c4a7
mov ecx, dword [eax + 8]
test cl, 1
jne 0x47c494
test ecx, ecx
jne 0x47c418
mov ecx, dword [eax + 0x34]
test ecx, ecx
jge 0x47c1b1
add eax, 0x38
push eax
call fcn.004d1c96
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.004d1cac
mov ecx, dword [ebx]
mov eax, dword [ecx + 4]
mov ecx, dword [eax + ebx + 0x34]
add eax, ebx
test ecx, ecx
jge 0x47c1e6
add eax, 0x38
push eax
call fcn.004d1ca1
add esp, 4
mov eax, dword [ebx + 8]
test eax, eax
je 0x47c3ff
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 0x47c340
cmp dl, 0x5b
jne 0x47c340
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x3b], 0x5d
jne 0x47c340
cmp byte [esp + 0x3d], 0x5f
je 0x47c340
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.004c32b0
add esp, 0xc
mov byte [esp + esi + 0x3c], 0
test ebp, ebp
je 0x47c2eb
mov ecx, dword [ebp + 0x10]
lea edi, [ebp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x47c2d9
mov eax, dword [ebp + 0xc]
mov esi, str.anonymous
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x47c2a3
test cl, cl
je 0x47c29f
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x47c2a3
add eax, 2
add esi, 2
test cl, cl
jne 0x47c27f
xor eax, eax
jmp 0x47c2a8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x47c2d9
mov eax, dword [edi]
lea ecx, [esp + 0xd4]
push ecx
push eax
call fcn.0047b9b0
add esp, 8
lea edx, [esp + 0xd4]
mov ecx, edi
push edx
call fcn.004dd29a
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.004d6ed3
push 0x98
call fcn.004dd75a
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x140], 2
je 0x47c316
mov ecx, eax
call fcn.004782c0
mov esi, eax
jmp 0x47c318
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.004dd29a
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x40], ecx
jmp 0x47c3ff
test ebp, ebp
je 0x47c3ff
test dl, dl
je 0x47c3ff
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.004c3000
add esp, 0xc
test eax, eax
jne 0x47c393
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 0x47c39e
inc esi
add ebx, 4
cmp esi, 6
jl 0x47c356
jmp case.default.0x47c3b5
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.0x47c3b5
jmp dword [esi*4 + 0x47c4c4]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [eax + 8]
jmp 0x47c3f6
mov ecx, dword [esp + 0x10]
push eax
add ecx, 0xc
jmp 0x47c3f6
mov edx, dword [esp + 0x10]
push eax
lea ecx, [edx + 0x10]
jmp 0x47c3f6
push eax
mov eax, dword [esp + 0x14]
lea ecx, [eax + 0x18]
jmp 0x47c3f6
mov ecx, dword [esp + 0x10]
push eax
add ecx, 0x1c
jmp 0x47c3f6
mov edx, dword [esp + 0x10]
push eax
lea ecx, [edx + 0x20]
call fcn.004dd29a
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 0x47c196
test ebp, ebp
je 0x47c494
lea edi, [ebp + 0x10]
mov ebp, dword [ebp + 0x10]
mov eax, dword [ebp - 8]
test eax, eax
je 0x47c482
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 0x47c459
test cl, cl
je 0x47c455
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x47c459
add eax, 2
add esi, 2
test cl, cl
jne 0x47c435
xor eax, eax
jmp 0x47c45e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x47c482
lea eax, [esp + 0xd4]
push eax
push ebp
call fcn.0047b9b0
add esp, 8
lea ecx, [esp + 0xd4]
push ecx
mov ecx, edi
call fcn.004dd29a
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push edx
mov eax, dword [ecx + 8]
push eax
call fcn.004d6ed3
test ebx, ebx
je 0x47c4a7
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