Function at 0x454e20
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
mov r11, rsp
sub rsp, 0x68
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov rax, qword [0x00507af8]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov qword [r11 - 0x38], rcx
lea rax, [0x004d86a8]
mov qword [rcx], rax
add rcx, 0x10
call fcn.0048b560
nop
lea rcx, [rbx + 0x20]
call fcn.00466610
nop
lea rcx, [rbx + 0x38]
xor edi, edi
mov qword [rcx], rdi
call fcn.0044eca0
nop
lea rax, [0x004d8090]
mov qword [rbx + 0x158], rax
lea rcx, [rbx + 0x178]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [rbx + 0x174], 1
mov qword [rbx + 0x160], rdi
mov qword [rbx + 0x168], rdi
mov dword [rbx + 0x170], edi
lea rcx, [rbx + 0x428]
call fcn.00404df0
nop
lea rax, [0x004d5e18]
mov qword [rbx + 0x490], rax
lea rsi, [rbx + 0xcd0]
mov qword [rsi], rdi
mov eax, dword [0x0050c0c4]
test al, 1
jne 0x454efe
or eax, 1
mov dword [0x0050c0c4], eax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x0050c0c0], eax
jmp 0x454f04
mov eax, dword [0x0050c0c0]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x454f2a
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov edx, 1
mov ecx, dword [0x0050c0c0]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
lea rdx, [rsp + 0x40]
lea rcx, str.SynCom.SynAPI
call qword [sym.imp.ole32.dll_CLSIDFromProgID]
mov qword [rsp + 0x20], rsi
lea r9, str.c_a2A
xor edx, edx
lea r8d, [rdx + 0x15]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ole32.dll_CoCreateInstance]
lea r11, method.b.virtual_16
mov qword [rbx + 0xcc8], r11
lea rcx, [rbx + 0xd10]
call fcn.00405e70
nop
lea rax, [0x004d3ba8]
mov qword [rbx + 0xd58], rax
lea rcx, [rbx + 0xd78]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [rbx + 0xd74], 1
mov qword [rbx + 0xd60], rdi
mov qword [rbx + 0xd68], rdi
mov dword [rbx + 0xd70], edi
lea rax, [0x004d3d00]
mov qword [rbx + 0xd58], rax
lea rcx, [rbx + 0xdc0]
call fcn.0044ebb0
nop
lea rcx, [rbx + 0xe00]
call fcn.0044ed90
nop
mov dword [rbx + 0x1bc], 1
mov qword [rbx + 0x1e8], rdi
mov dword [rbx + 0x1f0], edi
mov qword [rbx + 0x140], rdi
mov qword [rbx + 0x208], rdi
mov qword [rbx + 0x420], rdi
mov qword [rbx + 0xcd8], rdi
mov qword [rbx + 0xce0], rdi
mov qword [rbx + 0xcf0], rdi
mov qword [rbx + 0xce8], rdi
mov word [rbx + 0x218], 0
mov dword [rbx + 0xc], 1
mov dword [rbx + 0x1d0], edi
mov dword [rbx + 0x1a0], 0xffffffff
mov dword [rbx + 0x1cc], edi
mov qword [rbx + 0x1a8], rdi
mov qword [rbx + 0x1b0], rdi
mov dword [rbx + 8], edi
mov dword [rbx + 0x1a4], edi
mov qword [rbx + 0xcf8], rdi
mov qword [rbx + 0xd00], rdi
mov qword [rbx + 0xd08], rdi
mov dword [rbx + 0xcb8], 2
mov dword [rbx + 0x1d4], 0xffffffff
mov dword [rbx + 0xcbc], edi
mov dword [rbx + 0xcc0], edi
mov dword [rbx + 0x1e0], edi
mov dword [rbx + 0x148], edi
mov dword [rbx + 0x1d8], edi
mov dword [rbx + 0x1dc], edi
mov dword [rbx + 0x1e4], edi
mov qword [rbx + 0x1f8], rdi
mov dword [rbx + 0x200], edi
mov dword [rbx + 0xda8], edi
mov dword [rbx + 0x1b8], edi
mov dword [rbx + 0xdb0], edi
mov dword [rbx + 0xdb4], edi
mov dword [rbx + 0xdf4], edi
mov dword [rbx + 0xdf0], edi
mov dword [rbx + 0xdf8], edi
mov qword [rbx + 0xde8], rdi
mov dword [rbx + 0xe28], edi
mov qword [rbx + 0xe30], rdi
mov qword [rbx + 0xe38], rdi
mov dword [rbx + 0xdb8], edi
mov ecx, 0x228
call fcn.004910b0
mov qword [rsp + 0x40], rax
test rax, rax
je 0x455129
mov edx, 0x64
mov rcx, rax
call fcn.00478db0
mov rdi, rax
mov qword [rbx + 0x150], rdi
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.004902e0
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x88]
add rsp, 0x68
ret