Function at 0x140030c30
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 [0x140124190]
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.14002fe80
mov rbx, rax
mov rdi, qword [rsi + 8]
cmp rdi, rax
je 0x140030cc6
mov rcx, rdi
call fcn.140031320
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.140031320
mov rax, qword [rsi + 8]
mov rdi, qword [rax]
mov r15, qword [rax + 8]
cmp rdi, r15
je 0x140030f3b
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.140031f80
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140030d1f
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0x58]
call fcn.14002b200
mov r8d, 1
lea rdx, [0x1401049f0]
lea rcx, [rsp + 0x58]
call fcn.14002b200
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 0x140030da3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030d9e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030f6c
call fcn.140072f50
cmp ebx, 4
jne 0x140030f32
mov dword [rsp + 0x78], 0x104
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140030dc1
mov rcx, qword [rdi]
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x80]
call qword [sym.imp.MPR.dll_WNetGetConnectionW]
test eax, eax
jne 0x140030f32
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 0x140030e00
lea rcx, [rsp + 0x58]
cmp rdx, 7
ja 0x140030e32
mov qword [rsp + 0x68], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp - 0x80]
call fcn.140096e70
mov word [rsp + rbx + 0x58], r12w
jmp 0x140030e3c
lea r9, [rbp - 0x80]
call fcn.14002d400
nop
mov rbx, qword [rsi + 0x10]
mov rax, qword [rbx + 8]
cmp qword [rbx + 0x10], rax
je 0x140030e5e
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.14002e920
add qword [rbx + 8], 0x20
jmp 0x140030e6e
lea r8, [rsp + 0x58]
mov rdx, rax
mov rcx, rbx
call fcn.140031d00
mov rax, qword [rsi]
mov rcx, qword [rax]
mov qword [rsp + 0x28], rcx
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.14002e920
nop
mov rbx, qword [rsi + 0x18]
mov rdx, qword [rbx + 8]
lea r8, [rsp + 0x28]
cmp qword [rbx + 0x10], rdx
je 0x140030ea8
call fcn.1400319b0
add qword [rbx + 8], 0x10
jmp 0x140030eb1
mov rcx, rbx
call fcn.140031b10
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140030ef4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030eee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030f72
call fcn.140072f50
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140030f32
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030f2d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030f66
call fcn.140072f50
add rdi, 0x20
jmp 0x140030cdb
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140072ef0
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.1400a01c4
int3
call fcn.1400a01c4
nop
call fcn.1400a01c4
nop
int3