Function at 0x42bbe0
Capabilities:
Get disk information

Disassembly:
push rbp
push r13
push rdi
push rsi
push rbx
sub rsp, 0xc0
mov rbp, rsp
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x68], 0
lea rcx, [rbp + 0x94]
mov rdx, qword [0x00429ad0]
call fcn.0040b470
nop
mov rcx, qword [rbp + 0x40]
mov rdx, qword [0x00429bf8]
call fcn.0040d8f0
xor esi, esi
call sub.kernel32.dll_GetLogicalDrives
mov dword [rbp + 0x4c], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [rbp + 0x4c]
test eax, ecx
je 0x42be99
lea rcx, [rbp + 0x68]
mov edx, ebx
add dx, 0x41
call fcn.0040aae0
lea rcx, [rbp + 0x68]
lea rdx, [0x0042bf20]
call fcn.0040ad60
mov rcx, qword [rbp + 0x68]
call fcn.0040aac0
mov rcx, rax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 3
jg 0x42bca7
cmp eax, 3
je 0x42bce3
sub eax, 1
cmp eax, 0xffffffff
je 0x42bcbe
test eax, eax
je 0x42bcc5
sub eax, 1
test eax, eax
jne 0x42bcff
jmp 0x42bccf
sub eax, 4
test eax, eax
je 0x42bced
sub eax, 1
test eax, eax
je 0x42bcd9
sub eax, 1
test eax, eax
jne 0x42bcff
jmp 0x42bcf7
xor eax, eax
mov dword [rbp + 0x48], eax
jmp 0x42bcff
mov eax, 1
mov dword [rbp + 0x48], eax
jmp 0x42bcff
mov eax, 2
mov dword [rbp + 0x48], eax
jmp 0x42bcff
mov eax, 3
mov dword [rbp + 0x48], eax
jmp 0x42bcff
mov eax, 4
mov dword [rbp + 0x48], eax
jmp 0x42bcff
mov eax, 5
mov dword [rbp + 0x48], eax
jmp 0x42bcff
mov eax, 6
mov dword [rbp + 0x48], eax
lea rcx, [rbp + 0x60]
mov edx, ebx
add dx, 0x41
call fcn.0040aae0
lea rcx, [rbp + 0x60]
lea rdx, [0x0042bf20]
call fcn.0040ad60
mov rcx, qword [rbp + 0x60]
call fcn.0040aac0
lea rcx, [rbp + 0x9c]
mov rdx, rax
call fcn.0040ab30
mov eax, dword [rbp + 0x48]
mov dword [rbp + 0xa4], eax
mov ecx, 0x104
call fcn.00405980
mov rdi, rax
mov ecx, 0x104
call fcn.00405980
mov r13, rax
mov rcx, qword [rbp + 0x9c]
call fcn.0040aac0
mov rcx, rax
mov rdx, rdi
mov r8d, 0x104
xor r9, r9
lea rax, [rbp + 0x8c]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x90]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x38], 0x104
call sub.kernel32.dll_GetVolumeInformationW
lea rcx, [rbp + 0x58]
mov rdx, rdi
call fcn.0041f7d0
lea rcx, [rbp + 0x94]
mov rdx, qword [rbp + 0x58]
xor r8, r8
call fcn.0040a5e0
lea rcx, [rbp + 0x50]
mov rdx, r13
call fcn.0041f7d0
lea rcx, [rbp + 0xb8]
mov rdx, qword [rbp + 0x50]
xor r8, r8
call fcn.0040a5e0
mov rcx, rdi
call fcn.004059b0
mov rcx, r13
call fcn.004059b0
mov rcx, qword [rbp + 0x9c]
call fcn.0040aac0
mov rcx, rax
lea rdx, [rbp + 0x78]
lea r8, [rbp + 0x80]
xor r9, r9
mov rax, qword [0x00444ae8]
call qword [rax]
test eax, eax
je 0x42be31
mov rax, qword [rbp + 0x80]
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0xb0], rax
jmp 0x42be47
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0xb0], 0
mov rax, qword [rbp + 0x40]
mov rax, qword [rax]
test rax, rax
je 0x42be57
mov rax, qword [rax - 8]
mov rcx, qword [rbp + 0x40]
mov rdx, qword [0x00429bf8]
mov r8d, 1
lea r9, [rax + 1]
call fcn.0040d720
mov rax, qword [rbp + 0x40]
mov rax, qword [rax]
movsxd rcx, esi
imul rcx, rcx, 0xb
lea rcx, [rax + rcx*4]
lea rdx, [rbp + 0x94]
mov r8, qword [0x00429ad0]
call fcn.0040c470
add esi, 1
add ebx, 1
cmp ebx, 0x1a
jne 0x42bc44
nop
nop
lea rcx, [rbp + 0x50]
mov edx, 4
call fcn.00409590
lea rcx, [rbp + 0x94]
mov rdx, qword [0x00429ad0]
call fcn.0040b940
mov rax, qword [rbp + 0x40]
lea rsp, [rbp + 0xc0]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret