Function at 0x140030c00
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 + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14011f190]
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.14002fe50
mov rbx, rax
mov rdi, qword [rsi + 8]
cmp rdi, rax
je 0x140030c96
mov rcx, rdi
call fcn.1400312f0
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.1400312f0
mov rax, qword [rsi + 8]
mov rdi, qword [rax]
mov r15, qword [rax + 8]
cmp rdi, r15
je 0x140030f0b
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.140031f50
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140030cef
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0x58]
call fcn.14002b1d0
mov r8d, 1
lea rdx, [0x1401008f0]
lea rcx, [rsp + 0x58]
call fcn.14002b1d0
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
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140030d73
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030d6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030f3c
call fcn.14006f490
cmp ebx, 4
jne 0x140030f02
mov dword [rsp + 0x78], 0x104
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140030d91
mov rcx, qword [rdi]
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x80]
call qword [sym.imp.MPR.dll_WNetGetConnectionW]
test eax, eax
jne 0x140030f02
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r12w
lea rax, [rbp - 0x80]
mov rdx, 0xffffffffffffffff
nop word [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140030dd0
lea rcx, [rsp + 0x58]
cmp rdx, 7
ja 0x140030e02
mov qword [rsp + 0x68], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp - 0x80]
call fcn.1400933b0
mov word [rsp + rbx + 0x58], r12w
jmp 0x140030e0c
lea r9, [rbp - 0x80]
call fcn.14002d3d0
nop
mov rbx, qword [rsi + 0x10]
mov rax, qword [rbx + 8]
cmp qword [rbx + 0x10], rax
je 0x140030e2e
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.14002e8f0
add qword [rbx + 8], 0x20
jmp 0x140030e3e
lea r8, [rsp + 0x58]
mov rdx, rax
mov rcx, rbx
call fcn.140031cd0
mov rax, qword [rsi]
mov rcx, qword [rax]
mov qword [rsp + 0x28], rcx
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.14002e8f0
nop
mov rbx, qword [rsi + 0x18]
mov rdx, qword [rbx + 8]
lea r8, [rsp + 0x28]
cmp qword [rbx + 0x10], rdx
je 0x140030e78
call fcn.140031980
add qword [rbx + 8], 0x10
jmp 0x140030e81
mov rcx, rbx
call fcn.140031ae0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140030ec4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030ebe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030f42
call fcn.14006f490
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140030f02
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030efd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030f36
call fcn.14006f490
add rdi, 0x20
jmp 0x140030cab
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14006f430
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
call fcn.14009c704
int3
call fcn.14009c704
nop
call fcn.14009c704
nop
int3