Function at 0x1400029e0
Capabilities:
Create thread
Enumerate processes
Inject dll
Inject thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x140009008]
xor rax, rsp
mov qword [rbp + 0x200], rax
xor r15d, r15d
lea rcx, [rbp - 0x80]
call fcn.1400027e0
nop
lea rdx, str.Dll_Directory:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400032e0
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rdx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x70]
mov rcx, rax
call fcn.140003ef0
lea rdx, [0x1400034b0]
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]
lea rsi, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rsi, qword [rbp - 0x80]
mov rdi, 0xffffffffffffffff
mov rbx, rdi
inc rbx
cmp byte [rsi + rbx], 0
jne 0x140002a76
call fcn.1400041ec
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rbx
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.1400018e0
nop
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp - 0x60]
call fcn.140004488
mov r8d, eax
mov r14d, 1
test eax, eax
jne 0x140002b1c
mov edx, dword [rbp - 0x50]
test r14b, dl
mov ecx, 0x1ff
mov eax, 0x16d
cmovne ecx, eax
mov dword [rsp + 0x74], ecx
bt edx, 0xa
jae 0x140002b0e
mov eax, dword [rbp - 0x4c]
cmp eax, 0xa000000c
jne 0x140002b00
lea eax, [r8 + 4]
jmp 0x140002b3e
cmp eax, 0xa0000003
jne 0x140002b0e
mov eax, 0xa
jmp 0x140002b3e
movzx eax, dl
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x140002b3e
mov dword [rsp + 0x74], 0xffff
sub eax, 2
je 0x140002b3b
sub eax, r14d
je 0x140002b3b
sub eax, 0x32
je 0x140002b3b
cmp eax, 0x46
mov eax, r15d
jne 0x140002b3e
mov eax, r14d
mov dword [rsp + 0x70], r8d
lea rcx, [0x140009050]
mov qword [rsp + 0x78], rcx
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
test eax, eax
je 0x140002ba4
cmp eax, r14d
sete bl
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140002bb8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002bb3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002bb3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
movzx ebx, r14b
test r8d, r8d
jne 0x140002ede
jmp 0x140002b64
call fcn.140004924
test bl, bl
je 0x140002be4
lea rdx, str.Target_Dll_Does_Not_Exist_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400032e0
lea rdx, [0x1400034b0]
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]
jmp 0x140002e71
mov esi, r15d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140002c43
mov dword [rbp - 0x40], 0x238
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140002c3a
lea rdx, str.ShooterGame.exe
lea rcx, [rbp - 0x14]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140002c37
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x140002c0f
mov esi, dword [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.Process_ID:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400032e0
mov edx, esi
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___unsigned_long_int____ptr64]
lea rdx, [0x1400034b0]
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 r8d, esi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x140002c95
lea rdx, str.Failed_To_Open_Target_Process_
jmp 0x140002bc3
lea rax, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rax, qword [rbp - 0x80]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x140002ca6
inc r8
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x1000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
jne 0x140002d05
lea rdx, str.Failed_To_Allocate_Memory_In_Target_Process_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400032e0
lea rdx, [0x1400034b0]
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 rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140002e71
lea rax, [rbp - 0x80]
mov rcx, qword [rbp - 0x80]
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
cmovae rax, rcx
nop dword [rax]
lea rdi, [rdi + 1]
cmp byte [rax + rdi], 0
jne 0x140002d20
lea r9, [rdi + 1]
lea r8, [rbp - 0x80]
cmp rdx, 0x10
cmovae r8, rcx
mov qword [rsp + 0x20], r15
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140002d58
lea rdx, str.Failed_To_Write_Memory_In_Target_Process_
jmp 0x140002db2
lea rcx, str.Kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.LoadLibraryA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140002d83
lea rdx, str.Failed_To_Get_Address_Of_LoadLibraryA_
jmp 0x140002db2
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rsi
mov r9, rax
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rdi, rax
test rax, rax
jne 0x140002df1
lea rdx, str.Failed_To_CreateRemoteThread_In_target_Process_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400032e0
lea rdx, [0x1400034b0]
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 r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140002e71
mov edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.Target_DLL_Injected___
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400032e0
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rdx, qword [rbp - 0x80]
mov rcx, rax
call fcn.1400032e0
mov rcx, rax
lea rdx, [0x140006788]
call fcn.1400032e0
lea rdx, [0x1400034b0]
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 r14d, r15d
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140002eaf
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002eaa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002eaa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004924
mov eax, r14d
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1400048c0
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x70]
call fcn.140002630
int3