Function at 0x1400479a0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x290
mov rax, qword [0x140059040]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor edx, edx
xor r14d, r14d
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x140047c12
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140047c09
movabs r13, 0x7ffffffffffffffe
lea r12, str.GTAProcess.exe
xorps xmm0, xmm0
lea rax, [rsp + 0x6c]
movups xmmword [rsp + 0x20], xmm0
mov ecx, 0xa
movabs rdx, 0x7fffffffffffffff
mov rdi, 0xffffffffffffffff
nop
inc rdi
cmp word [rax + rdi*2], r14w
jne 0x140047a40
cmp rdi, r13
ja 0x140047c9d
cmp rdi, 7
ja 0x140047a97
lea rbx, [rdi + rdi]
mov qword [rsp + 0x30], rdi
mov r8, rbx
mov qword [rsp + 0x38], 7
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x20], r14w
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x20]
jmp 0x140047b33
mov rbp, rdi
or rbp, 7
cmp rbp, r13
jbe 0x140047aac
mov rbp, r13
lea rcx, [rdx + rdx]
jmp 0x140047acd
cmp rbp, 0xa
cmovb rbp, rcx
lea rcx, [rbp + 1]
cmp rcx, rdx
ja 0x140047c97
add rcx, rcx
cmp rcx, 0x1000
jb 0x140047af9
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140047c97
mov rcx, rax
call fcn.14004ad78
test rax, rax
je 0x140047c90
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140047b0b
test rcx, rcx
je 0x140047b08
call fcn.14004ad78
mov rsi, rax
jmp 0x140047b0b
mov rsi, r14
lea rbx, [rdi + rdi]
mov qword [rsp + 0x20], rsi
mov r8, rbx
mov qword [rsp + 0x30], rdi
lea rdx, [rsp + 0x6c]
mov qword [rsp + 0x38], rbp
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rsi], r14w
cmp rbp, 7
lea r10, [rsp + 0x20]
cmova r10, rsi
cmp rdi, 0xe
jb 0x140047bb8
lea r11, [rdi - 0xd]
mov rax, r10
lea r11, [r10 + r11*2]
mov rcx, r11
sub rcx, rax
sar rcx, 1
je 0x140047bb8
nop dword [rax]
cmp word [rax], 0x47
je 0x140047b72
add rax, 2
sub rcx, 1
jne 0x140047b60
jmp 0x140047bb8
test rax, rax
je 0x140047bb8
mov r9, rax
mov r8d, 0xe
sub r9, r12
mov rdx, r12
nop word [rax + rax]
movzx ecx, word [rdx]
cmp word [r9 + rdx], cx
jne 0x140047c46
add rdx, 2
sub r8, 1
jne 0x140047b90
sub rax, r10
sar rax, 1
cmp rax, 0xffffffffffffffff
jne 0x140047c4f
cmp rbp, 7
jbe 0x140047bf3
lea rdx, [rbp*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140047beb
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047c90
mov rcx, rsi
call fcn.14004ab84
lea rdx, [rsp + 0x40]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140047a1b
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, r14d
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14004a770
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
add rax, 2
jmp 0x140047b51
mov r14d, dword [rsp + 0x48]
cmp rbp, 7
jbe 0x140047c09
lea rdx, [rbp*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140047c83
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047c90
mov rcx, rsi
call fcn.14004ab84
jmp 0x140047c09
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140047680
int3
call fcn.140047720
int3