Function at 0x140018d90
Capabilities:
Get common file path
Get disk information

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x128]
sub rsp, 0x200
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x140075030]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov rsi, rcx
mov qword [rbp - 0x60], rcx
xor edi, edi
mov dword [rsp + 0x40], edi
mov dword [rbp - 0x58], edi
mov edx, 0x105
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x140018e29
movzx eax, byte [rbp - 0x40]
mov byte [rbp - 0x50], al
mov word [rbp - 0x4f], 0x5c3a
mov byte [rbp - 0x4d], dil
xor eax, eax
mov dword [rbp - 0x4c], eax
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x58]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], 0xf
mov byte [rsi], dil
mov r14d, 1
mov dword [rsp + 0x40], r14d
movdqu xmmword [rbp - 0x50], xmm0
xor eax, eax
xor ecx, ecx
cpuid
mov dword [rbp - 0x50], eax
mov dword [rbp - 0x4c], ebx
mov dword [rbp - 0x48], ecx
mov dword [rbp - 0x44], edx
mov qword [rsp + 0x50], r14
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rax
lea r12, str.:X
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], 4
lea rbx, [rbp - 0x50]
movabs r15, 0x1000000000000000
movaps xmm6, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
nop dword [rax]
mov eax, dword [rbx]
mov dword [rsp + 0x68], eax
mov qword [rsp + 0x60], r15
movdqa xmmword [rsp + 0x50], xmm6
movdqa xmmword [rbp - 0x70], xmm7
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.140009180
or r14d, 2
mov dword [rsp + 0x40], r14d
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
mov rcx, rsi
call fcn.140006340
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140018f2b
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018f26
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001902c
call fcn.14001e740
inc edi
add rbx, 4
cmp edi, 4
jb 0x140018ea0
mov eax, dword [rbp - 0x58]
mov dword [rsp + 0x68], eax
movabs rax, 0x2000000000000000
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x50], 1
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rax
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], 4
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp - 0x70], xmm0
movaps xmm1, xmmword [rbp - 0x50]
movdqa xmmword [rsp + 0x50], xmm1
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140009180
or r14d, 4
mov dword [rsp + 0x40], r14d
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
mov rcx, rsi
call fcn.140006340
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140018ff4
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018fef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019032
call fcn.14001e740
mov rax, rsi
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.14001e530
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140025808
int3
call fcn.140025808
int3