Function at 0x140044200
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1f0
mov r14, rcx
mov edi, 0xffffffff
mov dword [rbp + 0x118], edi
xor r15d, r15d
mov qword [rbp - 0x80], r15
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x80], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x48], r15
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x48], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x50], r15
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x50], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x58], r15
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x58], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x60], r15
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x60], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x68], r15
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x68], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x70], r15
mov rax, qword [str.Task_Scheduler]
lea rcx, [0x14007a7c4]
test rax, rax
cmovne rcx, rax
call fcn.140059d48
mov qword [rbp - 0x70], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp + 0x120], r15
mov rax, qword [str.Task_Scheduler]
lea rcx, [0x14007a7c4]
test rax, rax
cmovne rcx, rax
call fcn.140059d48
mov qword [rbp + 0x120], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov dword [rsp + 0x80], edi
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x70], r15
lea rax, [rbp - 0x80]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], 1
mov qword [rsp + 0x58], r15
lea rax, [rbp - 0x48]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x120]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [rbp + 0x118]
lea edx, [rdi + 3]
mov rcx, r14
call fcn.140014980
mov dword [rbp + 0x118], eax
mov rcx, qword [rbp + 0x120]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x70]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x68]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x60]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x58]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x50]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x48]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x80]
call fcn.140059d2c
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov qword [rbp + 0x128], r15
lea rax, [rbp + 0x128]
mov qword [rsp + 0x20], rax
lea r9, [0x14008c278]
xor edx, edx
lea r8d, [rdi + 2]
lea rcx, [0x14008c298]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400446e1
mov rax, qword [rbp + 0x128]
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x50]
lea rcx, [rbp + 0x18]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
movups xmm0, xmmword [rbp + 0x18]
movups xmmword [rbp + 0x30], xmm0
movsd xmm0, qword [rbp + 0x28]
movsd qword [rbp - 0x78], xmm0
lea rcx, [rbp]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
movups xmm0, xmmword [rbp]
movups xmmword [rbp + 0x40], xmm0
movsd xmm0, qword [rbp + 0x10]
movsd qword [rbp - 0x38], xmm0
lea rcx, [rbp - 0x18]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
movups xmm0, xmmword [rbp - 0x18]
movups xmmword [rbp + 0x50], xmm0
movsd xmm0, qword [rbp - 8]
movsd qword [rbp - 0x40], xmm0
lea rcx, [rbp - 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
movups xmm0, xmmword [rbp + 0x30]
movaps xmmword [rbp + 0x60], xmm0
movsd xmm0, qword [rbp - 0x78]
movsd qword [rbp + 0x70], xmm0
movups xmm0, xmmword [rbp + 0x40]
movaps xmmword [rbp + 0x80], xmm0
movsd xmm0, qword [rbp - 0x38]
movsd qword [rbp + 0x90], xmm0
movups xmm0, xmmword [rbp + 0x50]
movaps xmmword [rbp + 0xa0], xmm0
movsd xmm0, qword [rbp - 0x40]
movsd qword [rbp + 0xb0], xmm0
movups xmm0, xmmword [rbp - 0x30]
movaps xmmword [rbp + 0xc0], xmm0
movsd xmm1, qword [rbp - 0x20]
movsd qword [rbp + 0xd0], xmm1
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x80]
lea r8, [rbp + 0xa0]
lea rdx, [rbp + 0xc0]
mov rcx, qword [rbp + 0x128]
call rbx
mov ebx, eax
lea rcx, [rbp - 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rbp - 0x18]
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 0x1400446d4
mov rax, qword [0x1400a5c18]
test rax, rax
je 0x14004458a
xor ecx, ecx
call rax
mov edx, 0x100
mov ecx, dword [0x1400a555c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov qword [rbp - 0x78], r15
mov rax, qword [rbp + 0x128]
mov rcx, qword [rax]
mov rsi, qword [rcx + 0x38]
mov ecx, 0x18
call fcn.14004bd50
mov rbx, rax
mov qword [rbp - 0x40], rax
test rax, rax
je 0x1400445d8
mov qword [rax + 8], r15
mov dword [rax + 0x10], 1
lea rcx, [0x140081d50]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x140044709
jmp 0x1400445db
mov rbx, r15
mov qword [rbp - 0x40], rbx
test rbx, rbx
je 0x14004471f
lea r8, [rbp - 0x78]
mov rdx, qword [rbx]
mov rcx, qword [rbp + 0x128]
call rsi
mov esi, eax
lock xadd dword [rbx + 0x10], edi
cmp edi, 1
jne 0x140044634
mov rcx, qword [rbx]
test rcx, rcx
je 0x140044615
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140044627
call fcn.14004bd8c
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.14004bd8c
test esi, esi
js 0x1400446b0
mov rdi, qword [rbp - 0x78]
mov ecx, 0x18
call fcn.14004bd50
mov rbx, rax
mov qword [rbp + 0x120], rax
test rax, rax
je 0x14004467b
mov qword [rax + 8], r15
mov dword [rax + 0x10], 1
lea rcx, [0x14007a7c4]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x140044714
jmp 0x14004467e
mov rbx, r15
mov qword [rbp - 0x80], rbx
test rbx, rbx
je 0x1400446fe
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x80]
mov r8, qword [str.Task_Scheduler]
lea rdx, [rbp + 0x118]
mov rcx, r14
call fcn.1400410f0
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x1400a5c18]
test rax, rax
je 0x1400446d4
mov ecx, 1
call rax
mov edx, 0x200
mov ecx, dword [0x1400a555c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, qword [rbp + 0x128]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rbx, qword [rsp + 0x220]
add rsp, 0x1f0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x8007000e
call fcn.14004dd40
nop
mov ecx, 0x8007000e
call fcn.14004dd40
nop
mov ecx, 0x8007000e
call fcn.14004dd40
nop
mov ecx, 0x8007000e
call fcn.14004dd40
int3