Function at 0x1400761a0
Capabilities:
Allocate or change rwx memory
Create process on windows
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x800]
sub rsp, 0x900
mov rax, qword [0x14025dcd8]
xor rax, rsp
mov qword [rbp + 0x7f0], rax
xor r14d, r14d
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
call fcn.140060f80
call fcn.140075310
mov ebx, eax
test eax, eax
jne 0x1400762f5
mov dword [rbp + 0x140], 0x187d0d62
mov dword [rbp + 0x144], 0x7676
mov qword [rbp + 0x148], 0x438
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0x140]
call fcn.140075bd0
mov dword [rbp + 0x150], 0x28462f62
mov dword [rbp + 0x154], 0x3d5c2e4d
mov dword [rbp + 0x158], 0x3a152f5b
mov dword [rbp + 0x15c], 0x1515
mov qword [rbp + 0x160], 0x6a2f2
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x150]
call fcn.140076040
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
mov dword [rsp + 0x70], 0x70
mov dword [rsp + 0x74], 0x40
lea rax, [rbp + 0x130]
mov qword [rbp - 0x80], rax
lea rax, [rbp + 0x170]
mov qword [rbp - 0x78], rax
mov dword [rbp - 0x60], 0xa
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x1400762ea
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.140075310
mov ebx, eax
test eax, eax
je 0x140076320
mov qword [rbp + 0x140], 0xfffffffffff0bdc0
lea rdx, [rbp + 0x140]
xor ecx, ecx
call qword [0x14025e0e8]
mov rsi, qword [0x14025e058]
mov eax, 0x5a4d
cmp word [rsi], ax
je 0x14007632a
mov eax, 1
jmp 0x140076a8e
movsxd rdi, dword [rsi + 0x3c]
add rdi, rsi
mov eax, 0x8664
cmp word [rdi + 4], ax
jne 0x140076a89
mov eax, 0x20b
cmp word [rdi + 0x18], ax
jne 0x140076a89
mov r8d, ebx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
xor edx, edx
mov r8d, 0x148
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbp], rcx
mov rcx, qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbp + 8], rcx
mov rcx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x10], rcx
mov byte [rbp - 0x20], 1
mov r8d, dword [rdi + 0x50]
add r8, 0x1148
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r9d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdx, rax
mov qword [rbp - 0x18], rax
mov eax, dword [rdi + 0x50]
add rax, rdx
mov qword [rbp - 0x10], rax
add rax, 0x148
mov qword [rbp - 8], rax
mov rax, rdx
sub rax, rsi
lea rcx, [0x140075920]
add rax, rcx
mov qword [rbp + 0x120], rax
test rdx, rdx
jne 0x1400763fb
lea eax, [rdx + 3]
jmp 0x140076a8e
mov r9d, dword [rdi + 0x50]
mov qword [rsp + 0x20], r14
mov r8, rsi
mov rcx, rbx
call fcn.14008fc9b
mov qword [rsp + 0x20], r14
mov r9d, 0x148
lea r8, [rbp - 0x20]
mov rdx, qword [rbp - 0x10]
mov rcx, rbx
call fcn.14008fc9b
mov qword [rsp + 0x20], r14
mov r9d, 0x1000
lea r8, [0x140075a10]
mov rdx, qword [rbp - 8]
mov rcx, rbx
call fcn.14008fc9b
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp - 8]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 1
call fcn.1400904d0
mov qword [rbp + 0x140], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x1400724c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140076aba
mov qword [rsp + 0x20], r14
mov r9d, 0x10
lea r8, [rsp + 0x48]
mov rdx, qword [rbp - 0x10]
mov rcx, rbx
call fcn.14008fc90
movzx eax, byte [rsp + 0x48]
test al, al
je 0x140076518
nop dword [rax]
cmp al, 1
ja 0x140076606
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x20], r14
mov r9d, 0x10
lea r8, [rsp + 0x48]
mov rdx, qword [rbp - 0x10]
mov rcx, rbx
call fcn.14008fc90
movzx eax, byte [rsp + 0x48]
test al, al
jne 0x1400764e0
lea rcx, str.Remote_process_ready_n
call fcn.14002dab0
mov ecx, 1
call fcn.1400904d0
mov qword [rbp + 0x140], rax
lea rcx, [rbp + 0x178]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x1400724f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x170], rax
test rax, rax
je 0x140076b62
cmp dword [rbp + 0x178], 0
je 0x140076b57
movaps xmm0, xmmword [rbp + 0x170]
movdqa xmmword [rbp + 0x130], xmm0
lea rcx, [rbp + 0x130]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x140076b57
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x170], xmm0
lea ecx, [rax + 1]
call fcn.1400904d0
mov qword [rbp + 0x140], rax
lea rcx, [rbp + 0x138]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x1400725a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x130], rax
test rax, rax
je 0x140076b45
lea rcx, [rbp + 0x130]
call fcn.1400752c0
nop
cmp dword [rbp + 0x138], 0
je 0x14007661e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
lea rcx, str.Error_occurred_n
call fcn.14002dab0
mov ecx, 0xa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x44], 3
mov ecx, 0x18
call fcn.1400904d0
test rax, rax
je 0x14007665d
lea rcx, [rsp + 0x40]
mov qword [rax], rcx
lea rcx, [0x14025d5ec]
mov qword [rax + 8], rcx
lea rcx, [0x14025d5f0]
mov qword [rax + 0x10], rcx
jmp 0x140076660
mov rax, r14
mov qword [rbp + 0x140], rax
lea rcx, [rbp + 0x138]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x1400726c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x130], rax
test rax, rax
je 0x140076b33
lea rcx, [rbp + 0x130]
call fcn.1400752c0
nop
cmp dword [rbp + 0x138], 0
je 0x1400766b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov ecx, 1
call fcn.1400904d0
mov qword [rbp + 0x140], rax
lea rcx, [rbp + 0x138]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x1400728b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x130], rax
test rax, rax
je 0x140076b21
lea rcx, [rbp + 0x130]
call fcn.1400752c0
nop
cmp dword [rbp + 0x138], 0
je 0x14007671c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov ecx, 1
call fcn.1400904d0
mov qword [rbp + 0x140], rax
lea rcx, [rbp + 0x138]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x1400729f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x130], rax
test rax, rax
je 0x140076b0f
lea rcx, [rbp + 0x130]
call fcn.1400752c0
nop
cmp dword [rbp + 0x138], 0
je 0x14007677f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov ecx, 0x18
call fcn.1400904d0
lea rdi, [0x14025d5fd]
test rax, rax
je 0x1400767ac
mov qword [rax], rdi
lea rcx, [rsp + 0x44]
mov qword [rax + 8], rcx
lea rcx, [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x1400767af
mov rax, r14
mov qword [rbp + 0x140], rax
lea rcx, [rbp + 0x158]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x140072ae0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x150], rax
test rax, rax
je 0x140076afd
lea rcx, [rbp + 0x150]
call fcn.1400752c0
nop
cmp dword [rbp + 0x158], 0
je 0x140076808
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov ecx, 0x18
call fcn.1400904d0
test rax, rax
je 0x14007682e
mov qword [rax], rdi
lea rcx, [rsp + 0x44]
mov qword [rax + 8], rcx
lea rcx, [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x140076831
mov rax, r14
mov qword [rbp + 0x140], rax
lea rcx, [rbp + 0x178]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x140072b10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x170], rax
test rax, rax
je 0x140076aeb
lea rcx, [rbp + 0x170]
call fcn.1400752c0
nop
cmp dword [rbp + 0x178], 0
je 0x14007688a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
cmp byte [0x14025d3d3], 0
je 0x140076a11
nop word [rax + rax]
mov dword [rbp + 0x190], 0x1000100
mov word [rbp + 0x194], 0
lea rcx, [rbp + 0x198]
cmp byte [0x14025d3d0], 0
je 0x140076913
call fcn.140074750
lea rcx, [rbp + 0x190]
lea rdx, [0x14025d3d0]
mov r8d, 0x660
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + 0x190], 0
mov qword [rsp + 0x20], r14
mov r9d, 0x660
lea r8, [rbp + 0x190]
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.14008fc9b
mov byte [0x14025d3d0], 0
jmp 0x1400769c4
call fcn.140074750
mov qword [rbp + 0x3d8], r14
xor eax, eax
mov word [rbp + 0x3e0], ax
mov byte [rbp + 0x3e2], al
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x3e8]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x5e8]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp + 0x7e8], 0
mov qword [rsp + 0x20], r14
mov r9d, 0x660
lea r8, [rbp + 0x190]
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.14008fc90
cmp byte [rbp + 0x190], 0
je 0x1400769c4
lea rcx, [0x14025d3d0]
lea rdx, [rbp + 0x190]
mov r8d, 0x660
call sub.VCRUNTIME140.dll_memcpy
mov byte [0x14025d3d0], 0
mov qword [rsp + 0x20], r14
mov r9d, 0x660
lea r8, [0x14025d3d0]
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.14008fc9b
mov rdx, qword [rsp + 0x50]
add rdx, 0x250
mov qword [rsp + 0x20], r14
mov r9d, 3
lea r8, [0x14025d620]
mov rcx, rbx
call fcn.14008fc90
mov qword [rbp + 0x140], 0xffffffffffffd8f0
lea rdx, [rbp + 0x140]
xor ecx, ecx
call qword [0x14025e0e8]
cmp byte [0x14025d3d3], 0
jne 0x1400768a0
lea rcx, str.Not_running._n
call fcn.14002dab0
mov ecx, Ordinal_101
call fcn.140075090
mov rcx, qword [0x14025e0e0]
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov r9d, 0xc000
xor r8d, r8d
mov rdx, qword [rbp - 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
lea rcx, str.Cleaned_up__n
call fcn.14002dab0
cmp dword [rsp + 0x68], 0
je 0x140076aca
call sub.MSVCP140.dll__Thrd_id
cmp dword [rsp + 0x68], eax
je 0x140076ad5
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp + 0x130], xmm0
xor edx, edx
lea rcx, [rbp + 0x130]
call sub.MSVCP140.dll__Thrd_join
test eax, eax
jne 0x140076ae0
jmp 0x140076a8e
mov eax, 2
mov rcx, qword [rbp + 0x7f0]
xor rcx, rsp
call fcn.14008fda0
lea r11, [rsp + 0x900]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov dword [rsp + 0x68], r14d
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 2
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rbp + 0x178], r14d
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rbp + 0x158], r14d
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rbp + 0x138], r14d
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rbp + 0x138], r14d
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rbp + 0x138], r14d
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rbp + 0x138], r14d
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rbp + 0x178], r14d
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3