Function at 0x140002a84
Capabilities:
Execute command
Set console window title

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x150
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x40], rax
xor edi, edi
mov dword [rsp + 0x40], edi
lea rcx, str.PG3D_DLL_Injector
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rcx, [rbp + 0x20]
call fcn.140002354
nop
lea rax, str.Test.dll
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 8
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x20], xmm0
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x68]
call fcn.140004d00
nop
lea r15, [rbp - 0x68]
cmp qword [rbp - 0x50], 7
cmova r15, qword [rbp - 0x68]
mov r13, qword [rbp - 0x58]
lea rax, [r13*2]
test r13, r13
je 0x140002c4e
and rax, 0xfffffffffffffffe
mov ecx, 0xffffffdf
mov edx, 0x3a0041
cmp rax, 4
jl 0x140002b43
mov eax, dword [r15]
and eax, ecx
sub eax, edx
cmp eax, 0x1a
jb 0x140002c4e
mov eax, 0x5c
cmp word [r15], ax
je 0x140002c4e
cmp word [r15], 0x2f
je 0x140002c4e
lea r14, [rbp + 0x20]
cmp qword [rbp + 0x38], 7
cmova r14, qword [rbp + 0x20]
mov rbx, qword [rbp + 0x30]
cmp rbx, 2
jne 0x140002b84
mov eax, dword [r14]
and eax, ecx
sub eax, edx
cmp eax, 0x1a
jb 0x140002b9d
lea eax, [rbx + 0x5a]
test rbx, rbx
je 0x140002b9d
cmp word [r14 + rbx*2 - 2], ax
je 0x140002b9d
cmp word [r14 + rbx*2 - 2], 0x2f
mov r12b, 1
jne 0x140002ba0
mov r12b, dil
movzx esi, r12b
add rsi, rbx
add rsi, r13
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov eax, 7
mov qword [rsp + 0x60], rax
mov word [rsp + 0x48], di
mov dword [rsp + 0x40], 0xc
cmp rsi, rax
jbe 0x140002be7
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.140004a18
mov rax, qword [rsp + 0x60]
jmp 0x140002bec
mov qword [rsp + 0x58], rsi
lea rdi, [rsp + 0x48]
cmp rax, 7
cmova rdi, qword [rsp + 0x48]
add rbx, rbx
mov r8, rbx
mov rdx, r14
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rdi]
test r12b, r12b
je 0x140002c1e
mov word [rcx], 0x5c
add rcx, 2
lea r8, [r13*2]
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x58], rsi
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rax, qword [rsp + 0x48]
xor r13d, r13d
mov word [rax + rsi*2], r13w
jmp 0x140002c77
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x48]
call fcn.140001b30
nop
mov dword [rsp + 0x40], 0x14
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x48]
call fcn.1400018d4
nop
xor r13d, r13d
mov r15, qword [rsp + 0x48]
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmovbe r15, rax
mov r14, qword [rsp + 0x58]
call fcn.140004de4
mov r12d, eax
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x18], 0xf
mov byte [rbp], r13b
mov dword [rsp + 0x40], 0x100
test r14, r14
je 0x140002d8d
cmp r14, 0x7fffffff
ja 0x140003502
mov dword [rsp + 0x20], r13d
xor r9d, r9d
mov r8d, r14d
mov rdx, r15
mov ecx, eax
call fcn.140004e54
mov rbx, rax
mov rcx, rax
shr rcx, 0x20
test ecx, ecx
jne 0x140003508
movsxd rcx, ebx
mov rdx, qword [rbp + 0x10]
cmp rcx, rdx
ja 0x140002d18
mov qword [rbp + 0x10], rcx
lea rax, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova rax, qword [rbp]
mov byte [rax + rcx], r13b
jmp 0x140002d61
mov rsi, rcx
sub rsi, rdx
mov rax, qword [rbp + 0x18]
sub rax, rdx
cmp rsi, rax
ja 0x140002d52
mov qword [rbp + 0x10], rcx
lea rdi, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova rdi, qword [rbp]
add rdi, rdx
mov r8, rsi
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov byte [rdi + rsi], r13b
jmp 0x140002d61
mov r9, rsi
mov rdx, rsi
lea rcx, [rbp]
call fcn.14000450c
lea r9, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova r9, qword [rbp]
mov dword [rsp + 0x20], ebx
mov r8d, r14d
mov rdx, r15
mov ecx, r12d
call fcn.140004e54
shr rax, 0x20
test eax, eax
jne 0x14000350e
lea rcx, [rsp + 0x48]
call fcn.1400037c4
nop
lea rcx, [rbp - 0x68]
call fcn.1400037c4
lea rax, [rbp]
mov r15d, 0xf
cmp qword [rbp + 0x18], r15
cmova rax, qword [rbp]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x18], rax
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x20], xmm0
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x78]
call fcn.140004d00
nop
mov ebx, 0xae0
mov dword [rsp + 0x40], ebx
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x20]
call fcn.140002274
movsd xmm0, qword [rax]
movsd qword [rsp + 0x68], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x20], ecx
lea rax, [0x14000a088]
mov qword [rbp - 0x18], rax
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x20], xmm0
mov eax, dword [rsp + 0x68]
test eax, eax
je 0x140002ea0
lea r14d, [r15 - 0xe]
cmp eax, r14d
setne al
test al, al
je 0x140002eac
lea rax, [rbp]
cmp qword [rbp + 0x18], r15
cmova rax, qword [rbp]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x18], rax
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x20], xmm0
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x48]
call fcn.140004d00
nop
mov ebx, 0x1ee0
mov dword [rsp + 0x40], ebx
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x20]
call fcn.140002274
movsd xmm0, qword [rax]
movsd qword [rsp + 0x68], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rsp + 0x68]
test edx, edx
je 0x140002e96
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x140003516
cmp ecx, 2
jne 0x140002eac
mov dil, r14b
jmp 0x140002eaf
test ecx, ecx
jne 0x140003520
lea r14d, [rcx + 1]
mov dil, r13b
bt ebx, 0xa
jae 0x140002ec3
btr ebx, 0xa
lea rcx, [rbp - 0x48]
call fcn.1400037c4
nop
bt ebx, 9
jae 0x140002ed3
lea rcx, [rsp + 0x78]
call fcn.1400037c4
test dil, dil
jne 0x140002fe6
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp + 0x10]
sub rax, rcx
cmp rax, 0x14
jb 0x1400034fc
lea rax, [rbp]
cmp qword [rbp + 0x18], r15
cmova rax, qword [rbp]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x14
lea rcx, [rsp + 0x78]
call fcn.1400048d4
nop
lea rdx, [rsp + 0x78]
mov ecx, 0xc
call fcn.140002434
nop
mov ebx, 0x1000
mov rdx, qword [rbp - 0x70]
cmp rdx, r15
jbe 0x140002f71
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, rbx
jb 0x140002f6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002f6c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005514
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
mov r8d, 0x38
lea rdx, str.Make_sure_the_DLL_is_in_the_same_folder_as_this_program.
lea rcx, [rbp - 0x20]
call fcn.1400042b8
nop
lea rdx, [rbp - 0x20]
mov ecx, 0xb
call fcn.140002434
nop
mov rdx, qword [rbp - 8]
cmp rdx, r15
jbe 0x14000347e
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, rbx
jb 0x140003387
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003387
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
mov r8d, 0x2e
lea rdx, str.Checking_if_Pixel_Gun_3D_is_already_running...
lea rcx, [rbp - 0x20]
call fcn.1400042b8
nop
lea rdx, [rbp - 0x20]
mov esi, 0xb
mov ecx, esi
call fcn.140002434
nop
mov ebx, 0x1000
mov rdx, qword [rbp - 8]
cmp rdx, r15
jbe 0x14000305b
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, rbx
jb 0x140003056
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003056
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005514
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
mov r8d, 0x10
lea rdx, str.Pixel_Gun_3D.exe
lea rcx, [rbp - 0x20]
call fcn.1400042b8
lea rcx, [rbp - 0x20]
call fcn.14000250c
mov edi, eax
mov rdx, qword [rbp - 8]
cmp rdx, r15
jbe 0x1400030c1
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, rbx
jb 0x1400030bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400032fa
call fcn.140005514
test edi, edi
jne 0x14000328d
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
lea r8d, [rdi + 0x2d]
lea rdx, str.Pixel_Gun_3D_not_found._Launching_the_game...
lea rcx, [rbp - 0x20]
call fcn.1400042b8
nop
lea rdx, [rbp - 0x20]
lea r12d, [rdi + 0xe]
mov ecx, r12d
call fcn.140002434
nop
mov rdx, qword [rbp - 8]
cmp rdx, r15
jbe 0x140003137
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, rbx
jb 0x140003132
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003132
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005514
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
mov r8d, 0x23
lea rdx, str.Launching_Pixel_Gun_3D_via_Steam...
lea rcx, [rbp - 0x20]
call fcn.1400042b8
nop
lea rdx, [rbp - 0x20]
mov ecx, esi
call fcn.140002434
nop
mov rdx, qword [rbp - 8]
cmp rdx, r15
jbe 0x1400031a2
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, rbx
jb 0x14000319d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000319d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005514
lea rcx, str.start_steam:__rungameid_2524890
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r13
mov qword [rbp - 8], r13
mov r8d, 0x24
lea rdx, str.Waiting_for_Pixel_Gun_3D_to_start...
lea rcx, [rbp - 0x20]
call fcn.1400042b8
nop
lea rdx, [rbp - 0x20]
mov ecx, r12d
call fcn.140002434
nop
mov rdx, qword [rbp - 8]
cmp rdx, r15
jbe 0x140003218
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, rbx
jb 0x140003213
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400032f3
call fcn.140005514
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r13
mov qword [rbp - 8], r13
mov r8d, 0x10
lea rdx, str.Pixel_Gun_3D.exe
lea rcx, [rbp - 0x20]
call fcn.1400042b8
lea rcx, [rbp - 0x20]
call fcn.14000250c
mov edi, eax
mov rdx, qword [rbp - 8]
cmp rdx, r15
jbe 0x140003285
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, rbx
jb 0x140003280
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400032fa
call fcn.140005514
test edi, edi
je 0x1400031af
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
mov r8d, 0x1b
lea rdx, str.Pixel_Gun_3D_process_found_
lea rcx, [rbp - 0x20]
call fcn.1400042b8
nop
lea rdx, [rbp - 0x20]
mov ecx, esi
call fcn.140002434
nop
mov rdx, qword [rbp - 8]
cmp rdx, r15
jbe 0x140003306
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, rbx
jb 0x140003301
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003301
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005514
mov r8d, edi
xor edx, edx
mov ecx, 0x43a
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x140003391
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
lea r8d, [rax + 0x24]
lea rdx, str.Failed_to_open_Pixel_Gun_3D_process.
lea rcx, [rbp - 0x20]
call fcn.1400042b8
nop
lea rdx, [rbp - 0x20]
lea ecx, [rdi + 0xc]
call fcn.140002434
nop
mov rdx, qword [rbp - 8]
cmp rdx, r15
jbe 0x14000347e
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, rbx
jb 0x140003387
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003387
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005514
jmp 0x14000347e
lea rdx, [rbp]
mov rcx, rdi
call fcn.140002638
xorps xmm0, xmm0
xorps xmm1, xmm1
lea rcx, [rbp - 0x20]
movups xmmword [rbp - 0x20], xmm0
movdqu xmmword [rbp - 0x10], xmm1
test al, al
jne 0x14000341a
mov r8d, 0x15
lea rdx, str.DLL_injection_failed.
call fcn.1400042b8
nop
lea rdx, [rbp - 0x20]
mov ecx, 0xc
call fcn.140002434
nop
mov rdx, qword [rbp - 8]
cmp rdx, r15
jbe 0x14000340f
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, rbx
jb 0x14000340a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000340a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005514
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000347e
mov r8d, 0x1a
lea rdx, str.DLL_injected_successfully.
call fcn.1400042b8
nop
lea rdx, [rbp - 0x20]
mov ecx, esi
call fcn.140002434
nop
mov rdx, qword [rbp - 8]
cmp rdx, r15
jbe 0x140003472
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, rbx
jb 0x14000346d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000346d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005514
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14d, r13d
mov rdx, qword [rbp + 0x18]
cmp rdx, r15
jbe 0x1400034b7
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, rbx
jb 0x1400034b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400034b2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005514
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x18], r15
mov byte [rbp], r13b
lea rcx, [rbp + 0x20]
call fcn.1400037c4
mov eax, r14d
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1400054b0
lea r11, [rsp + 0x150]
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.140001164
nop
call fcn.14000155c
int3
call fcn.1400017b4
int3
mov ecx, eax
call fcn.1400017b4
nop
lea r8, [rbp - 0x48]
call fcn.14000216c
nop
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x20]
call fcn.14000221c
int3