Function at 0x1000cc930
Capabilities:
Suspend thread

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0xe0
lea rbp, [rsp + 0x20]
mov qword [rbp + 0xa8], 0xfffffffffffffffe
mov qword [rbp + 0xf0], rbx
mov qword [rbp + 0xf8], rsi
mov qword [rbp + 0x100], rdi
mov rax, qword [0x10022f440]
xor rax, rbp
mov qword [rbp + 0xb0], rax
xor r15d, r15d
mov r12d, r15d
mov r13d, r15d
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rbp + 0x10], eax
call fcn.10006adc0
mov r14, rax
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x58], r15
mov dword [rbp + 0x60], r15d
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x50], rax
mov rcx, rax
call fcn.1000c6770
mov rdi, rax
mov qword [rbp + 0x40], rax
mov rcx, r14
call fcn.1000c6820
mov qword [rbp + 0x48], rax
mov esi, r15d
mov rbx, r15
test rsi, rsi
jne 0x1000cc9d7
mov rbx, rdi
jmp 0x1000ccaad
test rdi, rdi
je 0x1000ccaad
cmp rdi, qword [rbp + 0x48]
je 0x1000cca8a
call fcn.100064800
mov edx, eax
xor eax, eax
lock cmpxchg dword [r14 + 0x10], edx
mov ecx, r15d
sete cl
test ecx, ecx
jne 0x1000cca0c
lea rcx, [r14 + 0x10]
call fcn.100057bf0
mov rbx, qword [rsi + 0x18]
cmp rbx, r14
je 0x1000cca20
test rbx, rbx
je 0x1000cca20
add rbx, 0xfffffffffffffff0
jmp 0x1000cca23
mov rbx, r15
test rbx, rbx
je 0x1000cca69
mov ecx, dword [rbx + 0x20]
test ecx, ecx
je 0x1000cca4d
nop
lea edx, [rcx + 1]
mov eax, ecx
lock cmpxchg dword [rbx + 0x20], edx
cmp ecx, eax
je 0x1000cca49
pause
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jne 0x1000cca30
jmp 0x1000cca4d
test edx, edx
jne 0x1000cca69
mov rbx, qword [rbx + 0x18]
cmp rbx, r14
je 0x1000cca61
test rbx, rbx
je 0x1000cca61
add rbx, 0xfffffffffffffff0
jmp 0x1000cca64
mov rbx, r15
test rbx, rbx
jne 0x1000cca28
mov dword [r14 + 0x10], r15d
mov qword [rbp + 0x40], rbx
or eax, 0xffffffff
lock xadd dword [rsi + 0x20], eax
dec eax
jne 0x1000ccaa9
cmp qword [rsi + 0x18], 0
je 0x1000ccaa9
lea rcx, [rsi + 0x10]
jmp 0x1000ccaa4
mov qword [rbp + 0x40], r15
lea rcx, [rdi + 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 0x10], eax
dec eax
jne 0x1000ccaa9
cmp qword [rcx + 8], rbx
je 0x1000ccaa9
call fcn.1000cd510
mov rdi, qword [rbp + 0x40]
mov rsi, rbx
test rbx, rbx
je 0x1000ccad2
movsxd rax, dword [rbx + 0x1e0]
add r13, rax
movsxd rax, dword [rbx + 0x320]
add r13, rax
mov rdi, qword [rbp + 0x40]
jmp 0x1000cc9c7
mov qword [rbp + 8], r13
test rdi, rdi
je 0x1000ccafb
lea rcx, [rdi + 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 0x10], eax
dec eax
jne 0x1000ccaf7
cmp qword [rcx + 8], 0
je 0x1000ccaf7
call fcn.1000cd510
mov qword [rbp + 0x40], r15
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x1000ccb24
add rcx, 0x10
or eax, 0xffffffff
lock xadd dword [rcx + 0x10], eax
dec eax
jne 0x1000ccb20
cmp qword [rcx + 8], 0
je 0x1000ccb20
call fcn.1000cd510
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x50], r15
mov rsi, qword [rbp + 8]
lea rdi, [rsi*8]
mov rbx, qword gs:[8]
call fcn.10006bd80
sub rbx, rax
lea ecx, [rdi + 0x80]
add rcx, 0x10000
lea rax, [rbp + 0x98]
sub rax, rbx
cmp rax, rcx
jb 0x1000cd032
lea rax, [rdi + 0xf]
cmp rax, rdi
ja 0x1000ccb78
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.10005f3c0
sub rsp, rax
lea rax, [rsp + 0x20]
mov qword [rbp + 0x68], rax
call fcn.10006adc0
mov rbx, rax
mov qword [rbp + 0x70], r15
mov qword [rbp + 0x78], r15
mov qword [rbp + 0x88], r15
mov dword [rbp + 0x90], r15d
mov qword [rbp + 0x80], r15
mov qword [rbp + 0x80], rax
mov rcx, rax
call fcn.1000c6770
mov qword [rbp + 0x70], rax
mov rcx, rbx
call fcn.1000c6820
mov qword [rbp + 0x78], rax
mov r13, r15
mov rbx, r15
test r13, r13
jne 0x1000ccbe5
mov rbx, qword [rbp + 0x70]
jmp 0x1000cccd5
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x1000cccd5
cmp rcx, qword [rbp + 0x78]
je 0x1000cccb0
mov rdi, qword [rbp + 0x80]
call fcn.100064800
mov edx, eax
xor eax, eax
lock cmpxchg dword [rdi + 0x10], edx
mov ecx, r15d
sete cl
test ecx, ecx
jne 0x1000ccc24
lea rcx, [rdi + 0x10]
call fcn.100057bf0
mov rbx, qword [r13 + 0x18]
cmp rbx, rdi
je 0x1000ccc38
test rbx, rbx
je 0x1000ccc38
add rbx, 0xfffffffffffffff0
jmp 0x1000ccc3b
mov rbx, r15
test rbx, rbx
je 0x1000ccc89
mov ecx, dword [rbx + 0x20]
test ecx, ecx
je 0x1000ccc6d
nop word [rax + rax]
lea edx, [rcx + 1]
mov eax, ecx
lock cmpxchg dword [rbx + 0x20], edx
cmp ecx, eax
je 0x1000ccc69
pause
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jne 0x1000ccc50
jmp 0x1000ccc6d
test edx, edx
jne 0x1000ccc89
mov rbx, qword [rbx + 0x18]
cmp rbx, rdi
je 0x1000ccc81
test rbx, rbx
je 0x1000ccc81
add rbx, 0xfffffffffffffff0
jmp 0x1000ccc84
mov rbx, r15
test rbx, rbx
jne 0x1000ccc40
mov dword [rdi + 0x10], r15d
mov qword [rbp + 0x70], rbx
or eax, 0xffffffff
lock xadd dword [r13 + 0x20], eax
dec eax
jne 0x1000cccd1
cmp qword [r13 + 0x18], 0
je 0x1000cccd1
lea rcx, [r13 + 0x10]
call fcn.1000cd510
jmp 0x1000cccd1
mov qword [rbp + 0x70], r15
add rcx, 0x10
or eax, 0xffffffff
lock xadd dword [rcx + 0x10], eax
dec eax
jne 0x1000cccd5
cmp qword [rcx + 8], rbx
je 0x1000cccd5
call fcn.1000cd510
jmp 0x1000cccd5
mov rsi, qword [rbp + 8]
mov qword [rbp + 0xa0], rbx
test rbx, rbx
je 0x1000cd008
cmp r12, rsi
jae 0x1000cd008
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x30], r15
mov dword [rbp + 0x38], r15d
mov qword [rbp + 0x28], r15
lea rdi, [rbx + 0x40]
mov qword [rbp + 0x28], rdi
call fcn.100064800
mov edx, eax
xor eax, eax
lock cmpxchg dword [rdi + 0x10], edx
mov ecx, r15d
sete cl
test ecx, ecx
jne 0x1000ccd2b
lea rcx, [rdi + 0x10]
call fcn.100057bf0
mov rdx, qword [rdi + 8]
cmp rdx, rdi
je 0x1000ccd42
test rdx, rdx
je 0x1000ccd42
add rdx, 0xffffffffffffff70
jmp 0x1000ccd45
mov rdx, r15
test rdx, rdx
je 0x1000ccda8
nop word [rax + rax]
mov ecx, dword [rdx + 0xa0]
test ecx, ecx
je 0x1000ccd86
nop word [rax + rax]
lea r8d, [rcx + 1]
mov eax, ecx
lock cmpxchg dword [rdx + 0xa0], r8d
cmp ecx, eax
je 0x1000ccd81
pause
mov ecx, dword [rdx + 0xa0]
test ecx, ecx
jne 0x1000ccd60
jmp 0x1000ccd86
test r8d, r8d
jne 0x1000ccda8
mov rdx, qword [rdx + 0x98]
cmp rdx, rdi
je 0x1000ccda0
test rdx, rdx
je 0x1000ccda0
add rdx, 0xffffffffffffff70
jmp 0x1000ccda3
mov rdx, r15
test rdx, rdx
jne 0x1000ccd50
mov dword [rdi + 0x10], r15d
mov qword [rbp + 0x18], rdx
call fcn.100064800
mov edx, eax
xor eax, eax
lock cmpxchg dword [rdi + 0x10], edx
mov ecx, r15d
sete cl
test ecx, ecx
jne 0x1000ccdd1
lea rcx, [rdi + 0x10]
call fcn.100057bf0
cmp qword [rdi + 8], rdi
je 0x1000ccde6
mov rax, qword [rdi]
test rax, rax
lea rdx, [rax - 0x90]
jne 0x1000ccde9
mov rdx, r15
mov rcx, rdi
call fcn.1000c6ab0
mov r14, rax
mov dword [rdi + 0x10], r15d
mov qword [rbp + 0x20], rax
mov rdi, r15
mov r13d, dword [rbp + 0x10]
mov rbx, r15
test rdi, rdi
jne 0x1000cce14
mov rbx, qword [rbp + 0x18]
jmp 0x1000ccf33
mov rax, qword [rbp + 0x18]
test rax, rax
je 0x1000ccf33
cmp rax, r14
je 0x1000ccef9
mov rsi, qword [rbp + 0x28]
call fcn.100064800
mov edx, eax
xor eax, eax
lock cmpxchg dword [rsi + 0x10], edx
mov ecx, r15d
sete cl
test ecx, ecx
jne 0x1000cce4f
lea rcx, [rsi + 0x10]
call fcn.100057bf0
add rdi, 0x90
mov rbx, qword [rdi + 8]
cmp rbx, qword [rbp + 0x28]
je 0x1000cce6e
test rbx, rbx
je 0x1000cce6e
add rbx, 0xffffffffffffff70
jmp 0x1000cce71
mov rbx, r15
test rbx, rbx
je 0x1000ccec6
mov ecx, dword [rbx + 0xa0]
test ecx, ecx
je 0x1000ccea3
lea edx, [rcx + 1]
mov eax, ecx
lock cmpxchg dword [rbx + 0xa0], edx
cmp ecx, eax
je 0x1000cce9f
pause
mov ecx, dword [rbx + 0xa0]
test ecx, ecx
jne 0x1000cce80
jmp 0x1000ccea3
test edx, edx
jne 0x1000ccec6
mov rbx, qword [rbx + 0x98]
cmp rbx, qword [rbp + 0x28]
je 0x1000ccebe
test rbx, rbx
je 0x1000ccebe
add rbx, 0xffffffffffffff70
jmp 0x1000ccec1
mov rbx, r15
test rbx, rbx
jne 0x1000cce76
mov dword [rsi + 0x10], r15d
mov qword [rbp + 0x18], rbx
or eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
dec eax
jne 0x1000ccf2f
cmp qword [rdi + 8], 0
je 0x1000cceeb
mov rcx, rdi
call fcn.1000632d0
jmp 0x1000ccf2f
lea rcx, [rdi - 0x90]
call fcn.1000644b0
jmp 0x1000ccf2f
mov rcx, qword [rbp + 0x18]
mov qword [rbp + 0x18], r15
add rcx, 0x90
or eax, 0xffffffff
lock xadd dword [rcx + 0x10], eax
dec eax
jne 0x1000ccf33
cmp qword [rcx + 8], rbx
je 0x1000ccf21
call fcn.1000632d0
jmp 0x1000ccf33
add rcx, 0xffffffffffffff70
call fcn.1000644b0
jmp 0x1000ccf33
mov rsi, qword [rbp + 8]
mov rdi, rbx
test rbx, rbx
je 0x1000ccf88
cmp r12, rsi
jae 0x1000ccf88
cmp dword [rbx + 0xf0], r13d
je 0x1000cce03
mov rax, qword [rbx + 0x100]
test rax, rax
jne 0x1000ccf71
mov rcx, rbx
call fcn.1000648e0
mov rax, qword [rbx + 0x100]
test rax, rax
je 0x1000cce03
lock inc dword [rbx + 0xa0]
mov rcx, qword [rbp + 0x68]
mov qword [rcx + r12*8], rax
inc r12
jmp 0x1000cce03
mov rax, qword [rbp + 0x18]
test rax, rax
mov r13, qword [rbp + 0xa0]
je 0x1000ccfc9
lea rcx, [rax + 0x90]
or eax, 0xffffffff
lock xadd dword [rcx + 0x10], eax
dec eax
jne 0x1000ccfc5
cmp qword [rcx + 8], 0
je 0x1000ccfb9
call fcn.1000632d0
jmp 0x1000ccfc5
add rcx, 0xffffffffffffff70
call fcn.1000644b0
mov qword [rbp + 0x18], r15
test r14, r14
je 0x1000ccfff
lea rcx, [r14 + 0x90]
or eax, 0xffffffff
lock xadd dword [rcx + 0x10], eax
dec eax
jne 0x1000ccffb
cmp qword [rcx + 8], 0
je 0x1000ccfef
call fcn.1000632d0
jmp 0x1000ccffb
add rcx, 0xffffffffffffff70
call fcn.1000644b0
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x28], r15
jmp 0x1000ccbd4
lea rcx, [rbp + 0x70]
call fcn.1000c6cc0
test r12, r12
je 0x1000cd032
mov rdi, qword [rbp + 0x68]
nop word [rax + rax]
mov rcx, qword [rdi + r15*8]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
inc r15
cmp r15, r12
jb 0x1000cd020
mov rcx, qword [rbp + 0xb0]
xor rcx, rbp
call fcn.10005f420
mov rbx, qword [rbp + 0xf0]
mov rsi, qword [rbp + 0xf8]
mov rdi, qword [rbp + 0x100]
lea rsp, [rbp + 0xc0]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret