Function at 0x1400069b0
Capabilities:
Get common file path
Query environment variable

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x450
mov qword [rsp + 0x140], 0xfffffffffffffffe
mov rax, qword [0x1400425e0]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
movsx eax, byte [0x1400331aa]
test eax, eax
jne 0x140006a19
mov qword [rsp + 0x88], 0
jmp 0x140006a2d
lea rcx, [0x1400331aa]
call fcn.140019bc0
mov qword [rsp + 0x88], rax
mov r8, qword [rsp + 0x88]
lea rdx, [0x1400331aa]
mov rcx, qword [rsp + 0x470]
call fcn.14000e9b0
lea rdx, [0x140033af0]
lea rcx, [rsp + 0x150]
call fcn.140001b00
nop
lea r8, [rsp + 0x150]
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x468]
call fcn.14000cac0
mov dword [rsp + 0x34], eax
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x150]
call fcn.14000e180
cmp dword [rsp + 0x34], 0
jne 0x140006ac3
mov dword [rsp + 0x5c], 0
lea rcx, [rsp + 0x68]
call fcn.14000e300
nop
xor r8d, r8d
mov dl, 1
mov rcx, qword [rsp + 0x468]
call fcn.14000e180
mov eax, dword [rsp + 0x5c]
jmp 0x140007178
xor eax, eax
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x18], 0x10
jb 0x140006b01
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
jmp 0x140006b0b
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.14001aaa8
mov dword [rsp + 0x48], eax
mov byte [rsp + 0x330], 0
lea rax, [rsp + 0x331]
mov rdi, rax
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x4019
jg 0x140006b93
cmp dword [rsp + 0x30], 0x4019
je 0x140006f85
cmp dword [rsp + 0x30], 0xa
je 0x140006bd0
cmp dword [rsp + 0x30], 0xb
je 0x140006c73
cmp dword [rsp + 0x30], 0xc
je 0x140006cde
cmp dword [rsp + 0x30], 0x4000
je 0x140007035
cmp dword [rsp + 0x30], 0x4017
je 0x140006eda
jmp 0x1400070e2
cmp dword [rsp + 0x30], 0x4023
je 0x140006e2f
cmp dword [rsp + 0x30], 0x4026
je 0x140006d84
cmp dword [rsp + 0x30], 0x4029
je 0x140006c73
cmp dword [rsp + 0x30], 0x402a
je 0x140006d84
jmp 0x1400070e2
mov edx, 0x104
lea rcx, [rsp + 0x330]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea rdx, [rsp + 0x330]
lea rcx, [rsp + 0x2d0]
call fcn.140001b00
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xb0], rax
lea r8, [0x1400332e0]
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x250]
call fcn.1400014a0
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x470]
call fcn.140002480
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x250]
call fcn.14000e180
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x2d0]
call fcn.14000e180
jmp 0x14000710d
mov r8d, 0x104
lea rdx, [rsp + 0x330]
mov rcx, qword [rsp + 0x460]
call fcn.140007750
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movsx eax, byte [rax]
test eax, eax
jne 0x140006cad
mov qword [rsp + 0x80], 0
jmp 0x140006cbf
mov rcx, qword [rsp + 0x50]
call fcn.140019bc0
mov qword [rsp + 0x80], rax
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x470]
call fcn.14000e9b0
jmp 0x14000710d
mov r8d, 0x104
lea rdx, [rsp + 0x330]
mov rcx, qword [rsp + 0x460]
call fcn.140007750
mov rdx, rax
lea rcx, [rsp + 0x290]
call fcn.140001b00
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x138], rax
lea r8, str.drivers_
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0x1d0]
call fcn.1400014a0
mov qword [rsp + 0x130], rax
mov rdx, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x470]
call fcn.140002480
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x1d0]
call fcn.14000e180
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x290]
call fcn.14000e180
jmp 0x14000710d
mov r8d, 0x104
lea rdx, [rsp + 0x330]
lea rcx, str.ProgramFiles
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea rdx, [rsp + 0x330]
lea rcx, [rsp + 0x310]
call fcn.140001b00
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x100], rax
lea r8, [0x1400332e0]
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x210]
call fcn.1400014a0
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x470]
call fcn.140002480
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x210]
call fcn.14000e180
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x310]
call fcn.14000e180
jmp 0x14000710d
mov r8d, 0x104
lea rdx, [rsp + 0x330]
lea rcx, str.ProgramData
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea rdx, [rsp + 0x330]
lea rcx, [rsp + 0x190]
call fcn.140001b00
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0xe0], rax
lea r8, [0x1400332e0]
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x170]
call fcn.1400014a0
mov qword [rsp + 0x110], rax
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x470]
call fcn.140002480
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x170]
call fcn.14000e180
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x190]
call fcn.14000e180
jmp 0x14000710d
mov r8d, 0x104
lea rdx, [rsp + 0x330]
lea rcx, str.AllUsersProfile
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea rdx, [rsp + 0x330]
lea rcx, [rsp + 0x1f0]
call fcn.140001b00
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xa8], rax
lea r8, [0x1400332e0]
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x1b0]
call fcn.1400014a0
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x470]
call fcn.140002480
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x1b0]
call fcn.14000e180
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x1f0]
call fcn.14000e180
jmp 0x14000710d
lea rax, [rsp + 0x330]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x19
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea rdx, [rsp + 0x330]
lea rcx, [rsp + 0x270]
call fcn.140001b00
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd8], rax
lea r8, [0x1400332e0]
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x230]
call fcn.1400014a0
mov qword [rsp + 0xe8], rax
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x470]
call fcn.140002480
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x230]
call fcn.14000e180
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x270]
call fcn.14000e180
jmp 0x14000710d
lea rax, [rsp + 0x330]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea rdx, [rsp + 0x330]
lea rcx, [rsp + 0x2f0]
call fcn.140001b00
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x108], rax
lea r8, [0x1400332e0]
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0x2b0]
call fcn.1400014a0
mov qword [rsp + 0x118], rax
mov rdx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x470]
call fcn.140002480
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x2b0]
call fcn.14000e180
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x2f0]
call fcn.14000e180
jmp 0x14000710d
mov dword [rsp + 0x58], 0
lea rcx, [rsp + 0x68]
call fcn.14000e300
nop
xor r8d, r8d
mov dl, 1
mov rcx, qword [rsp + 0x468]
call fcn.14000e180
mov eax, dword [rsp + 0x58]
jmp 0x140007178
cmp dword [rsp + 0x34], 1
jbe 0x14000714f
mov eax, 1
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov r9, qword [0x1400331a0]
xor r8d, r8d
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x470]
call fcn.14000e390
mov dword [rsp + 0x38], 1
lea rcx, [rsp + 0x68]
call fcn.14000e300
nop
xor r8d, r8d
mov dl, 1
mov rcx, qword [rsp + 0x468]
call fcn.14000e180
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.14001c4b0
add rsp, 0x450
pop rdi
ret