Function at 0x140002430
Capabilities:
Allocate or change rwx memory
Create thread
Enumerate processes
Inject thread
Query environment variable
Set console window title
Spawn thread to rwx shellcode

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x440
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x14000b010]
xor rax, rsp
mov qword [rsp + 0x410], rax
xor r15d, r15d
lea ebx, [r15 + 8]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, bx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea r8d, [r15 + 0xd]
lea rdx, str.currcrack.dll
lea rcx, [rsp + 0x40]
call fcn.140004730
nop
lea rcx, str.temp
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rdi, rax
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400024c2
mov r8, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
sub rax, r8
cmp rbx, rax
ja 0x140002559
lea rax, [r8 + rbx]
mov qword [rsp + 0x50], rax
lea rsi, [rsp + 0x40]
cmp rcx, 0x10
cmovae rsi, qword [rsp + 0x40]
lea rax, [rbx + rdi]
cmp rax, rsi
jbe 0x14000251c
lea rax, [rsi + r8]
cmp rdi, rax
ja 0x14000251c
cmp rsi, rdi
ja 0x140002514
mov r14, r15
jmp 0x14000251f
mov r14, rsi
sub r14, rdi
jmp 0x14000251f
mov r14, rbx
lea rcx, [rbx + rsi]
inc r8
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
mov r8, r14
mov rdx, rdi
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsi + r14]
mov r8, rbx
sub r8, r14
lea rdx, [rbx + r14]
add rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x40]
jmp 0x140002570
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdi
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140004ea0
xorps xmm0, xmm0
movups xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], r15
mov qword [rsp + 0xb8], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0xa0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xb0], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400025f1
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400025ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400025ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005a64
movdqa xmm0, xmmword [0x140007a30]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rdi, qword [rsp + 0xb0]
lea rbx, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 0x10
cmovae rbx, qword [rsp + 0xa0]
call fcn.140005134
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rdi
lea r8, [rsp + 0x80]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.140001990
nop
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
call fcn.1400052c8
shr rax, 0x20
test eax, eax
jne 0x140002fd3
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1400026b8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400026b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400026b2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005a64
nop
jmp 0x1400026bd
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0xc0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 0x10
cmovae rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0xc0]
call fcn.140004100
mov rax, qword [rsp + 0xc0]
movsxd rcx, dword [rax + 4]
lea rax, [0x140007968]
mov qword [rsp + rcx + 0xc0], rax
mov rax, qword [rsp + 0xc0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0xbc], edx
mov r8d, 0x6a0e00
lea rdx, [0x14000b070]
lea rcx, [rsp + 0xc0]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rsp + 0xc8]
call fcn.140004050
test rax, rax
jne 0x14000277e
mov rax, qword [rsp + 0xc0]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0xc0]
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]
movdqa xmm6, xmmword [0x140007a70]
movdqa xmm7, xmmword [0x140007a90]
mov r14d, 4
mov rax, qword gs:[0x58]
add r14, qword [rax]
mov eax, dword [r14]
cmp dword [0x1406ac8f4], eax
jle 0x1400027ed
lea rcx, [0x1406ac8f4]
call fcn.1400056c8
cmp dword [0x1406ac8f4], 0xffffffff
jne 0x1400027ed
mov byte [0x1406ac920], 1
movups xmmword [0x1406ac900], xmm6
movups xmmword [0x1406ac910], xmm7
lea rcx, [0x140006930]
call fcn.140005a4c
lea rcx, [0x1406ac8f4]
call fcn.140005668
cmp byte [0x1406ac920], 0
je 0x1400028dd
xor byte [0x1406ac900], 0xbf
xor byte [0x1406ac901], 0x9d
xor byte [0x1406ac902], 0xef
xor byte [0x1406ac903], 0x85
not byte [0x1406ac904]
xor byte [0x1406ac905], 0x47
xor byte [0x1406ac906], 0xa9
xor byte [0x1406ac907], 0xf9
xor byte [0x1406ac908], 0xbf
xor byte [0x1406ac909], 0x9d
xor byte [0x1406ac90a], 0xef
xor byte [0x1406ac90b], 0x85
not byte [0x1406ac90c]
xor byte [0x1406ac90d], 0x47
xor byte [0x1406ac90e], 0xa9
xor byte [0x1406ac90f], 0xf9
xor byte [0x1406ac910], 0xbf
xor byte [0x1406ac911], 0x9d
xor byte [0x1406ac912], 0xef
xor byte [0x1406ac913], 0x85
not byte [0x1406ac914]
xor byte [0x1406ac915], 0x47
xor byte [0x1406ac916], 0xa9
xor byte [0x1406ac917], 0xf9
xor byte [0x1406ac918], 0xbf
xor byte [0x1406ac919], 0x9d
xor byte [0x1406ac91a], 0xef
xor byte [0x1406ac91b], 0x85
not byte [0x1406ac91c]
xor byte [0x1406ac91d], 0x47
xor byte [0x1406ac91e], 0xa9
xor byte [0x1406ac91f], 0xf9
mov byte [0x1406ac920], 0
lea rcx, [0x1406ac900]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
movdqa xmm6, xmmword [0x140007a80]
movdqa xmm7, xmmword [0x140007a50]
mov eax, dword [r14]
cmp dword [0x1406ac948], eax
jle 0x140002947
lea rcx, [0x1406ac948]
call fcn.1400056c8
cmp dword [0x1406ac948], 0xffffffff
jne 0x140002947
mov byte [0x1406ac8d8], 1
movups xmmword [0x1406ac8b8], xmm6
movups xmmword [0x1406ac8c8], xmm7
lea rcx, [0x140006910]
call fcn.140005a4c
lea rcx, [0x1406ac948]
call fcn.140005668
cmp byte [0x1406ac8d8], 0
je 0x140002a3b
xor byte [0x1406ac8b8], 0x83
xor byte [0x1406ac8b9], 0xef
xor byte [0x1406ac8ba], 0xdf
xor byte [0x1406ac8bb], 0xd9
xor byte [0x1406ac8bc], 0xdd
xor byte [0x1406ac8bd], 0xe5
xor byte [0x1406ac8be], 0x2d
xor byte [0x1406ac8bf], 0x85
xor byte [0x1406ac8c0], 0x83
xor byte [0x1406ac8c1], 0xef
xor byte [0x1406ac8c2], 0xdf
xor byte [0x1406ac8c3], 0xd9
xor byte [0x1406ac8c4], 0xdd
xor byte [0x1406ac8c5], 0xe5
xor byte [0x1406ac8c6], 0x2d
xor byte [0x1406ac8c7], 0x85
xor byte [0x1406ac8c8], 0x83
xor byte [0x1406ac8c9], 0xef
xor byte [0x1406ac8ca], 0xdf
xor byte [0x1406ac8cb], 0xd9
xor byte [0x1406ac8cc], 0xdd
xor byte [0x1406ac8cd], 0xe5
xor byte [0x1406ac8ce], 0x2d
xor byte [0x1406ac8cf], 0x85
xor byte [0x1406ac8d0], 0x83
xor byte [0x1406ac8d1], 0xef
xor byte [0x1406ac8d2], 0xdf
xor byte [0x1406ac8d3], 0xd9
xor byte [0x1406ac8d4], 0xdd
xor byte [0x1406ac8d5], 0xe5
xor byte [0x1406ac8d6], 0x2d
xor byte [0x1406ac8d7], 0x85
mov byte [0x1406ac8d8], 0
lea rcx, [rsp + 0x80]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
lea rcx, [rsp + 0x80]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
lea rcx, [0x1406ac8b8]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rax]
mov r8d, dword [rax + 4]
mov edx, dword [rax + 8]
lea rcx, str.__02d:_02d:_02d___s_n
call fcn.140001020
movdqa xmm6, xmmword [0x140007a40]
mov word [rsp + 0x90], 0x43de
mov eax, dword [r14]
cmp dword [0x1406ac8dc], eax
jle 0x140002ae0
lea rcx, [0x1406ac8dc]
call fcn.1400056c8
cmp dword [0x1406ac8dc], 0xffffffff
jne 0x140002ae0
mov byte [0x1406ac93a], 1
movups xmmword [0x1406ac928], xmm6
movzx eax, word [rsp + 0x90]
mov word [0x1406ac938], ax
lea rcx, [0x1400068f0]
call fcn.140005a4c
lea rcx, [0x1406ac8dc]
call fcn.140005668
cmp byte [0x1406ac93a], 0
je 0x140002b72
xor byte [0x1406ac928], 0xeb
xor byte [0x1406ac929], 0x43
xor byte [0x1406ac92a], 0x61
xor byte [0x1406ac92b], 0xb5
xor byte [0x1406ac92c], 0x3b
xor byte [0x1406ac92d], 0x31
xor byte [0x1406ac92e], 0x25
xor byte [0x1406ac92f], 0x1f
xor byte [0x1406ac930], 0xeb
xor byte [0x1406ac931], 0x43
xor byte [0x1406ac932], 0x61
xor byte [0x1406ac933], 0xb5
xor byte [0x1406ac934], 0x3b
xor byte [0x1406ac935], 0x31
xor byte [0x1406ac936], 0x25
xor byte [0x1406ac937], 0x1f
xor byte [0x1406ac938], 0xeb
xor byte [0x1406ac939], 0x43
mov byte [0x1406ac93a], 0
lea rcx, [rsp + 0x80]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
lea rcx, [rsp + 0x80]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
lea rcx, [0x1406ac928]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rax]
mov r8d, dword [rax + 4]
mov edx, dword [rax + 8]
lea rcx, str.__02d:_02d:_02d___s_n
call fcn.140001020
lea rdi, str.GTA5.exe
nop word [rax + rax]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
test rax, rax
je 0x140002c45
cmp rax, 0xffffffffffffffff
je 0x140002c45
mov dword [rsp + 0x1d0], 0x238
lea rdx, [rsp + 0x1d0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140002c45
nop dword [rax]
lea rdx, [rsp + 0x1fc]
mov rax, 0xffffffffffffffff
nop
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [rdi + rax*2 + 2]
jne 0x140002c30
add rax, 2
cmp rax, 9
je 0x140002c55
movzx ecx, word [rdx + rax*2]
cmp cx, word [rdi + rax*2]
je 0x140002c10
lea rdx, [rsp + 0x1d0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140002c00
mov ecx, 0x9c40
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140002bc0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [r14]
cmp dword [0x1406ac93c], eax
jle 0x140002cc3
lea rcx, [0x1406ac93c]
call fcn.1400056c8
cmp dword [0x1406ac93c], 0xffffffff
jne 0x140002cc3
mov word [0x1406ac8ab], 0x139
mov dword [0x1406ac8a0], 0x57f23ea5
mov dword [0x1406ac8a4], 0xe5ea9985
mov word [0x1406ac8a8], 0x7182
mov byte [0x1406ac8aa], 0xb2
lea rcx, [0x1400068e0]
call fcn.140005a4c
lea rcx, [0x1406ac93c]
call fcn.140005668
cmp byte [0x1406ac8ac], 0
je 0x140002d27
xor byte [0x1406ac8a0], 0xe3
xor byte [0x1406ac8a1], 0x51
xor byte [0x1406ac8a2], 0x87
xor byte [0x1406ac8a3], 0x39
xor byte [0x1406ac8a4], 0xe1
xor byte [0x1406ac8a5], 0xb9
xor byte [0x1406ac8a6], 0x8d
xor byte [0x1406ac8a7], 0x91
xor byte [0x1406ac8a8], 0xe3
xor byte [0x1406ac8a9], 0x51
xor byte [0x1406ac8aa], 0x87
xor byte [0x1406ac8ab], 0x39
mov byte [0x1406ac8ac], 0
lea rcx, [rsp + 0x80]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
lea rcx, [rsp + 0x80]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
lea rcx, [0x1406ac8a0]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rax]
mov r8d, dword [rax + 4]
mov edx, dword [rax + 8]
lea rcx, str.__02d:_02d:_02d___s_n
call fcn.140001020
mov edi, dword [rsp + 0xb0]
inc edi
mov r8d, dword [rsp + 0x1d8]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140002e2d
movsxd rsi, edi
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
je 0x140002e2d
lea r8, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 0x10
cmovae r8, qword [rsp + 0xa0]
mov qword [rsp + 0x20], r15
mov r9, rsi
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140002e2d
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.LoadLibraryA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rdi
mov r9, rax
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
movdqa xmm6, xmmword [0x140007a60]
mov eax, dword [r14]
cmp dword [0x1406ac8b0], eax
jle 0x140002e7b
lea rcx, [0x1406ac8b0]
call fcn.1400056c8
cmp dword [0x1406ac8b0], 0xffffffff
jne 0x140002e7b
mov byte [0x1406ac8f0], 1
movups xmmword [0x1406ac8e0], xmm6
lea rcx, [0x1400068d0]
call fcn.140005a4c
lea rcx, [0x1406ac8b0]
call fcn.140005668
cmp byte [0x1406ac8f0], 0
je 0x140002efb
xor byte [0x1406ac8e0], 0x1d
xor byte [0x1406ac8e1], 0xdb
xor byte [0x1406ac8e2], 0xd9
xor byte [0x1406ac8e3], 0xb5
xor byte [0x1406ac8e4], 0xc9
xor byte [0x1406ac8e5], 0xab
xor byte [0x1406ac8e6], 0x8b
xor byte [0x1406ac8e7], 0x93
xor byte [0x1406ac8e8], 0x1d
xor byte [0x1406ac8e9], 0xdb
xor byte [0x1406ac8ea], 0xd9
xor byte [0x1406ac8eb], 0xb5
xor byte [0x1406ac8ec], 0xc9
xor byte [0x1406ac8ed], 0xab
xor byte [0x1406ac8ee], 0x8b
xor byte [0x1406ac8ef], 0x93
mov byte [0x1406ac8f0], 0
lea rcx, [rsp + 0x80]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
lea rcx, [rsp + 0x80]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
lea rdx, [0x1406ac8e0]
mov qword [rsp + 0x20], rdx
mov r9d, dword [rax]
mov r8d, dword [rax + 4]
mov edx, dword [rax + 8]
lea rcx, str.__02d:_02d:_02d___s_n
call fcn.140001020
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rcx, [rsp + 0xc0]
call fcn.140002ff0
nop
mov rdx, qword [rsp + 0xb8]
cmp rdx, 0x10
jb 0x140002f99
inc rdx
mov rcx, qword [rsp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f94
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002f94
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005a64
xor eax, eax
mov rcx, qword [rsp + 0x410]
xor rcx, rsp
call fcn.140005550
lea r11, [rsp + 0x440]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
ret
lea r8, [rsp + 0x60]
mov edx, eax
call fcn.1400023c0
int3