Function at 0x1400038f0
Capabilities:
Create thread
Resume thread

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0x90
mov qword [rbp + 0x3f], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rdi
mov rax, qword [0x14000a008]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, qword [rax + 8]
mov rax, qword [rbx + 8]
xor edi, edi
mov qword [r11 - 0x68], rdi
mov dword [rsp + 0x28], 4
mov qword [r11 - 0x78], rcx
mov r9, qword [rax + 8]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rbx + 0x20], rax
test rax, rax
jne 0x1400039fa
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400039b7
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1400039b3
call fcn.140002e10
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 7], eax
mov qword [rbp + 0xf], rbx
movaps xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp + 7], xmm0
lea r8, str.remote_process:closeHandle
lea rdx, [rbp + 7]
lea rcx, [rbp + 0x17]
call fcn.140003320
lea rdx, [0x140008548]
lea rcx, [rbp + 0x17]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov qword [rbx + 0x18], rdi
call fcn.140002e10
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 7], eax
mov qword [rbp + 0xf], rbx
movaps xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp + 7], xmm0
lea r8, str.remote_process:startRemoteThread:CreateRemoteThread
lea rdx, [rbp + 7]
lea rcx, [rbp + 0x17]
call fcn.140003320
lea rdx, [0x140008548]
lea rcx, [rbp + 0x17]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x140003b03
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140003a66
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x140003a62
call fcn.140002e10
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 7], eax
mov qword [rbp + 0xf], rbx
movaps xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp + 7], xmm0
lea r8, str.remote_process:closeHandle
lea rdx, [rbp + 7]
lea rcx, [rbp + 0x17]
call fcn.140003320
lea rdx, [0x140008548]
lea rcx, [rbp + 0x17]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov qword [rbx + 0x18], rdi
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140003ac0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x140003abc
call fcn.140002e10
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 7], eax
mov qword [rbp + 0xf], rbx
movaps xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp + 7], xmm0
lea r8, str.remote_process:closeRemoteThread
lea rdx, [rbp + 7]
lea rcx, [rbp + 0x17]
call fcn.140003320
lea rdx, [0x140008548]
lea rcx, [rbp + 0x17]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov qword [rbx + 0x20], rdi
call fcn.140002e10
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 7], eax
mov qword [rbp + 0xf], rbx
movaps xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp + 7], xmm0
lea r8, str.remote_process:startRemoteThread:ResumeThread
lea rdx, [rbp + 7]
lea rcx, [rbp + 0x17]
call fcn.140003320
lea rdx, [0x140008548]
lea rcx, [rbp + 0x17]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
or edx, 0xffffffff
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140003c0f
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140003b72
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x140003b6e
call fcn.140002e10
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 7], eax
mov qword [rbp + 0xf], rbx
movaps xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp + 7], xmm0
lea r8, str.remote_process:closeHandle
lea rdx, [rbp + 7]
lea rcx, [rbp + 0x17]
call fcn.140003320
lea rdx, [0x140008548]
lea rcx, [rbp + 0x17]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov qword [rbx + 0x18], rdi
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140003bcc
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x140003bc8
call fcn.140002e10
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 7], eax
mov qword [rbp + 0xf], rbx
movaps xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp + 7], xmm0
lea r8, str.remote_process:closeRemoteThread
lea rdx, [rbp + 7]
lea rcx, [rbp + 0x17]
call fcn.140003320
lea rdx, [0x140008548]
lea rcx, [rbp + 0x17]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov qword [rbx + 0x20], rdi
call fcn.140002e10
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 7], eax
mov qword [rbp + 0xf], rbx
movaps xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp + 7], xmm0
lea r8, str.remote_process:startRemoteThread:WaitForSingleObject
lea rdx, [rbp + 7]
lea rcx, [rbp + 0x17]
call fcn.140003320
lea rdx, [0x140008548]
lea rcx, [rbp + 0x17]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov dword [rbp + 0x47], edi
lea rdx, [rbp + 0x47]
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov rcx, rbx
test eax, eax
jne 0x140003c77
call fcn.140003d30
mov rcx, rbx
call fcn.140003cb0
call fcn.140002e10
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 7], eax
mov qword [rbp + 0xf], rbx
movaps xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp + 7], xmm0
lea r8, str.remote_process:startRemoteThread:GetExitCodeThread
lea rdx, [rbp + 7]
lea rcx, [rbp + 0x17]
call fcn.140003320
lea rdx, [0x140008548]
lea rcx, [rbp + 0x17]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov dword [rbp + 0x47], 0xc000013a
call fcn.140003d30
mov rcx, rbx
call fcn.140003cb0
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140003dc0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret