Function at 0x140002940
Capabilities:
Create thread
Execute command
Query or enumerate registry value
Set console window title
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x14000b040]
xor rax, rsp
mov qword [rbp + 0xf0], rax
xor esi, esi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
mov r14, 0xffffffffffffffff
mov r9d, r14d
lea r8, str.SNAILYT_BGMI
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rdi, eax
mov eax, 2
mul rdi
cmovo rax, r14
mov rcx, rax
call fcn.140004f64
mov rbx, rax
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
mov r9d, r14d
lea r8, str.SNAILYT_BGMI
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov rcx, rbx
call fcn.140004f20
mov dword [rsp + 0x64], 4
mov dword [rsp + 0x68], 4
mov dword [rsp + 0x60], esi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
lea rdx, str.SoftwareSNAILYT
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140002abe
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareSNAILYT
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x140002abe
lea rdx, str.Error:_Could_not_open_or_create_registry_key.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400041c0
mov rcx, rax
lea rdx, [0x140004390]
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 eax, 1
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.140004f00
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x64]
xor r8d, r8d
lea rdx, str.Count
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov eax, esi
jne 0x140002af6
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Count
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x140002b60
lea rdx, str.Error:_Could_not_write_to_registry.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400041c0
mov rcx, rax
lea rdx, [0x140004390]
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 [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140002a8d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xcccccccd
mul dword [rsp + 0x60]
shr edx, 2
lea eax, [rdx + rdx*4]
cmp dword [rsp + 0x60], eax
jne 0x140002b8d
lea rcx, str.start_____https:__www.youtube.com_channel_UCuq756GV75lH8ahgmrVPwjg_sub_confirmation1_
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memset
lea rdx, str.filesMuMuPlayer.txt
lea rcx, [rbp - 0x20]
call fcn.140003c80
nop
cmp qword [rbp + 0x70], 0
jne 0x140002be3
lea rdx, str.Failed_to_open_exelocation.txt
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400041c0
mov rcx, rax
lea rdx, [0x140004390]
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 esi, 1
jmp 0x140002fb5
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x20]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x20]
call fcn.140004860
lea rcx, [rbp - 0x10]
call fcn.140004100
test rax, rax
jne 0x140002c4c
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]
lea rcx, [rbp - 0x80]
mov r14, qword [rbp - 0x70]
cmp qword [rbp - 0x68], 0xf
jbe 0x140002c64
mov rbx, qword [rbp - 0x80]
add r14, rbx
jmp 0x140002c6b
add r14, rcx
lea rbx, [rbp - 0x80]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rsi
cmp rbx, r14
jne 0x140002c8c
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], si
jmp 0x140002d9d
sub r14, rbx
mov edi, 7
mov qword [rbp - 0x38], rdi
movabs rax, 0x7ffffffffffffffe
cmp r14, rax
ja 0x14000300e
cmp r14, rdi
jbe 0x140002d5a
mov rdi, r14
or rdi, 7
cmp rdi, rax
jbe 0x140002cd3
mov rdi, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x140002d02
mov eax, 0xa
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140003008
add rcx, rcx
cmp rcx, 0x1000
jb 0x140002d39
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003008
mov rcx, rax
call fcn.140004f28
mov rcx, rax
test rax, rax
je 0x140002f5a
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x38], rdi
jmp 0x140002d5e
test rcx, rcx
je 0x140002d4d
call fcn.140004f28
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x38], rdi
jmp 0x140002d5e
mov rax, rsi
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x38], rdi
jmp 0x140002d5e
mov rax, qword [rbp - 0x50]
lea r8, [rbp - 0x50]
cmp rdi, 7
cmova r8, rax
mov rcx, r8
mov rdx, r14
test r14, r14
je 0x140002d94
nop word [rax + rax]
movsx eax, byte [rbx]
mov word [rcx], ax
lea rcx, [rcx + 2]
lea rbx, [rbx + 1]
sub rdx, 1
jne 0x140002d80
mov qword [rbp - 0x40], r14
mov word [r8 + r14*2], si
lea r8, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.140004c90
mov rdi, qword [rax]
mov qword [rax], rsi
mov qword [rbp - 0x30], rdi
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x140002e1a
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x140002dfe
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140002df9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002f1c
mov rcx, r8
call fcn.140004f20
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
mov edx, 0x28
mov rcx, rbx
call fcn.140004f20
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
mov r9, rdi
lea r8, [0x140004de0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x70], rax
test rax, rax
je 0x140002ff8
mov ecx, 8
call fcn.140004f28
lea rcx, [0x140002260]
mov qword [rax], rcx
mov qword [rbp - 0x30], rax
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140004e60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x60], rax
test rax, rax
je 0x140002fe9
cmp dword [rsp + 0x78], 0
je 0x140002fdd
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rsp + 0x78], eax
je 0x140002fd1
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x30], xmm0
xor edx, edx
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x140002fc5
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
cmp dword [rbp - 0x58], eax
je 0x140002fdd
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp - 0x58], eax
je 0x140002fd1
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x30], xmm0
xor edx, edx
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x140002fc5
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x60], xmm0
cmp dword [rsp + 0x78], eax
je 0x140002f23
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x140002f67
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f61
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002f61
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004f20
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140002fa5
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002fa0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002fa0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004f20
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
lea rcx, [rbp - 0x20]
call fcn.1400021a0
mov eax, esi
jmp 0x140002a92
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x58], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x78], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.140001110
int3
call fcn.1400011b0
int3