Function at 0x4ad0e074
Capabilities:
Get disk information

Disassembly:
movzx eax, cx
dec eax
cmp eax, 9
ja case.0x4ad0e03b.7
jmp dword [eax*4 + 0x4ad0e557]
push 0x4ad25200
push 0x4ad05a08
push dword [ebp - 0x270]
push esi
call fcn.4ad01710
add esp, 0x10
mov eax, esi
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x4ad0e060
jmp 0x4ad0e1db
push 0x278
push 0x4ad0e200
call fcn.4ad018b0
xor edi, edi
mov dword [ebp - 0x280], edi
cmp dword [0x4ad2415c], edi
jne 0x4ad0e23d
cmp dword [0x4ad2404c], edi
je 0x4ad0e237
cmp dword [0x4ad240c8], edi
jne 0x4ad0e0b6
push 0x4ad24568
call fcn.4ad040bf
pop ecx
cmp byte [0x4ad24045], 0
jne 0x4ad1066a
push str.PROMPT
call fcn.4ad02163
mov ebx, eax
mov dword [ebp - 0x278], ebx
cmp ebx, edi
je 0x4ad0e0f9
push ebx
push 0x200
mov esi, 0x4ad25420
push esi
call fcn.4ad01416
mov ebx, esi
mov byte [0x4ad24045], 1
mov dword [ebp - 0x278], ebx
push edi
push 0x104
mov edi, 0x4ad25200
push edi
call fcn.4ad0363f
mov esi, 0x4ad25de0
mov dword [ebp - 0x274], esi
and word [0x4ad25de0], 0
mov eax, 0x3ff
mov dword [ebp - 0x270], eax
test ebx, ebx
je 0x4ad0e51e
cmp word [ebx], 0
je 0x4ad0e51e
movzx eax, word [ebx]
test ax, ax
je 0x4ad0e21c
cmp ax, 0x24
jne 0x4ad0e254
inc ebx
inc ebx
mov dword [ebp - 0x278], ebx
xor ebx, ebx
cmp word [0x4ad24d60], bx
je 0x4ad0e190
mov edi, 0x4ad24d60
mov eax, dword [ebp - 0x278]
movzx eax, word [eax]
push eax
call dword [sym.imp.msvcrt.dll_towupper]
pop ecx
cmp ax, word [edi]
je 0x4ad0e190
inc ebx
mov eax, ebx
imul eax, eax, 6
lea edi, [eax + 0x4ad24d60]
cmp word [edi], 0
jne 0x4ad0e168
mov eax, ebx
imul eax, eax, 6
cmp word [eax + 0x4ad24d60], 0
je 0x4ad0e21c
movzx ecx, word [eax + 0x4ad24d62]
cmp cx, 8
jne 0x4ad0e02e
movzx eax, word [eax + 0x4ad24d64]
push eax
push 0x4ad24578
push dword [ebp - 0x270]
push esi
call fcn.4ad01710
add esp, 0x10
mov eax, esi
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x4ad0e1d1
sub eax, ecx
sar eax, 1
lea esi, [esi + eax*2]
sub dword [ebp - 0x270], eax
mov dword [ebp - 0x274], esi
add dword [ebp - 0x278], 2
mov ebx, dword [ebp - 0x278]
jmp 0x4ad0e13a
and word [esi], 0
push 0x4ad25de0
call fcn.4ad0e008
cmp dword [0x4ad2415c], 0
jne 0x4ad0e54d
call fcn.4ad018a4
ret
push edi
push 0x2335
call fcn.4ad0594f
pop ecx
pop ecx
call fcn.4ad02fd7
jmp 0x4ad0e097
movzx eax, ax
push eax
push 0x4ad24578
push dword [ebp - 0x270]
push esi
call fcn.4ad01710
add esp, 0x10
mov eax, esi
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x4ad0e271
sub eax, ecx
sar eax, 1
lea esi, [esi + eax*2]
mov dword [ebp - 0x274], esi
sub dword [ebp - 0x270], eax
call fcn.4ad05e8a
test al, al
je 0x4ad0e2b2
movzx eax, word [ebx]
push eax
call fcn.4ad1e03d
test eax, eax
je 0x4ad0e2b2
movzx eax, word [ebx]
mov dword [ebp - 0x280], eax
jmp 0x4ad0e1ee
and dword [ebp - 0x280], 0
jmp 0x4ad0e1ee
push dword [ebp - 0x270]
push esi
push 1
push 0
call fcn.4ad1024b
jmp 0x4ad0e1df
push dword [ebp - 0x270]
push esi
push 1
push 0
call fcn.4ad11d1c
jmp 0x4ad0e1df
push 0x20
lea eax, [ebp - 0x64]
push eax
call fcn.4ad0fe6c
lea eax, [ebp - 0x64]
push eax
push 0x2350
call fcn.4ad0deb6
mov edi, eax
push edi
push 0x4ad05a08
push dword [ebp - 0x270]
push esi
call fcn.4ad01710
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
je 0x4ad0e1db
jmp 0x4ad0e324
cmp word [ebp - 0x280], 0
je 0x4ad0e345
push str._b_b___b_b
jmp 0x4ad0e34a
push 0x4ad406e8
push dword [ebp - 0x270]
push esi
call fcn.4ad01416
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x4ad0e35b
sub eax, edx
jmp 0x4ad0e1dd
push 0x4ad24568
push dword [ebp - 0x270]
push esi
call fcn.4ad01416
mov eax, esi
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
je 0x4ad0e1db
jmp 0x4ad0e382
cmp byte [0x4ad24041], 0
je 0x4ad0e1ee
call fcn.4ad1e6cd
jmp 0x4ad0e3c4
mov ecx, eax
dec eax
test ecx, ecx
je 0x4ad0e1ee
mov word [esi], 0x2b
inc esi
inc esi
mov dword [ebp - 0x274], esi
dec dword [ebp - 0x270]
cmp dword [ebp - 0x270], 1
jle 0x4ad0e1ee
jmp 0x4ad0e3a6
cmp byte [0x4ad24041], 0
je 0x4ad0e1ee
mov ax, word [0x4ad25200]
mov word [ebp - 0x24], ax
mov ax, word [0x4ad25202]
mov word [ebp - 0x22], ax
mov word [ebp - 0x20], 0x5c
xor edi, edi
mov word [ebp - 0x1e], di
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
jne 0x4ad0e1ee
mov word [ebp - 0x20], di
mov dword [ebp - 0x284], 0x104
mov dword [ebp - 4], edi
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x24]
push eax
call sub.MPR.dll_WNetGetConnectionW
mov dword [ebp - 0x27c], eax
mov dword [ebp - 4], 0xfffffffe
jmp 0x4ad0e47b
cmp dword [ebp - 0x27c], 0
je 0x4ad0e4bd
cmp dword [ebp - 0x27c], 0x8ca
je 0x4ad0e1ee
push 0x4ad0e580
push dword [ebp - 0x270]
push esi
call fcn.4ad01710
add esp, 0xc
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
je 0x4ad0e365
jmp 0x4ad0e4ad
lea eax, [ebp - 0x26c]
push eax
push 0x4ad1b30c
push dword [ebp - 0x270]
push esi
call fcn.4ad01710
add esp, 0x10
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
je 0x4ad0e365
jmp 0x4ad0e4dd
movzx eax, word [0x4ad25200]
push eax
push 0x4ad24578
push dword [ebp - 0x270]
push esi
call fcn.4ad01710
add esp, 0x10
mov eax, esi
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
je 0x4ad0e1db
jmp 0x4ad0e50e
push edi
push 0x4ad40788
push eax
push esi
call fcn.4ad01710
add esp, 0x10
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x4ad0e533
sub eax, edx
sar eax, 1
lea esi, [eax*2 + 0x4ad25de0]
jmp 0x4ad0e21c
call fcn.4ad02fd7
jmp 0x4ad0e237
mov ebx, 0x4ad25420
jmp 0x4ad0e0f3