Function at 0x141a3cb70
Capabilities:
Create thread
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
movzx ebx, cl
call fcn.141a3d440
mov ecx, dword [0x141b3a468]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
test rax, rax
jne 0x141a3cc4f
test bl, bl
je 0x141a3cc4f
mov ecx, 0x98
call fcn.141ae2a28
mov qword [rsp + 0x88], rax
mov r15d, 1
mov edx, r15d
mov rcx, rax
call fcn.1419dbf80
mov rsi, rax
mov qword [rsp + 0x90], rax
mov rdx, rax
mov ecx, dword [0x141b3a468]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov ecx, 0x10
call fcn.141ae2a28
mov qword [rsp + 0x88], rax
mov rdx, rsi
mov rcx, rax
call fcn.1419dbe60
nop
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
nop
nop
mov qword [rsi + 0x60], rax
mov rcx, rsi
call fcn.1419dc8b0
mov byte [rsi + 0x92], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov eax, eax
mov qword [rsi + 0x68], rax
mov rax, qword [0x141b3d1c8]
nop
test rax, rax
jne 0x141a3cc67
mov rax, qword [rsi + 0x60]
nop
mov qword [0x141b3d1c8], rax
mov rax, rsi
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov qword [rsp + 0x88], 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], 2
xor r12d, r12d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
lea r9, [rsp + 0x88]
mov r8, rdi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rdi, qword [rsi + 0x60]
nop
mov rbx, qword [rsp + 0x88]
lea r14, [0x141b3db68]
mov qword [rsp + 0x40], r14
xor eax, eax
lock cmpxchg qword [0x141b3db68], r15
je 0x141a3cce5
mov rcx, r14
call fcn.1419d22a0
mov byte [rsp + 0x48], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [0x141b3db70]
jne 0x141a3cd21
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, r15
lock cmpxchg qword [0x141b3db68], r12
je 0x141a3cc4f
mov rcx, r14
call fcn.1419d27a0
jmp 0x141a3cc4f
mov qword [rsp + 0x90], rbx
lea r8, [rsp + 0x90]
mov rdx, qword [0x141b3db98]
lea rcx, [0x141b3db88]
call fcn.1419aed90
mov rax, qword [0x141b3db88]
test rax, rax
je 0x141a3cd57
mov eax, dword [rax]
cmp eax, 1
jle 0x141a3cd6b
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x141b3db88]
call fcn.1419a8720
mov qword [rsp + 0x90], rdi
lea r8, [rsp + 0x90]
mov rdx, qword [0x141b3dbb0]
lea rcx, [0x141b3dba0]
call fcn.1419aed90
mov rax, qword [0x141b3dba0]
test rax, rax
je 0x141a3cda1
mov eax, dword [rax]
cmp eax, 1
jle 0x141a3cdb5
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x141b3dba0]
call fcn.1419a8720
cmp dword [0x141b3db70], 0
jne 0x141a3ce2a
cmp qword [0x141b3dbb8], 0
jne 0x141a3cdfd
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x141b3dbb8], rax
mov qword [rsp + 0x90], rax
lea r8, [rsp + 0x90]
xor edx, edx
lea rcx, [0x141b3db88]
call fcn.1419aed90
lea rax, [0x141b3db70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
xor r9d, r9d
lea r8, [0x141a3d050]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
jmp 0x141a3ccfb
mov rcx, qword [0x141b3dbb8]
call qword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x141a3cd02