Function at 0x140011212
Capabilities:
Create thread
Inject thread

Disassembly:
jmp 0x140012ce0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x1d8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x36
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x1f8]
mov rax, qword [0x14001f040]
xor rax, rbp
mov qword [rbp + 0x180], rax
lea rcx, [0x1400250a3]
call fcn.1400113a2
nop
mov dword [rbp + 4], 1
mov dword [rbp + 0x24], 0
mov dword [rbp + 0x44], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0xa8], 0
mov r8d, dword [rbp + 0x1b0]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x140012de1
mov eax, dword [section..data]
add eax, 0xb
mov dword [rbp + 0x174], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x178], eax
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov ecx, dword [rbp + 0x174]
mov dword [rsp + 0x20], ecx
lea r9, str.C:Users_rsk_source_repospldinjection.c
mov ecx, dword [rbp + 0x178]
mov r8d, ecx
lea rdx, str._____OpenProcess__failed__error:_0x_lx_n____s:_d_n
mov rcx, rax
call fcn.14001135c
nop
xor eax, eax
test eax, eax
jne 0x140012d84
xor eax, eax
jmp 0x14001316d
mov r8d, dword [rbp + 0x1b0]
mov rdx, qword [rbp + 0x68]
lea rcx, str.____0x_p__got_a_handle_on_the_process___ld___n
call fcn.1400111a9
nop
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8, qword [rbp + 0x1c0]
xor edx, edx
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
jne 0x140012e8d
mov eax, dword [section..data]
add eax, 0x12
mov dword [rbp + 0x174], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x178], eax
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov ecx, dword [rbp + 0x174]
mov dword [rsp + 0x20], ecx
lea r9, str.C:Users_rsk_source_repospldinjection.c
mov ecx, dword [rbp + 0x178]
mov r8d, ecx
lea rdx, str._____VirtualAllocEx__failed__error:_0x_lx_n____s:_d_n
mov rcx, rax
call fcn.14001135c
nop
xor eax, eax
test eax, eax
jne 0x140012e2b
mov dword [rbp + 4], 0
jmp 0x1400130e7
mov rdx, qword [rbp + 0xa8]
lea rcx, str.____0x_p___RW___allocated_a_buffer_with_PAGE_READWRITE__RW___permissions__n
call fcn.1400111a9
nop
mov qword [rsp + 0x20], 0
mov r9, qword [rbp + 0x1c0]
mov r8, qword [rbp + 0x1b8]
mov rdx, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140012f2f
mov eax, dword [section..data]
add eax, 0x18
mov dword [rbp + 0x174], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x178], eax
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov ecx, dword [rbp + 0x174]
mov dword [rsp + 0x20], ecx
lea r9, str.C:Users_rsk_source_repospldinjection.c
mov ecx, dword [rbp + 0x178]
mov r8d, ecx
lea rdx, str._____WriteProcessMemory__failed__error:_0x_lx_n____s:_d_n
mov rcx, rax
call fcn.14001135c
nop
xor eax, eax
test eax, eax
jne 0x140012ecd
mov dword [rbp + 4], 0
jmp 0x1400130e7
mov r8, qword [rbp + 0x1c0]
mov rdx, qword [rbp + 0xa8]
lea rcx, str.____0x_p___RW___wrote__zu_bytes_to_the_allocated_buffer_n
call fcn.1400111a9
nop
lea rax, [rbp + 0x44]
mov qword [rsp + 0x20], rax
mov r9d, 0x20
mov r8, qword [rbp + 0x1c0]
mov rdx, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x140012fd7
mov eax, dword [section..data]
add eax, 0x1e
mov dword [rbp + 0x174], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x178], eax
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov ecx, dword [rbp + 0x174]
mov dword [rsp + 0x20], ecx
lea r9, str.C:Users_rsk_source_repospldinjection.c
mov ecx, dword [rbp + 0x178]
mov r8d, ecx
lea rdx, str._____VirtualProtect__failed__error:_0x_lx_n____s:_d_n
mov rcx, rax
call fcn.14001135c
nop
xor eax, eax
test eax, eax
jne 0x140012f75
mov dword [rbp + 4], 0
jmp 0x1400130e7
mov rdx, qword [rbp + 0xa8]
lea rcx, str.____0x_p___R_X__changed_buffers_permissions_to_PAGE_EXECUTE_READ__R_X__n
call fcn.1400111a9
nop
lea rax, [rbp + 0x24]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, qword [rbp + 0xa8]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThreadEx]
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jne 0x140013094
mov eax, dword [section..data]
add eax, 0x25
mov dword [rbp + 0x174], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x178], eax
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov ecx, dword [rbp + 0x174]
mov dword [rsp + 0x20], ecx
lea r9, str.C:Users_rsk_source_repospldinjection.c
mov ecx, dword [rbp + 0x178]
mov r8d, ecx
lea rdx, str._____CreateRemoteThreadEx__failed__error:_0x_lx_n____s:_d_n
mov rcx, rax
call fcn.14001135c
nop
xor eax, eax
test eax, eax
jne 0x140013035
mov dword [rbp + 4], 0
jmp 0x1400130e7
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 0x88]
lea rcx, str.____0x_p__successfully_created_a_thread___ld___n
call fcn.1400111a9
nop
mov rdx, qword [rbp + 0x88]
lea rcx, str.____0x_p__waiting_for_thread_to_finish_execution..._n
call fcn.1400111a9
nop
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
mov rdx, qword [rbp + 0x88]
lea rcx, str.____0x_p__thread_finished_execution__beginning_cleanup..._n
call fcn.1400111a9
nop
cmp qword [rbp + 0x88], 0
je 0x140013113
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0x88]
lea rcx, str.____0x_p__closed_thread_handle_n
call fcn.1400111a9
nop
cmp qword [rbp + 0x68], 0
je 0x140013136
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0x68]
lea rcx, str.____0x_p__closed_process_handle_n
call fcn.1400111a9
nop
cmp qword [rbp + 0xa8], 0
je 0x14001316a
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov rdx, qword [rbp + 0xa8]
lea rcx, str.____0x_p__allocated_buffer_freed_n
call fcn.1400111a9
nop
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x14001bd50]
call fcn.140011334
mov rax, rdi
mov rcx, qword [rbp + 0x180]
xor rcx, rbp
call fcn.1400111c2
lea rsp, [rbp + 0x198]
pop rdi
pop rbp
ret