Function at 0x140010d60
Capabilities:
Resume thread

Disassembly:
mov r11, rsp
push rbp
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r14, rdx
xor r12b, r12b
xor edx, edx
mov r13d, r8d
mov rsi, rcx
mov bpl, 1
mov r15d, edx
test r8d, r8d
je 0x14001119f
mov qword [r11 + 0x18], rbx
mov qword [r11 - 0x38], rdi
mov rax, qword ds:[r14]
lea r9, [rsp + 0x38]
mov edi, dword [0x1402cddd8]
lea r8, [rsp + 0x48]
mov qword [rsp + 0x38], rdx
xorps xmm0, xmm0
mov qword [rsp + 0x50], rdx
mov rcx, qword [rax]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x78]
mov dword [rsp + 0x60], edx
mov qword [rsp + 0x58], rdx
mov edx, 2
mov dword [rsp + 0x48], 0x30
movdqu xmmword [rsp + 0x68], xmm0
call qword [sym.imp.ntdll.dll_NtOpenThread]
mov ebx, eax
cmp eax, 0xc0000022
jne 0x140010e2a
cmp edi, 5
jne 0x140010e2a
lea r8, [rsp + 0x38]
mov edx, 2
lea rcx, [rsp + 0x78]
call fcn.140177c60
mov ebx, eax
test ebx, ebx
js 0x140010e50
mov rcx, qword [rsp + 0x78]
xor edx, edx
call qword [sym.imp.ntdll.dll_NtResumeThread]
mov rcx, qword [rsp + 0x78]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
jns 0x14001114c
xor bpl, bpl
test r12b, r12b
jne 0x140011017
lfence
mov rax, qword [r14]
lea rcx, str.Unable_to_resume_thread__lu
mov edx, dword [rax]
call fcn.140001a60
lea r9, ds:[rsp + 0x30]
mov r8d, ebx
mov rcx, rsi
mov rdx, qword [rax + 8]
call fcn.140001ae0
test al, al
je 0x140011017
cmp byte [rsp + 0x30], bpl
je 0x14001100f
mov rcx, qword [r14]
xor r8d, r8d
mov edx, 3
mov rcx, qword [rcx]
call fcn.1400a5420
mov ebx, eax
test eax, eax
js 0x140010ebe
mov bpl, 1
call sym.SystemInformer.exe_PhUiDisconnectFromPhSvc
jmp 0x14001114c
mov rax, qword [r14]
lea rdx, str.resume
lea rcx, str.Unable_to__s_thread__lu
mov r8d, dword [rax]
call fcn.140001a60
mov rdi, qword ds:[rax + 8]
cmp ebx, 0xc0000022
je 0x140010f15
cmp ebx, 0xc0000005
je 0x140010f15
mov eax, ebx
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x140010f03
movzx eax, bx
jmp 0x140010f26
mov eax, ebx
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x140010f2a
mov eax, ebx
jmp 0x140010f26
lfence
mov ecx, ebx
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x140010f36
lfence
mov ecx, ebx
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x140010f45
lfence
mov ecx, eax
call sym.SystemInformer.exe_PhGetWin32Message
mov rbx, rax
mov rcx, rsi
mov r8d, 0xfffe
test rdi, rdi
je 0x140010f73
test rax, rax
je 0x140010f62
mov edx, 0x21
jmp 0x140010f84
mov qword [rsp + 0x28], rdi
lea r9, [0x1402386c8]
jmp 0x140010fea
test rbx, rbx
je 0x140010fd7
mov edx, 9
lea rdi, [0x1402386c8]
mov r10d, 8
lea r9, [0x14023a10c]
mov rax, rbx
lfence
mov rax, qword [r10 + rbx]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r9
mov r9, rdi
call sym.SystemInformer.exe_PhShowMessage2
lfence
lea rcx, [rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140011005
lfence
call fcn.140141ea0
call sym.SystemInformer.exe_PhUiDisconnectFromPhSvc
jmp 0x14001114c
lea rax, [0x1402386c8]
mov qword [rsp + 0x28], rax
lea r9, str.Unable_to_perform_the_operation.
lea rax, [0x14023a10c]
mov edx, 9
mov qword [rsp + 0x20], rax
call sym.SystemInformer.exe_PhShowMessage2
call sym.SystemInformer.exe_PhUiDisconnectFromPhSvc
jmp 0x14001114c
mov r12b, 1
jmp 0x14001114c
mov rax, qword [r14]
lea rdx, str.resume
lea rcx, str.Unable_to__s_thread__lu
mov r8d, dword [rax]
call fcn.140001a60
mov rdi, qword [rax + 8]
cmp ebx, 0xc0000022
je 0x14001106d
nop dword [rax]
cmp ebx, 0xc0000005
je 0x14001106d
mov eax, ebx
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x14001105b
movzx eax, bx
jmp 0x140011078
mov eax, ebx
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x14001107c
mov eax, ebx
jmp 0x140011078
lfence
mov ecx, ebx
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x140011088
lfence
mov ecx, ebx
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x140011092
lfence
mov ecx, eax
call sym.SystemInformer.exe_PhGetWin32Message
mov rbx, rax
mov rcx, rsi
mov r8d, 0xfffe
test rdi, rdi
je 0x1400110bf
test rax, rax
je 0x1400110b1
mov edx, 0x21
jmp 0x1400110d1
mov qword [rsp + 0x28], rdi
lea r9, [0x1402386c8]
jmp 0x14001112f
nop
test rbx, rbx
je 0x14001111c
mov edx, 9
lea rdi, [0x1402386c8]
mov r10d, 8
lea r9, [0x14023a10c]
mov rax, rbx
lfence
mov rax, qword [r10 + rbx]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r9
mov r9, rdi
call sym.SystemInformer.exe_PhShowMessage2
mov edi, eax
lfence
lea rcx, [rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140011147
lfence
call fcn.140141ea0
jmp 0x140011147
lea rax, [0x1402386c8]
mov qword [rsp + 0x28], rax
lea r9, str.Unable_to_perform_the_operation.
lea rax, [0x14023a10c]
mov edx, 9
mov qword [rsp + 0x20], rax
call sym.SystemInformer.exe_PhShowMessage2
mov edi, eax
cmp edi, 1
jne 0x140011169
inc r15d
add r14, 8
mov edx, 0
cmp r15d, r13d
jb 0x140010db1
mov rbx, qword [rsp + 0xe0]
movzx eax, bpl
mov rdi, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401e4a20
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret
movzx eax, bpl
jmp 0x14001117d