Function at 0x140009c60
Capabilities:
Resume thread

Disassembly:
push rbp
push rbx
push rsi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x100
mov rax, qword [0x140237008]
xor rax, rsp
mov qword [rbp + 0x17], rax
xor ebx, ebx
mov dword [rsp + 0x58], r8d
xor r12b, r12b
mov rsi, rdx
mov r13, rcx
mov r14b, 1
mov r15d, ebx
test r8d, r8d
je 0x140009ed8
mov qword [rsp + 0x150], rdi
mov rax, qword [rsi]
lea r9, [rbp - 0x79]
xorps xmm0, xmm0
mov qword [rbp - 0x79], rbx
lea r8, [rbp - 0x21]
mov dword [rbp - 0x21], 0x30
mov edx, 2
mov qword [rbp - 0x19], rbx
mov rcx, qword [rax]
mov qword [rbp - 0x71], rcx
lea rcx, [rbp + 0xf]
mov dword [rbp - 9], ebx
mov qword [rbp - 0x11], rbx
movdqu xmmword [rbp - 1], xmm0
call qword [sym.imp.ntdll.dll_NtOpenThread]
mov edi, eax
cmp eax, 0xc0000022
jne 0x140009d9b
cmp byte [0x140240e3f], 0
je 0x140009d9b
mov rcx, qword [0x140241b70]
lea rax, [rbp + 0xf]
mov qword [rbp - 0x69], rax
lea r8, [0x14011f940]
mov dword [rsp + 0x48], ebx
lea rax, [rbp - 0x79]
mov qword [rbp - 0x59], rax
xor r9d, r9d
mov qword [rsp + 0x40], rbx
lea rax, [0x14011fbf0]
mov qword [rbp - 0x39], rax
xor edx, edx
mov dword [rsp + 0x38], 4
lea rax, [rbp - 0x69]
mov qword [rbp - 0x31], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x49]
mov dword [rsp + 0x28], 0x9999200b
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x61], 2
mov dword [rbp - 0x51], ebx
mov dword [rsp + 0x54], 2
mov dword [rbp - 0x29], 0xc0000001
call qword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtTestAlert]
mov edi, dword [rbp - 0x29]
test ebx, ebx
cmovs edi, ebx
test edi, edi
js 0x140009dbf
mov rcx, qword [rbp + 0xf]
xor edx, edx
call qword [sym.imp.ntdll.dll_NtResumeThread]
mov rcx, qword [rbp + 0xf]
mov edi, eax
call qword [sym.imp.ntdll.dll_NtClose]
test edi, edi
jns 0x140009e8e
xor r14b, r14b
test r12b, r12b
jne 0x140009e5c
lfence
mov rax, qword [rsi]
lea rcx, str.Unable_to_resume_thread__lu
mov edx, dword [rax]
call fcn.140001720
lea r9, [rsp + 0x50]
mov r8d, edi
mov rcx, r13
mov rdx, qword [rax + 8]
call fcn.1400018e0
test al, al
je 0x140009e5c
cmp byte [rsp + 0x50], r14b
je 0x140009e57
mov rcx, qword [rsi]
xor r8d, r8d
mov rcx, qword [rcx]
lea edx, [r8 + 3]
call fcn.14007c460
mov ebx, eax
test eax, eax
js 0x140009e22
mov r14b, 1
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
nop
jmp 0x140009e8e
lfence
mov rax, qword [rsi]
lea rdx, str.resume
lea rcx, str.Unable_to__s_thread__lu
mov r8d, dword [rax]
call fcn.140001720
xor r9d, r9d
mov r8d, ebx
mov rcx, r13
mov rdx, qword [rax + 8]
call sym.ProcessHacker.exe_PhShowContinueStatus
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
jmp 0x140009e8e
mov r12b, 1
jmp 0x140009e8e
lfence
mov rax, qword [rsi]
lea rdx, str.resume
lea rcx, str.Unable_to__s_thread__lu
mov r8d, dword [rax]
call fcn.140001720
xor r9d, r9d
mov r8d, edi
mov rcx, r13
mov rdx, qword [rax + 8]
call sym.ProcessHacker.exe_PhShowContinueStatus
test al, al
je 0x140009eab
inc r15d
add rsi, 8
mov ebx, 0
cmp r15d, dword [rsp + 0x58]
jb 0x140009cb1
mov rdi, qword [rsp + 0x150]
movzx eax, r14b
mov rcx, qword ds:[rbp + 0x17]
xor rcx, rsp
call fcn.1401848a0
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret
movzx eax, r14b
jmp 0x140009eb7