Function at 0x180003d00
Capabilities:
Create directory
Get common file path
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov rdi, rcx
call fcn.180003710
mov rsi, qword [0x1802ea1e0]
mov rbx, qword [rsi]
cmp rbx, rsi
je 0x180003fec
mov r14, qword [rdi + 0x18]
mov r15, qword [rdi + 0x10]
lea r9, [rbx + 0x20]
cmp qword [rbx + 0x38], 8
jb 0x180003d52
mov r9, qword [rbx + 0x20]
mov rcx, rdi
cmp r14, 8
jb 0x180003d5e
mov rcx, qword [rdi]
mov rax, qword [rbx + 0x30]
mov qword [rsp + 0x20], rax
mov rdx, r15
call fcn.180002520
cmp rax, 0xffffffffffffffff
jne 0x180003ddd
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x180003da8
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x180003da3
nop dword [rax]
cmp rbx, qword [rax + 0x10]
jne 0x180003da3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x180003d90
mov rbx, rax
jmp 0x180003dcf
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x180003dcf
nop dword [rax]
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x180003dc0
cmp rbx, rsi
je 0x180003fec
jmp 0x180003d43
mov rdi, qword [rbx + 0x48]
mov rsi, qword [rbx + 0x40]
xor r14d, r14d
mov qword [rsp + 0x40], r14
lea rax, [rbp + 0x3f8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Console
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea rdx, [0x1802e83f8]
cmp qword [0x1802e8410], 8
cmovae rdx, qword [0x1802e83f8]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
lea r9d, [r14 + 3]
xor r8d, r8d
mov rcx, qword [rbp + 0x3f8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x3f8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x18002f550]
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp + 0x400], r14
lea r9, [rbp + 0x400]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x70]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x180003fcf
mov r8, qword [rbp + 0x400]
lea rdx, str._sOneDrive
lea rcx, [rbp - 0x60]
call fcn.180007430
xor edx, edx
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea r8, [rbp - 0x60]
lea rdx, str._scache
lea rcx, [rbp + 0x1b0]
call fcn.180007430
xor edx, edx
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov qword [rsp + 0x70], r14
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r14w
lea r8d, [r14 + 6]
lea rdx, [0x18003dc90]
lea rcx, [rsp + 0x70]
call fcn.180001f30
nop
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r14w
lea r8d, [r14 + 0x19]
lea rdx, [0x18003dca0]
lea rcx, [rsp + 0x50]
call fcn.180001f30
nop
mov r9, qword [rbx + 0x48]
mov r8, qword [rbx + 0x40]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1800032d0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x180003f92
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003f8c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180003ff7
call fcn.18000ab38
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x180003fcf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003fca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180003fe6
call fcn.18000ab38
mov rbx, qword [rsp + 0x4f0]
add rsp, 0x4c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.180011c44
int3
mov ecx, 1
call fcn.180011f54
nop
call fcn.180011c44
nop
int3