Function at 0x1400060f0
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x520
mov rax, qword [0x140042140]
xor rax, rsp
mov qword [rsp + 0x510], rax
mov ebp, r8d
mov rdi, rdx
mov rsi, rcx
call fcn.1400068e0
mov ebx, eax
test eax, eax
jns 0x140006148
mov ecx, 2
call fcn.140028970
mov rcx, rax
lea rdx, str.failed_rebase_address_ret___d__n
mov r8d, ebx
call fcn.140007130
mov eax, ebx
jmp 0x14000633f
mov rdx, qword [rsi + 0x58]
lea r8, [rsp + 0x30]
mov rcx, qword [rdi]
mov r9d, 2
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rsi + 0x58]
lea r8, [0x140033c64]
mov rcx, qword [rdi]
mov r9d, 2
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [rsi + 0x58]
mov r8d, 2
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, 0x20
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rbx, qword [rdi + 8]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x4d0
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x70], 0x100001
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x140006316
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, 0x20
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rax, qword [rsi + 0x58]
cmp qword [rsp + 0x138], rax
jne 0x1400061be
cmp qword [rsi + 0x60], 0
jne 0x14000622b
call fcn.140006a20
mov rdx, rdi
mov rcx, rsi
call fcn.140006370
mov ebx, eax
test eax, eax
jns 0x14000625f
mov ecx, 2
call fcn.140028970
mov rcx, rax
lea rdx, str.failed_inject_DLL_ret___d__n
mov r8d, ebx
call fcn.140007130
mov eax, ebx
jmp 0x14000633f
mov rcx, qword [rsi + 0x38]
mov edx, 0x7530
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, str.failed_wait_signal_timeout__n
test eax, eax
lea rbx, str.success_wait_signal__n
cmovne rbx, rcx
mov ecx, 2
call fcn.140028970
mov rcx, rax
mov rdx, rbx
call fcn.140007130
cmp qword [rsi + 0x60], 0
jne 0x1400062a3
call fcn.140006a20
mov rcx, qword [rsi + 0x48]
test rcx, rcx
je 0x1400062b2
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rsi + 0x40]
test rcx, rcx
je 0x1400062c1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1400062d0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsi + 0x58]
lea r8, [rsp + 0x30]
mov rcx, qword [rdi]
mov r9d, 2
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [rsi + 0x58]
mov r8d, 2
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test ebp, ebp
jne 0x140006312
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
jmp 0x14000633f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 2
mov ebx, eax
call fcn.140028970
mov r8d, ebx
lea rdx, str.Failed_GetThreadContext_:__u_n
mov rcx, rax
call fcn.140007130
mov eax, 0xffffd8e8
mov rcx, qword [rsp + 0x510]
xor rcx, rsp
call fcn.140024ab0
mov rbx, qword [rsp + 0x550]
add rsp, 0x520
pop rdi
pop rsi
pop rbp
ret