Function at 0x140018340
Capabilities:
Query environment variable
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rax, qword [0x14014b140]
xor rax, rsp
mov qword [rbp + 0x130], rax
xor r12d, r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r12 + 1]
lea rcx, str..VBoxMiniRdrDN
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x1400183bb
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140018400
mov qword [rbp + 0x100], r12
xor edx, edx
mov r8d, 0xff
lea rcx, [rbp]
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp + 0x100]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SOFTWAREVMware__Inc.VMware_Tools
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001840e
call fcn.140018220
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.14002a010
mov rcx, rax
call fcn.140017dd0
lea rax, str.C:Thunder
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0xa
call fcn.14007b8a0
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea r8, [rbp - 0x20]
mov edx, eax
lea rcx, [rbp - 0x50]
call fcn.14000e9d0
nop
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 7
cmova rcx, qword [rbp - 0x50]
call fcn.14007b9dc
shr rax, 0x20
test eax, eax
jne 0x140018bc4
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x1400184b1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400184ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400184ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007c484
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r12w
lea rax, str.C:ThunderImages
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x11
call fcn.14007b8a0
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x110], xmm0
lea r8, [rbp + 0x110]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.14000e9d0
nop
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rcx, qword [rsp + 0x70]
call fcn.14007b9dc
shr rax, 0x20
test eax, eax
jne 0x140018bd7
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140018562
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001855d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001855d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007c484
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r12w
lea rax, str.C:ThunderAccount
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x12
call fcn.14007b8a0
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x50], xmm0
lea r8, [rsp + 0x50]
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.14000e9d0
nop
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rcx, qword [rbp - 0x70]
call fcn.14007b9dc
shr rax, 0x20
test eax, eax
jne 0x140018beb
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x14001860c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018607
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140018607
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007c484
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r12w
mov r14, 0xffffffffffffffff
cmp qword [0x140210028], 0
jne 0x140018714
lea ecx, [r14 + 0x61]
call fcn.14007c130
mov rbx, rax
mov qword [rbp + 0x120], rax
xorps xmm0, xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
mov qword [rbp - 0x30], rax
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
lea r8d, [r14 + 0x12]
lea rdx, str.SidiousConfigs_
mov rcx, rax
call fcn.14000fc10
nop
lea rcx, str.APPDATA
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov r9, rax
lea r8, [rbx + 0x20]
mov qword [rsp + 0x40], r8
mov rcx, r14
nop dword [rax + rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400186a0
mov rdx, qword [rbx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, rcx
jb 0x140018bbe
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400186d0
mov rax, qword [rbx]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov rcx, r8
call fcn.140011f40
nop
lea rcx, [rbx + 0x40]
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], r12
mov r8d, 6
lea rdx, str.config
call fcn.14000fc10
nop
mov qword [0x140210028], rbx
call fcn.140014a70
cmp qword [0x14020d848], 0
jne 0x140018764
mov ecx, 0x20
call fcn.14007c130
mov rbx, rax
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
mov r8d, 0x13
lea rdx, str.C:SidiousAccount_
mov rcx, rax
call fcn.14000fc10
nop
mov qword [0x14020d848], rbx
call fcn.14000fd10
movabs rax, 0x6dab3a2f4d96d5e1
mov qword [rbp + 0x100], rax
mov rax, qword [rbp + 0x100]
mov qword [rsp + 0x40], rax
movabs rax, 0x72073679a7f716b3
mov qword [rbp + 0x100], rax
mov rax, qword [rbp + 0x100]
mov qword [rsp + 0x48], rax
movabs rdx, 0x9c5537829f8bca7
mov qword [rbp + 0x100], rdx
mov rax, qword [rbp + 0x100]
mov qword [rbp + 0x120], rax
movabs rcx, 0x72073679a7b661dc
mov qword [rbp + 0x100], rcx
mov rax, qword [rbp + 0x100]
mov qword [rbp + 0x128], rax
movdqa xmm0, xmmword [rsp + 0x40]
xorps xmm0, xmmword [rbp + 0x120]
movdqa xmmword [rsp + 0x40], xmm0
movabs rax, 0x6deb614b5b9dcff2
mov qword [rbp + 0x100], rax
mov rax, qword [rbp + 0x100]
mov qword [rbp - 0x30], rax
movabs rax, 0x72073679a7b60db0
mov qword [rbp + 0x100], rax
mov rax, qword [rbp + 0x100]
mov qword [rbp - 0x28], rax
mov qword [rbp + 0x100], rdx
mov rax, qword [rbp + 0x100]
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x100], rcx
mov rax, qword [rbp + 0x100]
mov qword [rbp + 0x118], rax
movdqa xmm0, xmmword [rbp - 0x30]
xorps xmm0, xmmword [rbp + 0x110]
movdqa xmmword [rbp - 0x30], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x30]
call fcn.140016cb0
xor edx, edx
lea rcx, str.grcWindow
call rax
nop
mov qword [0x14014b1e0], rax
test rax, rax
jne 0x140018896
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov edi, r12d
lea rsi, str.FiveM_b2944_GameProcess.exe
mov r15, rsi
mov rbx, qword [r15]
mov rcx, rbx
call fcn.140016d80
mov r8, rbx
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.140016e40
movups xmm1, xmmword [rax]
movsd xmm0, qword [rax + 0x10]
movsd qword [rsp + 0x60], xmm0
lea r13, [0x1400a55dd]
psrldq xmm1, 8
movq rax, xmm1
test rax, rax
jne 0x1400188f1
inc edi
add r15, 8
cmp edi, 0x12
jb 0x1400188a3
mov r15, r13
jmp 0x1400188f8
movsxd rax, edi
mov r15, qword [rsi + rax*8]
mov edi, r12d
nop dword [rax + rax]
mov rbx, qword [rsi]
mov rcx, rbx
call fcn.140016d80
mov r8, rbx
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.140016e40
movups xmm1, xmmword [rax]
movsd xmm0, qword [rax + 0x10]
movsd qword [rsp + 0x60], xmm0
psrldq xmm1, 8
movq rax, xmm1
test rax, rax
jne 0x140018942
inc edi
add rsi, 8
cmp edi, 0x12
jb 0x140018900
mov rcx, r15
call fcn.140016d80
mov dword [0x14014b1e8], eax
mov r8d, eax
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [0x14014b1f0], rax
mov edx, dword [0x14014b1e8]
cmp edx, 1
jbe 0x140018ac2
mov r8, r15
lea rcx, [rsp + 0x50]
call fcn.140016e40
movups xmm1, xmmword [rax]
movsd xmm0, qword [rax + 0x10]
movsd qword [rsp + 0x60], xmm0
movq qword [0x14014b1f8], xmm1
call fcn.14002a010
mov rdi, rax
mov edx, 0x5c
lea rbx, str.C:UsersjferrDesktop_new_externalxeaeaExternalExternal.cpp
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
test rax, rax
je 0x1400189cd
mov edx, 0x5c
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
lea rbx, [rax + 1]
mov qword [rbp + 0x110], r13
mov qword [rbp + 0x118], r12
mov qword [rbp - 0x40], rbx
movabs rax, 0xb000000000000000
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x38], 0x160
movabs rax, 0x1000000000000008
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x20], 2
lea rax, [rbp - 0x50]
mov qword [rbp - 0x18], rax
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rsp + 0x50], xmm0
movaps xmm1, xmmword [rbp + 0x110]
movdqa xmmword [rbp - 0x20], xmm1
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x70]
call fcn.14001db40
nop
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rdx, qword [rsp + 0x70]
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
nop dword [rax + rax]
inc r14
cmp byte [rdx + r14], 0
jne 0x140018a60
mov r8, r14
lea rcx, [rbp - 0x70]
call fcn.14000fc10
lea r8, [rbp - 0x70]
mov rcx, rdi
call fcn.14001c060
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140018ac2
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018abd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140018abd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007c484
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x14014b204], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x14014b200], eax
call fcn.14002b6d0
mov rsi, rax
mov edi, dword [0x14014b1e8]
mov rbx, qword [0x14014b1f0]
mov r8, r15
mov edx, edi
lea rcx, [rbp - 0x20]
call fcn.140016e40
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x50], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rsp + 0x60], xmm1
mov r9d, edi
mov r8, rbx
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.14002b830
call fcn.14002b6d0
mov rsi, rax
mov edi, dword [0x14014b1e8]
mov rbx, qword [0x14014b1f0]
mov r8, r15
mov edx, edi
lea rcx, [rbp - 0x20]
call fcn.140016e40
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x50], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rsp + 0x60], xmm1
mov r9d, edi
mov r8, rbx
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.14002c610
mov r9, qword [0x14014b1e0]
mov r8d, dword [0x14014b200]
mov edx, dword [0x14014b204]
call fcn.14002a390
xor eax, eax
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.14007bff0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14000e270
nop
lea r8, [rbp - 0x50]
mov edx, eax
lea rcx, str.create_directory
call fcn.14000f540
nop
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, str.create_directory
call fcn.14000f540
nop
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, str.create_directory
call fcn.14000f540
int3