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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rbp
push rbx
lea rbp, [r11 - 0x368]
sub rsp, 0x458
mov rax, qword [0x14143b040]
xor rax, rsp
mov qword [rbp + 0x330], rax
mov qword [r11 - 0x20], rdi
mov rdi, rdx
mov ebx, ecx
test rdx, rdx
je 0x14037c4db
mov qword [r11 - 0x18], rsi
lea rsi, [rbp + 0x380]
call fcn.140001230
mov qword [rsp + 0x28], rsi
lea rdx, [rsp + 0x30]
mov r9, rdi
mov qword [rsp + 0x20], 0
mov r8d, 0x400
mov rcx, qword [rax]
or rcx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vsprintf]
mov rsi, qword [rsp + 0x450]
mov byte [rbp + 0x32f], 0
jmp 0x14037c799
cmp ebx, 0x10001
jne 0x14037c500
vmovups ymm0, ymmword [0x1413f30e8]
mov eax, dword [0x1413f3108]
vmovups ymmword [rsp + 0x30], ymm0
mov dword [rsp + 0x50], eax
jmp 0x14037c799
cmp ebx, 0x10002
jne 0x14037c52d
vmovups xmm0, xmmword [0x1413f3110]
mov eax, dword [0x1413f3128]
vmovups xmmword [rsp + 0x30], xmm0
vmovsd xmm0, qword [0x1413f3120]
mov dword [rsp + 0x48], eax
jmp 0x14037c793
cmp ebx, 0x10003
jne 0x14037c552
vmovups ymm0, ymmword [0x1413f3230]
mov eax, dword [0x1413f3250]
vmovups ymmword [rsp + 0x30], ymm0
mov dword [rsp + 0x50], eax
jmp 0x14037c799
cmp ebx, 0x10004
jne 0x14037c57f
vmovups xmm0, xmmword [0x1413f3258]
mov eax, dword [0x1413f3270]
vmovups xmmword [rsp + 0x30], xmm0
vmovsd xmm0, qword [0x1413f3268]
mov dword [rsp + 0x48], eax
jmp 0x14037c793
cmp ebx, 0x10005
jne 0x14037c5b0
mov eax, dword [0x1413f3200]
vmovsd xmm0, qword [0x1413f31f8]
mov dword [rsp + 0x38], eax
movzx eax, word [0x1413f3204]
mov word [rsp + 0x3c], ax
vmovsd qword [rsp + 0x30], xmm0
jmp 0x14037c799
cmp ebx, 0x10006
jne 0x14037c5d6
vmovups ymm0, ymmword [0x1413f3208]
movzx eax, byte [0x1413f3228]
vmovups ymmword [rsp + 0x30], ymm0
mov byte [rsp + 0x50], al
jmp 0x14037c799
cmp ebx, 0x10007
jne 0x14037c60a
vmovups ymm0, ymmword [0x1413f31a0]
movzx eax, byte [0x1413f31c8]
vmovups ymmword [rsp + 0x30], ymm0
vmovsd xmm0, qword [0x1413f31c0]
vmovsd qword [rsp + 0x50], xmm0
mov byte [rsp + 0x58], al
jmp 0x14037c799
cmp ebx, 0x10008
jne 0x14037c63c
movzx eax, word [0x1413f31f0]
vmovups ymm0, ymmword [0x1413f31d0]
mov word [rsp + 0x50], ax
movzx eax, byte [0x1413f31f2]
mov byte [rsp + 0x52], al
vmovups ymmword [rsp + 0x30], ymm0
jmp 0x14037c799
cmp ebx, 0x10009
jne 0x14037c661
vmovups ymm0, ymmword [0x1413f3150]
mov eax, dword [0x1413f3170]
vmovups ymmword [rsp + 0x30], ymm0
mov dword [rsp + 0x50], eax
jmp 0x14037c799
cmp ebx, 0x1000a
jne 0x14037c686
vmovups ymm0, ymmword [0x1413f3178]
mov eax, dword [0x1413f3198]
vmovups ymmword [rsp + 0x30], ymm0
mov dword [rsp + 0x50], eax
jmp 0x14037c799
cmp ebx, 0x1000b
jne 0x14037c6bb
vmovups ymm0, ymmword [0x1413f3310]
movzx eax, word [0x1413f3338]
vmovups ymmword [rsp + 0x30], ymm0
vmovsd xmm0, qword [0x1413f3330]
vmovsd qword [rsp + 0x50], xmm0
mov word [rsp + 0x58], ax
jmp 0x14037c799
cmp ebx, 0x1000c
jne 0x14037c708
vmovups ymm0, ymmword [0x1413f3340]
mov eax, dword [0x1413f3378]
vmovups xmm1, xmmword [0x1413f3360]
vmovups ymmword [rsp + 0x30], ymm0
vmovsd xmm0, qword [0x1413f3370]
mov dword [rsp + 0x68], eax
movzx eax, word [0x1413f337c]
vmovsd qword [rsp + 0x60], xmm0
vmovups xmmword [rsp + 0x50], xmm1
mov word [rsp + 0x6c], ax
jmp 0x14037c799
cmp ebx, 0x1000d
jne 0x14037c743
mov eax, dword [0x1413f32e0]
vmovups ymm0, ymmword [0x1413f32a0]
vmovups ymm1, ymmword [0x1413f32c0]
mov dword [rsp + 0x70], eax
movzx eax, byte [0x1413f32e4]
mov byte [rsp + 0x74], al
vmovups ymmword [rsp + 0x30], ymm0
vmovups ymmword [rsp + 0x50], ymm1
jmp 0x14037c799
cmp ebx, 0x1000e
jne 0x14037c771
mov eax, dword [0x1413f3308]
vmovups ymm0, ymmword [0x1413f32e8]
mov dword [rsp + 0x50], eax
movzx eax, word [0x1413f330c]
mov word [rsp + 0x54], ax
vmovups ymmword [rsp + 0x30], ymm0
jmp 0x14037c799
vmovups xmm0, xmmword [0x1413f3278]
movzx eax, word [0x1413f3290]
vmovups xmmword [rsp + 0x30], xmm0
vmovsd xmm0, qword [0x1413f3288]
mov word [rsp + 0x48], ax
vmovsd qword [rsp + 0x40], xmm0
cmp dword [0x141443c80], 0
je 0x14037c833
mov ecx, dword [0x141445620]
vzeroupper
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test rax, rax
jne 0x14037c83a
mov rdx, qword [0x141443ca0]
mov ecx, 0x410
call qword [0x141443c88]
test rax, rax
je 0x14037c7e9
xor edx, edx
mov r8d, 0x410
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rdi, rax
jmp 0x14037c7f7
xor edx, edx
mov ecx, 0x10005
call fcn.14037c450
xor edi, edi
mov ecx, dword [0x141445620]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
lea rcx, [0x141445638]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x1414443e8]
lea rcx, [0x141445638]
mov qword [rdi], rax
mov qword [0x1414443e8], rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x14037c83a
lea rdi, [0x141446d80]
lea rax, [rsp + 0x30]
mov dword [rdi + 8], ebx
sub rdi, rax
lea rdx, [rsp + 0x30]
nop word [rax + rax]
movzx eax, byte [rdx]
mov byte [rdx + rdi + 0xc], al
lea rdx, [rdx + 1]
test al, al
jne 0x14037c850
mov rax, qword [0x141446d58]
mov rdi, qword [rsp + 0x448]
test rax, rax
je 0x14037c87f
lea rdx, [rsp + 0x30]
mov ecx, ebx
vzeroupper
call rax
vzeroupper
mov rcx, qword [rbp + 0x330]
xor rcx, rsp
call fcn.1403f4b10
add rsp, 0x458
pop rbx
pop rbp
ret