Function at 0x140003240
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x14000b040]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov r14, rcx
xor edi, edi
mov dword [rsp + 0x50], edi
movdqa xmm0, xmmword [0x140007f40]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rbp - 0x78], 0x7567
mov byte [rbp - 0x76], 0x5c
movdqa xmm0, xmmword [str.XjoepxtDvssfouWTnfuxbsfNjdsptp_]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x6a747366
mov dword [rsp + 0x44], 0x535c6f70
mov word [rsp + 0x48], 0x6f76
mov byte [rsp + 0x4a], dil
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov ecx, edi
mov qword [rsp + 0x68], rcx
mov esi, 0xf
mov edx, esi
mov qword [rsp + 0x70], rdx
mov byte [rsp + 0x58], cl
mov dword [rsp + 0x50], 1
mov ebx, edi
movzx r9d, byte [rsp + rbx + 0x30]
dec r9b
cmp rcx, rdx
jae 0x140003312
lea rax, [rcx + 1]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x58]
cmp rdx, rsi
cmova rax, qword [rsp + 0x58]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000331c
lea rcx, [rsp + 0x58]
call fcn.1400036e0
inc rbx
cmp rbx, 0x1a
jge 0x140003331
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
jmp 0x1400032e2
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rsi
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x50], 3
mov rbx, rdi
nop dword [rax]
nop word [rax + rax]
movzx r9d, byte [rsp + rbx + 0x78]
dec r9b
cmp rdi, rsi
jae 0x140003391
lea rax, [rdi + 1]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
cmp rsi, 0xf
cmova rax, qword [rsp + 0x30]
mov byte [rax + rdi], r9b
mov byte [rax + rdi + 1], 0
jmp 0x14000339b
lea rcx, [rsp + 0x30]
call fcn.1400036e0
inc rbx
cmp rbx, 0x12
jge 0x1400033b0
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
jmp 0x140003360
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.140003850
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140003405
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400033ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400033ff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005258
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140003442
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000343d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003583
call fcn.140005258
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rdx, qword [rbp - 0x60]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test eax, eax
je 0x1400034aa
lea rdx, str.Failed_to_open_registry_key:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001e70
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
mov rcx, rax
lea rdx, [0x140002050]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor bl, bl
jmp 0x140003670
mov dword [rbp - 0x68], 0x104
lea rax, [rbp - 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Fish
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400035c9
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140003500
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x58]
call fcn.140001410
mov rdx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x140003525
mov rdx, qword [r14]
lea rcx, [rsp + 0x58]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x70]
cmp rsi, 0xf
cmova rcx, rbx
mov r8, qword [rsp + 0x68]
cmp r8, qword [r14 + 0x10]
jne 0x140003555
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140003555
mov dil, 1
jmp 0x140003558
xor dil, dil
cmp rsi, 0xf
jbe 0x140003592
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14000358a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000358a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140005258
test dil, dil
je 0x1400035c9
lea rdx, str.Registry_key_already_set_correctly.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001e70
mov rcx, rax
lea rdx, [0x140002050]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000366e
mov rcx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x1400035d6
mov rcx, qword [r14]
mov eax, dword [r14 + 0x10]
inc eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.Fish
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
test eax, eax
je 0x140003641
lea rdx, str.Failed_to_set_or_update_registry_value:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001e70
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
mov rcx, rax
lea rdx, [0x140002050]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
jmp 0x140003670
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.Registry_startup_key_set_or_updated_successfully.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001e70
mov rcx, rax
lea rdx, [0x140002050]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov bl, 1
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x1400036ae
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400036a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400036a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005258
movzx eax, bl
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.140005080
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret