Function at 0x14004ffc0
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
push rbp
lea rbp, [rax - 0xa8]
sub rsp, 0x1a0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x1400f00c0]
xor rax, rsp
mov qword [rbp + 0x80], rax
xor ebx, ebx
mov dword [rsp + 0x40], ebx
cmp byte [reloc.WS2_32.dll_accept], bl
je 0x1400506ef
xorps xmm6, xmm6
movss xmm0, dword [0x1400f0330]
movss xmm1, dword [0x1400f0334]
mov rcx, qword [0x1400f1680]
mov eax, dword [rcx + 0x1dc0]
or eax, 1
mov dword [rcx + 0x1dc0], eax
unpcklps xmm0, xmm1
movsd qword [rcx + 0x1dd4], xmm0
xorps xmm1, xmm1
unpcklps xmm1, xmm6
movsd qword [rcx + 0x1ddc], xmm1
mov dword [rcx + 0x1dc4], 2
mov byte [rcx + 0x1dfc], 1
movss xmm0, dword [0x1400f0338]
movss xmm1, dword [0x1400f033c]
movss dword [rcx + 0x1de4], xmm0
movss dword [rcx + 0x1de8], xmm1
mov dword [rcx + 0x1dc8], 1
or eax, 0x42
mov dword [rcx + 0x1dc0], eax
mov dword [rcx + 0x1e20], 0x3f800000
cmp dword [0x1400f16e0], ebx
jne 0x1400506ea
mov r8d, 0x12f
lea rdx, [0x1400f0340]
lea rcx, str.RL_Private_Loader
call fcn.140010940
mov rcx, qword [0x1400f1680]
mov rax, qword [rcx + 0x1d18]
mov byte [rax + 0xd1], 1
mov rax, qword [rcx + 0x1d18]
movss xmm0, dword [rax + 0x54]
subss xmm0, dword [rax + 0xa0]
addss xmm0, dword [0x1400dd7ec]
movss xmm2, dword [rax + 0x50]
subss xmm2, dword [rax + 0x9c]
addss xmm2, dword [0x1400dd7b4]
movss dword [rax + 0x118], xmm2
movss dword [rax + 0x11c], xmm0
movss xmm1, dword [rax + 0x134]
maxss xmm1, xmm0
movss xmm0, dword [rax + 0x130]
maxss xmm0, xmm2
movss dword [rax + 0x130], xmm0
movss dword [rax + 0x134], xmm1
mov dword [rsp + 0x40], 0x43818000
mov dword [rsp + 0x44], 0x432f0000
mov rax, qword [rcx + 0x1d18]
mov byte [rax + 0xd1], 1
lea rdx, str.Box
mov rcx, qword [rcx + 0x1d18]
call fcn.140007e80
mov edx, eax
lea r8, [rsp + 0x40]
call fcn.14000d870
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400dd658]
mov qword [rsp + 0x70], rax
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x40], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], rdi
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x80], rax
mov byte [rbp - 4], bl
mov byte [rbp - 0xf], bl
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp], rbx
mov rax, qword [0x1400f1658]
mov qword [rbp - 0xc], rax
mov qword [rbp - 0x18], rbx
lea r9d, [rbx + 0x40]
lea r8d, [rbx + 1]
lea rdx, str.C:_rlmod_settings.cfg
lea rcx, [rbp - 0x80]
call fcn.140003010
test rax, rax
jne 0x140050253
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
add rcx, rax
xor r8d, r8d
lea edx, [rbx + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
cmp qword [rbp], 0
je 0x1400502ab
lea rdx, [0x1400f1a38]
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
lea rdx, [0x1400f1b5c]
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___bool____ptr64____ptr64]
lea rcx, [rbp - 0x80]
call fcn.140002f50
test rax, rax
jne 0x1400502ab
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
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 [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], rdi
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rbp - 0x80]
call fcn.140002b50
lea rcx, [rbp - 0x78]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, qword [0x1400f1680]
mov rax, qword [rcx + 0x1d18]
mov byte [rax + 0xd1], 1
mov rax, qword [rcx + 0x1d18]
movss xmm0, dword [rax + 0x50]
subss xmm0, dword [rax + 0x9c]
addss xmm0, dword [0x1400dd7f0]
movss xmm2, dword [rax + 0x54]
subss xmm2, dword [rax + 0xa0]
addss xmm2, dword [0x1400dd800]
movss dword [rax + 0x118], xmm0
movss dword [rax + 0x11c], xmm2
movss xmm1, dword [rax + 0x130]
maxss xmm1, xmm0
movss xmm0, dword [rax + 0x134]
maxss xmm0, xmm2
movss dword [rax + 0x130], xmm1
movss dword [rax + 0x134], xmm0
cmp dword [0x1400f1a38], 0
sete dl
lea rcx, str.Nasa
call fcn.1400462e0
test al, al
je 0x14005038c
mov dword [0x1400f1a38], ebx
call fcn.14004fb10
movss xmm1, dword [0x1400dd854]
xorps xmm0, xmm0
call fcn.1400156f0
cmp dword [0x1400f1a38], 1
sete dl
lea rcx, str.Medium
call fcn.1400462e0
test al, al
je 0x1400503c5
mov dword [0x1400f1a38], 1
call fcn.14004fb10
movss xmm1, dword [0x1400dd854]
xorps xmm0, xmm0
call fcn.1400156f0
cmp dword [0x1400f1a38], 2
sete dl
lea rcx, [0x1400dd4ec]
call fcn.1400462e0
test al, al
je 0x1400503fe
mov dword [0x1400f1a38], 2
call fcn.14004fb10
mov ecx, dword [0x1400f16d0]
test ecx, ecx
je 0x1400504bb
sub ecx, 1
je 0x140050481
sub ecx, 1
je 0x14005045c
cmp ecx, 1
jne 0x140050545
mov rcx, qword [0x1400f1680]
mov rax, qword [rcx + 0x1d18]
mov byte [rax + 0xd1], 1
mov rax, qword [rcx + 0x1d18]
movss xmm0, dword [rax + 0x50]
subss xmm0, dword [rax + 0x9c]
addss xmm0, dword [0x1400dd7f8]
lea rcx, str.Injected_
jmp 0x1400504f3
mov rcx, qword [0x1400f1680]
mov rax, qword [rcx + 0x1d18]
mov byte [rax + 0xd1], 1
mov rax, qword [rcx + 0x1d18]
lea rcx, str.Error_Injecting_
jmp 0x1400504de
mov rcx, qword [0x1400f1680]
mov rax, qword [rcx + 0x1d18]
mov byte [rax + 0xd1], 1
mov rax, qword [rcx + 0x1d18]
movss xmm0, dword [rax + 0x50]
subss xmm0, dword [rax + 0x9c]
addss xmm0, dword [0x1400dd7f4]
lea rcx, str.Jogo_encontrado__a_injetar...
jmp 0x1400504f3
mov rcx, qword [0x1400f1680]
mov rax, qword [rcx + 0x1d18]
mov byte [rax + 0xd1], 1
mov rax, qword [rcx + 0x1d18]
lea rcx, str.A_procurar_o_jogo...
movss xmm0, dword [rax + 0x50]
subss xmm0, dword [rax + 0x9c]
addss xmm0, dword [0x1400dd804]
movss xmm2, dword [rax + 0x54]
subss xmm2, dword [rax + 0xa0]
movss dword [rax + 0x118], xmm0
addss xmm2, dword [0x1400dd80c]
movss dword [rax + 0x11c], xmm2
movss xmm1, dword [rax + 0x130]
maxss xmm1, xmm0
movss xmm0, dword [rax + 0x134]
movss dword [rax + 0x130], xmm1
maxss xmm0, xmm2
movss dword [rax + 0x134], xmm0
call fcn.140043e30
call fcn.140045bf0
mov rax, qword [0x1400f1680]
mov r8, qword [rax + 0x1d18]
mov ecx, dword [r8 + 0x168]
test cl, 0x20
je 0x14005056c
shr ecx, 6
test cl, 1
jmp 0x14005058f
mov edx, dword [rax + 0x1da8]
mov ecx, dword [r8 + 0x164]
cmp edx, ecx
jne 0x1400506e5
test edx, edx
je 0x1400506e5
cmp dword [rax + 0x1d6c], ecx
je 0x1400506e5
cmp byte [rax + 0x1dad], 0
jne 0x1400505b8
cmp dword [rax + 0x1d6c], 0
jne 0x1400506e5
cmp byte [rax + 0x1d7c], 0
je 0x1400506e5
cmp byte [0x1400f1b5c], 0
je 0x1400506a1
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov r8d, Ordinal_26
lea rdx, str.C:_rlmod_rlprivatemod.exe
lea rcx, [rsp + 0x48]
call fcn.140053250
mov qword [rsp + 0x40], rbx
lea r8, [rsp + 0x40]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x14005064f
mov eax, dword [rsp + 0x58]
lea eax, [rax*2 + 2]
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rcx, qword [rsp + 0x48]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.RLPrivateMod
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x1400506e0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005069a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005069a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bbf24
jmp 0x1400506e0
mov qword [rsp + 0x40], rbx
lea r8, [rsp + 0x40]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1400506d5
lea rdx, str.RLPrivateMod
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.14004fb10
call fcn.14000da50
call fcn.140013b90
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1400bbec0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret