Function at 0x1400f6ab0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x40
mov esi, r8d
mov ebx, edx
mov rdi, rcx
test rcx, rcx
je 0x1400f6d72
cmp word [rcx], 0
je 0x1400f6d72
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x28], r14
call fcn.1400fa410
mov r14d, eax
test eax, eax
je 0x1400f6afd
mov rcx, rdi
call sub.msvcrt.dll__wcsdup
mov rdi, rax
mov qword [rsp + 0x60], rax
movzx eax, word [rdi]
mov qword [rsp + 0x38], r12
xor ebp, ebp
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x20], r15
cmp ebx, 1
jne 0x1400f6c25
mov ecx, ebp
mov r8, rdi
test ax, ax
je 0x1400f6b62
movzx edx, ax
sub edx, 0x22
je 0x1400f6b50
sub edx, 4
je 0x1400f6b4a
dec edx
je 0x1400f6b50
sub edx, 0x15
je 0x1400f6b44
cmp edx, 2
je 0x1400f6b44
inc rcx
jmp 0x1400f6b54
add rcx, 4
jmp 0x1400f6b54
add rcx, 5
jmp 0x1400f6b54
add rcx, 6
movzx eax, word [r8 + 2]
add r8, 2
test ax, ax
jne 0x1400f6b24
mov edx, esi
call fcn.1400f9f10
mov r8, rdi
mov rbx, rax
cmp word [rdi], bp
je 0x1400f6d41
mov esi, 0x3b
nop dword [rax]
movzx edx, word [r8]
mov ecx, edx
sub ecx, 0x22
je 0x1400f6bfa
sub ecx, 4
je 0x1400f6be3
dec ecx
je 0x1400f6bcd
sub ecx, 0x15
je 0x1400f6bba
cmp ecx, 2
je 0x1400f6ba7
mov word [rbx], dx
add rbx, 2
jmp 0x1400f6c12
mov dword [rbx], 0x670026
mov dword [rbx + 4], 0x3b0074
add rbx, 8
jmp 0x1400f6c12
mov dword [rbx], 0x6c0026
mov dword [rbx + 4], 0x3b0074
add rbx, 8
jmp 0x1400f6c12
mov dword [rbx], 0x610026
mov dword [rbx + 4], 0x6f0070
mov dword [rbx + 8], 0x3b0073
jmp 0x1400f6c0e
mov dword [rbx], 0x610026
mov dword [rbx + 4], 0x70006d
mov word [rbx + 8], si
add rbx, 0xa
jmp 0x1400f6c12
mov dword [rbx], 0x710026
mov dword [rbx + 4], 0x6f0075
mov dword [rbx + 8], 0x3b0074
add rbx, 0xc
add r8, 2
cmp word [r8], bp
jne 0x1400f6b80
jmp 0x1400f6d3c
mov r8, rbp
mov rdx, rdi
lea r15, [0x140000000]
test ax, ax
je 0x1400f6c79
nop word [rax + rax]
movzx eax, ax
add eax, 0xfffffff9
cmp eax, 0x55
ja case.0x1400f6c61.8
cdqe
movzx eax, byte [r15 + rax + 0xf6d8c]
mov ecx, dword [r15 + rax*4 + 0xf6d84]
add rcx, r15
jmp rcx
add r8, 2
jmp 0x1400f6c6c
inc r8
movzx eax, word [rdx + 2]
add rdx, 2
test ax, ax
jne 0x1400f6c40
mov edx, esi
mov ecx, r8d
call fcn.1400f9f10
mov rdx, rdi
mov rbx, rax
cmp word [rdi], bp
je 0x1400f6d41
movzx r8d, word [rdx]
lea eax, [r8 - 7]
cmp eax, 0x55
ja case.0x1400f6cb9.16
cdqe
movzx eax, byte [r15 + rax + 0xf6e0c]
mov ecx, dword [r15 + rax*4 + 0xf6de4]
add rcx, r15
jmp rcx
mov dword [rbx], 0x61005c
add rbx, 4
jmp 0x1400f6d2f
mov dword [rbx], 0x62005c
add rbx, 4
jmp 0x1400f6d2f
mov dword [rbx], 0x66005c
add rbx, 4
jmp 0x1400f6d2f
mov dword [rbx], 0x6e005c
add rbx, 4
jmp 0x1400f6d2f
mov dword [rbx], 0x72005c
add rbx, 4
jmp 0x1400f6d2f
mov dword [rbx], 0x74005c
add rbx, 4
jmp 0x1400f6d2f
mov dword [rbx], 0x76005c
add rbx, 4
jmp 0x1400f6d2f
mov dword [rbx], 0x22005c
add rbx, 4
jmp 0x1400f6d2f
mov dword [rbx], 0x5c005c
add rbx, 4
jmp 0x1400f6d2f
mov word [rbx], r8w
add rbx, 2
add rdx, 2
cmp word [rdx], bp
jne 0x1400f6c92
mov rdi, qword [rsp + 0x60]
mov r15, qword [rsp + 0x20]
mov r13, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
test r14d, r14d
mov r14, qword [rsp + 0x28]
je 0x1400f6d62
mov rcx, rdi
call fcn.14009f336
mov word [rbx], bp
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
mov ecx, r8d
add rsp, 0x40
pop rdi
pop rsi
pop rbx
jmp fcn.1400fa050