Function at 0x1400b7cb0
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x12d0]
mov eax, 0x13d0
call fcn.1400ffb20
sub rsp, rax
xor r13d, r13d
xor r12b, r12b
xor bl, bl
mov dword [rsp + 0x58], r12d
xor dil, dil
mov byte [rsp + 0x50], r13b
mov rsi, r8
mov r15, rcx
mov r14d, r13d
test rdx, rdx
jne 0x1400b7ddd
mov rcx, qword [0x14015b300]
test rcx, rcx
jne 0x1400b7d79
test r8, r8
je 0x1400b7d3b
mov r8, qword [r8]
lea rcx, [rbp + 0x1318]
mov edx, 0x410
call fcn.1400b85f0
mov r14d, eax
test eax, eax
jns 0x1400b7dd8
jmp 0x1400b8221
mov r9d, 0x30
mov qword [rsp + 0x20], r13
lea r8, [rbp + 0x310]
xor edx, edx
mov rcx, r15
call qword [sym.imp.ntdll.dll_NtQueryInformationThread]
mov r14d, eax
test eax, eax
js 0x1400b7dcf
mov r8, qword [rbp + 0x320]
lea rcx, [rbp + 0x1318]
mov edx, 0x410
call fcn.1400b85f0
jmp 0x1400b7dcc
mov dword [rsp + 0x48], r13d
lea rax, [rbp + 0x1318]
mov qword [rsp + 0x40], r13
xor r9d, r9d
mov qword [rbp - 0x60], rax
xor r8d, r8d
mov dword [rsp + 0x38], 0x18
lea rax, [rbp - 0x70]
mov qword [rsp + 0x30], rax
xor edx, edx
lea rax, [rbp + 0x160]
mov dword [rsp + 0x28], 0x99992197
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x70], r15
mov dword [rbp - 0x68], 0x410
call qword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
mov r14d, eax
test r14d, r14d
js 0x1400b821e
mov byte [rsp + 0x50], 1
mov edx, 1
test rsi, rsi
je 0x1400b7e09
mov rax, qword gs:[0x30]
movzx ebx, bl
mov rax, qword [rax + 0x48]
cmp qword [rsi + 8], rax
cmove ebx, edx
cmp qword [rsi], 4
jne 0x1400b7e16
movzx edi, dl
jmp 0x1400b7e4f
cmp r15, 0xfffffffffffffffe
jne 0x1400b80cb
movzx ebx, dl
mov r9d, 8
mov qword [rsp + 0x20], r13
lea r8, [rsp + 0x60]
mov rcx, r15
lea edx, [r9 + 1]
call qword [sym.imp.ntdll.dll_NtQueryInformationThread]
mov edx, 1
test eax, eax
js 0x1400b7e4f
mov rax, qword [0x14015dea8]
cmp qword [rsp + 0x60], rax
movzx edi, dil
cmova edi, edx
test bl, bl
jne 0x1400b7e77
test dil, dil
jne 0x1400b7e77
xor edx, edx
mov rcx, r15
call qword [sym.imp.ntdll.dll_NtSuspendThread]
movzx r12d, r12b
mov edx, 1
test eax, eax
cmovns r12d, edx
mov dword [rsp + 0x58], r12d
mov edi, dword [rbp + 0x1330]
mov r12, qword [rbp + 0x1340]
mov r13, qword [rbp + 0x1338]
test dil, 0x10
je 0x1400b7f76
mov rcx, qword [0x14015b300]
test rcx, rcx
je 0x1400b7f76
mov dword [rsp + 0x48], 0
lea rax, [rbp + 0xae0]
mov qword [rsp + 0x78], rax
xor r9d, r9d
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x54]
mov qword [rbp - 0x80], rax
xor r8d, r8d
mov dword [rsp + 0x38], 0x28
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x170]
mov dword [rsp + 0x70], edx
xor edx, edx
mov dword [rsp + 0x28], 0x999921ab
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x68], r15
mov dword [rsp + 0x74], 0xfe
mov qword [rbp - 0x78], 0
call qword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
test eax, eax
js 0x1400b7f76
xor edx, edx
lea rcx, [rbp + 0x2c0]
lea r8d, [rdx + 0x50]
call fcn.1400e43c0
xor ebx, ebx
cmp dword [rsp + 0x54], ebx
jbe 0x1400b7f76
nop word [rax + rax]
mov rcx, qword [rbp + rbx*8 + 0xae0]
mov rdx, r12
mov qword [rbp + 0x2c0], rcx
lea rcx, [rbp + 0x2c0]
mov dword [rbp + 0x308], 4
call r13
test al, al
je 0x1400b81f8
inc ebx
cmp ebx, dword [rsp + 0x54]
jb 0x1400b7f40
test dil, 2
je 0x1400b823c
lea rdx, [rbp + 0x610]
mov dword [rbp + 0x640], 0x10001f
mov rcx, r15
call qword [sym.imp.ntdll.dll_NtGetContextThread]
mov r14d, eax
test eax, eax
js 0x1400b823c
xor edx, edx
lea rcx, [rbp + 0x1b0]
mov r8d, 0x108
call fcn.1400e43c0
mov rax, qword [rbp + 0x708]
mov rsi, qword [rbp + 0x1328]
mov qword [rbp + 0x1b0], rax
mov rax, qword [rbp + 0x6a8]
mov qword [rbp + 0x1e0], rax
mov rax, qword [rbp + 0x6b0]
mov qword [rbp + 0x1d0], rax
mov dword [rbp + 0x1bc], 3
mov dword [rbp + 0x1ec], 3
mov dword [rbp + 0x1dc], 3
nop dword [rax + rax]
mov rbx, qword [rbp + 0x1318]
mov rcx, rsi
call fcn.1400b5f80
cmp qword [0x14015e040], 0
je 0x1400b823c
lea rcx, [0x14015b218]
call sym.ProcessJacker.exe_PhfAcquireFastLockExclusive
xor eax, eax
lea rcx, [0x1400b7930]
mov qword [rsp + 0x40], rax
lea r9, [rbp + 0x1b0]
mov qword [rsp + 0x38], rcx
mov r8, r15
lea rcx, [0x1400b7a40]
mov rdx, rbx
mov qword [rsp + 0x30], rcx
mov ecx, 0x8664
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x610]
mov qword [rsp + 0x20], rax
call qword [0x14015e040]
mov ebx, eax
nop dword [rax]
nop word [rax + rax]
mov edx, dword [0x14015b218]
mov eax, edx
test edx, 0xffc00000
je 0x1400b8125
lea ecx, [rdx - 0x3fffff]
lock cmpxchg dword [0x14015b218], ecx
cmp eax, edx
jne 0x1400b8147
mov rcx, qword [0x14015b220]
mov edx, 1
jmp 0x1400b815d
mov r9d, 0x30
mov qword [rsp + 0x20], r13
lea r8, [rbp + 0x180]
xor edx, edx
mov rcx, r15
call qword [sym.imp.ntdll.dll_NtQueryInformationThread]
test eax, eax
js 0x1400b7e16
mov rax, qword gs:[0x30]
mov edx, 1
movzx ebx, bl
mov rax, qword [rax + 0x48]
cmp qword [rbp + 0x198], rax
cmove ebx, edx
cmp qword [rbp + 0x190], 4
jne 0x1400b7e16
movzx edi, dl
jmp 0x1400b7e4f
mov r9d, edx
mov ecx, edx
shr r9d, 0xc
and r9d, 0x3ff
and ecx, 0xffc00ffe
lock cmpxchg dword [0x14015b218], ecx
cmp eax, edx
je 0x1400b814e
pause
jmp 0x1400b8090
test r9d, r9d
je 0x1400b8166
mov rcx, qword [0x14015b228]
mov edx, r9d
xor r8d, r8d
call qword [sym.imp.ntdll.dll_NtReleaseSemaphore]
test bl, bl
je 0x1400b823c
mov rax, qword [rbp + 0x1b0]
test rax, rax
je 0x1400b823c
cmp rax, 0xffffffffffffffff
je 0x1400b823c
cmp qword [rbp + 0x200], 0
mov ecx, 0x102
movups xmm0, xmmword [rbp + 0x208]
mov qword [rbp], rax
mov rdx, r12
mov rax, qword [rbp + 0x1c0]
movups xmm1, xmmword [rbp + 0x218]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x1d0]
mov qword [rbp + 0x10], rax
mov rax, qword [rbp + 0x1e0]
mov qword [rbp + 0x18], rax
mov rax, qword [rbp + 0x1f0]
mov qword [rbp + 0x20], rax
mov eax, 2
cmovne eax, ecx
lea rcx, [rbp]
mov dword [rbp + 0x48], eax
movups xmmword [rbp + 0x28], xmm0
movups xmmword [rbp + 0x38], xmm1
call r13
test al, al
jne 0x1400b8010
cmp byte [rsp + 0x58], 0
je 0x1400b820a
xor edx, edx
mov rcx, r15
call qword [sym.imp.ntdll.dll_NtResumeThread]
cmp byte [rsp + 0x50], 0
je 0x1400b821e
mov rcx, qword [rbp + 0x1318]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, r14d
mov rbx, qword [rsp + 0x1410]
add rsp, 0x13d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test dil, 1
je 0x1400b81f8
mov r9d, 0x2cc
mov dword [rbp + 0x340], 0x1003f
lea r8, [rbp + 0x340]
mov qword [rsp + 0x20], 0
mov edx, 0x1d
mov rcx, r15
call qword [sym.imp.ntdll.dll_NtQueryInformationThread]
mov r14d, eax
test eax, eax
js 0x1400b81f8
xor edx, edx
lea rcx, [rbp + 0x50]
mov r8d, 0x108
call fcn.1400e43c0
mov eax, dword [rbp + 0x3f8]
mov qword [rbp + 0x50], rax
mov eax, dword [rbp + 0x404]
mov qword [rbp + 0x80], rax
mov eax, dword [rbp + 0x3f4]
mov qword [rbp + 0x70], rax
mov dword [rbp + 0x5c], 3
mov dword [rbp + 0x8c], 3
mov dword [rbp + 0x7c], 3
mov rcx, qword [rbp + 0x1328]
mov rsi, qword [rbp + 0x1318]
call fcn.1400b5f80
cmp qword [0x14015e040], 0
je 0x1400b81f8
mov rdi, qword [0x14015e018]
lea rcx, [0x14015b218]
mov rbx, qword [0x14015e080]
call sym.ProcessJacker.exe_PhfAcquireFastLockExclusive
xor eax, eax
lea r9, [rbp + 0x50]
mov qword [rsp + 0x40], rax
mov r8, r15
mov qword [rsp + 0x38], rbx
mov rdx, rsi
mov qword [rsp + 0x30], rdi
mov ecx, 0x14c
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x340]
mov qword [rsp + 0x20], rax
call qword [0x14015e040]
mov ebx, eax
nop word [rax + rax]
mov ecx, dword [0x14015b218]
mov eax, ecx
test ecx, 0xffc00000
je 0x1400b837b
lea edx, [rcx - 0x3fffff]
lock cmpxchg dword [0x14015b218], edx
cmp eax, ecx
jne 0x1400b839d
mov rcx, qword [0x14015b220]
mov edi, 1
mov edx, edi
xor r8d, r8d
call qword [sym.imp.ntdll.dll_NtReleaseSemaphore]
jmp 0x1400b83be
mov r9d, ecx
mov edx, ecx
shr r9d, 0xc
and r9d, 0x3ff
and edx, 0xffc00ffe
lock cmpxchg dword [0x14015b218], edx
cmp eax, ecx
je 0x1400b83a1
pause
jmp 0x1400b8340
test r9d, r9d
je 0x1400b83b9
mov rcx, qword [0x14015b228]
xor r8d, r8d
mov edx, r9d
call qword [sym.imp.ntdll.dll_NtReleaseSemaphore]
mov edi, 1
test bl, bl
je 0x1400b81f8
mov rax, qword [rbp + 0x50]
test rax, rax
je 0x1400b81f8
cmp rax, 0xffffffffffffffff
je 0x1400b81f8
cmp qword [rbp + 0xa0], 0
mov ecx, 0x101
movups xmm0, xmmword [rbp + 0xa8]
mov qword [rbp - 0x50], rax
mov rdx, r12
mov rax, qword [rbp + 0x60]
movups xmm1, xmmword [rbp + 0xb8]
mov qword [rbp - 0x48], rax
mov rax, qword [rbp + 0x70]
mov qword [rbp - 0x40], rax
mov rax, qword [rbp + 0x80]
mov qword [rbp - 0x38], rax
mov rax, qword [rbp + 0x90]
mov qword [rbp - 0x30], rax
mov eax, edi
cmovne eax, ecx
lea rcx, [rbp - 0x50]
mov dword [rbp - 8], eax
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm1
call r13
test al, al
je 0x1400b81f8
mov eax, dword [rbp - 0x50]
mov dword [rbp + 0x3f8], eax
mov qword [rbp + 0x50], rax
mov eax, dword [rbp - 0x40]
mov dword [rbp + 0x3f4], eax
mov qword [rbp + 0x70], rax
mov eax, dword [rbp - 0x38]
mov dword [rbp + 0x404], eax
mov qword [rbp + 0x80], rax
jmp 0x1400b82c1