Function at 0x1400544e0
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 0x140054515
mov eax, r15d
jmp 0x14005453c
lea rax, [rbp + 0x170]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
mov r9, rdi
lea r8, [0x140054a10]
xor edx, edx
xor ecx, ecx
call fcn.1401460b8
xchg qword [rdi + 8], rax
mov rax, qword [rdi + 8]
test rax, rax
jne 0x14005485a
cmp dword [0x1401eb6c0], 0xb23a8c33
je 0x140054588
mov ecx, 0x6c0
call fcn.1400f2ce0
mov qword [rbp + 0x160], rax
test rax, rax
je 0x14005457c
mov rcx, rax
call fcn.1400302c0
mov rcx, rax
jmp 0x14005457f
mov rcx, r15
mov qword [0x1401f7b90], rcx
jmp 0x14005458f
mov rcx, qword [0x1401f7b90]
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.14013aec8
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 [0x1401f8178]
test rcx, rcx
je 0x14005482e
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x50]
mov rcx, rax
test rax, rax
je 0x14005482e
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 0x140054858
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14005484e
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x140054858
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x140054863
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 0x140054888
test r14d, r14d
je 0x140054888
mov rcx, qword [rdi + 8]
mov edx, r14d
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14005489b
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