Function at 0x14001f958
Capabilities:
Get disk information

Disassembly:
xor r8d, r8d
jmp 0x14001fa98
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x1400677b0]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rsi, r8
mov rdi, rdx
mov r15, rcx
xor r12d, r12d
test rcx, rcx
je 0x14001fd55
test rdx, rdx
je 0x14001fd55
lea r9, [rsp + 0x50]
mov r8, rcx
mov r14d, 0x104
mov edx, r14d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x14001fb55
or r9, 0xffffffffffffffff
mov r8, rdi
mov edx, r14d
mov rcx, r15
call fcn.14002f800
test eax, eax
je 0x14001fb27
cmp eax, 0xc
je 0x14001fd5b
cmp eax, 0x50
jne 0x14001fd55
mov rdx, rdi
mov rcx, rsi
call fcn.14001fa38
xor eax, eax
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140028a70
add rsp, 0x2c0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp eax, r14d
jb 0x14001fb85
test rsi, rsi
je 0x14001fb32
lfence
mov dword [rsi + 0x10], 3
lfence
mov rcx, rdi
call fcn.1400330b8
mov r8d, eax
mov rdx, rdi
lea rcx, [rsi + 0x18]
call fcn.1400087c0
jmp 0x14001fb32
call fcn.14000f13c
mov rcx, rax
test rax, rax
je 0x14001fd61
lfence
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14001287a.0]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.14001f960
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [0x140068398]
test eax, eax
jne 0x14001fcb5
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x14001fd0e
mov eax, dword [rsp + 0x48]
test al, 2
jne 0x14001fc26
lfence
mov rcx, r15
call qword [sym.imp.USER32.dll_CharUpperW]
mov rbx, qword [rsp + 0x40]
mov eax, dword [rsp + 0x48]
test al, 4
jne 0x14001fcb5
lfence
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x14001fcb0
lfence
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x14001fd0e
cmp rax, r15
jbe 0x14001fd0e
lea rcx, [rbp - 0x74]
call fcn.1400330b8
mov rcx, qword [rsp + 0x50]
sub rcx, r15
sar rcx, 1
add eax, ecx
cmp eax, r14d
jge 0x14001fce3
lfence
sub r14d, ecx
movsxd rdx, r14d
lea r8, [rbp - 0x74]
mov rcx, qword [rsp + 0x50]
call fcn.140030140
test eax, eax
je 0x14001fcb0
cmp eax, 0xc
je 0x14001fd4f
cmp eax, 0x50
jne 0x14001fd6c
mov rbx, qword [rsp + 0x40]
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001fcd9
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001287a.0]
mov eax, 1
jmp 0x14001fb34
test rsi, rsi
je 0x14001fd1d
lfence
mov dword [rsi + 0x10], 3
lfence
mov rcx, rdi
call fcn.1400330b8
mov r8d, eax
mov rdx, rdi
lea rcx, [rsi + 0x18]
call fcn.1400087c0
jmp 0x14001fd1d
lfence
mov rdx, rdi
mov rcx, rsi
call fcn.14001fa38
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001fb32
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001287a.0]
jmp 0x14001fb32
call fcn.140009ecc
nop
call fcn.140009ea8
int3
call fcn.140009ecc
nop
mov ecx, 0x80004005
call fcn.140001520
nop
call fcn.140009ea8
int3