Function at 0x4d9690
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58f60a
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x5ff1d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x14]
mov dword [ebp - 4], 0
mov dword [ebp - 0x25c], 0
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x25c], 0
mov dword [ebp - 0x260], 5
mov dword [ebp - 0x250], 0
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x250], 0
mov dword [ebp - 0x254], 5
mov dword [ebp - 0x298], 0
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x298], 0
mov dword [ebp - 0x29c], 5
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x240], 3
call fcn.004a63e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov esi, eax
test esi, esi
je 0x4d9b0e
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00534493
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4d9b0e
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov ecx, ebx
mov esi, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d97a0
sub ecx, edx
sar ecx, 1
je 0x4d9b05
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x4d9acd
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x4d9acd
mov dword [ebp - 0x244], eax
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x244], al
mov dword [ebp - 0x248], 5
mov byte [ebp - 4], 4
movzx eax, word [esi]
push eax
call fcn.00573570
add esp, 4
mov word [esi], ax
lea ecx, [ebp - 0x230]
push esi
call fcn.004a48c0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x268], 0
cmovae eax, dword [ebp - 0x230]
push eax
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x268], 0
mov dword [ebp - 0x26c], 5
call fcn.004a8ad0
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 6
push eax
push str.path
lea ecx, [ebp - 0x24c]
call fcn.004a6a70
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x270]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004a6650
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x274], 0
push 0x5db444
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x274], 0
mov dword [ebp - 0x278], 5
call fcn.004a8ad0
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 8
push eax
push 0x5d984c
lea ecx, [ebp - 0x24c]
call fcn.004a6a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x27c]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004a6650
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x280], 0
push str.encrypted
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x280], 0
mov dword [ebp - 0x284], 5
call fcn.004a8ad0
lea eax, [ebp - 0x288]
mov byte [ebp - 4], 0xa
push eax
push str.state
lea ecx, [ebp - 0x24c]
call fcn.004a6a70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x288]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004a6650
mov byte [ebp - 4], 5
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov dword [ebp - 0x28c], 0
push 0x5d843c
lea ecx, [ebp - 0x294]
mov byte [ebp - 0x28c], 0
mov dword [ebp - 0x290], 5
call fcn.004a8ad0
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 0xc
push eax
push str.algorithm
lea ecx, [ebp - 0x24c]
call fcn.004a6a70
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x294]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004a6650
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x234], 0
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x234], 0
mov dword [ebp - 0x238], 5
call fcn.004a6650
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x238], 1
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 0xe
push eax
push str.strength
lea ecx, [ebp - 0x24c]
call fcn.004a6a70
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x23c]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004a6650
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x258]
call fcn.004a6770
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x4d9a93
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.004a5150
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x24c]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004a6650
mov byte [ebp - 4], 3
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d9ad2
sub ecx, edx
sar ecx, 1
lea esi, [esi + ecx*2]
add esi, 2
mov eax, esi
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4d9af0
sub eax, edx
sar eax, 1
jne 0x4d97b5
push ebx
call fcn.0053448e
add esp, 4
mov dword [ebp - 0x234], 0
lea ecx, [ebp - 0x23c]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x234], 0
mov dword [ebp - 0x238], 5
call fcn.004a6650
mov byte [ebp - 0x234], 0
mov dword [ebp - 0x238], 4
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 0x11
push eax
push str.fully_encrypted
lea ecx, [ebp - 0x264]
call fcn.004a6a70
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x23c]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004a6650
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 3
push eax
push str.locations
lea ecx, [ebp - 0x264]
call fcn.004a6920
mov eax, dword [ebp - 0x254]
cmp eax, 3
jne 0x4d9bc6
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x4d9bd8
cmp eax, 2
jne 0x4d9c55
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + 8]
test eax, eax
je 0x4d9c55
mov dword [ebp - 0x234], 0
lea ecx, [ebp - 0x23c]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x234], 0
mov dword [ebp - 0x238], 5
call fcn.004a6650
mov byte [ebp - 0x234], 1
mov dword [ebp - 0x238], 4
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 0x13
push eax
push str.encryption_active
lea ecx, [ebp - 0x264]
call fcn.004a6a70
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x23c]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004a6650
mov byte [ebp - 4], 3
lea eax, [ebp - 0x264]
push eax
push str.result
lea ecx, [ebp - 0x2a0]
call fcn.004a6920
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x2a0]
call fcn.004a8d90
mov esi, eax
cmp edi, esi
je 0x4d9cbe
mov eax, dword [edi + 0x14]
cmp eax, 8
jb 0x4d9c97
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.004a5150
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x4d9caf
mov eax, dword [edi]
jmp 0x4d9cb1
mov eax, edi
xor ecx, ecx
mov word [eax], cx
mov ecx, edi
push esi
call fcn.004a4c60
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x4d9cdc
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.004a5150
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x2a0]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004a6650
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x258]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004a6650
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x264]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004a6650
mov dword [ebp - 4], 0x19
lea ecx, [ebp + 8]
mov dword [ebp + 8], vtable.WaJson.0
call fcn.004a6650
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00533fc6
mov esp, ebp
pop ebp
ret 0x10