Function at 0x14005cb00
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov r14d, edx
mov rdi, rcx
xor r15d, r15d
mov dword [rbp + 0x170], r15d
test r8b, r8b
je 0x14005cb35
mov eax, r15d
jmp 0x14005cb5c
lea rax, [rbp + 0x170]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
mov r9, rdi
lea r8, [0x14005cfb0]
xor edx, edx
xor ecx, ecx
call fcn.140164e94
xchg qword [rdi + 8], rax
mov rax, qword [rdi + 8]
test rax, rax
jne 0x14005ce7a
cmp dword [0x14021c658], 0xb23a8c33
je 0x14005cba8
mov ecx, 0x6c0
call fcn.140111d34
mov qword [rbp + 0x160], rax
test rax, rax
je 0x14005cb9c
mov rcx, rax
call fcn.140036570
mov rcx, rax
jmp 0x14005cb9f
mov rcx, r15
mov qword [0x140229e08], rcx
jmp 0x14005cbaf
mov rcx, qword [0x140229e08]
mov rax, qword [rcx]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov esi, 0xffffffff
mov r9d, esi
mov r8d, esi
lea rdx, str.JRThread::StartThread
call qword [rax + 0x28]
mov rbx, rax
mov qword [rbp + 0x160], rax
mov dword [rsp + 0x40], r15d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x120], xmm0
mov dword [rsp + 0x40], r15d
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x110], xmm1
mov dword [rsp + 0x40], r15d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x100], xmm0
mov dword [rsp + 0x40], r15d
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0xf0], xmm1
mov dword [rsp + 0x40], r15d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0xe0], xmm0
mov dword [rsp + 0x40], r15d
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0xd0], xmm1
mov dword [rsp + 0x40], r15d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0xc0], xmm0
mov dword [rsp + 0x40], r15d
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0xb0], xmm1
mov dword [rsp + 0x40], r15d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0xa0], xmm0
mov dword [rsp + 0x40], r15d
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x90], xmm1
mov dword [rsp + 0x40], r15d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x80], xmm0
mov dword [rsp + 0x40], r15d
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x70], xmm1
mov dword [rsp + 0x40], r15d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x60], xmm0
mov dword [rsp + 0x40], r15d
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x50], xmm1
mov dword [rsp + 0x40], r15d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x40], xmm0
mov dword [rsp + 0x40], r15d
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x30], xmm1
mov dword [rsp + 0x40], r15d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x20], xmm0
mov dword [rsp + 0x40], r15d
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x10], xmm1
mov dword [rsp + 0x40], r15d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
call fcn.1401581f4
mov dword [rsp + 0x50], 4
movsxd rax, dword [rax]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp], xmm0
mov rcx, qword [0x14022a428]
test rcx, rcx
je 0x14005ce4e
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x50]
mov rcx, rax
test rax, rax
je 0x14005ce4e
lea rax, [rbp]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x68], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x70], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x78], rax
lea rax, [rbp + 0x30]
mov qword [rbp - 0x80], rax
lea rax, [rbp + 0x40]
mov qword [rbp - 0x78], rax
lea rax, [rbp + 0x50]
mov qword [rbp - 0x70], rax
lea rax, [rbp + 0x60]
mov qword [rbp - 0x68], rax
lea rax, [rbp + 0x70]
mov qword [rbp - 0x60], rax
lea rax, [rbp + 0x80]
mov qword [rbp - 0x58], rax
lea rax, [rbp + 0x90]
mov qword [rbp - 0x50], rax
lea rax, [rbp + 0xa0]
mov qword [rbp - 0x48], rax
lea rax, [rbp + 0xb0]
mov qword [rbp - 0x40], rax
lea rax, [rbp + 0xc0]
mov qword [rbp - 0x38], rax
lea rax, [rbp + 0xd0]
mov qword [rbp - 0x30], rax
lea rax, [rbp + 0xe0]
mov qword [rbp - 0x28], rax
lea rax, [rbp + 0xf0]
mov qword [rbp - 0x20], rax
lea rax, [rbp + 0x100]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x110]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x120]
mov qword [rbp - 8], rax
mov rax, qword [rcx]
mov dword [rsp + 0x28], 0x14
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea r9, str.Error_starting_thread__errno_d
mov r8, rbx
lea edx, [rsi + 2]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14005ce78
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14005ce6e
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x14005ce78
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x14005ce83
mov eax, dword [rbp + 0x170]
mov dword [rdi + 0x40], eax
mov rax, qword [rdi + 8]
test rax, rax
setne bl
mov rax, qword [rdi + 8]
test rax, rax
je 0x14005cea8
test r14d, r14d
je 0x14005cea8
mov rcx, qword [rdi + 8]
mov edx, r14d
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14005cebb
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
movzx eax, bl
mov rbx, qword [rsp + 0x268]
add rsp, 0x230
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret