Function at 0x4de3b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5969fa
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x6071d4]
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.004aafc0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov esi, eax
test esi, esi
je 0x4de82e
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0053b6d3
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4de82e
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 0x4de4c0
sub ecx, edx
sar ecx, 1
je 0x4de825
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x4de7ed
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x4de7ed
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.0057a810
add esp, 4
mov word [esi], ax
lea ecx, [ebp - 0x230]
push esi
call fcn.004a94b0
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.004ad7b0
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 6
push eax
push str.path
lea ecx, [ebp - 0x24c]
call fcn.004ab650
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x270]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x274], 0
push 0x5e283c
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x274], 0
mov dword [ebp - 0x278], 5
call fcn.004ad7b0
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 8
push eax
push 0x5e0c44
lea ecx, [ebp - 0x24c]
call fcn.004ab650
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x27c]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
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.004ad7b0
lea eax, [ebp - 0x288]
mov byte [ebp - 4], 0xa
push eax
push str.state
lea ecx, [ebp - 0x24c]
call fcn.004ab650
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x288]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
mov byte [ebp - 4], 5
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov dword [ebp - 0x28c], 0
push 0x5df834
lea ecx, [ebp - 0x294]
mov byte [ebp - 0x28c], 0
mov dword [ebp - 0x290], 5
call fcn.004ad7b0
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 0xc
push eax
push str.algorithm
lea ecx, [ebp - 0x24c]
call fcn.004ab650
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x294]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
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.004ab230
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.004ab650
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x23c]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x258]
call fcn.004ab350
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x4de7b3
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.004a9d40
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.004ab230
mov byte [ebp - 4], 3
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4de7f2
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 0x4de810
sub eax, edx
sar eax, 1
jne 0x4de4d5
push ebx
call fcn.0053b6ce
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.004ab230
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.004ab650
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x23c]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 3
push eax
push str.locations
lea ecx, [ebp - 0x264]
call fcn.004ab500
mov eax, dword [ebp - 0x254]
cmp eax, 3
jne 0x4de8e6
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 0x4de8f8
cmp eax, 2
jne 0x4de975
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + 8]
test eax, eax
je 0x4de975
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.004ab230
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.004ab650
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x23c]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
mov byte [ebp - 4], 3
lea eax, [ebp - 0x264]
push eax
push str.result
lea ecx, [ebp - 0x2a0]
call fcn.004ab500
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x2a0]
call fcn.004ada70
mov esi, eax
cmp edi, esi
je 0x4de9de
mov eax, dword [edi + 0x14]
cmp eax, 8
jb 0x4de9b7
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.004a9d40
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x4de9cf
mov eax, dword [edi]
jmp 0x4de9d1
mov eax, edi
xor ecx, ecx
mov word [eax], cx
mov ecx, edi
push esi
call fcn.004a9850
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x4de9fc
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.004a9d40
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x2a0]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x258]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x264]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
mov dword [ebp - 4], 0x19
lea ecx, [ebp + 8]
mov dword [ebp + 8], vtable.WaJson.0
call fcn.004ab230
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.0053b206
mov esp, ebp
pop ebp
ret 0x10