Function at 0x180026e88
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov rax, qword [0x18008ab58]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov dword [rbp - 0x29], r9d
mov edi, r8d
mov dword [rbp - 0x2d], r8d
mov r14d, edx
mov dword [rbp - 0x25], edx
mov r15, rcx
mov qword [rbp - 0x19], rcx
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x180026ef8
test byte [rcx + 0x1c], 8
je 0x180026ef8
mov rcx, qword [rcx + 0x10]
lea r8, [0x180073228]
mov edx, 0x31
call fcn.18001171c
cmp r14d, 0x20
jne 0x180026f0d
xor edx, edx
xor ecx, ecx
mov r8d, 0x1cfa
call fcn.180038d90
xor r13d, r13d
test edi, edi
je 0x180026f26
cmp dword [0x18008ba38], r13d
je 0x180026f26
lea eax, [r13 + 0xe]
jmp 0x18002782e
mov r12d, 1
mov dword [rbp - 0x49], r13d
lea rdx, [rbp - 0x21]
mov qword [rbp - 0x41], r13
lea rcx, [rbp + 7]
mov dword [rbp + 0xf], r13d
mov esi, r12d
mov word [rbp + 0x13], 0x500
mov dword [rbp - 0x21], r13d
call fcn.18000db84
mov ebx, eax
test eax, eax
je 0x180026f7b
lea r9, str.TOKEN
mov r8d, 0x1c6d
mov edx, eax
mov ecx, r12d
call fcn.180038d90
mov ecx, ebx
call fcn.18000ec90
jmp 0x18002782e
mov r12, qword [rbp + 7]
mov edx, esi
mov r8, r12
mov ecx, 8
call fcn.18000ca28
mov ebx, 0x1c5b
test eax, eax
je 0x180026faa
lea r9, str.SE_SECURITY_PRIVILEGE
mov r8d, ebx
mov edx, eax
mov ecx, esi
call fcn.180038d90
mov r8, r12
mov edx, esi
mov ecx, 9
call fcn.18000ca28
test eax, eax
je 0x180026fd0
lea r9, str.SE_TAKE_OWNERSHIP_PRIVILEGE
mov r8d, ebx
mov edx, eax
mov ecx, esi
call fcn.180038d90
mov r8, r12
mov edx, esi
mov ecx, 0x12
call fcn.18000ca28
test eax, eax
je 0x180026ff6
lea r9, str.SE_RESTORE_PRIVILEGE
mov r8d, ebx
mov edx, eax
mov ecx, esi
call fcn.180038d90
mov ecx, dword [0x18008b2a0]
mov r9d, 0x220
mov rax, qword gs:[0x58]
mov r8d, 0x20
mov dl, 2
mov rbx, qword [rax + rcx*8]
lea rcx, [rbp + 0xf]
mov eax, 0x40
add rax, rbx
mov qword [rbp - 1], rbx
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], r13d
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
call qword [sym.imp.ntdll.dll_RtlAllocateAndInitializeSid]
nop dword [rax + rax]
test eax, eax
jns 0x18002706c
mov edx, 8
xor ecx, ecx
mov r8d, 0x1c54
call fcn.180038d90
xor edx, edx
mov qword [rbp - 9], r13
mov dword [rbp - 0x31], r13d
lea r13d, [rdx + 0xe]
test r15, r15
je 0x180027649
mov ecx, 0x3a
cmp r14d, 0x40
jne 0x1800271ac
mov al, byte [r15 + 8]
test al, 0xf9
jne 0x180027191
cmp al, 6
je 0x180027191
mov rax, qword [r15]
cmp word [rax + 2], dx
je 0x1800270e4
cmp word [rax + 2], cx
je 0x1800270e4
lea edx, [rcx - 0x2d]
mov r9, rax
lea ecx, [rdx - 0xc]
mov r8d, 0x1c57
call fcn.180038d90
xor edx, edx
mov edi, dword [rbp - 0x49]
mov r15, qword [r15 + 0x18]
mov qword [rbp - 0x19], r15
test r15, r15
je 0x18002764b
mov edi, dword [rbp - 0x2d]
jmp 0x180027083
movzx eax, word [rax]
lea rcx, [rbp + 0x17]
mov word [rbp + 0x17], ax
mov dword [rbp + 0x19], 0x5c003a
mov word [rbp + 0x1d], dx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetDriveTypeW]
nop dword [rax + rax]
cmp eax, 3
je 0x180027121
cmp eax, 6
je 0x180027121
mov byte [r15 + 8], 3
lea r9, [rbp + 0x17]
mov r8d, 0x1c87
jmp 0x18002719e
xor edx, edx
lea rax, [rbp - 0x11]
mov dword [rsp + 0x38], edx
lea rcx, [rbp + 0x17]
mov qword [rsp + 0x30], rdx
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rdx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetVolumeInformationW]
nop dword [rax + rax]
xor edx, edx
test eax, eax
je 0x18002716d
test byte [rbp - 0x11], 8
jne 0x1800271ac
mov byte [r15 + 8], 3
lea r9, [rbp + 0x17]
mov r8d, 0x1c87
jmp 0x1800271a0
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
lea r9, [rbp + 0x17]
mov ecx, 1
mov edx, eax
mov r8d, 0x1c74
call fcn.180038d90
jmp 0x1800271aa
cmp al, 1
jne 0x1800271ac
mov r9, qword [r15]
mov r8d, 0x1d69
xor edx, edx
mov ecx, 1
call fcn.180038d90
xor edx, edx
mov al, byte [r15 + 8]
test al, 0xf9
jne 0x1800270cb
cmp al, 6
je 0x1800270cb
test edi, edi
je 0x1800271d8
cmp dword [0x18008ba38], edx
jne 0x180027641
mov r9d, 0x12e
jmp 0x1800271de
mov r9d, 0x132
mov r8, qword [r15]
lea rax, [rbp - 0x41]
mov ecx, 0x10
mov edx, r14d
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx + rbx]
call fcn.18003da58
xor edx, edx
mov esi, eax
test eax, eax
je 0x18002720d
mov dword [rbp - 0x49], eax
mov edi, eax
jmp 0x1800270ce
cmp r14d, 0x20
jne 0x18002750f
mov rax, qword [rbp - 0x41]
lea r8d, [r14 - 0x19]
lea rdx, str.MACHINE
mov rcx, qword [rax]
mov rcx, qword [rcx + 8]
call qword [sym.imp.msvcrt.dll__wcsnicmp]
nop dword [rax + rax]
xor edx, edx
test eax, eax
jne 0x18002750f
mov rdi, qword [rbp - 0x41]
mov dword [rbp - 0x31], 1
mov rax, qword [rdi]
mov rbx, qword [rax + 0x40]
mov rax, rdi
mov qword [rbp - 9], rax
test rbx, rbx
je 0x1800272b4
mov rcx, qword [rbx]
test rcx, rcx
je 0x180027290
mov rcx, qword [rcx + 8]
lea rdx, str.SOFTWARE
add rcx, 0x10
mov r8d, 8
call qword [sym.imp.msvcrt.dll__wcsnicmp]
nop dword [rax + rax]
xor edx, edx
test eax, eax
je 0x180027299
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x180027261
test rbx, rbx
je 0x1800272ac
mov rax, qword [rbx]
test rax, rax
je 0x1800272ac
mov rdi, qword [rbp - 0x41]
jmp 0x1800272b7
mov rdi, qword [rbp - 0x41]
mov rax, qword [rbp - 9]
mov rax, qword [rax]
mov cl, byte [rax + 0x14]
test rbx, rbx
je 0x1800272cd
mov rax, qword [rbx]
test rax, rax
je 0x1800272cd
cmp qword [rax + 0x40], rdx
jne 0x1800272d6
cmp cl, 2
jne 0x180027513
mov qword [rbp - 0x39], rdx
mov r15d, edx
mov edx, 0x3a
lea ecx, [rdx + 6]
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
nop dword [rax + rax]
xor edx, edx
mov r14, rax
test rax, rax
jne 0x180027305
lea edi, [rax + 8]
mov esi, edi
jmp 0x1800274e2
xorps xmm0, xmm0
lea rdi, str.MACHINESOFTWAREWOW6432Node
movups xmmword [r14], xmm0
xor eax, eax
mov esi, edx
movups xmmword [r14 + 0x10], xmm0
movups xmmword [r14 + 0x20], xmm0
mov qword [r14 + 0x30], rax
mov edx, 0x5c
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_wcschr]
nop dword [rax + rax]
mov rbx, rax
cmp rax, rdi
je 0x1800274c6
xor eax, eax
test esi, esi
jne 0x180027391
lea edx, [rax + 0x1d]
mov r8, rdi
mov rcx, r14
test rbx, rbx
jne 0x18002736d
call qword [sym.imp.msvcrt.dll_wcscpy_s]
nop dword [rax + rax]
xor eax, eax
lea r15d, [rsi + 1]
jmp 0x18002739e
mov r9, rbx
sub r9, rdi
sar r9, 1
call qword [sym.imp.msvcrt.dll_wcsncpy_s]
nop dword [rax + rax]
xor eax, eax
cmp word [rbx + 2], ax
mov r15d, eax
sete r15b
jmp 0x18002739e
test rbx, rbx
je 0x1800274c6
lea rdi, [rbx + 2]
inc esi
cmp esi, 1
jb 0x180027325
mov rbx, qword [rbp - 0x41]
mov edi, eax
test rbx, rbx
jne 0x1800273d4
lea r9, [rbp - 0x39]
xor r8d, r8d
mov rcx, r14
call fcn.18005f5a0
mov edi, eax
xor eax, eax
test edi, edi
jne 0x1800274cb
mov rcx, qword [rbp - 0x39]
jmp 0x180027487
xor r12d, r12d
mov esi, r12d
mov rcx, qword [rbx]
mov rdx, r14
mov rcx, qword [rcx]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jns 0x1800273ff
mov rsi, rbx
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x1800273da
mov r12, qword [rbp + 7]
mov rcx, rbx
test rbx, rbx
jne 0x18002745f
lea r9, [rbp - 0x39]
xor r8d, r8d
mov rcx, r14
call fcn.18005f5a0
mov edi, eax
xor eax, eax
test edi, edi
jne 0x1800274cb
mov rcx, qword [rbp - 0x39]
test rsi, rsi
je 0x180027435
mov qword [rsi + 8], rcx
jmp 0x18002743f
mov rax, qword [rbp - 0x41]
mov qword [rax + 8], rcx
xor eax, eax
mov rdx, qword [rcx]
mov qword [rbp - 0x39], rdx
test r15d, r15d
je 0x18002748d
mov qword [rdx + 0x20], rax
mov dword [rdx + 0x18], eax
mov byte [rdx + 0x14], 1
mov dword [rdx + 0x10], 1
jmp 0x1800274cb
test eax, eax
jle 0x18002743d
lea r9, [rbp - 0x39]
xor r8d, r8d
mov rcx, r14
call fcn.18005f5a0
mov edi, eax
xor eax, eax
test edi, edi
jne 0x1800274cb
mov rcx, qword [rbp - 0x39]
mov qword [rcx + 8], rbx
test rsi, rsi
jne 0x18002742f
mov qword [rbp - 0x41], rcx
jmp 0x18002743f
mov dword [rsp + 0x40], eax
lea rcx, [rbp - 0x39]
mov qword [rsp + 0x38], rax
add rdx, 0x40
mov byte [rsp + 0x30], 1
lea rax, str.MACHINESOFTWAREWOW6432Node
mov dword [rsp + 0x28], 1
mov r8d, 2
mov qword [rsp + 0x20], rax
call fcn.1800601bc
mov edi, eax
jmp 0x1800274cb
mov edi, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop dword [rax + rax]
xor edx, edx
mov esi, edi
test edi, edi
je 0x180027507
mov rcx, qword [rbp - 0x41]
xor edx, edx
mov dword [rbp - 0x49], edi
call fcn.180060db4
mov r14d, dword [rbp - 0x25]
xor edx, edx
mov r15, qword [rbp - 0x19]
mov qword [rbp - 0x41], rdx
mov rbx, qword [rbp - 1]
jmp 0x1800270ce
mov r14d, dword [rbp - 0x25]
mov r15, qword [rbp - 0x19]
mov rdi, qword [rbp - 0x41]
test rdi, rdi
je 0x180027610
mov r15d, dword [rbp - 0x2d]
mov ebx, 0x3a
mov rax, qword [rdi]
test rax, rax
je 0x1800275fb
cmp r14d, 0x40
jne 0x18002755a
mov rax, qword [rax + 8]
cmp word [rax + 2], bx
jne 0x18002755a
cmp word [rax + 4], dx
jne 0x18002755a
lea ecx, [r14 + 0x1c]
mov word [rax + 4], cx
mov rax, qword [rdi]
mov rcx, qword [rax + 8]
mov word [rcx + 6], dx
test r15d, r15d
je 0x18002756f
cmp dword [0x18008ba38], edx
je 0x18002756f
mov esi, r13d
jmp 0x1800275f8
cmp r14d, 0x40
jne 0x180027582
lea r9, [0x18008ac38]
lea edx, [r14 - 0x3f]
jmp 0x180027593
cmp r14d, 0x20
jne 0x1800275a2
lea r9, [0x18008ac48]
lea edx, [r14 - 0x1c]
mov rcx, qword [rdi]
mov r8, r12
call fcn.18006040c
xor edx, edx
mov esi, eax
test esi, esi
jne 0x1800275f8
test r15d, r15d
je 0x1800275b3
cmp dword [0x18008ba38], edx
jne 0x180027567
mov rcx, qword [rdi]
cmp r14d, 0x40
jne 0x1800275d8
lea r9, [0x18008ac38]
lea edx, [r14 - 0x3f]
mov eax, dword [rbp - 0x29]
mov r8, r12
mov dword [rsp + 0x20], eax
call fcn.18006075c
jmp 0x1800275f0
cmp r14d, 0x20
jne 0x1800275eb
lea r9, [0x18008ac48]
lea edx, [r14 - 0x1c]
jmp 0x1800275c7
call fcn.180033158
xor edx, edx
mov esi, eax
test eax, eax
je 0x1800275fb
mov dword [rbp - 0x49], esi
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x180027525
mov r15, qword [rbp - 0x19]
mov rdi, qword [rbp - 0x41]
cmp r14d, 0x40
jne 0x18002761a
xor edx, edx
jmp 0x180027623
cmp r14d, 0x20
jne 0x18002762d
mov edx, dword [rbp - 0x31]
mov rcx, rdi
call fcn.180060db4
xor edx, edx
mov edi, dword [rbp - 0x49]
mov dword [rbp - 0x31], edx
mov qword [rbp - 0x41], rdx
cmp esi, r13d
je 0x18002764b
jmp 0x1800274fe
mov edi, dword [rbp - 0x49]
mov esi, r13d
jmp 0x18002764b
mov edi, edx
mov r15d, 0x1bd0
cmp r14d, 0x20
jne 0x18002766b
xor edx, edx
lea r8d, [r15 - 1]
xor ecx, ecx
test edi, edi
jne 0x180027666
mov r8d, r15d
call fcn.180038d90
cmp esi, r13d
je 0x18002777b
cmp r14d, 0x20
jne 0x18002777b
xor edx, edx
xor ecx, ecx
mov r8d, 0x1cfb
call fcn.180038d90
mov rax, qword [rbp - 9]
xor r14d, r14d
mov qword [rbp - 0x41], rax
test rax, rax
je 0x18002777e
mov rax, qword [rax]
mov rbx, qword [rax + 0x40]
jmp 0x1800276e2
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800276de
mov rcx, qword [rcx + 8]
lea rdx, str.SOFTWARE
add rcx, 0x10
mov r8d, 8
call qword [sym.imp.msvcrt.dll__wcsnicmp]
nop dword [rax + rax]
test eax, eax
je 0x1800276de
mov rax, qword [rbx]
mov byte [rax + 0x14], 1
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x1800276aa
mov edi, dword [rbp - 0x2d]
test edi, edi
je 0x1800276f7
cmp dword [0x18008ba38], r14d
jne 0x180027727
mov rcx, qword [rbp - 0x41]
lea r9, [0x18008ac48]
mov esi, 0xc
mov r8, r12
mov edx, esi
mov rcx, qword [rcx]
call fcn.18006040c
mov ebx, eax
test eax, eax
jne 0x18002774d
test edi, edi
je 0x18002772c
cmp dword [0x18008ba38], r14d
je 0x18002772c
mov ebx, r13d
jmp 0x18002774d
mov rcx, qword [rbp - 0x41]
lea r9, [0x18008ac48]
mov eax, dword [rbp - 0x29]
mov r8, r12
mov edx, esi
mov dword [rsp + 0x20], eax
mov rcx, qword [rcx]
call fcn.18006075c
mov ebx, eax
mov rcx, qword [rbp - 0x41]
xor edx, edx
call fcn.180060db4
xor edx, edx
mov qword [rbp - 0x41], r14
xor ecx, ecx
test ebx, ebx
je 0x180027771
mov r8d, 0x1bcf
call fcn.180038d90
jmp 0x180027781
mov r8d, r15d
call fcn.180038d90
jmp 0x18002777e
xor r14d, r14d
mov ebx, dword [rbp - 0x49]
mov rdi, qword [rbp - 1]
mov esi, 0x40
mov rcx, qword [rsi + rdi]
test rcx, rcx
je 0x1800277a3
call qword [sym.imp.ntdll.dll_RtlFreeSid]
nop dword [rax + rax]
mov qword [rsi + rdi], r14
xor edx, edx
mov r8, r12
lea ecx, [rdx + 8]
call fcn.18000ca28
xor edx, edx
mov r8, r12
lea ecx, [rdx + 0x12]
call fcn.18000ca28
xor edx, edx
mov r8, r12
lea ecx, [rdx + 9]
call fcn.18000ca28
cmp dword [rbp - 0x21], r14d
je 0x1800277dc
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_RevertToSelf]
nop dword [rax + rax]
mov rcx, r12
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x1800277fb
xor edx, edx
call fcn.180060db4
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x18002782c
test byte [rcx + 0x1c], 8
je 0x18002782c
mov rcx, qword [rcx + 0x10]
lea r8, [0x180073228]
mov edx, 0x32
mov r9d, ebx
call fcn.180011748
mov eax, ebx
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.180002a90
mov rbx, qword [rsp + 0x120]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret