Function at 0x140002c80
Capabilities:
Create thread
Inject thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x100
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor r14d, r14d
mov dword [rbp + 7], r14d
lea rax, str.test.dll
mov qword [rbp - 9], rax
mov qword [rbp - 1], 8
call fcn.140004894
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
lea r8, [rbp - 9]
mov edx, eax
lea rcx, [rbp - 0x29]
call fcn.1400018d0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
mov qword [rbp - 0x59], r14
mov qword [rbp - 0x51], 7
mov word [rbp - 0x69], r14w
mov dword [rbp + 7], 0xb
mov edx, 0x104
mov r9d, edx
lea rcx, [rbp - 0x69]
call fcn.1400040f0
nop word [rax + rax]
mov esi, dword [rbp - 0x59]
lea rdx, [rbp - 0x69]
cmp qword [rbp - 0x51], 7
cmova rdx, qword [rbp - 0x69]
mov ecx, esi
call fcn.140004af4
mov rbx, rax
mov qword [rbp - 9], rax
mov ecx, eax
mov r8, qword [rbp - 0x59]
cmp rcx, r8
ja 0x140002d63
mov qword [rbp - 0x59], rcx
lea rax, [rbp - 0x69]
cmp qword [rbp - 0x51], 7
cmova rax, qword [rbp - 0x69]
mov word [rax + rcx*2], r14w
jmp 0x140002db3
mov rdx, rcx
sub rdx, r8
mov rdi, qword [rbp - 0x51]
mov rax, rdi
sub rax, r8
cmp rdx, rax
ja 0x140002da7
mov qword [rbp - 0x59], rcx
lea r9, [rbp - 0x69]
cmp rdi, 7
cmova r9, qword [rbp - 0x69]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x140002d9c
movzx eax, r14w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r14w
jmp 0x140002db3
mov r9, rdx
lea rcx, [rbp - 0x69]
call fcn.1400040f0
cmp ebx, esi
jae 0x140002d20
mov eax, dword [rbp - 5]
mov dword [rbp - 9], eax
lea rbx, [0x14000a078]
mov qword [rbp - 1], rbx
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
mov dword [rbp + 7], 7
test eax, eax
jne 0x140003270
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x69]
lea rcx, [rbp + 0xf]
call fcn.140001e10
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 7
jbe 0x140002e39
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002e34
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004fbc
mov qword [rbp - 0x59], r14
mov qword [rbp - 0x51], 7
mov word [rbp - 0x69], r14w
mov rdx, qword [rbp - 0x11]
cmp rdx, 7
jbe 0x140002e8d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e88
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002e88
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004fbc
movdqa xmm0, xmmword [0x140007890]
movdqu xmmword [rbp - 0x19], xmm0
mov word [rbp - 0x29], r14w
lea rcx, [rbp + 0xf]
cmp qword [rbp + 0x27], 7
cmova rcx, qword [rbp + 0xf]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x2f]
call fcn.140004b30
mov edi, eax
test eax, eax
jne 0x140002f11
mov edx, dword [rbp + 0x3f]
test dl, 1
mov ecx, 0x1ff
mov eax, 0x16d
cmovne ecx, eax
mov dword [rbp - 5], ecx
mov eax, edx
shr eax, 0xa
test al, 1
je 0x140002f06
mov eax, dword [rbp + 0x43]
cmp eax, 0xa000000c
jne 0x140002ef8
mov edx, 4
jmp 0x140002f34
cmp eax, 0xa0000003
jne 0x140002f06
mov edx, 0xa
jmp 0x140002f34
shr edx, 4
and edx, 1
or edx, 2
jmp 0x140002f34
mov dword [rbp - 5], 0xffff
sub eax, 2
je 0x140002f2f
sub eax, 1
je 0x140002f2f
sub eax, 0x32
je 0x140002f2f
cmp eax, 0x46
mov edx, r14d
jne 0x140002f34
mov edx, 1
mov dword [rbp - 9], edi
mov qword [rbp - 1], rbx
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
test edx, edx
je 0x1400031d8
cmp edx, 1
je 0x1400031e0
call fcn.1400029c0
mov edi, eax
test eax, eax
je 0x1400031ab
lea rcx, [rbp + 0xf]
cmp qword [rbp + 0x27], 7
cmova rcx, qword [rbp + 0xf]
mov qword [rbp - 9], rcx
mov rcx, qword [rbp + 0x1f]
mov qword [rbp - 1], rcx
call fcn.140004894
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
lea r8, [rbp - 9]
mov edx, eax
lea rcx, [rbp + 0x2f]
call fcn.140003550
nop
lea rdx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 0xf
cmova rdx, qword [rbp + 0x2f]
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], r14
mov qword [rbp - 0x31], r14
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140002fc0
lea rcx, [rbp - 0x49]
call fcn.140003ff0
nop
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x140003004
lea rdx, str.Failed_to_open_process._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003810
jmp 0x14000311d
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8, qword [rbp - 0x39]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
jne 0x140003041
lea rdx, str.Failed_to_create_DLL_path_buffer_in_target_process._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003810
jmp 0x14000311d
lea r8, [rbp - 0x49]
cmp qword [rbp - 0x31], 0xf
cmova r8, qword [rbp - 0x49]
mov qword [rsp + 0x20], r14
mov r9, qword [rbp - 0x39]
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor r8d, r8d
mov rcx, rbx
test eax, eax
jne 0x14000309e
mov r9d, 0x8000
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.Failed_to_write_DLL_path_to_the_buffer_in_target_process._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003810
jmp 0x14000311d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rsi
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rdi, rax
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rbp + 7], r14d
lea rdx, [rbp + 7]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
cmp dword [rbp + 7], 0
lea rdx, str.Successfully_injected_module_into_the_target_process._n
jne 0x1400030f9
lea rdx, str.Failed_to_inject_into_the_target_process._n
call fcn.140003810
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]
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x14000315b
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003156
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003156
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004fbc
mov qword [rbp - 0x39], r14
mov qword [rbp - 0x31], 0xf
mov byte [rbp - 0x49], 0
mov rdx, qword [rbp + 0x47]
cmp rdx, 0xf
jbe 0x1400031be
inc rdx
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400031a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400031a4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004fbc
jmp 0x1400031be
lea rdx, str.Please_open_FiveM_before_trying_to_inject._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003810
mov edx, 1
mov r8d, 0xffffffff
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::ignore_long_long___int64___int____ptr64]
jmp 0x1400031f4
test edi, edi
jne 0x140003262
lea rdx, str.Please_rebuild_the_module_and_try_again.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003810
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 7
jbe 0x140003237
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003232
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003232
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004fbc
xor eax, eax
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140004f60
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea r8, [rbp + 0xf]
lea rdx, [rbp - 9]
call fcn.140002960
nop
lea rdx, [rbp - 9]
call fcn.140002900
int3