Function at 0x1400116d6
Capabilities:
Execute command

Disassembly:
jmp 0x140012950
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2b8
lea rbp, [rsp + 0x60]
lea rdi, [rsp + 0x60]
mov ecx, 0x66
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2d8]
mov rax, qword [0x140027068]
xor rax, rbp
mov qword [rbp + 0x248], rax
lea rcx, [0x14002d230]
call fcn.140011672
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.LoadLibraryA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1400129fa
lea rcx, str.Could_note_get_real_address_of_LoadLibraryA_from_kernel32.dll__n
call fcn.1400112f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.LastError_:_0X_x_n
call fcn.1400112f8
lea rcx, str.PAUSE
call qword [sym.imp.ucrtbased.dll_system]
xor al, al
jmp 0x140012da7
mov rdx, qword [rbp + 8]
lea rcx, str.LoadLibraryA_is_located_at_real_address:_0X_p_n
call fcn.1400112f8
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbp + 0x270]
call fcn.1400112c6
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8, rax
xor edx, edx
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140012a80
lea rcx, str.Could_not_allocate_Memory_in_target_process_n
call fcn.1400112f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.LastError_:_0X_x_n
call fcn.1400112f8
lea rcx, str.PAUSE
call qword [sym.imp.ucrtbased.dll_system]
xor al, al
jmp 0x140012da7
mov rdx, qword [rbp + 0x28]
lea rcx, str.Dll_path_memory_allocated_at:_0X_p_n
call fcn.1400112f8
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbp + 0x270]
call fcn.1400112c6
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x270]
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jne 0x140012b08
lea rcx, str.Could_not_write_into_the_allocated_memory_n
call fcn.1400112f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.LastError_:_0X_x_n
call fcn.1400112f8
lea rcx, str.PAUSE
call qword [sym.imp.ucrtbased.dll_system]
xor al, al
jmp 0x140012da7
mov rdx, qword [rbp + 0x28]
lea rcx, str.Dll_path_memory_was_written_at_address_:_0x_p_n
call fcn.1400112f8
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x140012b6f
lea rcx, str.Failed_to_get_module_handle_for_ntdll.dll_n
call fcn.1400112f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.LastError_:_0X_x_n
call fcn.1400112f8
lea rcx, str.PAUSE
call qword [sym.imp.ucrtbased.dll_system]
xor al, al
jmp 0x140012da7
lea rdx, str.NtCreateThreadEx
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jne 0x140012bc5
lea rcx, str.Failed_to_get_NtCreateThreadEx_function_address_from_ntdll.dll_n
call fcn.1400112f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.LastError:_0X_x_n
call fcn.1400112f8
lea rcx, str.PAUSE
call qword [sym.imp.ucrtbased.dll_system]
xor al, al
jmp 0x140012da7
mov r8d, 0x48
xor edx, edx
lea rcx, [rbp + 0xb0]
call fcn.1400114e2
mov qword [rbp + 0xb0], 0x48
mov qword [rbp + 0xb8], 0x10003
mov qword [rbp + 0xc0], 8
lea rax, [rbp + 0x118]
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd0], 0
mov qword [rbp + 0xd8], 0x10004
mov qword [rbp + 0xe0], 4
lea rax, [rbp + 0x134]
mov qword [rbp + 0xe8], rax
mov qword [rbp + 0xf0], 0
mov qword [rbp + 0x158], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x278]
xor r8d, r8d
mov edx, 0x1fffff
lea rcx, [rbp + 0x158]
call qword [rbp + 0x88]
mov dword [rbp + 0x174], eax
cmp qword [rbp + 0x158], 0
jne 0x140012d20
lea rcx, str._nNtCreateThreadEx_failed_n
call fcn.1400112f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.LastError:_0X_x_n
call fcn.1400112f8
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test eax, eax
je 0x140012d0c
lea rcx, str.Memory_was_freed_in_target_process_n
call fcn.1400112f8
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.PAUSE
call qword [sym.imp.ucrtbased.dll_system]
xor al, al
jmp 0x140012da7
lea rcx, str.Thread_started_with_NtCreateThread_n
call fcn.1400112f8
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, str.PAUSE
call qword [sym.imp.ucrtbased.dll_system]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test eax, eax
je 0x140012d8b
lea rcx, str.Memory_was_freed_in_target_process_n
call fcn.1400112f8
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rdi, rax
lea rcx, [rbp - 0x60]
lea rdx, [0x140022270]
call fcn.140011573
mov rax, rdi
mov rcx, qword [rbp + 0x248]
xor rcx, rbp
call fcn.14001131b
lea rsp, [rbp + 0x258]
pop rdi
pop rbp
ret