Function at 0x47c520
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x51349b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x148
push ebx
push esi
push edi
xor ebx, ebx
mov dword [esp + 0x14], ecx
push 0x64
mov dword [esp + 0x20], str.HOST
mov dword [esp + 0x24], str.UID
mov dword [esp + 0x28], str.PWD
mov dword [esp + 0x2c], str.DIR
mov dword [esp + 0x30], str.LOCDIR
mov dword [esp + 0x34], str.COMMENT
mov dword [esp + 0x38], str.LMASK
mov dword [esp + 0x3c], str.RMASK
mov dword [esp + 0x40], str.RETRIES
mov dword [esp + 0x44], str.PORT
mov dword [esp + 0x48], str.AMODE
mov dword [esp + 0x4c], str.MODE
mov dword [esp + 0x50], str.FORCLOW
mov dword [esp + 0x54], str.PASVMODE
mov dword [esp + 0x58], str.TYPE
mov dword [esp + 0x1c], 1
mov dword [esp + 0x10], ebx
call fcn.004dd79a
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x15c], ebx
je 0x47c5ff
mov ecx, dword [0x532678]
mov edx, dword [esp + 0x164]
push 1
push ecx
push 0x21
push edx
mov ecx, eax
call fcn.004d26f0
mov esi, eax
jmp 0x47c601
xor esi, esi
mov eax, dword [esi]
or edx, 0xffffffff
mov dword [esp + 0x10], esi
mov dword [esp + 0x15c], edx
mov ecx, dword [eax + 4]
lea eax, [ecx + esi]
mov ecx, dword [ecx + esi + 4]
cmp dword [ecx + 0x4c], edx
jne 0x47c63c
cmp esi, ebx
je 0x47ccc2
mov edx, dword [esi]
push 1
mov eax, dword [edx + 4]
mov edx, dword [eax + esi]
lea ecx, [eax + esi]
call dword [edx]
jmp 0x47ccc2
mov ecx, dword [eax + 8]
push ebp
test cl, 1
jne 0x47ccae
test ecx, ecx
jne 0x47cc26
mov ecx, dword [eax + 0x34]
test ecx, ecx
jge 0x47c664
add eax, 0x38
push eax
call fcn.004d1cd6
add esp, 4
mov eax, dword [esi + 4]
push 0xa
inc eax
push 0x96
mov dword [esi + 4], eax
lea eax, [esp + 0x64]
push eax
mov ecx, esi
call fcn.004d1cec
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
mov ecx, dword [eax + esi + 0x34]
add eax, esi
test ecx, ecx
jge 0x47c699
add eax, 0x38
push eax
call fcn.004d1ce1
add esp, 4
mov eax, dword [esi + 8]
test eax, eax
je case.0x47c948.2
lea edi, [esp + 0x5c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 2
jbe 0x47c7fd
cmp byte [esp + 0x5c], 0x5b
jne 0x47c7fd
lea edi, [esp + 0x5c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x5b], 0x5d
jne 0x47c7fd
cmp byte [esp + 0x5d], 0x5f
je 0x47c7fd
lea edi, [esp + 0x5c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x5d]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x5c]
mov esi, ecx
sub esi, 2
push esi
push edx
push eax
call fcn.004c32f0
mov edi, dword [esp + 0x1c]
add esp, 0xc
test edi, edi
mov byte [esp + esi + 0x5c], 0
je 0x47c7a5
mov ebp, dword [edi + 0xc]
mov esi, str.anonymous
mov eax, ebp
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x47c753
test cl, cl
je 0x47c74f
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x47c753
add eax, 2
add esi, 2
test cl, cl
jne 0x47c72b
xor eax, eax
jmp 0x47c758
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x47c797
mov eax, dword [ebp - 8]
test eax, eax
je 0x47c797
mov eax, dword [edi + 0x10]
lea esi, [edi + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47c790
lea ecx, [esp + 0xf4]
push ecx
push eax
call fcn.0047b9f0
add esp, 8
lea edx, [esp + 0xf4]
mov ecx, esi
push edx
call fcn.004dd2da
mov dword [edi + 0x14], 0
mov ecx, dword [esp + 0x18]
push edi
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 + 0x160], 1
je 0x47c7d0
mov ecx, eax
call fcn.00478300
mov esi, eax
jmp 0x47c7d2
xor esi, esi
lea eax, [esp + 0x5c]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x164], 0xffffffff
mov dword [esp + 0x14], esi
call fcn.004dd2da
mov ecx, dword [esp + 0x16c]
mov dword [esi + 0x40], ecx
jmp case.0x47c948.2
mov edi, str.FILENAME
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x5c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push str.FILENAME
call fcn.004c3040
add esp, 0xc
test eax, eax
jne 0x47c8c4
lea edi, [esp + 0x5c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, str.FILENAME
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jbe 0x47c8c4
push 0x10
call fcn.004dd79a
add esp, 4
test eax, eax
je 0x47c85f
mov ecx, eax
call fcn.00478280
mov esi, eax
jmp 0x47c861
xor esi, esi
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x16c]
mov dword [esi + 0xc], eax
lea ecx, [ebx + 4]
push ecx
lea ecx, [esi + 4]
call fcn.004dd28a
mov edi, str.FILENAME
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
mov edi, dword [edx + 0x1c]
dec ecx
push esi
push edi
lea ebp, [esp + ecx + 0x64]
lea ecx, [edx + 0x14]
call fcn.004d6f13
mov ecx, dword [esp + 0x18]
push edi
push ebp
call fcn.0047c520
test ebx, ebx
je 0x47c8b7
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 4]
mov dword [esp + 0x10], 0
jmp case.0x47c948.2
mov eax, dword [esp + 0x10]
test eax, eax
je case.0x47c948.2
mov al, byte [esp + 0x5c]
test al, al
je case.0x47c948.2
xor ebp, ebp
lea ebx, [esp + 0x20]
mov esi, dword [ebx]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x60]
push ecx
push esi
call fcn.004c3040
add esp, 0xc
test eax, eax
jne 0x47c91f
lea edi, [esp + 0x5c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, esi
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
ja 0x47c92d
inc ebp
add ebx, 4
cmp ebp, 0xf
jl 0x47c8e2
jmp case.0x47c948.2
mov edi, dword [esp + ebp*4 + 0x20]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ebp, 0xe
lea esi, [esp + ecx + 0x5c]
ja case.0x47c948.2
jmp dword [ebp*4 + 0x47ccdc]
mov eax, dword [esp + 0x10]
push esi
lea ecx, [eax + 8]
call fcn.004dd2da
jmp case.0x47c948.2
mov ecx, dword [esp + 0x10]
push esi
add ecx, 0xc
call fcn.004dd2da
jmp case.0x47c948.2
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
lea edx, [esi + 1]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
sub edi, 2
push edi
push edx
push esi
call fcn.004c32f0
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov byte [edi + esi], 0
push esi
lea ecx, [eax + 0x18]
call fcn.004dd2da
jmp case.0x47c948.2
mov ecx, dword [esp + 0x10]
push esi
add ecx, 0x1c
call fcn.004dd2da
jmp case.0x47c948.2
mov edx, dword [esp + 0x10]
push esi
lea ecx, [edx + 0x20]
call fcn.004dd2da
jmp case.0x47c948.2
push esi
call fcn.004c298a
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx + 0x28], eax
jmp case.0x47c948.2
push esi
call fcn.004c298a
mov edx, dword [esp + 0x14]
add esp, 4
mov dword [edx + 0x24], eax
jmp case.0x47c948.2
push esi
call fcn.004c298a
add esp, 4
mov dword [esp + 0x1c], eax
jmp case.0x47c948.2
mov eax, dword [esp + 0x1c]
test eax, eax
jne case.0x47c948.2
push 2
push esi
push 0x5570ec
call fcn.004c3040
add esp, 0xc
test eax, eax
jne 0x47ca33
mov eax, dword [esp + 0x10]
mov dword [eax + 0x38], 0
push 2
push esi
push 0x5570e8
call fcn.004c3040
add esp, 0xc
test eax, eax
jne case.0x47c948.2
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x38], 1
jmp case.0x47c948.2
push esi
call fcn.004c298a
add esp, 4
test eax, eax
je case.0x47c948.2
mov edx, dword [esp + 0x10]
mov dword [edx + 0x58], 2
jmp case.0x47c948.2
push esi
call fcn.004c298a
add esp, 4
test eax, eax
je case.0x47c948.2
mov eax, dword [esp + 0x10]
mov dword [eax + 0x64], 1
jmp case.0x47c948.2
push 4
push esi
push str.6010
call fcn.004c3040
mov edi, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0x47cabc
mov dword [edi + 0x50], 1
push 4
push esi
push str.6018
call fcn.004c3040
add esp, 0xc
test eax, eax
jne 0x47cad7
mov dword [edi + 0x50], 3
push 4
push esi
push str.6011
call fcn.004c3040
add esp, 0xc
test eax, eax
je 0x47caff
push 4
push esi
push str.6012
call fcn.004c3040
add esp, 0xc
test eax, eax
jne 0x47cb06
mov dword [edi + 0x50], 4
push 4
push esi
push str.6005
call fcn.004c3040
add esp, 0xc
test eax, eax
jne 0x47cb21
mov dword [edi + 0x50], 5
push 4
push esi
push str.6013
call fcn.004c3040
add esp, 0xc
test eax, eax
je 0x47cb49
push 4
push esi
push str.6039
call fcn.004c3040
add esp, 0xc
test eax, eax
jne 0x47cb50
mov dword [edi + 0x50], 6
push 4
push esi
push str.6016
call fcn.004c3040
add esp, 0xc
test eax, eax
jne 0x47cb6b
mov dword [edi + 0x50], 7
push 4
push esi
push str.6048
call fcn.004c3040
add esp, 0xc
test eax, eax
je 0x47cb93
push 4
push esi
push str.6042
call fcn.004c3040
add esp, 0xc
test eax, eax
jne 0x47cb9a
mov dword [edi + 0x50], 8
push 4
push esi
push str.6053
call fcn.004c3040
add esp, 0xc
test eax, eax
jne 0x47cbb5
mov dword [edi + 0x50], 0xa
push 4
push esi
push str.6001
call fcn.004c3040
add esp, 0xc
test eax, eax
jne 0x47cbd0
mov dword [edi + 0x50], 0xb
push 4
push esi
push str.6017
call fcn.004c3040
add esp, 0xc
test eax, eax
jne 0x47cbeb
mov dword [edi + 0x50], 0xc
push 4
push esi
push str.6004
call fcn.004c3040
add esp, 0xc
test eax, eax
jne case.0x47c948.2
mov dword [edi + 0x50], 0xd
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov ecx, dword [eax + edx + 8]
add eax, edx
test cl, 1
je 0x47c649
test ebx, ebx
je 0x47ccae
mov ebp, dword [ebx + 0xc]
mov edi, str.anonymous
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x47cc5c
test cl, cl
je 0x47cc58
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x47cc5c
add eax, 2
add edi, 2
test cl, cl
jne 0x47cc38
xor eax, eax
jmp 0x47cc61
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x47cca0
mov eax, dword [ebp - 8]
test eax, eax
je 0x47cca0
mov eax, dword [ebx + 0x10]
lea edi, [ebx + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47cc99
lea ecx, [esp + 0xf4]
push ecx
push eax
call fcn.0047b9f0
add esp, 8
lea edx, [esp + 0xf4]
mov ecx, edi
push edx
call fcn.004dd2da
mov dword [ebx + 0x14], 0
mov ecx, dword [esp + 0x18]
push ebx
mov eax, dword [ecx + 8]
push eax
call fcn.004d6f13
test esi, esi
pop ebp
je 0x47ccc2
mov ecx, dword [esi]
push 1
mov edx, dword [ecx + 4]
mov eax, dword [edx + esi]
lea ecx, [edx + esi]
call dword [eax]
mov ecx, dword [esp + 0x154]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x154
ret 8