Function at 0x14001d6c0
Capabilities:
Get disk information
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x140185640]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, rdx
mov qword [rbp - 0x41], rdx
xor r14d, r14d
lea rcx, [0x1400c55e0]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], r14
mov qword [rbp - 1], r14
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rax + r8], r14b
jne 0x14001d722
mov rdx, rax
lea rcx, [rbp - 0x19]
call fcn.14000b7d0
nop
mov r8d, 1
lea rdx, [0x1400c55ec]
lea rcx, [rbp - 0x19]
call fcn.14000a600
mov dword [rbp - 0x41], r14d
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 0x10
cmovae rcx, qword [rbp - 0x19]
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x41]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ebx, dword [rbp - 0x41]
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x14001d7c4
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d7bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d7bf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b30c4
lea rdx, [rbp + 7]
call fcn.14001d400
nop
cmp qword [rbp + 0x17], 0
je 0x14001d9ea
test ebx, ebx
je 0x14001d9ea
lea r9, [rbp - 4]
mov r8d, ebx
nop dword [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x14001d7f0
lea r8, [rbp - 4]
mov rdx, r9
lea rcx, [rbp - 0x39]
call fcn.14000bfc0
nop
lea rax, [rbp - 0x39]
mov r13, qword [rbp - 0x21]
cmp r13, 0x10
setae r12b
mov r15, qword [rbp - 0x39]
cmovae rax, r15
mov rcx, rdi
lea rcx, [rcx + 1]
cmp byte [rax + rcx], 0
jne 0x14001d846
lea rcx, [rcx*2 + 1]
call fcn.1400b30f8
mov r14, rax
test r12b, r12b
je 0x14001d896
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x14001d88e
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d933
mov rcx, r15
call fcn.1400b30c4
lea r15, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae r15, qword [rbp + 7]
lea r9, [rbp - 4]
nop dword [rax + rax]
dec r9
mov eax, 0xcccccccd
mul ebx
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [r9], bl
mov ebx, edx
test edx, edx
jne 0x14001d8b0
lea r8, [rbp - 4]
mov rdx, r9
lea rcx, [rbp - 0x39]
call fcn.14000bfc0
nop
lea rdx, [rbp - 0x39]
cmp qword [rbp - 0x21], 0x10
cmovae rdx, qword [rbp - 0x39]
mov r9, r14
mov r8, r15
call fcn.14001da50
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x14001d93f
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d93a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d93a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b30c4
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
xor ebx, ebx
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x21], rbx
inc rdi
cmp byte [r14 + rdi], bl
jne 0x14001d950
mov r8, rdi
mov rdx, r14
lea rcx, [rbp - 0x39]
call fcn.14000b7d0
mov rcx, r14
call fcn.1400b30c4
movups xmm0, xmmword [rbp - 0x39]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbp - 0x29]
movups xmmword [rsi + 0x10], xmm1
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x14001d9ba
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d9b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001da41
call fcn.1400b30c4
mov rax, rsi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400b2d40
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], r14
xor r8d, r8d
lea rdx, [0x1400c3a10]
mov rcx, rsi
call fcn.14000b7d0
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x14001d9ba
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d9b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d9b5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3