Function at 0x14000229c
Capabilities:
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 - 0x38]
sub rsp, 0x110
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp], rax
xor edi, edi
mov dword [rsp + 0x30], edi
lea rcx, str.PG3D_Injector_by_Dari
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rdi
lea r14d, [rdi + 7]
mov qword [rsp + 0x70], r14
mov word [rsp + 0x58], di
mov dword [rsp + 0x30], 2
mov edx, 0x104
mov r9d, edx
lea rcx, [rsp + 0x58]
call fcn.1400037d8
mov esi, dword [rsp + 0x68]
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], r14
cmova rdx, qword [rsp + 0x58]
mov ecx, esi
call fcn.1400045ec
mov rbx, rax
mov qword [rbp - 0x60], rax
mov ecx, eax
mov r8, qword [rsp + 0x68]
cmp rcx, r8
ja 0x14000235f
mov qword [rsp + 0x68], rcx
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], r14
cmova rax, qword [rsp + 0x58]
mov word [rax + rcx*2], di
jmp 0x1400023b5
mov rdx, rcx
sub rdx, r8
mov rax, qword [rsp + 0x70]
sub rax, r8
cmp rdx, rax
ja 0x1400023a8
mov qword [rsp + 0x68], rcx
lea r9, [rsp + 0x58]
cmp qword [rsp + 0x70], r14
cmova r9, qword [rsp + 0x58]
lea rdi, [r9 + r8*2]
xor eax, eax
test rdx, rdx
je 0x14000239b
movzx eax, ax
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
xor edi, edi
mov word [r9 + rax*2], di
jmp 0x1400023b5
mov r9, rdx
lea rcx, [rsp + 0x58]
call fcn.1400037d8
cmp ebx, esi
jae 0x140002316
mov eax, dword [rbp - 0x5c]
mov dword [rbp - 0x60], eax
lea rcx, [0x140009088]
mov qword [rbp - 0x58], rcx
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm0
mov r15d, 1
mov dword [rsp + 0x30], r15d
test eax, eax
jne 0x140002d04
lea r12, [rsp + 0x58]
cmp qword [rsp + 0x70], r14
cmova r12, qword [rsp + 0x58]
mov r14, qword [rsp + 0x68]
call fcn.14000438c
mov r13d, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], dil
mov dword [rsp + 0x30], 0x21
test r14, r14
je 0x140002509
cmp r14, 0x7fffffff
ja 0x140002d0e
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8d, r14d
mov rdx, r12
mov ecx, eax
call fcn.1400043fc
mov rdi, rax
mov rcx, rax
shr rcx, 0x20
test ecx, ecx
jne 0x140002d14
movsxd rcx, edi
mov rdx, qword [rbp - 0x78]
cmp rcx, rdx
ja 0x14000248a
mov qword [rbp - 0x78], rcx
lea rax, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
cmova rax, qword [rsp + 0x78]
mov byte [rax + rcx], 0
jmp 0x1400024d6
mov rsi, rcx
sub rsi, rdx
mov rax, qword [rbp - 0x70]
sub rax, rdx
cmp rsi, rax
ja 0x1400024c6
mov qword [rbp - 0x78], rcx
lea rbx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
cmova rbx, qword [rsp + 0x78]
add rbx, rdx
mov r8, rsi
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov byte [rbx + rsi], 0
jmp 0x1400024d6
mov r9, rsi
mov rdx, rsi
lea rcx, [rsp + 0x78]
call fcn.140003af4
lea r9, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
cmova r9, qword [rsp + 0x78]
mov dword [rsp + 0x20], edi
mov r8d, r14d
mov rdx, r12
mov ecx, r13d
call fcn.1400043fc
shr rax, 0x20
xor r13d, r13d
test eax, eax
jne 0x140002ced
jmp 0x14000250c
xor r13d, r13d
mov dword [rsp + 0x30], 0x1d
lea r8, [0x140006708]
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x20]
call fcn.140002fcc
nop
lea r8, str.nazimod_runtime.dll
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140002fcc
nop
mov ebx, 0x1000
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x14000257d
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, rbx
jb 0x140002578
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002578
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004ac4
movdqa xmm0, xmmword [0x140006930]
movdqu xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], r13b
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x1400025c9
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, rbx
jb 0x1400025c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400025c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004ac4
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], r13b
mov rdx, qword [rsp + 0x70]
mov edi, 7
cmp rdx, rdi
jbe 0x14000261f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, rbx
jb 0x14000261a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000261a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004ac4
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], rdi
mov word [rsp + 0x58], r13w
lea rax, [rsp + 0x38]
mov qword [rbp - 0x60], rax
mov rsi, qword [rbp - 0x30]
lea r14, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova r14, qword [rbp - 0x40]
call fcn.14000438c
mov r12d, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r13
mov rdx, rdi
mov qword [rsp + 0x50], rdx
mov word [rsp + 0x38], r13w
mov dword [rsp + 0x30], 0x11c
test rsi, rsi
je 0x14000276b
cmp rsi, 0x7fffffff
ja 0x140002d1a
mov dword [rsp + 0x20], r13d
xor r9d, r9d
mov r8d, esi
mov rdx, r14
mov ecx, eax
call fcn.1400043b4
mov rbx, rax
mov rcx, rax
shr rcx, 0x20
test ecx, ecx
jne 0x140002d20
movsxd rcx, ebx
mov r8, qword [rsp + 0x48]
cmp rcx, r8
ja 0x1400026db
mov qword [rsp + 0x48], rcx
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], rdi
cmova rax, qword [rsp + 0x38]
mov word [rax + rcx*2], r13w
jmp 0x140002733
mov rdx, rcx
sub rdx, r8
mov rax, qword [rsp + 0x50]
sub rax, r8
cmp rdx, rax
ja 0x140002726
mov qword [rsp + 0x48], rcx
lea r9, [rsp + 0x38]
cmp qword [rsp + 0x50], rdi
cmova r9, qword [rsp + 0x38]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x140002716
movzx eax, r13w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r13w
mov edi, 7
jmp 0x140002733
mov r9, rdx
lea rcx, [rsp + 0x38]
call fcn.1400037d8
lea r9, [rsp + 0x38]
cmp qword [rsp + 0x50], rdi
cmova r9, qword [rsp + 0x38]
mov dword [rsp + 0x20], ebx
mov r8d, esi
mov rdx, r14
mov ecx, r12d
call fcn.1400043b4
shr rax, 0x20
test eax, eax
jne 0x140002ce5
mov rdx, qword [rsp + 0x50]
mov ebx, 0x1000
lea rcx, [rsp + 0x38]
cmp rdx, rdi
cmova rcx, qword [rsp + 0x38]
or r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp - 0x60]
call fcn.140004628
mov r8d, eax
test eax, eax
jne 0x1400027c9
mov edx, dword [rbp - 0x50]
mov ecx, edx
shr ecx, 0xa
test r15b, cl
je 0x1400027be
cmp dword [rbp - 0x4c], 0xa000000c
jne 0x1400027ae
lea edx, [rax + 4]
jmp 0x1400027ea
cmp dword [rbp - 0x4c], 0xa0000003
jne 0x1400027be
mov edx, 0xa
jmp 0x1400027ea
shr edx, 4
and edx, r15d
add edx, 2
jmp 0x1400027ea
sub eax, 2
je 0x1400027e7
sub eax, 1
je 0x1400027e7
sub eax, 0x32
je 0x1400027e7
sub eax, 0x46
je 0x1400027e7
cmp eax, 0x90
mov edx, r13d
jne 0x1400027ea
mov edx, r15d
mov dword [rbp - 0x60], r8d
lea rax, [0x140009088]
mov qword [rbp - 0x58], rax
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm0
test edx, edx
je 0x140002849
cmp edx, r15d
sete dil
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x14000285c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, rbx
jb 0x140002857
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002857
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov dil, r15b
test r8d, r8d
jne 0x140002cf5
jmp 0x14000280d
call fcn.140004ac4
xorps xmm0, xmm0
xorps xmm1, xmm1
lea rcx, [rsp + 0x38]
movups xmmword [rsp + 0x38], xmm0
movdqu xmmword [rsp + 0x48], xmm1
test dil, dil
je 0x1400029ad
mov r8d, 0x13
lea rdx, str.nazimod_runtime.dll
call fcn.1400036c8
nop
lea r8, [rsp + 0x38]
lea rcx, [rbp - 0x60]
call fcn.140003318
nop
mov rcx, rax
call fcn.140003424
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x1400028e0
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, rbx
jb 0x1400028db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400028db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004ac4
movdqa xmm0, xmmword [0x140006930]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], r13b
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x14000292d
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, rbx
jb 0x140002928
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002928
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004ac4
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov r8d, 0x3a
lea rdx, str.Ensure_that_the_DLL_is_in_the_same_folder_as_the_injector.
lea rcx, [rsp + 0x38]
call fcn.1400036c8
nop
lea rcx, [rsp + 0x38]
call fcn.14000326c
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x14000299d
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, rbx
jb 0x140002998
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002998
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004ac4
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140002c7b
mov r8d, 0x26
lea rdx, str.Checking_if_Pixel_Gun_3D_is_running...
call fcn.1400036c8
nop
lea rcx, [rsp + 0x38]
call fcn.14000326c
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140002a07
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, rbx
jb 0x140002a02
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002a02
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004ac4
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov esi, 0x10
mov r8d, esi
lea rdx, str.Pixel_Gun_3D.exe
lea rcx, [rsp + 0x38]
call fcn.1400036c8
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x38]
call fcn.140002050
mov dil, al
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140002a7e
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, rbx
jb 0x140002a79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002a79
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004ac4
test dil, dil
jne 0x140002bfd
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov r8d, 0x2d
lea rdx, str.Pixel_Gun_3D_not_found._Launching_the_game...
lea rcx, [rsp + 0x38]
call fcn.1400036c8
nop
lea rcx, [rsp + 0x38]
call fcn.1400034d0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140002af7
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, rbx
jb 0x140002af2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002af2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004ac4
call fcn.140001fa8
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
mov r8, rsi
lea rdx, str.Pixel_Gun_3D.exe
lea rcx, [rsp + 0x38]
call fcn.1400036c8
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x38]
call fcn.140002050
mov dil, al
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140002b6c
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, rbx
jb 0x140002b67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002bef
call fcn.140004ac4
test dil, dil
jne 0x140002bfd
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
mov r8d, 0x24
lea rdx, str.Waiting_for_Pixel_Gun_3D_to_start...
lea rcx, [rsp + 0x38]
call fcn.1400036c8
nop
lea rcx, [rsp + 0x38]
call fcn.1400034d0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140002bdf
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, rbx
jb 0x140002bda
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002bf6
call fcn.140004ac4
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140002afc
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
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov r8d, 0x1a
lea rdx, str.DLL_injected_successfully.
lea rcx, [rsp + 0x38]
call fcn.1400036c8
nop
lea rcx, [rsp + 0x38]
call fcn.14000326c
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140002c6d
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, rbx
jb 0x140002c68
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002c68
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004ac4
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r15d, r13d
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140002cb5
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, rbx
jb 0x140002cb0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002cb0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004ac4
mov eax, r15d
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140004a60
lea r11, [rsp + 0x110]
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
mov ecx, eax
call fcn.1400017cc
nop
mov ecx, eax
call fcn.1400017cc
nop
lea r8, [rsp + 0x38]
lea rdx, [rbp - 0x60]
call fcn.140001f50
nop
lea rdx, [rbp - 0x60]
call fcn.140001f00
nop
call fcn.14000156c
int3
call fcn.1400017cc
nop
call fcn.14000156c
int3
call fcn.1400017cc
int3