Function at 0x140053430
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 0x140053465
mov eax, r15d
jmp 0x14005348c
lea rax, [rbp + 0x170]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
mov r9, rdi
lea r8, [0x1400538a0]
xor edx, edx
xor ecx, ecx
call fcn.1400f6bec
xchg qword [rdi + 8], rax
mov rax, qword [rdi + 8]
test rax, rax
jne 0x140053771
call fcn.140008400
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], r15b
mov byte [rsp + 0x20], r15b
mov esi, 0xffffffff
mov r9d, esi
mov r8d, esi
lea rdx, str.JRThread::StartThread
mov rcx, rax
call qword [r10 + 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.1400f4b30
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 [0x14019a6b8]
test rcx, rcx
je 0x140053745
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x50]
mov rcx, rax
test rax, rax
je 0x140053745
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 0x14005376f
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140053765
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x14005376f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x14005377a
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 0x14005379f
test r14d, r14d
je 0x14005379f
mov rcx, qword [rdi + 8]
mov edx, r14d
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400537b2
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