Function at 0x1402295b0
Capabilities:
Get disk information

Disassembly:
mov rcx, rdx
mov rdx, r8
jmp 0x1402295b0
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov qword [rbp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x270], rbx
mov rax, qword [0x1404716f0]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov r12, rdx
mov rbx, rcx
mov qword [rbp + 8], rcx
xor edi, edi
mov dword [rsp + 0x40], edi
lea rax, [rsp + 0x60]
mov qword [rbp - 0x20], rax
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rdi
lea rcx, [rsp + 0x60]
call fcn.1401366d0
mov rcx, r12
call fcn.14001a610
cmp dword [r12 + 8], edi
je 0x140229636
mov rcx, qword [r12]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [r12], rdi
mov dword [r12 + 8], edi
mov r13d, edi
lea r14, [0x1402be068]
mov rsi, 0xffffffffffffffff
lea r15d, [rsi + 2]
cmp dword [rsp + 0x6c], edi
jle 0x140229af0
mov rcx, rdi
mov qword [rbp - 0x58], rcx
nop dword [rax]
nop word [rax + rax]
mov rbx, qword [rsp + 0x60]
add rbx, rcx
mov rax, qword [rbx]
mov qword [rsp + 0x50], rax
lea rcx, [rax - 0x10]
cmp rcx, r14
je 0x140229690
mov eax, r15d
lock xadd dword [rcx], eax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x78], rax
lea rcx, [rax - 0x10]
cmp rcx, r14
je 0x1402296b2
mov eax, r15d
lock xadd dword [rcx], eax
lea rdx, [rbp - 0x78]
mov rcx, r12
call fcn.14014a8b0
mov rax, qword [rbx]
cmp byte [rax], 0
jne 0x1402296cd
xor al, al
jmp 0x140229761
mov rcx, rbx
call fcn.140137530
mov edi, eax
lea rdx, [rbp + 0x48]
mov rcx, rbx
call fcn.14014db60
nop
or dword [rsp + 0x40], 1
xor edx, edx
mov rcx, rax
call fcn.140011750
cmp eax, 0x62
ja 0x14022970d
mov edx, r15d
mov rcx, rbx
call fcn.140011750
cmp eax, 0x3a
jne 0x14022970d
mov r14b, 1
jmp 0x140229710
xor r14b, r14b
and dword [rsp + 0x40], 0xfffffffe
mov rcx, qword [rbp + 0x48]
add rcx, 0xfffffffffffffff0
lea rax, [0x1402be068]
cmp rcx, rax
je 0x140229738
mov eax, esi
lock xadd dword [rcx], eax
test eax, eax
jne 0x140229738
call fcn.14010a370
test r14b, r14b
je 0x140229745
cmp edi, 2
setne al
jmp 0x140229758
lea eax, [rdi - 4]
cmp eax, 1
jbe 0x140229756
cmp edi, 1
je 0x140229756
mov al, 1
jmp 0x140229758
xor al, al
lea r14, [0x1402be068]
xor edi, edi
test al, al
je 0x1402299af
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rax
mov rax, qword [rbx]
mov qword [rbp - 0x70], rax
lea rcx, [rax - 0x10]
cmp rcx, r14
je 0x140229789
mov eax, r15d
lock xadd dword [rcx], eax
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x50]
call fcn.1401375d0
nop
mov rdx, rax
lea rcx, [rbp + 0x80]
call fcn.140018b20
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8d, [r9 + 0x40]
lea rdx, [rbp + 0x90]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
sete bl
mov rcx, qword [rbp + 0x50]
add rcx, 0xfffffffffffffff0
cmp rcx, r14
je 0x1402297f1
mov eax, esi
lock xadd dword [rcx], eax
test eax, eax
jne 0x1402297f1
call fcn.14010a370
test bl, bl
je 0x1402297fc
mov word [rbp + 0x90], di
lea rax, [rbp + 0x90]
mov qword [rbp + 0x58], rax
lea rdx, [rbp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.14001ba80
mov eax, dword [rsp + 0x40]
or eax, 2
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
cmp byte [rax], 0
jne 0x1402298c6
lea rax, str.Hard_Drive
mov qword [rbp + 0x60], rax
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.14001b960
nop
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x78]
call fcn.140152200
mov eax, dword [rsp + 0x40]
or eax, 8
mov dword [rsp + 0x40], eax
and eax, 0xfffffff7
mov dword [rsp + 0x40], eax
or dword [rsp + 0x40], 4
mov rcx, qword [rsp + 0x70]
add rcx, 0xfffffffffffffff0
cmp rcx, r14
je 0x140229890
mov eax, esi
lock xadd dword [rcx], eax
test eax, eax
jne 0x140229890
call fcn.14010a370
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x78], rax
and dword [rsp + 0x40], 0xfffffffb
mov rcx, qword [rsp + 0x78]
add rcx, 0xfffffffffffffff0
cmp rcx, r14
je 0x1402298c6
mov eax, esi
lock xadd dword [rcx], eax
test eax, eax
jne 0x1402298c6
call fcn.14010a370
mov ecx, 2
mov rax, qword [rsp + 0x50]
mov rbx, rsi
inc rbx
cmp byte [rax + rbx], 0
jne 0x1402298d3
movsxd rdi, ecx
lea rdx, [rdi + rbx]
lea rcx, [rsp + 0x50]
call fcn.140151f40
movsxd rbx, ebx
add rbx, qword [rsp + 0x50]
mov r8, rdi
lea rdx, [0x1402c3e6c]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rdi + rbx]
mov qword [rbp + 0x68], rax
mov byte [rax], 0
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.14014ff80
mov r14, rax
mov word [rsp + 0x44], 0x5d
lea rax, [rsp + 0x44]
mov rcx, rsi
inc rcx
cmp byte [rax + rcx], 0
jne 0x140229933
lea rdx, [rsp + 0x44]
add rdx, rcx
lea rax, [rsp + 0x44]
sub edx, eax
test edx, edx
jle 0x140229999
mov rax, qword [r14]
mov qword [rbp + 0x70], rax
mov rbx, rsi
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140229960
movsxd rdi, edx
lea rdx, [rdi + rbx]
mov rcx, r14
call fcn.140151f40
movsxd rbx, ebx
add rbx, qword [r14]
mov r8, rdi
lea rdx, [rsp + 0x44]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rdi + rbx]
mov qword [rbp - 0x18], rax
mov byte [rax], 0
and dword [rsp + 0x40], 0xfffffffd
mov rcx, qword [rsp + 0x58]
lea r14, [0x1402be068]
jmp 0x140229a69
mov rcx, rbx
call fcn.140137530
cmp eax, 5
jne 0x140229a81
lea rax, [0x1402c3e8e]
mov qword [rbp - 0x10], rax
lea rax, [0x1402c3e8c]
mov qword [rbp - 8], rax
lea r8, [rbp - 0x10]
lea rdx, [rbp - 8]
lea rcx, [rsp + 0x50]
call fcn.140150100
nop
lea rax, str.CD_DVD_drive
mov qword [rbp], rax
lea rdx, [rbp]
lea rcx, [rbp - 0x80]
call fcn.14001b960
nop
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x68]
call fcn.140152200
mov eax, dword [rsp + 0x40]
bts eax, 7
mov dword [rsp + 0x40], eax
btr eax, 7
mov dword [rsp + 0x40], eax
or dword [rsp + 0x40], 0x40
mov rcx, qword [rbp - 0x80]
add rcx, 0xfffffffffffffff0
cmp rcx, r14
je 0x140229a48
mov eax, esi
lock xadd dword [rcx], eax
test eax, eax
jne 0x140229a48
call fcn.14010a370
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x50]
call fcn.14014ff80
mov dl, 0x5d
mov rcx, rax
call fcn.14014ff10
and dword [rsp + 0x40], 0xffffffbf
mov rcx, qword [rbp - 0x68]
add rcx, 0xfffffffffffffff0
cmp rcx, r14
je 0x140229a81
mov eax, esi
lock xadd dword [rcx], eax
test eax, eax
jne 0x140229a81
call fcn.14010a370
lea rax, [rbp - 0x60]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x60], rax
lea rcx, [rax - 0x10]
cmp rcx, r14
je 0x140229aa3
mov eax, r15d
lock xadd dword [rcx], eax
lea rdx, [rbp - 0x60]
mov rbx, qword [rbp + 8]
mov rcx, rbx
call fcn.14014a8b0
nop
mov rcx, qword [rsp + 0x50]
add rcx, 0xfffffffffffffff0
cmp rcx, r14
je 0x140229ad1
mov eax, esi
lock xadd dword [rcx], eax
test eax, eax
jne 0x140229ad1
call fcn.14010a370
inc r13d
mov rcx, qword [rbp - 0x58]
add rcx, 8
mov qword [rbp - 0x58], rcx
cmp r13d, dword [rsp + 0x6c]
mov edi, 0
jl 0x140229670
lea rax, [rbp - 0x50]
mov qword [rsp + 0x48], rax
lea rdi, [0x1402be078]
mov qword [rbp - 0x50], rdi
lea rdx, [rbp - 0x50]
mov rcx, r12
call fcn.14014a8b0
lea rax, [rbp - 0x48]
mov qword [rsp + 0x48], rax
mov qword [rbp - 0x48], rdi
lea rdx, [rbp - 0x48]
mov rcx, rbx
call fcn.14014a8b0
lea rax, [rbp - 0x40]
mov qword [rsp + 0x48], rax
mov edx, r15d
lea rcx, [rbp + 0x10]
call fcn.1401361e0
nop
mov rax, qword [rax]
mov qword [rbp - 0x40], rax
lea rcx, [rax - 0x10]
cmp rcx, r14
je 0x140229b56
mov eax, r15d
lock xadd dword [rcx], eax
lea rdx, [rbp - 0x40]
mov rcx, r12
call fcn.14014a8b0
nop
mov rcx, qword [rbp + 0x10]
add rcx, 0xfffffffffffffff0
cmp rcx, r14
je 0x140229b7f
mov eax, esi
lock xadd dword [rcx], eax
test eax, eax
jne 0x140229b7f
call fcn.14010a370
lea rax, [rbp + 0x18]
mov qword [rsp + 0x48], rax
lea rdx, str.Documents
lea rcx, [rbp + 0x18]
call fcn.140152300
nop
mov rdx, rax
mov rcx, rbx
call fcn.14014a8b0
lea rax, [rbp - 0x38]
mov qword [rsp + 0x48], rax
mov edx, 3
lea rcx, [rbp + 0x20]
call fcn.1401361e0
nop
mov rax, qword [rax]
mov qword [rbp - 0x38], rax
lea rcx, [rax - 0x10]
cmp rcx, r14
je 0x140229bd3
mov eax, r15d
lock xadd dword [rcx], eax
lea rdx, [rbp - 0x38]
mov rcx, r12
call fcn.14014a8b0
nop
mov rcx, qword [rbp + 0x20]
add rcx, 0xfffffffffffffff0
cmp rcx, r14
je 0x140229bfc
mov eax, esi
lock xadd dword [rcx], eax
test eax, eax
jne 0x140229bfc
call fcn.14010a370
lea rax, [rbp + 0x28]
mov qword [rsp + 0x48], rax
lea rdx, str.Music
lea rcx, [rbp + 0x28]
call fcn.140152300
nop
mov rdx, rax
mov rcx, rbx
call fcn.14014a8b0
lea rax, [rbp - 0x30]
mov qword [rsp + 0x48], rax
mov edx, 5
lea rcx, [rbp + 0x30]
call fcn.1401361e0
nop
mov rax, qword [rax]
mov qword [rbp - 0x30], rax
lea rcx, [rax - 0x10]
cmp rcx, r14
je 0x140229c50
mov eax, r15d
lock xadd dword [rcx], eax
lea rdx, [rbp - 0x30]
mov rcx, r12
call fcn.14014a8b0
nop
mov rcx, qword [rbp + 0x30]
add rcx, 0xfffffffffffffff0
cmp rcx, r14
je 0x140229c79
mov eax, esi
lock xadd dword [rcx], eax
test eax, eax
jne 0x140229c79
call fcn.14010a370
lea rax, [rbp + 0x38]
mov qword [rsp + 0x48], rax
lea rdx, str.Pictures
lea rcx, [rbp + 0x38]
call fcn.140152300
nop
mov rdx, rax
mov rcx, rbx
call fcn.14014a8b0
lea rax, [rbp - 0x28]
mov qword [rsp + 0x48], rax
mov edx, 2
lea rcx, [rbp + 0x40]
call fcn.1401361e0
nop
mov rax, qword [rax]
mov qword [rbp - 0x28], rax
add rax, 0xfffffffffffffff0
cmp rax, r14
je 0x140229ccb
lock xadd dword [rax], r15d
lea rdx, [rbp - 0x28]
mov rcx, r12
call fcn.14014a8b0
nop
mov rcx, qword [rbp + 0x40]
add rcx, 0xfffffffffffffff0
cmp rcx, r14
je 0x140229cf2
lock xadd dword [rcx], esi
test esi, esi
jne 0x140229cf2
call fcn.14010a370
lea rax, [rbp - 0x20]
mov qword [rbp - 0x18], rax
lea rdx, str.Desktop
lea rcx, [rbp - 0x20]
call fcn.140152300
nop
mov rdx, rax
mov rcx, rbx
call fcn.14014a8b0
nop
lea rax, [rsp + 0x60]
mov qword [rbp - 0x18], rax
lea rcx, [rsp + 0x60]
call fcn.140019dd0
nop
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.14010a310
mov rbx, qword [rsp + 0x270]
add rsp, 0x220
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret