Function at 0x463ce1
Capabilities:
Get disk information
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x530
push ebx
push esi
push edi
mov edi, ecx
test byte [edi + 0x27], 0x40
jne 0x463d05
mov eax, dword [ebp + 8]
mov ecx, dword [0x4cfce8]
mov dword [eax], ecx
jmp 0x46418a
mov eax, dword [edi + 0x150]
lea ebx, [edi + 0x150]
cmp dword [eax - 8], 0
jne 0x464136
mov eax, dword [edi]
lea ecx, [ebp - 8]
push ecx
mov ecx, edi
call dword [eax + 8]
push dword [ebp - 8]
call fcn.0041429c
test eax, eax
pop ecx
je 0x463d55
push eax
push dword [ebp - 8]
call fcn.004142d1
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x463d4b
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push eax
lea ecx, [ebp - 8]
call fcn.00402d62
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x463d6d
lea eax, [ebp - 8]
mov ecx, ebx
push eax
call fcn.00402dbe
jmp 0x46410e
cmp byte [eax + 1], 0x3a
jne 0x46410e
mov ecx, edi
call fcn.0045e353
cmp eax, 4
jne 0x463e41
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x400
push eax
lea eax, [ebp - 0x530]
push eax
push 1
push dword [ebp - 8]
call sub.MPR.dll_WNetGetUniversalNameA
test eax, eax
jne 0x463df0
mov esi, dword [ebp - 0x530]
test esi, esi
je 0x463db8
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push eax
mov ecx, ebx
call fcn.00402d62
mov eax, dword [ebx]
mov ecx, dword [eax - 8]
cmp byte [eax + ecx - 1], 0x5c
jne 0x463df0
lea esi, [ecx - 1]
mov ecx, ebx
push esi
call fcn.0040303d
test eax, eax
je 0x463de7
mov eax, dword [ebx]
mov dword [eax - 8], esi
mov eax, dword [ebx]
and byte [eax + esi], 0
push 0xffffffffffffffff
mov ecx, ebx
call fcn.004030a4
mov ecx, dword [ebx]
xor eax, eax
cmp dword [ecx - 8], eax
jne 0x46410e
and byte [ebp - 0x130], al
lea ecx, [ebp - 0x130]
push 0x104
push ecx
push eax
push eax
push eax
push eax
push eax
mov ecx, edi
call fcn.0045e9b4
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea eax, [ebp - 0x130]
push eax
push str.FUSE_SSHFS
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x46410e
jmp 0x463d5d
mov eax, dword [ebp - 8]
mov al, byte [eax]
cmp al, 0x61
mov byte [ebp - 1], al
jl 0x463e55
cmp al, 0x7a
jg 0x463e55
add byte [ebp - 1], 0xe0
mov eax, dword [0x4cfce8]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov eax, 0x117
push eax
mov dword [ebp - 0x1c], eax
call fcn.0040303d
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
and byte [esi], 0
lea eax, [esi + 2]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x464039
and dword [ebp - 0x28], 0
push 1
mov byte [esi], 0x5c
mov byte [esi + 1], 0x5c
add dword [ebp - 0x1c], 2
mov eax, dword [ebp - 0x1c]
pop edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x24], edi
and byte [esi + eax], 0
push 0xffffffffffffffff
call fcn.004030a4
xor esi, esi
lea eax, [ebp - 0x10]
push esi
push eax
lea ecx, [ebp - 0x28]
call fcn.0041458a
test eax, eax
je 0x46401e
mov eax, dword [ebp - 0x28]
push esi
push esi
push edi
push eax
mov dword [ebp - 0x28], esi
call fcn.004600aa
mov ecx, eax
add esp, 0x10
cmp ecx, esi
mov dword [ebp - 0x20], ecx
je 0x46401e
mov eax, dword fs:[0x2c]
mov edx, dword [0x4e9e94]
mov esi, dword [eax + edx*4]
mov eax, dword [esi + 4]
mov edi, dword [eax + 0x50]
mov dword [eax + 0x50], 0x10000
xor eax, eax
push eax
push eax
push eax
push eax
push 0x20
call fcn.00460d4d
mov eax, dword [esi + 4]
mov dword [eax + 0x50], edi
mov eax, dword [ebp - 0x20]
lea esi, [eax + 0xd4]
lea eax, [esi - 0x3c]
neg esi
sbb esi, esi
and esi, eax
mov esi, dword [esi + 0x40]
mov eax, esi
add esi, 0xffffffc4
neg eax
sbb eax, eax
and eax, esi
mov esi, eax
je 0x464014
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov edi, eax
test edi, edi
je 0x463f59
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
push eax
lea ecx, [ebp - 0xc]
call fcn.00402d62
push dword [ebp - 0xc]
lea eax, [ebp - 0x18]
push 0
push eax
call fcn.0046cb80
mov ecx, dword [ebp - 0x18]
add esp, 0xc
mov eax, dword [ecx - 8]
test eax, eax
je 0x463f96
mov edx, dword [ebp - 8]
cmp eax, dword [edx - 8]
jg 0x463f96
push eax
push edx
push ecx
call dword [sym.imp.MSVCRT.dll__mbsnbicmp]
add esp, 0xc
test eax, eax
je 0x463fa0
lea ecx, [ebp - 0x18]
call fcn.004010b4
jmp 0x463f2f
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push 0x5c
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004030fa
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00405e68
push eax
mov ecx, ebx
call fcn.00402dbe
lea ecx, [ebp - 0x2c]
call fcn.004010b4
lea ecx, [ebp - 0x14]
call fcn.004010b4
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax - 8]
mov eax, dword [ebp - 8]
cmp dword [eax - 8], ecx
jle 0x46400c
cmp byte [ecx + eax], 0x5c
jne 0x463fea
inc ecx
add ecx, eax
push 1
push ecx
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.0046bc0b
add esp, 0x10
mov ecx, ebx
push eax
call fcn.00402dbe
lea ecx, [ebp - 0x14]
call fcn.004010b4
lea ecx, [ebp - 0x18]
call fcn.004010b4
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx]
call dword [eax + 0x10]
xor esi, esi
cmp dword [ebp - 0x24], esi
je 0x464043
cmp dword [ebp - 0x28], 0
je 0x464043
mov eax, dword [0x4d8228]
push dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
jmp 0x464043
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.004030a4
mov eax, dword [ebx]
cmp dword [eax - 8], 0
jne 0x4640fe
mov ecx, 0x4d8e00
call fcn.004129f1
test eax, eax
je 0x4640fe
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 0
je 0x4640fe
mov eax, dword fs:[0x2c]
mov ecx, dword [0x4e9e94]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 4]
test byte [eax + 0x620], 8
jne 0x4640fe
movsx eax, byte [ebp - 1]
push eax
lea eax, [ebp - 0xc]
push str._c_
push eax
call fcn.00404f20
mov eax, dword [ebp - 8]
add esp, 0xc
lea esi, [eax + 2]
test esi, esi
jne 0x4640b0
xor eax, eax
jmp 0x4640b7
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push eax
lea ecx, [ebp - 0xc]
call fcn.00402f96
mov eax, dword [ebp - 0xc]
mov esi, dword [eax - 8]
dec esi
cmp byte [esi + eax], 0x5c
jne 0x4640e0
lea ecx, [ebp - 0xc]
call fcn.00402c68
mov eax, dword [ebp - 0xc]
and byte [esi + eax], 0
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00402e70
push eax
mov ecx, ebx
call fcn.00402dbe
lea ecx, [ebp - 0x14]
call fcn.004010b4
lea ecx, [ebp - 0xc]
call fcn.004010b4
lea ecx, [ebp - 0x10]
call fcn.004010b4
push dword [ebx]
call fcn.0041429c
test eax, eax
pop ecx
je 0x46412e
mov eax, dword [ebx]
push 0xffffffffffffffff
push eax
call fcn.004142d1
pop ecx
pop ecx
push eax
mov ecx, ebx
call fcn.00402e2b
lea ecx, [ebp - 8]
call fcn.004010b4
mov eax, dword [ebx]
mov esi, str.__r_t_n
cmp dword [eax - 8], 0
jne 0x46414b
push esi
mov ecx, ebx
call fcn.00402e2b
mov eax, dword [ebx]
push esi
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
je 0x463cf5
mov eax, dword [ebx]
mov esi, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jl 0x464178
mov dword [esi], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x464188
mov eax, dword [0x4cfce8]
mov ecx, esi
mov dword [esi], eax
push dword [ebx]
call fcn.00402e2b
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4