Function at 0x140041ba0
Capabilities:
Set thread local storage value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
movaps xmmword [r11 - 0x38], xmm6
mov r14, rcx
lea rax, [0x1400a8688]
mov qword [rcx], rax
lea rcx, [r11 - 0x58]
call fcn.14003e820
mov qword [rsp + 0x88], rax
mov byte [rax + 0x21], 1
mov rax, qword [rsp + 0x88]
mov qword [rax + 8], rax
mov rax, qword [rsp + 0x88]
mov qword [rax], rax
mov rax, qword [rsp + 0x88]
mov qword [rax + 0x10], rax
xor r15d, r15d
mov qword [rsp + 0x90], r15
lea r13, [r14 + 0x28]
mov rbp, qword [r13 + 8]
cmp rbp, qword [r13 + 0x10]
jbe 0x140041c34
call fcn.140064810
mov rbx, qword [r13 + 0x10]
cmp qword [r13 + 8], rbx
jbe 0x140041c43
call fcn.140064810
cmp r13, r13
je 0x140041c4d
call fcn.140064810
cmp rbp, rbx
je 0x140041eb4
cmp rbp, qword [r13 + 0x10]
jb 0x140041c61
call fcn.140064810
mov r8, qword [rsp + 0x88]
mov rcx, qword [r8 + 8]
mov rax, rcx
mov r12, r8
cmp byte [rcx + 0x21], 0
jne 0x140041c98
mov rdx, qword [rbp]
nop
cmp rdx, qword [rax + 0x18]
jae 0x140041c8e
mov r12, rax
mov rax, qword [rax]
jmp 0x140041c92
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x21], 0
je 0x140041c80
cmp byte [rcx + 0x21], 0
jne 0x140041cba
mov rax, qword [rbp]
cmp qword [rcx + 0x18], rax
jae 0x140041cae
mov rcx, qword [rcx + 0x10]
jmp 0x140041cb4
mov r8, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x21], 0
je 0x140041ca2
mov qword [rsp + 0x48], r8
lea rax, [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov rsi, r15
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x50], xmm0
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
test rdi, rdi
je 0x140041cf6
lea rax, [rsp + 0x80]
cmp rdi, rax
je 0x140041cfb
call fcn.140064810
cmp rbx, r12
je 0x140041d6b
add rsi, 1
test rdi, rdi
jne 0x140041d0e
call fcn.140064810
cmp byte [rbx + 0x21], 0
je 0x140041d1b
call fcn.140064810
jmp 0x140041ce4
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x21], 0
jne 0x140041d3f
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x21], 0
jne 0x140041ce4
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x21], 0
je 0x140041d31
jmp 0x140041ce4
mov rax, qword [rbx + 8]
cmp byte [rax + 0x21], 0
jne 0x140041d63
nop
nop
cmp rbx, qword [rax + 0x10]
jne 0x140041d63
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x21], 0
je 0x140041d50
mov rbx, rax
jmp 0x140041ce4
test rsi, rsi
je 0x140041d84
cmp rbp, qword [r13 + 0x10]
jb 0x140041d7b
call fcn.140064810
add rbp, 8
jmp 0x140041c34
cmp rbp, qword [r13 + 0x10]
jb 0x140041d8f
call fcn.140064810
mov rdx, qword [rsp + 0x88]
mov rax, qword [rdx + 8]
mov rdi, rdx
mov sil, 1
cmp byte [rax + 0x21], 0
jne 0x140041dcf
mov rcx, qword [rbp]
nop
nop
mov rdi, rax
cmp rcx, qword [rax + 0x18]
setb sil
test sil, sil
je 0x140041dc5
mov rax, qword [rax]
jmp 0x140041dc9
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x21], 0
je 0x140041db0
mov rbx, rdi
test sil, sil
je 0x140041e72
cmp rdi, qword [rdx]
jne 0x140041e02
mov qword [rsp + 0x20], rbp
mov r9, rdi
mov r8b, 1
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x80]
call fcn.140040050
jmp 0x140041e9a
cmp byte [rdi + 0x21], 0
je 0x140041e19
mov rbx, qword [rdi + 0x10]
cmp byte [rbx + 0x21], 0
je 0x140041e72
call fcn.140064810
jmp 0x140041e72
mov rax, qword [rdi]
cmp byte [rax + 0x21], 0
jne 0x140041e3f
mov rbx, rax
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x21], 0
jne 0x140041e72
nop
mov rbx, rax
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x21], 0
je 0x140041e30
jmp 0x140041e72
mov rax, qword [rdi + 8]
cmp byte [rax + 0x21], 0
jne 0x140041e62
nop
nop
cmp rbx, qword [rax]
jne 0x140041e62
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x21], 0
je 0x140041e50
cmp byte [rbx + 0x21], 0
je 0x140041e6f
call fcn.140064810
jmp 0x140041e72
mov rbx, rax
mov rax, qword [rbp]
cmp qword [rbx + 0x18], rax
jae 0x140041e9a
mov qword [rsp + 0x20], rbp
mov r9, rdi
movzx r8d, sil
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x80]
call fcn.140040050
cmp rbp, qword [r13 + 0x10]
jb 0x140041ea5
call fcn.140064810
mov rcx, qword [rbp]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x140041c25
mov rdx, qword [r14 + 0x48]
mov ecx, dword [0x1400ccbd0]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rsi, qword [rsp + 0x88]
mov rax, qword [rsi]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x50], rcx
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x40], xmm0
cmp rax, rax
jne 0x140041f55
mov rdi, qword [rsi + 8]
mov rbx, rdi
cmp byte [rdi + 0x21], 0
jne 0x140041f2d
nop
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x80]
call fcn.14003e8b0
mov rbx, qword [rbx]
mov rcx, rdi
call fcn.140064540
mov rdi, rbx
cmp byte [rbx + 0x21], 0
je 0x140041f00
mov rsi, qword [rsp + 0x88]
mov qword [rsi + 8], rsi
mov qword [rsp + 0x90], r15
mov rax, qword [rsp + 0x88]
mov qword [rax], rax
mov rax, qword [rsp + 0x88]
mov qword [rax + 0x10], rax
jmp 0x14004200d
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
nop
test rdi, rdi
je 0x140041f72
lea rax, [rsp + 0x80]
cmp rdi, rax
je 0x140041f77
call fcn.140064810
cmp rbx, rsi
je 0x14004200d
movaps xmm6, xmmword [rsp + 0x40]
test rdi, rdi
jne 0x140041f8f
call fcn.140064810
cmp byte [rbx + 0x21], 0
je 0x140041f9c
call fcn.140064810
jmp 0x140041feb
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x21], 0
jne 0x140041fc5
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x21], 0
jne 0x140041fbe
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x21], 0
je 0x140041fb2
mov qword [rsp + 0x48], rbx
jmp 0x140041feb
mov rax, qword [rbx + 8]
cmp byte [rax + 0x21], 0
jne 0x140041fe3
nop
cmp rbx, qword [rax + 0x10]
jne 0x140041fe3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x21], 0
je 0x140041fd0
mov rbx, rax
mov qword [rsp + 0x48], rax
movdqa xmmword [rsp + 0x50], xmm6
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x80]
call fcn.14003f8a0
jmp 0x140041f60
mov rcx, qword [rsp + 0x88]
call fcn.140064540
nop
mov rcx, qword [r14 + 0x50]
test rcx, rcx
je 0x14004202a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r14 + 0x50], r15
mov rcx, qword [r13 + 8]
test rcx, rcx
je 0x14004203c
call fcn.140064540
mov qword [r13 + 8], r15
mov qword [r13 + 0x10], r15
mov qword [r13 + 0x18], r15
mov rcx, qword [r14 + 0x10]
test rcx, rcx
je 0x140042056
call fcn.140064540
mov qword [r14 + 0x10], r15
mov qword [r14 + 0x18], r15
mov qword [r14 + 0x20], r15
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret