Function at 0x1400107e0
Capabilities:
Suspend thread

Disassembly:
mov r11, rsp
push rbp
push rsi
push r12
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x1402bb040]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r14, rdx
mov byte [rsp + 0x30], 0
xor edx, edx
mov r12d, r8d
mov rsi, rcx
mov bpl, 1
mov r15d, edx
test r8d, r8d
je 0x140010c25
mov qword [r11 + 0x18], rbx
mov qword [r11 - 0x30], rdi
mov qword [r11 - 0x38], r13
lea r13, [0x14023c43c]
nop dword [rax]
mov rax, qword [r14]
lea r9, [rsp + 0x38]
mov edi, dword [0x1402c8fac]
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 0x1400108b3
cmp edi, 5
jne 0x1400108b3
lea r8, [rsp + 0x38]
mov edx, 2
lea rcx, [rsp + 0x78]
call fcn.1401792c0
mov ebx, eax
test ebx, ebx
js 0x1400108db
mov rcx, qword ds:[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 0x140010bd1
xor bpl, bpl
cmp byte [rsp + 0x30], bpl
jne 0x140010be9
lfence
mov rax, qword [r14]
lea rcx, str.Unable_to_suspend_thread__lu
mov edx, dword [rax]
call fcn.140001a60
lea rcx, [rsp + 0x30]
mov r8d, ebx
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x31]
mov rcx, rsi
mov rdx, qword [rax + 8]
call fcn.140001ae0
nop dword [rax]
test al, al
je 0x140010a99
cmp byte [rsp + 0x31], bpl
je 0x140010a8f
mov rcx, qword [r14]
xor r8d, r8d
mov edx, 2
mov rcx, qword [rcx]
call fcn.1400a6540
mov ebx, eax
test eax, eax
js 0x140010959
mov bpl, 1
call sym.SystemInformer.exe_Ordinal_1190
jmp 0x140010bd1
mov rax, qword [r14]
lea rdx, str.suspend
lea rcx, str.Unable_to__s_thread__lu
mov r8d, dword [rax]
call fcn.140001a60
mov rdi, qword [rax + 8]
cmp ebx, 0xc0000022
je 0x1400109ad
nop
cmp ebx, 0xc0000005
je 0x1400109ad
mov eax, ebx
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x14001099b
movzx eax, bx
jmp 0x1400109b8
mov eax, ebx
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x1400109bc
mov eax, ebx
jmp 0x1400109b8
lfence
mov ecx, ebx
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x1400109c8
lfence
mov ecx, ebx
call sym.SystemInformer.exe_Ordinal_1660
jmp 0x1400109d2
lfence
mov ecx, eax
call sym.SystemInformer.exe_Ordinal_1670
mov rbx, rax
mov rcx, rsi
mov r8d, 0xfffe
test rdi, rdi
je 0x1400109ff
test rax, rax
je 0x1400109f1
mov edx, 0x21
jmp 0x140010a11
mov qword [rsp + 0x28], rdi
lea r9, [0x14023aad8]
jmp 0x140010a71
nop
test rbx, rbx
je 0x140010a5e
mov edx, 9
lea rdi, [0x14023aad8]
mov r10d, 8
mov rax, rbx
mov r9, r13
lfence
mov rax, qword [r10 + rbx]
mov r9, rdi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
call sym.SystemInformer.exe_Ordinal_1699
lfence
lea rcx, [rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140010a85
lfence
call fcn.140143da0
call sym.SystemInformer.exe_Ordinal_1190
jmp 0x140010bd1
lea rax, [0x14023aad8]
mov qword [rsp + 0x28], rax
lea r9, str.Unable_to_perform_the_operation.
mov edx, 9
mov qword [rsp + 0x20], r13
call sym.SystemInformer.exe_Ordinal_1699
call sym.SystemInformer.exe_Ordinal_1190
jmp 0x140010bd1
mov byte [rsp + 0x30], 1
jmp 0x140010bd1
nop dword [rax]
cmp byte [rsp + 0x30], bpl
jne 0x140010be9
mov rax, qword ds:[r14]
lea rdx, str.suspend
lea rcx, str.Unable_to__s_thread__lu
mov r8d, dword [rax]
call fcn.140001a60
mov rdi, qword [rax + 8]
cmp ebx, 0xc0000022
je 0x140010afe
cmp ebx, 0xc0000005
je 0x140010afe
mov eax, ebx
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x140010aec
movzx eax, bx
jmp 0x140010b09
mov eax, ebx
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x140010b0d
mov eax, ebx
jmp 0x140010b09
lfence
mov ecx, ebx
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x140010b19
lfence
mov ecx, ebx
call sym.SystemInformer.exe_Ordinal_1660
jmp 0x140010b25
lfence
mov ecx, eax
call sym.SystemInformer.exe_Ordinal_1670
mov rbx, rax
mov rcx, rsi
mov r8d, 0xfffe
test rdi, rdi
je 0x140010b50
test rax, rax
je 0x140010b42
mov edx, 0x21
jmp 0x140010b61
mov qword [rsp + 0x28], rdi
lea r9, [0x14023aad8]
jmp 0x140010bbb
test rbx, rbx
je 0x140010ba8
mov edx, 9
lea rdi, [0x14023aad8]
mov r10d, 8
mov rax, rbx
mov r9, r13
lfence
mov rax, qword [r10 + rbx]
mov r9, rdi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
call sym.SystemInformer.exe_Ordinal_1699
mov edi, eax
lfence
lea rcx, [rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140010bcc
lfence
call fcn.140143da0
jmp 0x140010bcc
lea rax, [0x14023aad8]
mov qword [rsp + 0x28], rax
lea r9, str.Unable_to_perform_the_operation.
mov edx, 9
mov qword [rsp + 0x20], r13
call sym.SystemInformer.exe_Ordinal_1699
mov edi, eax
cmp edi, 1
jne 0x140010be9
inc r15d
add r14, 8
mov edx, 0
cmp r15d, r12d
jb 0x140010840
mov rdi, qword [rsp + 0x98]
movzx eax, bpl
mov rbx, qword [rsp + 0xe0]
mov r13, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401e5e40
add rsp, 0xa0
pop r15
pop r14
pop r12
pop rsi
pop rbp
ret
movzx eax, bpl
jmp 0x140010c05