Function at 0x140024d30
Capabilities:
Set thread local storage value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0xa0]
sub rsp, 0x1b0
mov qword [rbp + 0x18], 0xfffffffffffffffe
mov rsi, rcx
mov dword [rbp + 0xd8], 0xffffffff
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x80], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x78], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x58], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x50], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x68], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x70], rax
mov rax, qword [str.Task_Scheduler]
lea rcx, [0x1400d1428]
test rax, rax
cmovne rcx, rax
call fcn.1400a8238
mov qword [rbp - 0x60], rax
mov rax, qword [str.Task_Scheduler]
lea rcx, [0x1400d1428]
test rax, rax
cmovne rcx, rax
call fcn.1400a8238
mov qword [rbp + 0xe8], rax
mov dword [rsp + 0x80], 0xffffffff
xor r14d, r14d
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], r14
lea rax, [rbp - 0x80]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], 1
mov qword [rsp + 0x58], r14
lea rax, [rbp - 0x78]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xe8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [rbp + 0xd8]
lea edx, [r14 + 2]
mov rcx, rsi
call fcn.140004870
mov dword [rbp + 0xd8], eax
mov rcx, qword [rbp + 0xe8]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x60]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x70]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x68]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x50]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x58]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x78]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x80]
call fcn.1400a82b0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov qword [rbp + 0xe0], r14
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x20], rax
lea r9, [0x1400f0870]
xor edx, edx
lea r8d, [r14 + 1]
lea rcx, [0x1400f0a80]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140025103
lea rcx, [rbp - 0x18]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
movups xmm0, xmmword [rbp - 0x18]
movaps xmmword [rbp + 0x60], xmm0
movsd xmm1, qword [rbp - 8]
movsd qword [rbp + 0x70], xmm1
lea rcx, [rbp]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
movups xmm0, xmmword [rbp]
movaps xmmword [rbp + 0x20], xmm0
movsd xmm1, qword [rbp + 0x10]
movsd qword [rbp + 0x30], xmm1
lea rcx, [rbp - 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
movups xmm0, xmmword [rbp - 0x30]
movaps xmmword [rbp + 0x40], xmm0
movsd xmm1, qword [rbp - 0x20]
movsd qword [rbp + 0x50], xmm1
lea rcx, [rbp - 0x48]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
movups xmm0, xmmword [rbp - 0x48]
movaps xmmword [rbp + 0x80], xmm0
movsd xmm1, qword [rbp - 0x38]
movsd qword [rbp + 0x90], xmm1
mov rcx, qword [rbp + 0xe0]
mov rax, qword [rcx]
lea rdx, [rbp + 0x60]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x20]
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x80]
call qword [rax + 0x50]
mov ebx, eax
lea rcx, [rbp - 0x48]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rbp - 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rbp]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rbp - 0x18]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
test ebx, ebx
js 0x1400250f6
mov rax, qword [0x1401256f8]
test rax, rax
je 0x14002500c
xor ecx, ecx
call rax
mov edx, 0x100
mov ecx, dword [0x1401252dc]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov qword [rbp + 0xe8], r14
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.1400a8e40
mov rdi, rax
mov qword [rbp - 0x80], rax
test rax, rax
je 0x140025054
mov qword [rax + 8], r14
mov dword [rax + 0x10], 1
lea rcx, [0x1400d1c90]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rdi], rax
test rax, rax
jne 0x140025057
mov ecx, 0x8007000e
call fcn.1400a6a90
int3
mov rdi, r14
mov qword [rbp - 0x80], rdi
test rdi, rdi
jne 0x14002506b
mov ecx, 0x8007000e
call fcn.1400a6a90
nop
mov rcx, qword [rbp + 0xe0]
mov rax, qword [rcx]
lea r8, [rbp + 0xe8]
mov rdx, qword [rdi]
call qword [rax + reloc.WS2_32.dll_getservbyport]
mov ebx, eax
mov rcx, rdi
call fcn.140009910
test ebx, ebx
js 0x1400250d2
lea rdx, [0x1400d1428]
lea rcx, [rbp - 0x80]
call fcn.140003fe0
mov rcx, qword [rbp + 0xe8]
mov qword [rsp + 0x20], rcx
mov r9, rax
mov r8, qword [str.Task_Scheduler]
lea rdx, [rbp + 0xd8]
mov rcx, rsi
call fcn.140022b70
mov rcx, qword [rbp + 0xe8]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rax, qword [0x1401256f8]
test rax, rax
je 0x1400250f6
mov ecx, 1
call rax
mov edx, 0x200
mov ecx, dword [0x1401252dc]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, qword [rbp + 0xe0]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
call qword [sym.imp.ole32.dll_CoUninitialize]
add rsp, 0x1b0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp