Function at 0x14002ab90
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x390
mov rax, qword [0x1400e0180]
xor rax, rsp
mov qword [rsp + 0x380], rax
xor edi, edi
call fcn.14002a8f0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x158], xmm0
mov qword [rsp + 0x168], rax
lea rcx, [rsp + 0x158]
call fcn.14002a770
nop
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xb8], xmm1
mov qword [rsp + 0xc8], rdi
mov byte [rsp + 0x40], dil
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rsp + 0xd0]
mov edx, 0x12
mov rcx, 0xfffffffffffffffc
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x14002b35f
cmp dword [rsp + 0xd0], 2
sete r12b
mov byte [rsp + 0x40], r12b
jmp 0x14002ac56
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x140], xmm1
mov qword [rsp + 0x150], rdi
mov rbx, qword [rsp + 0x158]
mov r15, qword [rsp + 0x160]
cmp rbx, r15
je 0x14002b121
movabs r13, 0x7ffffffffffffffe
lea rdx, [0x1400cf908]
mov rcx, qword [rbx + 0x10]
mov rax, r13
sub rax, rcx
cmp rax, 1
jb 0x14002b3b6
mov r9, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14002acb5
mov r9, qword [rbx]
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x120]
call fcn.140028d70
nop
lea rcx, [rsp + 0x120]
cmp qword [rsp + 0x138], 7
cmova rcx, qword [rsp + 0x120]
call qword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x100], xmm0
mov rsi, rdi
mov qword [rsp + 0x110], rdi
mov r14d, 7
mov qword [rsp + 0x118], r14
mov word [rsp + 0x100], di
mov dword [rsp + 0xd0], 0x104
cmp eax, 4
jne 0x14002af93
mov rcx, rbx
cmp qword [rbx + 0x18], r14
jbe 0x14002ad42
mov rcx, qword [rbx]
lea r8, [rsp + 0xd0]
lea rdx, [rsp + 0x170]
call qword [sym.imp.MPR.dll_WNetGetConnectionW]
test eax, eax
jne 0x14002aff5
xorps xmm0, xmm0
movups xmmword [rsp + 0xe0], xmm0
mov qword [rsp + 0xf0], rdi
mov qword [rsp + 0xf8], rdi
lea rax, [rsp + 0x170]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14002ad90
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0xe0]
call fcn.1400276c0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rdi
mov rax, qword [rsp + 0xf0]
cmp rax, 2
jb 0x14002b398
add rax, 0xfffffffffffffffe
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
lea rdx, [rsp + 0xe0]
cmp qword [rsp + 0xf8], 7
cmova rdx, qword [rsp + 0xe0]
add rdx, 4
lea rcx, [rsp + 0x50]
call fcn.1400276c0
nop
lea r8, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.14002bed0
lea rcx, [rsp + 0x100]
cmp rcx, rax
je 0x14002ae65
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x100], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x110], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r14, xmm0
movq rsi, xmm1
mov rdx, qword [rsp + 0x88]
cmp rdx, 7
jbe 0x14002aeaa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002aea5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002b38c
call fcn.14005ff0c
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x88], 7
mov word [rsp + 0x70], di
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14002af05
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002af00
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002b392
call fcn.14005ff0c
lea rax, [rsp + 0x100]
mov rdx, qword [rsp + 0x100]
cmp r14, 7
cmova rax, rdx
cmp word [rax + rsi*2 - 2], 0x5c
jne 0x14002af45
lea rcx, [rsi - 1]
mov qword [rsp + 0x110], rcx
lea rax, [rsp + 0x100]
cmp r14, 7
cmova rax, rdx
mov word [rax + rcx*2], di
mov rdx, qword [rsp + 0xf8]
cmp rdx, 7
jbe 0x14002aff5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002af8c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002b39e
call fcn.14005ff0c
jmp 0x14002aff5
mov rcx, qword [rbx + 0x10]
mov rax, r13
sub rax, rcx
cmp rax, 4
jb 0x14002b3b0
mov rax, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14002afb4
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 4
lea r9, str.__
lea rcx, [rsp + 0x70]
call fcn.140028d70
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rsp + 0x100], xmm0
movups xmm1, xmmword [rsp + 0x80]
movups xmmword [rsp + 0x110], xmm1
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x70]
call fcn.14002bc00
nop
mov rdx, qword [rsp + 0xc0]
lea r8, [rsp + 0x70]
cmp rdx, qword [rsp + 0xc8]
je 0x14002b02f
call fcn.14002d400
add qword [rsp + 0xc0], 0x10
jmp 0x14002b03d
lea rcx, [rsp + 0xb8]
call fcn.14002c960
nop
mov rdx, qword [rsp + 0x88]
cmp rdx, 7
jbe 0x14002b083
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b07d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002b39e
call fcn.14005ff0c
nop
mov rdx, qword [rsp + 0x118]
cmp rdx, 7
jbe 0x14002b0cc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b0c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002b3a4
call fcn.14005ff0c
nop
mov rdx, qword [rsp + 0x138]
cmp rdx, 7
jbe 0x14002b114
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b10f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002b3aa
call fcn.14005ff0c
add rbx, 0x20
cmp rbx, r15
jne 0x14002ac8d
test r12b, r12b
je 0x14002b239
call fcn.140029c90
mov qword [rsp + 0xb0], rax
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xe0], xmm1
mov qword [rsp + 0xf0], rdi
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x120], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x128], rax
lea rax, [rsp + 0x140]
mov qword [rsp + 0x130], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x138], rax
mov ecx, 0x20
call fcn.14005fed0
movups xmm0, xmmword [rsp + 0x120]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rsp + 0x130]
movups xmmword [rax + 0x10], xmm1
mov qword [rsp + 0xd0], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x14002d590]
xor edx, edx
xor ecx, ecx
call fcn.1400970d0
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14002b3d1
cmp dword [rsp + 0x58], 0
je 0x14002b381
call sub.KERNEL32.DLL_GetCurrentThreadId
cmp dword [rsp + 0x58], eax
je 0x14002b3bc
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0xd0], xmm0
xor edx, edx
lea rcx, [rsp + 0xd0]
call fcn.1400622c4
test eax, eax
jne 0x14002b3c6
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0xe0]
call fcn.14002bdc0
nop
jmp 0x14002b23d
mov rbx, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xc0]
cmp rbx, rsi
je 0x14002b295
cmp dword [rbx + 8], 0
je 0x14002b3fc
call sub.KERNEL32.DLL_GetCurrentThreadId
cmp dword [rbx + 8], eax
je 0x14002b3f1
movups xmm0, xmmword [rbx]
movaps xmmword [rsp + 0x50], xmm0
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400622c4
test eax, eax
jne 0x14002b3e6
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
add rbx, 0x10
cmp rbx, rsi
jne 0x14002b252
lea rcx, [rsp + 0x140]
call fcn.14002bdc0
nop
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x14002b320
mov rax, rcx
mov rdx, qword [rsp + 0xc0]
cmp rcx, rdx
je 0x14002b2d3
cmp dword [rax + 8], 0
jne 0x14002b407
add rax, 0x10
cmp rax, rdx
jne 0x14002b2c0
mov rdx, qword [rsp + 0xc8]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b307
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002b3e0
call fcn.14005ff0c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xb8], xmm0
mov qword [rsp + 0xc8], rdi
lea rcx, [rsp + 0x158]
call fcn.14002bdc0
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.14005feb0
lea r11, [rsp + 0x390]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret
lea rcx, [rsp + 0x90]
call fcn.140029bc0
lea rdx, [0x1400ddfb8]
lea rcx, [rsp + 0x90]
call fcn.140085bc0
nop
mov ecx, 1
call fcn.140062024
nop
call fcn.140091ac4
nop
call fcn.140091ac4
int3
call fcn.1400273d0
nop
call fcn.140091ac4
nop
call fcn.140091ac4
nop
call fcn.140091ac4
nop
call fcn.140020b30
nop
call fcn.140020b30
nop
mov ecx, 5
call fcn.140062024
mov ecx, 2
call fcn.140062024
nop
mov dword [rsp + 0x58], edi
mov ecx, 6
call fcn.140062024
nop
call fcn.140091ac4
nop
mov ecx, 2
call fcn.140062024
int3
mov ecx, 5
call fcn.140062024
int3
mov ecx, 1
call fcn.140062024
nop
call fcn.1400971bc
int3