Function at 0x140001c70
Capabilities:
Query or enumerate 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 - 0x370]
sub rsp, 0x470
mov rax, qword [0x140088040]
xor rax, rsp
mov qword [rbp + 0x360], rax
xor r14d, r14d
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14008b6dc], eax
jle 0x140001cf1
lea rcx, [0x14008b6dc]
call fcn.140043628
cmp dword [0x14008b6dc], 0xffffffff
jne 0x140001cf1
lea rcx, [0x140069a50]
call fcn.140043904
lea rcx, [0x14008b6dc]
call fcn.1400435bc
xor r8d, r8d
mov edx, 0x104
lea rbx, [0x140088c90]
mov rcx, rbx
call fcn.140002130
mov dword [rbp - 0x64], 0x104
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareSAMP
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140002061
mov rax, rbx
cmp qword [0x140088ca8], 0xf
cmova rax, qword [0x140088c90]
lea rcx, [rbp - 0x64]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.gta_sa_exe
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140002061
mov edx, dword [rbp - 0x64]
add edx, 0xfffffff5
xor r8d, r8d
mov rcx, rbx
call fcn.140002130
mov rdi, rbx
mov r8, qword [0x140088c90]
cmp qword [0x140088ca8], 0xf
cmova rdi, r8
mov rsi, rbx
cmova rsi, r8
add rsi, qword [0x140088ca0]
cmp qword [0x140088ca8], 0xf
cmova rbx, r8
cmp rbx, rsi
je 0x140001dd9
sub rdi, rbx
movzx ecx, byte [rbx]
call fcn.14004a2a0
mov byte [rdi + rbx], al
inc rbx
cmp rbx, rsi
jne 0x140001dc6
lea rdx, str.Waiting_for_GTA__N2AC__process_...__n
call fcn.1400024a0
call fcn.140001940
test al, al
jne 0x140001e04
nop
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140001940
test al, al
je 0x140001df0
lea rdx, str.GTA__N2AC__process_found__injecting_the_cheat_...
call fcn.1400024a0
mov rcx, rax
call fcn.140002780
xor edx, edx
mov r8d, 0x398
lea rcx, [rbp - 0x40]
call fcn.140066730
lea rcx, [rbp - 0x40]
call fcn.14000cab0
nop
lea rcx, [rbp - 0x40]
call fcn.14000cf10
test eax, eax
jns 0x140001e56
lea rdx, str.Failed_to_inject._Please_run_as_administrator.__n
call fcn.1400024a0
mov edi, 1
jmp 0x140001f7c
mov edi, 1
nop dword [rax + rax]
mov qword [rbp - 0x58], r14
mov rax, qword [rbp + 0xd8]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea rdx, [rbp - 0x58]
mov qword [rsp + 0x20], rdx
mov r9d, 4
lea r8, [rbp - 0x60]
mov edx, 0x4579c6
call qword [rax + 0x18]
cmp byte [rbp - 0x60], 0xe9
jne 0x140001e60
mov qword [rbp - 0x50], r14
mov rax, qword [rbp + 0xd8]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea rdx, [rbp - 0x50]
mov qword [rsp + 0x20], rdx
mov r9, rdi
lea r8, [rbp - 0x68]
mov edx, 0xa444a0
call qword [rax + 0x18]
cmp byte [rbp - 0x68], 0
jne 0x140001ed4
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [rbp - 0x68], 0
je 0x140001e60
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 9
lea rdx, str.swish.asi
lea rcx, [rsp + 0x50]
call fcn.140002a60
nop
mov dword [rsp + 0x30], 0x85
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x2a0]
call fcn.140003af0
cmp byte [rbp - 0x78], 0
je 0x140001f37
lea rcx, [rsp + 0x78]
call fcn.140002350
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x140001f79
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001f74
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400020a9
call fcn.14004391c
mov edi, r14d
mov rcx, qword [rbp + 0x348]
mov rbx, qword [rcx + 8]
cmp byte [rbx + 0x19], 0
jne 0x140001fc4
nop dword [rax]
mov r8, qword [rbx + 0x10]
lea rdx, [rbp + 0x348]
lea rcx, [rbp + 0x348]
call fcn.14000d190
mov rcx, rbx
mov rbx, qword [rbx]
mov edx, 0x30
call fcn.14004391c
cmp byte [rbx + 0x19], 0
je 0x140001f90
mov rcx, qword [rbp + 0x348]
mov edx, 0x30
call fcn.14004391c
lea rcx, [rbp + 0x2a0]
call fcn.140003a30
lea rcx, [rbp + 0x200]
call fcn.14001a210
nop
lea rcx, [rbp + 0x178]
call fcn.140029e30
mov rbx, qword [rbp + 0x1e0]
test rbx, rbx
je 0x14000202c
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000202c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x14000202c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
lea rcx, [rbp + 0xf0]
call fcn.14002a0a0
lea rcx, [rbp + 0x68]
call fcn.140029110
lea rcx, [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea rcx, [rbp - 8]
call fcn.14000ddf0
lea rcx, [rbp - 0x40]
call fcn.14002a5d0
mov eax, edi
jmp 0x14000207d
lea rdx, str.Failed_to_get_GTA_path_n
call fcn.1400024a0
mov ecx, 0x3a98
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.140043560
lea r11, [rsp + 0x470]
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
call fcn.14004a6ec
nop
int3