Function at 0x7ff768369f80
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 [0x7ff7684b2040]
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 [0x7ff7684a6c50]
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.7ff768365810
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 0x7ff76836a017
mov rcx, qword [rbx]
cmp r8, qword [rbp - 0x50]
jne 0x7ff76836a362
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x7ff76836a362
mov qword [rbp - 0x80], r14
lea rax, [0x7ff7684b20b8]
mov qword [rbp - 0x78], rax
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x50]
call fcn.7ff768363110
mov dword [rsp + 0x70], 1
cmp dword [rbp - 0x80], 0
jne 0x7ff76836a421
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.7ff7683b846c
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
lea r8, [rbp - 0x80]
mov edx, eax
lea rcx, [rbp - 0x40]
call fcn.7ff768367dd0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x7ff76836a0de
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff76836a0d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff76836a0d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7683b8ef8
movdqa xmm0, xmmword [0x7ff7684a6540]
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 0x7ff76836a110
lea rdx, [rsp + 0x71]
lea rcx, [rbp - 0x40]
call fcn.7ff768367470
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.7ff768367280
nop
cmp qword [rbp + 0x68], 0
je 0x7ff76836a19a
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.7ff7683696f0
lea rcx, [rbp - 0x18]
call fcn.7ff768367a40
test rax, rax
jne 0x7ff76836a19a
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.7ff768367210
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 [0x7ff7684cb478]
cmp qword [rdx + 0x18], 7
jbe 0x7ff76836a1f1
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 0x7ff76836a281
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, [0x7ff7684cb458]
cmp qword [0x7ff7684cb470], 7
cmova rdx, qword [0x7ff7684cb458]
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 0x7ff76836a2bf
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff76836a2ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff76836a2ba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7683b8ef8
movdqa xmm0, xmmword [0x7ff7684a6550]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x7ff76836a30e
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff76836a309
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff76836a309
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7683b8ef8
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], 0xf
mov byte [rbp - 0x60], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x7ff76836a354
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x7ff76836a34f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x7ff76836a35b
mov rcx, r8
call fcn.7ff7683b8ef8
mov al, 1
jmp 0x7ff76836a3e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
cmp rsi, 0xf
jbe 0x7ff76836a39c
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x7ff76836a394
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff76836a394
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.7ff7683b8ef8
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], 0xf
mov byte [rbp - 0x60], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x7ff76836a3e2
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x7ff76836a3dd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x7ff76836a41a
mov rcx, r8
call fcn.7ff7683b8ef8
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.7ff7683b8c00
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.7ff768362ce0
int3