Function at 0x1400152d0
Capabilities:
Create directory
Get common file path
Persist via run registry key
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x1402d1ba8]
xor rax, rsp
mov qword [rbp + 0x60], rax
xor edi, edi
lea r9, [rbp - 0x10]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14024fea0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
mov rdx, qword [rbp - 0x10]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], di
jne 0x140015330
lea rcx, [rbp]
call fcn.14002e710
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
lea rcx, [rsp + 0x70]
call fcn.1400244c0
nop
lea r8, [rbp]
cmp qword [rbp + 0x18], 8
cmovae r8, qword [rbp]
mov rcx, qword [rbp + 0x10]
lea r9, [r8 + rcx*2]
lea rdx, [rbp + 0x40]
mov rcx, rax
call fcn.140028fc0
nop
lea rax, vtable.std::wstring_convert_class_std::codecvt_utf8_wchar_t__1114111__0___wchar_t__class_std::allocator_wchar_t___class_std::allocator_char__.0
mov qword [rsp + 0x70], rax
lea rcx, [rbp - 0x50]
call fcn.140029930
lea rcx, [rbp - 0x70]
call fcn.140029b80
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1400153bf
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x1400153bf
mov rdx, qword [rax]
mov r8, qword [rdx]
mov edx, 1
mov rcx, rax
call r8
lea r9, [rbp - 0x10]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14024fea0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov rdx, qword [rbp - 0x10]
nop word [rax + rax]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x1400153f0
mov r8, rbx
lea rcx, [rsp + 0x50]
call fcn.14002e710
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov r8d, reloc.WLDAP32.dll_Ordinal_30
lea rdx, str._appdatalocal_seidr_seidr.exe
lea rcx, [rsp + 0x50]
call fcn.140026ca0
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x30], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rcx, [rsp + 0x50]
call fcn.140029930
lea rcx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rcx, qword [rbp]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140015480
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x40], rdi
lea rax, [rbp - 8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140015502
mov eax, dword [rbp + 0x30]
lea eax, [rax*2 + 2]
lea rcx, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rcx, qword [rbp + 0x20]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.SEIDR
mov rcx, qword [rbp - 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp + 0x20]
call fcn.140029930
nop
lea rcx, [rbp + 0x40]
call fcn.140029b80
nop
lea rcx, [rbp]
call fcn.140029930
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1401e7970
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret