Function at 0x1800192f0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rcx, qword [0x1800d55a0]
lea r8, [0x1800d5558]
lea rdx, [0x1800182e0]
call fcn.180042718
test eax, eax
je 0x18001932b
cmp eax, 3
jne 0x180019829
mov rdi, qword [0x1800d55a0]
xor r14d, r14d
mov ebx, r14d
xor eax, eax
mov r13d, 1
lock cmpxchg dword [0x1800d6628], r13d
je 0x180019373
nop dword [rax + rax]
cmp rbx, 0x20
jae 0x18001935a
xor ecx, ecx
jmp 0x18001935d
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1800d6628], r13d
jne 0x180019350
cmp qword [0x1800d6630], r14
je 0x180019822
mov r12d, 5
test rdi, rdi
jne 0x180019397
mov ecx, r13d
call fcn.180042614
mov ebp, eax
jmp 0x1800193c4
mov ecx, dword [0x1800d7b0c]
mov ebx, r14d
test ecx, ecx
je 0x1800193bf
mov r8, qword [0x1800d7b00]
mov rax, r8
nop
cmp rdi, qword [rax]
je 0x180019408
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x1800193b0
mov ebp, 4
mov eax, r14d
xchg dword [0x1800d6628], eax
test ebp, ebp
jne 0x180019829
mov rdx, qword [0x1800d7398]
cmp rdx, qword [0x1800d73a0]
mov rax, qword [0x1800d55a0]
mov qword [rsp + 0x90], rax
je 0x1800194b0
mov qword [rdx], rax
add qword [0x1800d7398], 8
jmp 0x1800194c4
cmp ebx, 0xffffffff
je 0x1800193bf
mov eax, ebx
imul rdx, rax, 0x38
test byte [rdx + r8 + 0x20], 2
jne 0x1800194a8
mov r8d, r13d
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.18004215c
mov ebp, eax
test eax, eax
jne 0x1800193c4
mov edx, r13d
mov ecx, ebx
call fcn.180042508
mov r15, qword [rsp + 0x20]
mov ebp, eax
test r15, r15
je 0x1800193c4
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180019491
mov rbx, r15
mov esi, eax
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x180019488
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rsi, r13
jne 0x180019460
mov rcx, qword [0x1800d6630]
mov r8, r15
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1800193c4
mov ebp, r12d
jmp 0x1800193c4
lea r8, [rsp + 0x90]
lea rcx, [0x1800d7390]
call fcn.18001c1e0
mov rcx, qword [0x1800d5598]
lea r8, [0x1800d5550]
lea rdx, [0x180018380]
call fcn.180042718
test eax, eax
jne 0x180019829
mov rdi, qword [0x1800d5598]
mov rbx, r14
lock cmpxchg dword [0x1800d6628], r13d
je 0x180019523
nop dword [rax + rax]
cmp rbx, 0x20
jae 0x18001950a
xor ecx, ecx
jmp 0x18001950d
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1800d6628], r13d
jne 0x180019500
cmp qword [0x1800d6630], r14
je 0x180019822
test rdi, rdi
jne 0x180019541
mov ecx, r13d
call fcn.180042614
mov ebp, eax
jmp 0x18001956c
mov ecx, dword [0x1800d7b0c]
mov ebx, r14d
test ecx, ecx
je 0x180019567
mov r8, qword [0x1800d7b00]
mov rax, r8
cmp rdi, qword [rax]
je 0x1800195b0
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180019558
mov ebp, 4
mov eax, r14d
xchg dword [0x1800d6628], eax
test ebp, ebp
jne 0x180019829
mov rdx, qword [0x1800d7398]
cmp rdx, qword [0x1800d73a0]
mov rax, qword [0x1800d5598]
mov qword [rsp + 0x98], rax
je 0x180019660
mov qword [rdx], rax
add qword [0x1800d7398], 8
jmp 0x180019674
cmp ebx, 0xffffffff
je 0x180019567
mov eax, ebx
imul rdx, rax, 0x38
test byte [rdx + r8 + 0x20], 2
jne 0x180019658
mov r8d, r13d
lea rcx, [rsp + 0x30]
mov edx, ebx
call fcn.18004215c
mov ebp, eax
test eax, eax
jne 0x18001956c
mov edx, r13d
mov ecx, ebx
call fcn.180042508
mov r15, qword [rsp + 0x30]
mov ebp, eax
test r15, r15
je 0x18001956c
mov eax, dword [rsp + 0x3c]
test eax, eax
je 0x180019641
mov rbx, r15
mov esi, eax
nop dword [rax]
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x180019638
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rsi, r13
jne 0x180019610
mov rcx, qword [0x1800d6630]
mov r8, r15
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x18001956c
mov ebp, r12d
jmp 0x18001956c
lea r8, [rsp + 0x98]
lea rcx, [0x1800d7390]
call fcn.18001c1e0
mov rcx, qword [0x1800d5590]
lea r8, [0x1800d5548]
lea rdx, [0x180018470]
call fcn.180042718
test eax, eax
jne 0x180019829
mov rdi, qword [0x1800d5590]
mov rbx, r14
lock cmpxchg dword [0x1800d6628], r13d
je 0x1800196d3
nop dword [rax + rax]
cmp rbx, 0x20
jae 0x1800196ba
xor ecx, ecx
jmp 0x1800196bd
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1800d6628], r13d
jne 0x1800196b0
cmp qword [0x1800d6630], r14
je 0x180019822
test rdi, rdi
jne 0x1800196f2
mov ecx, r13d
call fcn.180042614
mov r12d, eax
jmp 0x180019725
mov ecx, dword [0x1800d7b0c]
mov ebx, r14d
test ecx, ecx
je 0x18001971f
mov r8, qword [0x1800d7b00]
mov rax, r8
nop dword [rax]
cmp rdi, qword [rax]
je 0x18001976c
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180019710
mov r12d, 4
xchg dword [0x1800d6628], r14d
test r12d, r12d
jne 0x180019829
mov rdx, qword [0x1800d7398]
cmp rdx, qword [0x1800d73a0]
mov rax, qword [0x1800d5590]
mov qword [rsp + 0xa0], rax
je 0x180019808
mov qword [rdx], rax
movzx eax, r13b
add qword [0x1800d7398], 8
jmp 0x18001982b
cmp ebx, 0xffffffff
je 0x18001971f
mov eax, ebx
imul rdx, rax, 0x38
test byte [rdx + r8 + 0x20], 2
jne 0x180019725
mov r8d, r13d
lea rcx, [rsp + 0x40]
mov edx, ebx
call fcn.18004215c
mov r12d, eax
test eax, eax
jne 0x180019725
mov edx, r13d
mov ecx, ebx
call fcn.180042508
mov rbp, qword [rsp + 0x40]
mov r12d, eax
test rbp, rbp
je 0x180019725
mov eax, dword [rsp + 0x4c]
test eax, eax
je 0x1800197f1
mov rdi, rbp
mov esi, eax
nop dword [rax]
mov r8d, dword [rdi]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x1800197e8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 4
sub rsi, r13
jne 0x1800197c0
mov rcx, qword [0x1800d6630]
mov r8, rbp
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180019725
lea r8, [rsp + 0xa0]
lea rcx, [0x1800d7390]
call fcn.18001c1e0
movzx eax, r13b
jmp 0x18001982b
xchg dword [0x1800d6628], r14d
xor al, al
mov rbx, qword [rsp + 0xa8]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret