Function at 0x1400014a0
Capabilities:
Check if file exists
Create process on windows
Get common file path
Get file attributes
Link many functions at runtime
Set console window title

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
lea rcx, str.PG3D_Simple_DLL_Injector
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
mov qword [rbp + 0x120], rax
lea rdx, str.CreateToolhelp32Snapshot
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x128], rax
lea rdx, str.Process32First
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
lea rdx, str.Process32Next
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
lea rdx, str.Thread32First
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
lea rdx, str.Thread32Next
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
lea rdx, str.OpenProcess
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
lea rdx, str.VirtualAllocEx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
lea rdx, str.WriteProcessMemory
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
lea rdx, str.OpenThread
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp + 0x128]
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rax
lea rdx, str.QueueUserAPC
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x30]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea r8, [0x1400044fc]
mov edx, 0x104
lea rcx, [rbp - 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea r8, str.nazimod_runtime.dll
mov edx, 0x104
lea rcx, [rbp - 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xorps xmm0, xmm0
cmp eax, 0xffffffff
jne 0x14000193f
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov ecx, 0x20
call fcn.140002738
mov qword [rsp + 0x50], rax
movdqa xmm0, xmmword [0x140004720]
movdqu xmmword [rsp + 0x60], xmm0
movaps xmm0, xmmword [str.nazimod_runtime.dll]
movups xmmword [rax], xmm0
movzx ecx, word [0x140004440]
mov word [rax + 0x10], cx
movzx ecx, byte [0x140004442]
mov byte [rax + 0x12], cl
mov byte [rax + 0x13], 0
mov qword [rsp + 0x28], 0x14
mov edx, 0x14
lea rcx, [rsp + 0x50]
call fcn.140002400
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm1
xor edi, edi
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], dil
mov ebx, 0xc
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, bx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, [0x14000462c]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002110
mov rcx, rax
lea rdx, str.ERROR
call fcn.140002110
mov rcx, rax
lea rdx, [0x140004628]
call fcn.140002110
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
mov rcx, rax
call fcn.140002580
lea rdx, [0x1400023c0]
mov rcx, rax
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ebx, 7
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, bx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140001798
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001793
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001793
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000277c
movdqa xmm0, xmmword [0x140004710]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400017eb
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400017e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400017e6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000277c
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
mov ecx, 0x40
call fcn.140002738
mov rcx, rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], 0x3a
mov qword [rsp + 0x48], 0x3f
movaps xmm0, xmmword [str.Ensure_that_the_DLL_is_in_the_same_folder_as_the_injector.]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x140004530]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140004540]
movups xmmword [rax + 0x20], xmm0
movsd xmm0, qword [0x140004550]
movsd qword [rax + 0x30], xmm0
movzx eax, word [0x140004558]
mov word [rcx + 0x38], ax
mov byte [rcx + 0x3a], 0
mov edi, 0xb
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, di
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, [0x14000462c]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002110
mov rcx, rax
lea rdx, str.INFO
call fcn.140002110
mov rcx, rax
lea rdx, [0x140004628]
call fcn.140002110
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
mov rcx, rax
call fcn.140002580
lea rdx, [0x1400023c0]
mov rcx, rax
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, bx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140001930
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000192b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000192b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000277c
call fcn.140001420
mov eax, 1
jmp 0x140001ee6
movups xmmword [rsp + 0x30], xmm0
xor esi, esi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov ecx, 0x30
call fcn.140002738
mov rdx, rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], 0x26
mov qword [rsp + 0x48], 0x2f
movaps xmm0, xmmword [str.Checking_if_Pixel_Gun_3D_is_running...]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x140004570]
movups xmmword [rax + 0x10], xmm1
mov ecx, dword [0x140004580]
mov dword [rax + 0x20], ecx
movzx eax, word [0x140004584]
mov word [rdx + 0x24], ax
mov byte [rdx + 0x26], sil
mov edi, 0xb
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, di
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, [0x14000462c]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002110
mov rcx, rax
lea rdx, str.INFO
call fcn.140002110
mov rcx, rax
lea rdx, [0x140004628]
call fcn.140002110
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
mov rcx, rax
call fcn.140002580
lea rdx, [0x1400023c0]
mov rcx, rax
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ebx, 7
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, bx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140001a79
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a74
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a74
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000277c
lea r8, [rbp - 0x30]
lea rcx, [rbp - 0x80]
call fcn.1400011c0
test al, al
jne 0x140001db1
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov ecx, 0x30
call fcn.140002738
mov rdx, rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], 0x2d
mov qword [rsp + 0x48], 0x2f
movaps xmm0, xmmword [str.Pixel_Gun_3D_not_found._Launching_the_game...]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x1400045a0]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1400045b0]
movsd qword [rax + 0x20], xmm0
mov ecx, dword [0x1400045b8]
mov dword [rax + 0x28], ecx
movzx eax, byte [0x1400045bc]
mov byte [rdx + 0x2c], al
mov byte [rdx + 0x2d], 0
mov ecx, 0xfffffff5
mov r14d, 0xe
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, r14w
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, [0x14000462c]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002110
mov rcx, rax
lea rdx, str.WARNING
call fcn.140002110
mov rcx, rax
lea rdx, [0x140004628]
call fcn.140002110
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
mov rcx, rax
call fcn.140002580
lea rdx, [0x1400023c0]
mov rcx, rax
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, bx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140001bd2
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001bcd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001bcd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000277c
lea rdx, str.Launching_Pixel_Gun_3D_via_Steam...
lea rcx, [rsp + 0x50]
call fcn.140001f70
nop
lea rcx, [rsp + 0x50]
call fcn.1400022f0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140001c2f
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001c2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001c2a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000277c
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, str.steam:__rungameid_2524890
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
lea r8, [rbp - 0x30]
lea rcx, [rbp - 0x80]
call fcn.1400011c0
test al, al
jne 0x140001db1
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
mov ecx, 0x30
call fcn.140002738
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], 0x24
mov qword [rsp + 0x68], 0x2f
movaps xmm0, xmmword [str.Waiting_for_Pixel_Gun_3D_to_start...]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x1400045d0]
movups xmmword [rax + 0x10], xmm1
mov ecx, dword [0x1400045e0]
mov dword [rax + 0x20], ecx
mov byte [rax + 0x24], 0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, r14w
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, [0x14000462c]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002110
mov rcx, rax
lea rdx, str.WARNING
call fcn.140002110
mov rcx, rax
lea rdx, [0x140004628]
call fcn.140002110
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov rcx, rax
call fcn.140002580
lea rdx, [0x1400023c0]
mov rcx, rax
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, bx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140001d91
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d8c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001ed3
call fcn.14000277c
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r8, [rbp - 0x30]
lea rcx, [rbp - 0x80]
call fcn.1400011c0
test al, al
je 0x140001c70
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov ecx, 0x20
call fcn.140002738
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], 0x1a
mov qword [rsp + 0x48], 0x1f
movaps xmm0, xmmword [str.DLL_injected_successfully.]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x140004600]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x140004608]
mov word [rax + 0x18], cx
mov byte [rax + 0x1a], 0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, di
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, [0x14000462c]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002110
mov rcx, rax
lea rdx, str.INFO
call fcn.140002110
mov rcx, rax
lea rdx, [0x140004628]
call fcn.140002110
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
mov rcx, rax
call fcn.140002580
lea rdx, [0x1400023c0]
mov rcx, rax
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, bx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140001edf
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001eda
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001eda
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.14000277c
call fcn.140001420
xor eax, eax
mov rbx, qword [rsp + 0x230]
add rsp, 0x1e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret