Function at 0x14001102d
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
jmp 0x140011f50
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x2e8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x76
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x308]
lea rcx, [0x1400250e1]
call fcn.1400113c5
nop
cmp dword [rbp + 0x2b0], 2
jge 0x140011fac
lea rcx, str.usage:_InjectDll.exe__DLL___PID__n
call fcn.140011032
nop
mov eax, 1
jmp 0x140012424
mov qword [rbp + 8], 0
mov dword [rbp + 0x24], 0
mov eax, 8
imul rax, rax, 1
lea r8, [rbp + 0x24]
lea rdx, [rbp + 8]
mov rcx, qword [rbp + 0x2b8]
mov rcx, qword [rcx + rax]
call fcn.140011136
test eax, eax
jne 0x14001200b
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rbp + 0x2b8]
mov rdx, qword [rcx + rax]
lea rcx, str.Failed_to_read_image_file:__s_n
call fcn.140011032
nop
mov eax, 1
jmp 0x140012424
mov dword [rbp + 0x44], 0
cmp dword [rbp + 0x2b0], 2
jle 0x140012069
mov eax, 8
imul rax, rax, 2
lea rdx, [rbp + 0x44]
mov rcx, qword [rbp + 0x2b8]
mov rcx, qword [rcx + rax]
call fcn.1400113de
test eax, eax
jne 0x140012067
mov eax, 8
imul rax, rax, 2
mov rcx, qword [rbp + 0x2b8]
mov rdx, qword [rcx + rax]
lea rcx, str.Invalid_ProcessID:__s_n
call fcn.140011032
nop
mov eax, 1
jmp 0x140012424
jmp 0x140012072
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rbp + 0x44], eax
mov r8d, dword [rbp + 0x44]
xor edx, edx
mov ecx, 0x3a
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x1400120a8
mov edx, dword [rbp + 0x44]
lea rcx, str.Failed_to_open_process_for_injection:__lu_n
call fcn.140011032
nop
mov eax, 1
jmp 0x140012424
mov rcx, qword [rbp + 0x68]
call fcn.1400113ed
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0
jne 0x1400120d7
lea rcx, str.Failed_to_get_process_architecture_n
call fcn.140011032
nop
mov eax, 1
jmp 0x140012424
mov edx, dword [rbp + 0x24]
mov rcx, qword [rbp + 8]
call fcn.14001139d
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
jne 0x14001210b
lea rcx, str.DLL_does_not_have_a_valid_PE_header_n
call fcn.140011032
nop
mov eax, 1
jmp 0x140012424
mov rax, qword [rbp + 0xa8]
movzx eax, word [rax + 4]
cmp eax, 0x14c
jne 0x140012126
cmp dword [rbp + 0x84], 0x20
jne 0x140012141
mov rax, qword [rbp + 0xa8]
movzx eax, word [rax + 4]
cmp eax, 0x8664
jne 0x140012158
cmp dword [rbp + 0x84], 0x40
je 0x140012158
lea rcx, str.Inject_process_arch_does_not_match_DLL_n
call fcn.140011032
nop
mov eax, 1
jmp 0x140012424
mov qword [rbp + 0xc8], 0
mov qword [rbp + 0xe8], 0
cmp dword [rbp + 0x84], 0x20
jne 0x140012192
mov qword [rbp + 0xe8], 0x478
lea rax, [0x14001ad50]
mov qword [rbp + 0xc8], rax
jmp 0x1400121ab
mov qword [rbp + 0xe8], 0x535
lea rax, str._UVATAUAVH
mov qword [rbp + 0xc8], rax
cmp dword [rbp + 0x84], 0x20
jne 0x1400121c4
lea rax, str.Wow64
mov qword [rbp + 0x278], rax
jmp 0x1400121d2
lea rax, [0x14001bdf0]
mov qword [rbp + 0x278], rax
call fcn.1400110ff
cmp eax, 0x20
jne 0x1400121ec
lea rax, str.Wow64
mov qword [rbp + 0x280], rax
jmp 0x1400121fa
lea rax, [0x14001bdf0]
mov qword [rbp + 0x280], rax
mov r8, qword [rbp + 0x278]
mov rdx, qword [rbp + 0x280]
lea rcx, str.Injecting__s_____s_n
call fcn.140011032
nop
mov eax, dword [rbp + 0x24]
mov rcx, qword [rbp + 0xe8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x108], rax
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8, qword [rbp + 0x108]
xor edx, edx
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x128], rax
cmp qword [rbp + 0x128], 0
jne 0x140012275
lea rcx, str.Failed_to_allocate_remote_memory_n
call fcn.140011032
nop
mov eax, 1
jmp 0x140012424
mov r8, qword [rbp + 0x128]
mov edx, dword [rbp + 0x108]
lea rcx, str.Writing__lu_bytes_into_process_at__p_n
call fcn.140011032
nop
mov qword [rbp + 0x148], 0
lea rax, [rbp + 0x148]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0xe8]
mov r8, qword [rbp + 0xc8]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140012304
mov eax, dword [rbp + 0x24]
mov rcx, qword [rbp + 0xe8]
mov rdx, qword [rbp + 0x128]
add rdx, rcx
mov rcx, rdx
lea rdx, [rbp + 0x148]
mov qword [rsp + 0x20], rdx
mov r9d, eax
mov r8, qword [rbp + 8]
mov rdx, rcx
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14001231b
lea rcx, str.Failed_to_write_remote_process_memory_n
call fcn.140011032
nop
mov eax, 1
jmp 0x140012424
mov dword [rbp + 0x164], 0
mov qword [rbp + 0x188], 0
call fcn.1400110ff
cmp eax, 0x40
je 0x14001234b
call fcn.1400110ff
cmp eax, dword [rbp + 0x84]
jne 0x140012411
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.RtlCreateUserThread
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x1a8], rax
cmp qword [rbp + 0x1a8], 0
jne 0x140012390
lea rcx, str.Failed_to_resolve_ntdll_RtlCreateUserThread_n
call fcn.140011032
nop
mov eax, 1
jmp 0x140012424
lea rcx, str.Calling_RtlCreateUserThread_n
call fcn.140011032
nop
mov qword [rsp + 0x48], 0
lea rax, [rbp + 0x188]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov rax, qword [rbp + 0x128]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x68]
call qword [rbp + 0x1a8]
nop
cmp qword [rbp + 0x188], 0
je 0x140012411
mov rcx, qword [rbp + 0x188]
call fcn.140011145
mov edx, eax
lea rcx, str.Created_remote_thread__lu_n
call fcn.140011032
nop
cmp qword [rbp + 0x188], 0
je 0x14001241f
xor eax, eax
jmp 0x140012424
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x14001baf0]
call fcn.14001134d
mov rax, rdi
lea rsp, [rbp + 0x298]
pop rdi
pop rbp
ret