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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rbp, rcx
mov r13d, r9d
mov ecx, dword [0x14003d17c]
mov r12, r8
mov rsi, rdx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
or ebx, 0xffffffff
xor r15d, r15d
mov rdi, rax
test rax, rax
jne 0x140025cbf
mov ebx, dword [0x14003d17c]
lea rdx, [rsp + 0x70]
mov ecx, ebx
mov dword [rsp + 0x70], r15d
lea rdi, [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
inc dword [rdi]
mov r10, qword [0x14003d048]
lea rax, [0x14003d048]
lea rdx, [0x140035650]
mov r14d, 0x1df
cmp r10, rax
je 0x140025d2a
test byte [r10 + 0x1c], 1
je 0x140025d2a
mov eax, dword [rdi]
lea ecx, [rax + rax*4]
cmp ecx, 0x1e1
ja 0x140025cff
mov eax, ecx
mov ecx, r14d
sub rcx, rax
jmp 0x140025d02
mov rcx, r15
lea r9, [rcx + rdx]
mov dword [rsp + 0x30], r13d
mov rcx, qword [r10 + 0x10]
lea r8, [0x140036d28]
mov edx, 0xa
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rbp
call fcn.140001650
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x140025d40
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140034e68]
mov qword [rbp + 0x50], rsi
lea rcx, [rbp + 0x18]
mov rax, rbp
lea rsi, [rbp + 0x58]
neg rax
sbb r15, r15
and r15, rcx
mov rcx, qword [rsi]
test rcx, rcx
je 0x140025d71
and qword [rsi], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140034e68]
xor r8d, r8d
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.ProximityCommon.dll_Ordinal_24]
xor r15d, r15d
mov esi, eax
test eax, eax
js 0x140025e25
lea rsi, [rbp + 0x40]
mov rcx, qword [rsi]
mov qword [rsi], r15
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
test r12, r12
je 0x140025dc3
or r9, 0xffffffffffffffff
inc r9
cmp word [r12 + r9*2], r15w
jne 0x140025da6
mov r8, r12
mov qword [rsp + 0x28], rsi
call fcn.140013498
mov esi, eax
test eax, eax
js 0x140025e25
xor r12d, r12d
mov dword [rbp + 0x30], r13d
lea r15, [rbp + 0x38]
mov qword [r15], r12
lea eax, [r12 + 1]
mul r13
test rdx, rdx
je 0x140025de5
mov esi, 0x80070216
jmp 0x140025e28
mov r9, r15
mov r8, rax
mov edx, 1
call fcn.140004940
mov esi, eax
test eax, eax
js 0x140025e28
mov r8d, dword [rbp + 0x30]
mov rdx, qword [rsp + 0x90]
mov rcx, qword [r15]
call sub.msvcrt.dll_memcpy
mov rcx, qword [rbp + 0x50]
mov rdx, rbp
mov rax, qword [rcx]
mov rax, qword [rax + 0x38]
call qword [0x140034e68]
jmp 0x140025e30
xor r12d, r12d
mov rcx, rbp
call fcn.140025ec8
mov rcx, qword [0x14003d048]
lea rax, [0x14003d048]
cmp rcx, rax
je 0x140025e88
test byte [rcx + 0x1c], 1
je 0x140025e88
mov eax, dword [rdi]
lea edx, [rax + rax*4]
cmp edx, 0x1e1
ja 0x140025e5d
mov eax, edx
sub r14, rax
jmp 0x140025e60
mov r14, r12
mov rcx, qword [rcx + 0x10]
lea r9, [0x140035650]
add r9, r14
mov dword [rsp + 0x28], esi
mov edx, ntohl
mov qword [rsp + 0x20], rbp
lea r8, [0x140036d28]
call fcn.140001730
or eax, 0xffffffff
add dword [rdi], eax
cmp ebx, eax
je 0x140025ea8
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
test rax, rax
je 0x140025ea8
xor edx, edx
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
lea r11, [rsp + 0x40]
mov eax, esi
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret