Function at 0x140001884
Capabilities:
Check if file exists
Execute command
Get file attributes
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
mov rbp, rsp
sub rsp, 0x60
lea rcx, str.PG3D_DLL_Injector
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rdx, str.Test.dll
lea rcx, [rbp - 0x40]
call fcn.140001de8
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400018d4
test al, 0x10
jne 0x1400018d4
xor bl, bl
jmp 0x1400018d6
mov bl, 1
mov esi, 0x1000
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140001915
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, rsi
jb 0x140001910
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001910
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002738
test bl, bl
je 0x140001a37
lea rdx, str.Test.dll
lea rcx, [rbp - 0x20]
call fcn.140001de8
nop
mov r8, rax
lea rcx, [rbp - 0x40]
call fcn.140002300
nop
mov rdx, rax
mov ecx, 0xc
call fcn.14000117c
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140001983
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, rsi
jb 0x14000197e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000197e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002738
vmovdqu xmm0, xmmword [0x140004890]
vmovdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x1400019ce
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, rsi
jb 0x1400019c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400019c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002738
lea rdx, str.Ensure_that_the_DLL_is_in_the_same_folder_as_the_injector.
lea rcx, [rbp - 0x40]
call fcn.140001de8
nop
lea rdx, [rbp - 0x40]
mov ecx, 0xb
call fcn.14000117c
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140001a28
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, rsi
jb 0x140001a23
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a23
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002738
call fcn.140001824
mov eax, 1
jmp 0x140001d7a
lea rdx, str.Checking_if_Pixel_Gun_3D_is_already_running...
lea rcx, [rbp - 0x40]
call fcn.140001de8
nop
lea rdx, [rbp - 0x40]
mov ecx, 0xb
call fcn.14000117c
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140001a91
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, rsi
jb 0x140001a8c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a8c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002738
lea rdx, str.Pixel_Gun_3D.exe
lea rcx, [rbp - 0x40]
call fcn.140001de8
lea rcx, [rbp - 0x40]
call fcn.140001244
mov ebx, eax
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140001ae3
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, rsi
jb 0x140001ade
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001c5c
call fcn.140002738
test ebx, ebx
jne 0x140001c07
lea rdx, str.Pixel_Gun_3D_not_found._Launching_the_game...
lea rcx, [rbp - 0x40]
call fcn.140001de8
nop
lea rdx, [rbp - 0x40]
lea ecx, [rbx + 0xe]
call fcn.14000117c
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140001b43
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, rsi
jb 0x140001b3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001b3e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002738
lea rdx, str.Launching_Pixel_Gun_3D_via_Steam...
lea rcx, [rbp - 0x40]
call fcn.140001de8
nop
lea rdx, [rbp - 0x40]
mov ecx, 0xb
call fcn.14000117c
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140001b9d
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, rsi
jb 0x140001b98
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001b98
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002738
lea rcx, str.start_steam:__rungameid_2524890
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, str.Pixel_Gun_3D.exe
lea rcx, [rbp - 0x40]
call fcn.140001de8
lea rcx, [rbp - 0x40]
call fcn.140001244
mov ebx, eax
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140001c03
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, rsi
jb 0x140001bfe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001c5c
call fcn.140002738
test ebx, ebx
je 0x140001baa
lea rdx, str.Pixel_Gun_3D_process_found_
lea rcx, [rbp - 0x40]
call fcn.140001de8
nop
lea rdx, [rbp - 0x40]
mov ecx, 0xb
call fcn.14000117c
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140001c68
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, rsi
jb 0x140001c63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001c63
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.140002738
lea rdx, str.Test.dll
lea rcx, [rbp - 0x40]
call fcn.140001de8
nop
lea rdx, [rbp - 0x40]
mov ecx, ebx
call fcn.140001314
mov bl, al
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140001cc0
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, rsi
jb 0x140001cbb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001cbb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002738
lea rcx, [rbp - 0x40]
test bl, bl
jne 0x140001d1d
lea rdx, str.DLL_injection_failed.
call fcn.140001de8
nop
lea rdx, [rbp - 0x40]
mov ecx, 0xc
call fcn.14000117c
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140001d73
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, rsi
jb 0x140001d6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001d6e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, str.DLL_injection_completed_successfully.
call fcn.140001de8
nop
lea rdx, [rbp - 0x40]
mov ecx, 0xb
call fcn.14000117c
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140001d73
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, rsi
jb 0x140001d6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001d6e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002738
call fcn.140001824
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rbp
ret