Function at 0x4ad0720c
Capabilities:
Get disk information

Disassembly:
push 0x27c
push 0x4ad073a8
call fcn.4ad0161a
mov eax, dword [0x4ad33b78]
mov dword [ebp - 0x1c], eax
xor ebx, ebx
mov dword [ebp - 0x280], ebx
cmp dword [0x4ad2b9e8], ebx
jne 0x4ad073d4
cmp dword [0x4ad2fac8], ebx
je 0x4ad0767e
cmp dword [0x4ad2fa28], ebx
jne 0x4ad07256
push 0x4ad34b78
call fcn.4ad05e00
pop ecx
cmp byte [0x4ad2fa34], 0
jne 0x4ad0c024
push str.PROMPT
call fcn.4ad01b70
mov dword [ebp - 0x278], eax
cmp eax, ebx
je 0x4ad07293
push eax
mov esi, 0x4ad3cce0
push esi
call dword [sym.imp.vmsvcrt.dll_wcscpy]
pop ecx
pop ecx
mov dword [ebp - 0x278], esi
mov byte [0x4ad2fa34], 1
push ebx
push 0x4ad34400
call fcn.4ad01550
mov edi, 0x4ad2b1e0
mov esi, edi
mov dword [ebp - 0x274], esi
mov word [0x4ad2b1e0], bx
mov eax, 0x400
mov dword [ebp - 0x270], eax
mov ecx, dword [ebp - 0x278]
cmp ecx, ebx
je 0x4ad07609
cmp word [ecx], bx
je 0x4ad07609
mov edi, dword [sym.imp.vmsvcrt.dll__snwprintf]
mov eax, dword [ebp - 0x278]
mov ax, word [eax]
cmp ax, bx
je 0x4ad07668
cmp ax, 0x24
jne 0x4ad073eb
add dword [ebp - 0x278], 2
xor eax, eax
mov dword [ebp - 0x284], eax
cmp word [0x4ad3cc60], bx
je 0x4ad07354
mov eax, 0x4ad3cc60
mov dword [ebp - 0x288], eax
mov ebx, eax
mov eax, dword [ebp - 0x278]
movzx eax, word [eax]
push eax
call dword [sym.imp.vmsvcrt.dll_towupper]
pop ecx
mov ecx, dword [ebp - 0x288]
cmp ax, word [ecx]
je 0x4ad0734c
inc dword [ebp - 0x284]
add ebx, 6
mov dword [ebp - 0x288], ebx
cmp word [ebx], 0
jne 0x4ad0731b
xor ebx, ebx
mov eax, dword [ebp - 0x284]
lea eax, [eax + eax*2]
shl eax, 1
cmp word [eax + 0x4ad3cc60], bx
je 0x4ad07668
mov cx, word [eax + 0x4ad3cc62]
cmp cx, 8
jne 0x4ad073b4
movzx eax, word [eax + 0x4ad3cc64]
push eax
push 0x4ad3cc58
push dword [ebp - 0x270]
push esi
call edi
add esp, 0x10
lea esi, [esi + eax*2]
mov dword [ebp - 0x274], esi
sub dword [ebp - 0x270], eax
add dword [ebp - 0x278], 2
jmp 0x4ad072da
movzx eax, cx
dec eax
cmp eax, 9
ja case.0x4ad073c1.7
jmp dword [eax*4 + 0x4ad0762e]
push 0x4ad34400
push 0x4ad05e54
jmp 0x4ad07380
push ebx
push 0x2335
call fcn.4ad0bfae
pop ecx
pop ecx
call fcn.4ad01eed
jmp 0x4ad07237
movzx eax, ax
push eax
push 0x4ad3cc58
push dword [ebp - 0x270]
push esi
call edi
add esp, 0x10
lea esi, [esi + eax*2]
mov dword [ebp - 0x274], esi
sub dword [ebp - 0x270], eax
call fcn.4ad071bc
test al, al
je 0x4ad07440
mov eax, dword [ebp - 0x278]
movzx eax, word [eax]
push eax
call fcn.4ad1cc43
test eax, eax
je 0x4ad07440
mov eax, dword [ebp - 0x278]
mov ax, word [eax]
mov word [ebp - 0x280], ax
jmp 0x4ad0739b
mov dword [ebp - 0x280], ebx
jmp 0x4ad0739b
push dword [ebp - 0x270]
push esi
push 1
push ebx
call fcn.4ad0b380
jmp 0x4ad0738c
push dword [ebp - 0x270]
push esi
push 1
push ebx
call fcn.4ad0b5cc
jmp 0x4ad0738c
push 0x20
lea eax, [ebp - 0x64]
push eax
call fcn.4ad1155a
lea eax, [ebp - 0x64]
push eax
push 0x2350
call fcn.4ad10c7d
mov ebx, eax
push ebx
push 0x4ad05e54
push dword [ebp - 0x270]
push esi
call edi
add esp, 0x18
lea esi, [esi + eax*2]
mov dword [ebp - 0x274], esi
sub dword [ebp - 0x270], eax
push ebx
call dword [sym.imp.vKERNEL32.dll_LocalFree]
xor ebx, ebx
jmp 0x4ad0739b
cmp word [ebp - 0x280], bx
je 0x4ad074d0
push str._b_b___b_b
jmp 0x4ad075e7
push 0x4ad3d830
jmp 0x4ad075e7
push 0x4ad34b78
jmp 0x4ad075e7
cmp byte [0x4ad2fa64], 0
je 0x4ad0739b
call fcn.4ad1d56d
cmp dword [ebp - 0x270], ebx
je 0x4ad0739b
mov ecx, eax
dec eax
test ecx, ecx
je 0x4ad0739b
mov word [esi], 0x2b
inc esi
inc esi
mov dword [ebp - 0x274], esi
dec dword [ebp - 0x270]
je 0x4ad0739b
jmp 0x4ad07502
cmp byte [0x4ad2fa64], 0
je 0x4ad0739b
push 2
push 0x4ad34400
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.vmsvcrt.dll_wcsncpy]
add esp, 0xc
mov word [ebp - 0x20], 0x5c
mov word [ebp - 0x1e], bx
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.vKERNEL32.dll_GetDriveTypeW]
cmp eax, 4
jne 0x4ad0739b
mov word [ebp - 0x20], bx
mov dword [ebp - 0x28c], 0x104
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x24]
push eax
call sub.MPR.dll_WNetGetConnectionW
mov dword [ebp - 0x27c], eax
or dword [ebp - 4], 0xffffffff
jmp 0x4ad075ca
cmp dword [ebp - 0x27c], ebx
je 0x4ad075f8
cmp dword [ebp - 0x27c], 0x8ca
je 0x4ad0739b
push 0x4ad07658
push dword [ebp - 0x270]
push esi
call edi
add esp, 0xc
jmp 0x4ad0738c
lea eax, [ebp - 0x26c]
push eax
push 0x4ad192f8
jmp 0x4ad07380
push 0x4ad34400
push 0x4ad3d8e8
push eax
push edi
call dword [sym.imp.vmsvcrt.dll__snwprintf]
add esp, 0x10
lea esi, [eax*2 + 0x4ad2b1e0]
jmp 0x4ad0766d
call fcn.4ad01eed
jmp 0x4ad0767e
mov edi, 0x4ad2b1e0
mov word [esi], bx
push edi
call fcn.4ad05e38
cmp dword [0x4ad2b9e8], ebx
jne 0x4ad07627
mov ecx, dword [ebp - 0x1c]
call fcn.4ad01305
call fcn.4ad01442
ret
mov dword [ebp - 0x278], 0x4ad3cce0
jmp 0x4ad07293
movzx eax, word [0x4ad34400]
jmp 0x4ad0737a