Function at 0x1400349a0
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x2a0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140134190]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rsi, rcx
xor r12d, r12d
mov r14d, r12d
mov dword [rsp + 0x20], r12d
mov rdx, qword [rcx]
mov rdx, qword [rdx]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
lea rcx, [rsp + 0x58]
call fcn.140033290
mov rbx, rax
mov rdi, qword [rsi + 8]
cmp rdi, rax
je 0x140034a36
mov rcx, rdi
call fcn.1400352f0
mov rcx, qword [rbx]
mov qword [rdi], rcx
mov rcx, qword [rbx + 8]
mov qword [rdi + 8], rcx
mov rax, qword [rbx + 0x10]
mov qword [rdi + 0x10], rax
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov qword [rbx + 0x10], r12
lea rcx, [rsp + 0x58]
call fcn.1400352f0
mov rax, qword [rsi + 8]
mov rdi, qword [rax]
mov r15, qword [rax + 8]
cmp rdi, r15
je 0x140034c13
nop dword [rax]
nop dword [rax + rax]
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r12w
or r14d, 1
mov dword [rsp + 0x20], r14d
mov rdx, qword [rdi + 0x10]
inc rdx
lea rcx, [rsp + 0x58]
call fcn.140036000
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140034a9b
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0x58]
call fcn.14002cec0
mov r8d, 1
lea rdx, [0x140112e18]
lea rcx, [rsp + 0x58]
call fcn.14002cec0
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
mov ebx, eax
and r14d, 0xfffffffe
lea rcx, [rsp + 0x58]
call fcn.14002cde0
cmp ebx, 4
jne 0x140034c06
mov dword [rsp + 0x78], 0x104
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140034b05
mov rcx, qword [rdi]
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x80]
call qword [sym.imp.MPR.dll_WNetGetConnectionW]
test eax, eax
jne 0x140034c06
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r12w
lea rax, [rbp - 0x80]
mov rdx, 0xffffffffffffffff
nop dword [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140034b40
lea rcx, [rsp + 0x58]
cmp rdx, 7
ja 0x140034b72
mov qword [rsp + 0x68], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp - 0x80]
call fcn.1400a1550
mov word [rsp + rbx + 0x58], r12w
jmp 0x140034b7c
lea r9, [rbp - 0x80]
call fcn.14002f7b0
nop
mov rbx, qword [rsi + 0x10]
mov rax, qword [rbx + 8]
cmp qword [rbx + 0x10], rax
je 0x140034b9e
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.140031f10
add qword [rbx + 8], 0x20
jmp 0x140034bae
lea r8, [rsp + 0x58]
mov rdx, rax
mov rcx, rbx
call fcn.140035df0
mov rax, qword [rsi]
mov rcx, qword [rax]
mov qword [rsp + 0x30], rcx
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.140031f10
nop
mov rbx, qword [rsi + 0x18]
mov rdx, qword [rbx + 8]
lea r8, [rsp + 0x30]
cmp qword [rbx + 0x10], rdx
je 0x140034be8
call fcn.140035a90
add qword [rbx + 8], 0x10
jmp 0x140034bf1
mov rcx, rbx
call fcn.140035c00
nop
lea rcx, [rsp + 0x38]
call fcn.14002cde0
nop
lea rcx, [rsp + 0x58]
call fcn.14002cde0
add rdi, 0x20
cmp rdi, r15
jne 0x140034a60
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14007c490
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret