Function at 0x140009f80
Capabilities:
Contain obfuscated stackstrings
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x140152040]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rbx, rcx
mov qword [rsp + 0x78], rcx
xor r14d, r14d
mov dword [rsp + 0x70], r14d
movdqa xmm0, xmmword [0x140146c50]
movdqu xmmword [rbp - 0x80], xmm0
mov dword [rbp - 0x70], 0x6d6c656f
mov dword [rbp - 0x6c], 0x63697461
mov dword [rbp - 0x68], 0x6d6f632e
mov byte [rbp - 0x64], r14b
lea rdx, [rbp - 0x7f]
lea rcx, [rbp - 0x60]
call fcn.140005810
nop
lea rdx, [rbp - 0x60]
mov rdi, qword [rbp - 0x60]
mov rsi, qword [rbp - 0x48]
cmp rsi, 0xf
cmova rdx, rdi
mov r8, qword [rbx + 0x10]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14000a017
mov rcx, qword [rbx]
cmp r8, qword [rbp - 0x50]
jne 0x14000a362
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000a362
mov qword [rbp - 0x80], r14
lea rax, [0x1401520b8]
mov qword [rbp - 0x78], rax
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x50]
call fcn.140003110
mov dword [rsp + 0x70], 1
cmp dword [rbp - 0x80], 0
jne 0x14000a421
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rax, qword [rsp + 0x50]
mov qword [rbp - 0x80], rax
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x78], rax
call fcn.14005846c
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
lea r8, [rbp - 0x80]
mov edx, eax
lea rcx, [rbp - 0x40]
call fcn.140007dd0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14000a0de
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a0d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a0d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058ef8
movdqa xmm0, xmmword [0x140146540]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r14w
mov dword [rsp + 0x70], 0x2e734d50
mov dword [rsp + 0x74], 0x6e6962
lea rax, [rsp + 0x71]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x14000a110
lea rdx, [rsp + 0x71]
lea rcx, [rbp - 0x40]
call fcn.140007470
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memset
mov r8d, 2
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.140007280
nop
cmp qword [rbp + 0x68], 0
je 0x14000a19a
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x50]
lea rcx, [rbp - 0x20]
call fcn.1400096f0
lea rcx, [rbp - 0x18]
call fcn.140007a40
test rax, rax
jne 0x14000a19a
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x20]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x20], rax
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x24], edx
lea rcx, [rbp - 0x18]
call fcn.140007210
lea rcx, [rbp - 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x88]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rdx, qword [0x14016b478]
cmp qword [rdx + 0x18], 7
jbe 0x14000a1f1
mov rdx, qword [rdx]
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000a281
mov eax, dword [rbp - 0x50]
lea eax, [rax*2 + 2]
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rcx, qword [rbp - 0x60]
lea rdx, [0x14016b458]
cmp qword [0x14016b470], 7
cmova rdx, qword [0x14016b458]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14000a2bf
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a2ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a2ba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058ef8
movdqa xmm0, xmmword [0x140146550]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x14000a30e
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a309
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a309
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058ef8
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], 0xf
mov byte [rbp - 0x60], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14000a354
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000a34f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000a35b
mov rcx, r8
call fcn.140058ef8
mov al, 1
jmp 0x14000a3e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
cmp rsi, 0xf
jbe 0x14000a39c
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14000a394
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a394
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140058ef8
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], 0xf
mov byte [rbp - 0x60], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14000a3e2
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000a3dd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000a41a
mov rcx, r8
call fcn.140058ef8
xor al, al
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], r14
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.140058c00
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x80]
call fcn.140002ce0
int3