Function at 0x141272910
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x80
movsxd rbp, edx
mov r14, rcx
xor r15d, r15d
mov rdi, qword [rcx + 8]
lea rbx, [rdi + 0x78]
mov byte [rsp + 0x38], r15b
mov qword [rsp + 0x30], rbx
mov r12d, 1
test rbx, rbx
je 0x141272965
xor eax, eax
lock cmpxchg qword [rbx], r12
je 0x141272960
mov rcx, rbx
call fcn.141207060
mov byte [rsp + 0x38], r12b
cmp byte [rdi + 0x86], 0
je 0x1412729cc
mov rax, r12
lock cmpxchg qword [rbx], r15
je 0x141272980
mov rcx, rbx
call fcn.141207560
mov byte [rsp + 0x38], 0
movabs rax, 0x7fffffffffffffff
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x4c], r12d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.141272ec0
xor eax, eax
lock cmpxchg qword [rbx], r12
je 0x1412729c7
mov rcx, rbx
call fcn.141207060
mov byte [rsp + 0x38], 1
cmp byte [rdi + 0x84], 0
jne 0x141272b84
mov rcx, qword [rdi + 0x50]
mov esi, 0xffffffff
test rcx, rcx
je 0x141272a37
mov rdx, qword [rcx + 0x60]
mov qword [rsp + 0x40], rdx
mov rax, qword [rcx + 0x68]
mov qword [rsp + 0x48], rax
mov rax, qword [rcx + 0x70]
mov qword [rsp + 0x50], rax
test rdx, rdx
je 0x141272a0a
lock inc dword [rdx]
lea rdx, [rsp + 0x40]
lea rcx, [rdi + 0xc0]
call fcn.1411bd9d0
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x141272a80
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141272a80
mov rcx, qword [rsp + 0x40]
jmp 0x141272a70
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
lea rdx, [rsp + 0x60]
lea rcx, [rdi + 0xc0]
call fcn.1411bd9d0
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x141272a80
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141272a80
mov rcx, qword [rsp + 0x60]
mov r8d, 8
mov edx, 2
call fcn.1411dba10
mov word [rdi + 0x84], 1
mov byte [rdi + 0x88], 0
mov dword [rdi + 0x8c], r15d
mov eax, r15d
xchg byte [rdi + 0x87], al
lea rax, [rdi + 0xa0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
mov r9, r14
lea r8, [0x141272be0]
mov edx, dword [rdi + 0x90]
xor ecx, ecx
call fcn.14131e650
mov qword [rdi + 0x98], rax
test rax, rax
jne 0x141272af1
lea rcx, [0x14007da58]
call fcn.1411cb0a0
mov word [rdi + 0x84], 0x100
jmp 0x141272b84
mov dword [rdi + 0x94], ebp
cmp ebp, 7
ja case.0x141272b0d.7
lea rdx, [0x140000000]
mov ecx, dword [rdx + rbp*4 + 0x1272bbc]
add rcx, rdx
jmp rcx
mov esi, 0xfffffff1
jmp case.0x141272b0d.2
mov esi, 0xfffffffe
jmp case.0x141272b0d.2
mov esi, r15d
jmp case.0x141272b0d.2
mov esi, r12d
jmp case.0x141272b0d.2
mov esi, 2
jmp case.0x141272b0d.2
mov esi, 0xf
jmp case.0x141272b0d.2
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov esi, eax
mov edx, esi
mov rcx, qword [rdi + 0x98]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
jne 0x141272b65
lea rcx, [0x14007da80]
call fcn.1411cb0a0
mov rcx, qword [rdi + 0x98]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x141272b84
lea rcx, [0x14007dab0]
call fcn.1411cb0a0
nop
cmp byte [rsp + 0x38], 0
je 0x141272b9d
mov rax, r12
lock cmpxchg qword [rbx], r15
je 0x141272b9d
mov rcx, rbx
call fcn.141207560
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret