Function at 0x14001128a
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
jmp 0x1400118d0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x40]
lea rcx, [0x1400240a2]
call fcn.14001138e
nop
cmp dword [rbp + 0x100], 2
jge 0x14001192f
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x108]
mov r8, qword [rcx + rax]
mov rdx, qword [str.__ERROR__]
lea rcx, str._s_usage:__s
call fcn.1400111a4
nop
mov eax, 1
jmp 0x140011c38
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rbp + 0x108]
mov rcx, qword [rcx + rax]
call qword [sym.imp.ucrtbased.dll_atoi]
mov dword [0x14001e470], eax
mov r8d, dword [0x14001e470]
mov rdx, qword [str.__INFO__]
lea rcx, str._s_trying_to_get_a_handle_to_the_process___ld__n
call fcn.1400111a4
nop
mov r8d, dword [0x14001e470]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [0x14001e480], rax
cmp qword [0x14001e480], 0
jne 0x1400119b6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rdx, qword [str.__ERROR__]
lea rcx, str._s_failed_to_get_a_handle_to_the_process__error:__ld
call fcn.1400111a4
nop
mov eax, 1
jmp 0x140011c38
mov r9, qword [0x14001e480]
mov r8d, dword [0x14001e470]
mov rdx, qword [section..data]
lea rcx, str._s_got_a_handle_to_the_process___ld__n___0x_p_n
call fcn.1400111a4
nop
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8, qword [0x14001e018]
xor edx, edx
mov rcx, qword [0x14001e480]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [0x14001e478], rax
cmp qword [0x14001e478], 0
jne 0x140011a34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rdx, qword [str.__ERROR__]
lea rcx, str._s_couldnt_create_rBuffer__error:__ld
call fcn.1400111a4
nop
mov eax, 1
jmp 0x140011c38
mov rdx, qword [section..data]
lea rcx, str._s_allocated_to_buffer_to_process_memory_w__PAGE_READWRITE_permissions_n
call fcn.1400111a4
nop
mov qword [rsp + 0x20], 0
mov r9, qword [0x14001e018]
lea r8, str.C:_reverse_64bit.dll
mov rdx, qword [0x14001e478]
mov rcx, qword [0x14001e480]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
lea r8, str.C:_reverse_64bit.dll
mov rdx, qword [section..data]
lea rcx, str._s_wrote___S__to_process_memory_n
call fcn.1400111a4
nop
lea rcx, str.Kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [0x14001e490], rax
cmp qword [0x14001e490], 0
jne 0x140011ae2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rdx, qword [str.__ERROR__]
lea rcx, str._s_failed_to_get_a_handle_to_Kernel32.dll__error:__ld
call fcn.1400111a4
nop
mov rcx, qword [0x14001e480]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, 1
jmp 0x140011c38
mov r8, qword [0x14001e490]
mov rdx, qword [section..data]
lea rcx, str._s_got_a_handle_to_Kernel32.dll_n___0x_p_n
call fcn.1400111a4
nop
lea rdx, str.LoadLibraryW
mov rcx, qword [0x14001e490]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 8], rax
mov r8, qword [rbp + 8]
mov rdx, qword [section..data]
lea rcx, str._s_got_the_address_of_LoadLibraryW___n___0x_p_n
call fcn.1400111a4
nop
lea rax, [0x14001e474]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov rax, qword [0x14001e478]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 8]
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x14001e480]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [0x14001e488], rax
cmp qword [0x14001e488], 0
jne 0x140011ba9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rdx, qword [str.__ERROR__]
lea rcx, str._s_failed_to_get_a_handle_to_thread__error:__ld
call fcn.1400111a4
nop
mov rcx, qword [0x14001e480]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, 1
jmp 0x140011c38
mov r9, qword [0x14001e488]
mov r8d, dword [0x14001e474]
mov rdx, qword [section..data]
lea rcx, str._s_got_a_handle_to_the_newly_created_thread___ld__n___0x_p_n
call fcn.1400111a4
nop
mov rdx, qword [str.__INFO__]
lea rcx, str._s_waiting_for_the_thread_to_finish_execution_n
call fcn.1400111a4
nop
mov edx, 0xffffffff
mov rcx, qword [0x14001e488]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
mov rdx, qword [section..data]
lea rcx, str._s_thread_finished_executing__cleaning_up..._n
call fcn.1400111a4
nop
mov rcx, qword [0x14001e488]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [0x14001e480]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [section..data]
lea rcx, str._s_finished_
call fcn.1400111a4
nop
xor eax, eax
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret