Function at 0x14002fb30
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbp
nop
sub rsp, 8
mov qword [rsp], rdi
sub rsp, 0x20
mov rdi, qword gs:[0x30]
xchg r11, rcx
mov rbp, r11
xchg r11, rcx
xchg r13, rax
mov r13, qword [rdi + 0x2d8]
xchg r13, rax
mov qword [rcx + 0xf8], rax
mov rax, qword [rdi + 0x2e0]
mov qword [rcx + 0x98], rax
mov rax, qword [rcx + 0xc8]
mov qword [rcx + 0x80], rax
cmp byte [rdi + 0x2ec], 0
jne 0x14002fe9b
cmp qword [0x140217fe0], 0
je 0x14002fe9b
mov byte [rdi + 0x2ec], 0x5d
xor byte [rdi + 0x2ec], 0x5c
xor byte [rdi + 0x2ec], 0x62
xor byte [rdi + 0x2ec], 0x5e
xor byte [rdi + 0x2ec], 0x58
sub byte [rdi + 0x2ec], 0x51
sub byte [rdi + 0x2ec], 0xa
xor byte [rdi + 0x2ec], 0xb
mov rax, qword [0x140217fe0]
xchg rcx, r14
mov r14, qword [rax + 0x30]
xchg r14, rcx
cmp qword [rdi + 0x2d8], rcx
jne 0x14002fe71
xchg r13, rbx
mov qword [rsp + 0x30], r13
xchg rbx, r13
xchg r15, rbx
mov r15, qword [rbp + 0x98]
xchg r15, rbx
cmp dword [rbx + 0x4f0], 0x80000003
jne 0x14002fd4e
xchg rsi, rcx
mov rsi, qword [rax + 0x18]
xchg rsi, rcx
xchg rsi, r9
mov qword [rsp + 0x38], r9
xchg r9, rsi
cmp qword [rbx + 0x500], rcx
jne 0x14002fc8d
lea rax, [0x14002dca0]
mov byte [rdi + 0x2ec], 0x3b
sub byte [rdi + 0x2ec], 7
add byte [rdi + 0x2ec], 0x41
xor byte [rdi + 0x2ec], 0x36
sub byte [rdi + 0x2ec], 0x19
sub byte [rdi + 0x2ec], 0x2a
xor edx, edx
mov qword [rbx + 0xf8], rax
xchg rcx, rbx
mov rbx, rcx
xchg rbx, rcx
call qword [sym.imp.KERNEL32.dll_RtlRestoreContext]
mov rax, qword [0x140217fe0]
mov ecx, dword [rax + 0xc]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp rax, 4
mov rax, qword [0x140217fe0]
jne 0x14002fd43
mov ecx, dword [rax + 0xc]
mov edx, 0x5407d492
sub edx, 0x2ad1ea08
sub edx, 0x219e074f
add edx, 0x104c790d
add edx, 0x1317398c
add edx, 0x416c5bfd
sub edx, 0x5692f235
xor edx, 0x45824e39
xor edx, 0x5056b1a0
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov byte [rdi + 0x2ec], 0x47
add byte [rdi + 0x2ec], 8
sub byte [rdi + 0x2ec], 7
add byte [rdi + 0x2ec], 0x14
sub byte [rdi + 0x2ec], 0x5b
xor byte [rdi + 0x2ec], 0x2c
xor byte [rdi + 0x2ec], 0x54
sub byte [rdi + 0x2ec], 0x33
sub byte [rdi + 0x2ec], 0x46
xor edx, edx
inc qword [rbx + 0xf8]
xchg rcx, rbx
mov rbx, rcx
xchg rbx, rcx
call qword [sym.imp.KERNEL32.dll_RtlRestoreContext]
mov rax, qword [0x140217fe0]
xchg rsi, rbp
mov rbp, qword [rsp + 0x38]
xchg rsi, rbp
cmp byte [rax + 6], 0
jne 0x14002fe1c
mov ecx, dword [rbx + 0x4f0]
cmp ecx, 1
je 0x14002fdf9
cmp ecx, 0x80000001
je 0x14002fdd0
cmp ecx, 0x80000003
je 0x14002fdab
cmp ecx, 0x80000004
jne 0x14002fe1c
mov byte [rax], 0x20
add byte [rax], 9
add byte [rax], 0x13
sub byte [rax], 0x11
add byte [rax], 0x3b
xor byte [rax], 0x49
xor byte [rax], 0x68
add byte [rax], 0x35
sub byte [rax], 0x7b
jmp 0x14002fe15
mov byte [rax + 2], 0x7b
sub byte [rax + 2], 0x52
add byte [rax + 2], 0x15
add byte [rax + 2], 0x40
xor byte [rax + 2], 0x30
sub byte [rax + 2], 8
sub byte [rax + 2], 0x15
sub byte [rax + 2], 0x30
jmp 0x14002fe15
mov byte [rax + 4], 0x49
xor byte [rax + 4], 0x63
add byte [rax + 4], 0xd
sub byte [rax + 4], 0x2a
add byte [rax + 4], 0x35
xor byte [rax + 4], 0x18
xor byte [rax + 4], 0x60
add byte [rax + 4], 0x25
xor byte [rax + 4], 0x5e
jmp 0x14002fe15
mov byte [rax + 3], 0x6f
sub byte [rax + 3], 0x6d
xor byte [rax + 3], 0x2e
xor byte [rax + 3], 0x55
xor byte [rax + 3], 0xc
sub byte [rax + 3], 0x25
sub byte [rax + 3], 0x4f
mov rax, qword [0x140217fe0]
cmp qword [rbx + 0x48], 0
jne 0x14002fe48
cmp qword [rbx + 0x50], 0
jne 0x14002fe48
cmp qword [rbx + 0x58], 0
jne 0x14002fe48
cmp qword [rbx + 0x60], 0
je 0x14002fe6c
mov byte [rax + 1], 0x66
xor byte [rax + 1], 0x10
sub byte [rax + 1], 0x70
add byte [rax + 1], 0x5d
sub byte [rax + 1], 0x25
xor byte [rax + 1], 7
sub byte [rax + 1], 0x13
add byte [rax + 1], 0x4a
sub byte [rax + 1], 0x6f
mov rbx, qword [rsp + 0x30]
mov byte [rdi + 0x2ec], 0x28
add byte [rdi + 0x2ec], 0
add byte [rdi + 0x2ec], 0x4e
sub byte [rdi + 0x2ec], 0x60
add byte [rdi + 0x2ec], 0x13
sub byte [rdi + 0x2ec], 0x29
xor edx, edx
xchg rcx, rdi
mov rdi, rbp
xchg rdi, rcx
xchg r11, rbp
mov r11, qword [rsp + 0x40]
xchg r11, rbp
add rsp, 0x20
nop
xchg qword [rsp], rdi
add rsp, 8
jmp qword [sym.imp.KERNEL32.dll_RtlRestoreContext]