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

Disassembly:
jmp 0x140019600
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x6e8
lea rbp, [rsp + 0x40]
lea rcx, [0x1400390f5]
call fcn.1400119e7
nop
mov r8d, dword [rbp + 0x6c0]
xor edx, edx
mov ecx, 0x43a
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1400196cd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x308]
call fcn.1400112ee
mov qword [rbp + 0x678], rax
mov rax, qword [rbp + 0x678]
mov qword [rbp + 0x680], rax
mov r8, qword [rbp + 0x680]
lea rdx, str.Failed_to_open_process._Error:
lea rcx, [rbp + 0x348]
call fcn.14001123a
mov qword [rbp + 0x688], rax
mov rax, qword [rbp + 0x688]
mov qword [rbp + 0x690], rax
mov rcx, qword [rbp + 0x690]
call fcn.1400114ab
nop
lea rcx, [rbp + 0x348]
call fcn.1400118c5
nop
lea rcx, [rbp + 0x308]
call fcn.1400118c5
nop
xor al, al
jmp 0x140019c11
mov rcx, qword [rbp + 0x6c8]
call fcn.1400111bd
lea rax, [rax + rax + 2]
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8, rax
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x14001979b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x388]
call fcn.1400112ee
mov qword [rbp + 0x678], rax
mov rax, qword [rbp + 0x678]
mov qword [rbp + 0x680], rax
mov r8, qword [rbp + 0x680]
lea rdx, str.Failed_to_allocate_memory_in_remote_process._Error:
lea rcx, [rbp + 0x3c8]
call fcn.14001123a
mov qword [rbp + 0x688], rax
mov rax, qword [rbp + 0x688]
mov qword [rbp + 0x690], rax
mov rcx, qword [rbp + 0x690]
call fcn.1400114ab
nop
lea rcx, [rbp + 0x3c8]
call fcn.1400118c5
nop
lea rcx, [rbp + 0x388]
call fcn.1400118c5
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor al, al
jmp 0x140019c11
mov rcx, qword [rbp + 0x6c8]
call fcn.1400111bd
lea rax, [rax + rax + 2]
mov qword [rbp + 0x678], rax
mov rcx, qword [rbp + 0x6c8]
call fcn.14001135c
mov qword [rsp + 0x20], 0
mov rcx, qword [rbp + 0x678]
mov r9, rcx
mov r8, rax
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140019894
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x408]
call fcn.1400112ee
mov qword [rbp + 0x678], rax
mov rax, qword [rbp + 0x678]
mov qword [rbp + 0x680], rax
mov r8, qword [rbp + 0x680]
lea rdx, str.Failed_to_write_memory_in_remote_process._Error:
lea rcx, [rbp + 0x448]
call fcn.14001123a
mov qword [rbp + 0x688], rax
mov rax, qword [rbp + 0x688]
mov qword [rbp + 0x690], rax
mov rcx, qword [rbp + 0x690]
call fcn.1400114ab
nop
lea rcx, [rbp + 0x448]
call fcn.1400118c5
nop
lea rcx, [rbp + 0x408]
call fcn.1400118c5
nop
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor al, al
jmp 0x140019c11
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x140019959
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x488]
call fcn.1400112ee
mov qword [rbp + 0x678], rax
mov rax, qword [rbp + 0x678]
mov qword [rbp + 0x680], rax
mov r8, qword [rbp + 0x680]
lea rdx, str.Failed_to_get_handle_of_kernel32.dll._Error:
lea rcx, [rbp + 0x4c8]
call fcn.14001123a
mov qword [rbp + 0x688], rax
mov rax, qword [rbp + 0x688]
mov qword [rbp + 0x690], rax
mov rcx, qword [rbp + 0x690]
call fcn.1400114ab
nop
lea rcx, [rbp + 0x4c8]
call fcn.1400118c5
nop
lea rcx, [rbp + 0x488]
call fcn.1400118c5
nop
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor al, al
jmp 0x140019c11
lea rdx, str.LoadLibraryW
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x140019a22
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x508]
call fcn.1400112ee
mov qword [rbp + 0x678], rax
mov rax, qword [rbp + 0x678]
mov qword [rbp + 0x680], rax
mov r8, qword [rbp + 0x680]
lea rdx, str.Failed_to_get_address_of_LoadLibraryW._Error:
lea rcx, [rbp + 0x548]
call fcn.14001123a
mov qword [rbp + 0x688], rax
mov rax, qword [rbp + 0x688]
mov qword [rbp + 0x690], rax
mov rcx, qword [rbp + 0x690]
call fcn.1400114ab
nop
lea rcx, [rbp + 0x548]
call fcn.1400118c5
nop
lea rcx, [rbp + 0x508]
call fcn.1400118c5
nop
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor al, al
jmp 0x140019c11
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x68]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jne 0x140019b0d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x588]
call fcn.1400112ee
mov qword [rbp + 0x678], rax
mov rax, qword [rbp + 0x678]
mov qword [rbp + 0x680], rax
mov r8, qword [rbp + 0x680]
lea rdx, str.Failed_to_create_remote_thread._Error:
lea rcx, [rbp + 0x5c8]
call fcn.14001123a
mov qword [rbp + 0x688], rax
mov rax, qword [rbp + 0x688]
mov qword [rbp + 0x690], rax
mov rcx, qword [rbp + 0x690]
call fcn.1400114ab
nop
lea rcx, [rbp + 0x5c8]
call fcn.1400118c5
nop
lea rcx, [rbp + 0x588]
call fcn.1400118c5
nop
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor al, al
jmp 0x140019c11
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rbp + 0xa4], eax
cmp dword [rbp + 0xa4], 0
je 0x140019bad
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x608]
call fcn.1400112ee
mov qword [rbp + 0x678], rax
mov rax, qword [rbp + 0x678]
mov qword [rbp + 0x680], rax
mov r8, qword [rbp + 0x680]
lea rdx, str.Failed_to_wait_for_remote_thread._Error:
lea rcx, [rbp + 0x648]
call fcn.14001123a
mov qword [rbp + 0x688], rax
mov rax, qword [rbp + 0x688]
mov qword [rbp + 0x690], rax
mov rcx, qword [rbp + 0x690]
call fcn.1400114ab
nop
lea rcx, [rbp + 0x648]
call fcn.1400118c5
nop
lea rcx, [rbp + 0x608]
call fcn.1400118c5
nop
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
nop
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp dword [rbp + 0xa4], 0
jne 0x140019c0f
lea rdx, str.Successfully_injected_DLL.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140011537
lea rdx, [0x1400114d8]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
mov al, 1
jmp 0x140019c11
xor al, al
lea rsp, [rbp + 0x6a8]
pop rdi
pop rbp
ret