Function at 0x14000ec80
Capabilities:
Suspend thread

Disassembly:
mov r11, rsp
push rbp
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x1402ba040]
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 0x14000f0bf
mov qword [r11 + 0x18], rbx
mov qword [r11 - 0x38], rdi
mov rax, qword ds:[r14]
lea r9, [rsp + 0x38]
mov edi, dword [0x1402c825c]
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 0x14000ed48
cmp edi, 5
jne 0x14000ed48
lea r8, [rsp + 0x38]
lea edx, [rdi - 3]
lea rcx, [rsp + 0x78]
call fcn.1401751c0
mov ebx, eax
test ebx, ebx
js 0x14000ed6e
mov rcx, qword [rsp + 0x78]
xor edx, edx
call qword [sym.imp.ntdll.dll_NtSuspendThread]
mov rcx, qword [rsp + 0x78]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
jns 0x14000f072
xor bpl, bpl
test r12b, r12b
jne 0x14000ef37
lfence
mov rax, qword [r14]
lea rcx, str.Unable_to_suspend_thread__lu
mov edx, dword [rax]
call fcn.140001a80
lea r9, ds:[rsp + 0x30]
mov r8d, ebx
mov rcx, rsi
mov rdx, qword [rax + 8]
call fcn.140001c40
test al, al
je 0x14000ef37
cmp byte [rsp + 0x30], bpl
je 0x14000ef2f
mov rcx, qword [r14]
xor r8d, r8d
mov rcx, qword [rcx]
lea edx, [r8 + 2]
call fcn.1400a3d00
mov ebx, eax
test eax, eax
js 0x14000eddd
mov bpl, 1
call sym.SystemInformer.exe_QiUiDisconnectFromPhSvc
jmp 0x14000f072
mov rax, qword [r14]
lea rdx, str.suspend
lea rcx, str.Unable_to__s_thread__lu
mov r8d, dword [rax]
call fcn.140001a80
mov rdi, qword ds:[rax + 8]
cmp ebx, 0xc0000022
je 0x14000ee35
cmp ebx, 0xc0000005
je 0x14000ee35
mov eax, ebx
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x14000ee23
movzx eax, bx
jmp 0x14000ee46
mov eax, ebx
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x14000ee4a
mov eax, ebx
jmp 0x14000ee46
lfence
mov ecx, ebx
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x14000ee56
lfence
mov ecx, ebx
call sym.SystemInformer.exe_QiGetNtMessage
jmp 0x14000ee65
lfence
mov ecx, eax
call sym.SystemInformer.exe_QiGetWin32Message
mov rbx, rax
mov rcx, rsi
mov r8d, 0xfffe
test rdi, rdi
je 0x14000ee93
test rax, rax
je 0x14000ee82
mov edx, 0x21
jmp 0x14000eea4
mov qword [rsp + 0x28], rdi
lea r9, [0x1402332cc]
jmp 0x14000ef0a
test rbx, rbx
je 0x14000eef7
mov edx, 9
lea rdi, [0x1402332cc]
mov r10d, 8
lea r9, [0x140236d98]
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_QiShowMessage2
lfence
lea rcx, [rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000ef25
lfence
call fcn.14013fb00
call sym.SystemInformer.exe_QiUiDisconnectFromPhSvc
jmp 0x14000f072
lea rax, [0x1402332cc]
mov qword [rsp + 0x28], rax
lea r9, str.Unable_to_perform_the_operation.
lea rax, [0x140236d98]
mov edx, 9
mov qword [rsp + 0x20], rax
call sym.SystemInformer.exe_QiShowMessage2
call sym.SystemInformer.exe_QiUiDisconnectFromPhSvc
jmp 0x14000f072
mov r12b, 1
jmp 0x14000f072
mov rax, qword [r14]
lea rdx, str.suspend
lea rcx, str.Unable_to__s_thread__lu
mov r8d, dword [rax]
call fcn.140001a80
mov rdi, qword [rax + 8]
cmp ebx, 0xc0000022
je 0x14000ef8d
nop dword [rax]
cmp ebx, 0xc0000005
je 0x14000ef8d
mov eax, ebx
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x14000ef7b
movzx eax, bx
jmp 0x14000ef98
mov eax, ebx
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x14000ef9c
mov eax, ebx
jmp 0x14000ef98
lfence
mov ecx, ebx
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x14000efa8
lfence
mov ecx, ebx
call sym.SystemInformer.exe_QiGetNtMessage
jmp 0x14000efb2
lfence
mov ecx, eax
call sym.SystemInformer.exe_QiGetWin32Message
mov rbx, rax
mov rcx, rsi
mov r8d, 0xfffe
test rdi, rdi
je 0x14000efe5
test rax, rax
je 0x14000efd1
mov edx, 0x21
jmp 0x14000eff6
mov qword ss:[rsp + 0x28], rdi
lea r9, [0x1402332cc]
jmp 0x14000f055
test rbx, rbx
je 0x14000f042
mov edx, 9
lea rdi, [0x1402332cc]
mov r10d, 8
lea r9, [0x140236d98]
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_QiShowMessage2
mov edi, eax
lfence
lea rcx, [rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000f06d
lfence
call fcn.14013fb00
nop
jmp 0x14000f06d
lea rax, [0x1402332cc]
mov qword [rsp + 0x28], rax
lea r9, str.Unable_to_perform_the_operation.
lea rax, [0x140236d98]
mov edx, 9
mov qword [rsp + 0x20], rax
call sym.SystemInformer.exe_QiShowMessage2
mov edi, eax
cmp edi, 1
jne 0x14000f089
inc r15d
add r14, 8
mov edx, 0
cmp r15d, r13d
jb 0x14000ecd1
mov rbx, qword [rsp + 0xe0]
movzx eax, bpl
mov rdi, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401e0100
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret
movzx eax, bpl
jmp 0x14000f09d