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

Disassembly:
sub rsp, 0x58
mov rax, qword [0x00507af8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbp
lea rax, vtable.b.0
xor ebp, ebp
mov dword [rcx + 8], 4
mov qword [rcx], rax
mov qword [rsp + 0x50], rdi
lea rdi, [rcx + 0x30]
mov rbx, rcx
mov qword [rdi], rbp
mov eax, dword [0x0050afc4]
test al, 1
jne 0x45ac20
or eax, 1
mov dword [0x0050afc4], eax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x0050afc0], eax
jmp 0x45ac26
mov eax, dword [0x0050afc0]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x45ac4c
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [0x0050afc0]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
lea rdx, [rsp + 0x30]
lea rcx, str.SynCom.SynPacket
mov qword [rsp + 0x78], rsi
call qword [sym.imp.ole32.dll_CLSIDFromProgID]
xor edx, edx
lea r9, [0x004d0f38]
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x15]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ole32.dll_CoCreateInstance]
lea rsi, [0x004d9468]
lea rdi, [0x004d9410]
mov qword [rbx + 0x568], rsi
lea rcx, [rbx + 0x5a0]
mov qword [rbx + 0x580], rdi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [rbx + 0x59c], 1
mov qword [rbx + 0x588], rbp
mov qword [rbx + 0x590], rbp
mov dword [rbx + 0x598], ebp
mov dword [rbx + 0x570], ebp
mov qword [rbx + 0x578], rbp
mov qword [rbx + 0x5c8], rsi
lea rcx, [rbx + 0x600]
mov qword [rbx + 0x5e0], rdi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [rbx + 0x5fc], 1
mov qword [rbx + 0x5e8], rbp
mov qword [rbx + 0x5f0], rbp
mov dword [rbx + 0x5f8], ebp
mov dword [rbx + 0x5d0], ebp
mov qword [rbx + 0x5d8], rbp
mov qword [rbx + 0x628], rsi
lea rcx, [rbx + 0x660]
mov qword [rbx + 0x640], rdi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [rbx + 0x65c], 1
mov qword [rbx + 0x648], rbp
mov qword [rbx + 0x650], rbp
mov dword [rbx + 0x658], ebp
mov dword [rbx + 0x630], ebp
mov qword [rbx + 0x638], rbp
mov qword [rbx + 0x688], rsi
lea rcx, [rbx + 0x6c0]
mov qword [rbx + 0x6a0], rdi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [rbx + 0x6bc], 1
mov qword [rbx + 0x6a8], rbp
mov qword [rbx + 0x6b0], rbp
mov dword [rbx + 0x6b8], ebp
mov dword [rbx + 0x690], ebp
mov qword [rbx + 0x698], rbp
mov qword [rbx + 0x6e8], rsi
lea rcx, [rbx + 0x720]
mov qword [rbx + 0x700], rdi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [rbx + 0x71c], 1
mov qword [rbx + 0x708], rbp
mov qword [rbx + 0x710], rbp
mov dword [rbx + 0x718], ebp
mov dword [rbx + 0x6f0], ebp
mov qword [rbx + 0x6f8], rbp
mov qword [rbx + 0x748], rsi
lea rcx, [rbx + 0x780]
mov qword [rbx + 0x760], rdi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [rbx + 0x77c], 1
mov qword [rbx + 0x768], rbp
mov qword [rbx + 0x770], rbp
mov dword [rbx + 0x778], ebp
mov dword [rbx + 0x750], ebp
mov qword [rbx + 0x758], rbp
mov qword [rbx + 0x7a8], rsi
lea rcx, [rbx + 0x7e0]
mov qword [rbx + 0x7c0], rdi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [rbx + 0x7dc], 1
mov qword [rbx + 0x7c8], rbp
mov qword [rbx + 0x7d0], rbp
mov dword [rbx + 0x7d8], ebp
mov dword [rbx + 0x7b0], ebp
mov qword [rbx + 0x7b8], rbp
mov qword [rbx + 0x808], rsi
lea rcx, [rbx + 0x840]
mov qword [rbx + 0x820], rdi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [rbx + 0x83c], 1
mov qword [rbx + 0x828], rbp
mov qword [rbx + 0x830], rbp
mov dword [rbx + 0x838], ebp
mov dword [rbx + 0x810], ebp
mov qword [rbx + 0x818], rbp
mov qword [rbx + 0x868], rsi
lea rcx, [rbx + 0x8a0]
mov qword [rbx + 0x880], rdi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [rbx + 0x89c], 1
mov qword [rbx + 0x888], rbp
mov qword [rbx + 0x890], rbp
mov dword [rbx + 0x898], ebp
mov dword [rbx + 0x870], ebp
mov qword [rbx + 0x878], rbp
mov qword [rbx + 0x8c8], rsi
lea rcx, [rbx + 0x900]
mov qword [rbx + 0x8e0], rdi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [rbx + 0x8fc], 1
mov qword [rbx + 0x8e8], rbp
mov qword [rbx + 0x8f0], rbp
mov dword [rbx + 0x8f8], ebp
mov dword [rbx + 0x8d0], ebp
mov qword [rbx + 0x8d8], rbp
mov qword [rbx + 0x928], rsi
lea rcx, [rbx + 0x960]
mov qword [rbx + 0x940], rdi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [rbx + 0x95c], 1
mov qword [rbx + 0x948], rbp
mov qword [rbx + 0x950], rbp
mov dword [rbx + 0x958], ebp
mov dword [rbx + 0x930], ebp
mov qword [rbx + 0x938], rbp
mov qword [rbx + 0x988], rsi
lea rcx, [rbx + 0x9c0]
mov qword [rbx + 0x9a0], rdi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [rbx + 0x9bc], 1
mov qword [rbx + 0x9a8], rbp
mov qword [rbx + 0x9b0], rbp
mov dword [rbx + 0x9b8], ebp
mov dword [rbx + 0x990], ebp
mov qword [rbx + 0x998], rbp
mov qword [rbx + 0x9e8], rsi
lea rcx, [rbx + 0xa20]
mov qword [rbx + 0xa00], rdi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [rbx + 0xa1c], 1
mov qword [rbx + 0xa08], rbp
mov qword [rbx + 0xa10], rbp
mov dword [rbx + 0xa18], ebp
mov dword [rbx + 0x9f0], ebp
mov qword [rbx + 0x9f8], rbp
mov qword [rbx + 0xa48], rsi
lea rcx, [rbx + 0xa80]
mov qword [rbx + 0xa60], rdi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [rbx + 0xa7c], 1
mov qword [rbx + 0xa68], rbp
mov qword [rbx + 0xa70], rbp
mov dword [rbx + 0xa78], ebp
mov dword [rbx + 0xa50], ebp
mov qword [rbx + 0xa58], rbp
mov qword [0x0050c0e0], rbx
mov dword [rbx + 0xc], 0x11
mov dword [rbx + 0x560], 0x11
mov dword [rbx + 0x38], ebp
mov dword [rbx + 0x3c], ebp
mov dword [rbx + 0x40], ebp
mov byte [rbx + 0x10], bpl
mov qword [rbx + 0x18], rbp
mov dword [rbx + 0x20], ebp
mov dword [rbx + 0x24], ebp
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x78]
xor eax, eax
mov dword [rbx + 0x28], ebp
mov dword [rbx + 0x2c], ebp
mov dword [rbx + 0x60], ebp
mov dword [rbx + 0x64], ebp
mov qword [rbx + 0x48], rbp
mov qword [rbx + 0x50], rbp
mov qword [rbx + 0x80], rax
mov qword [rbx + 0x88], rax
mov qword [rbx + 0x90], rax
mov qword [rbx + 0x98], rax
mov qword [rbx + 0x58], rbp
mov qword [rbx + 0xa8], rbp
mov qword [rbx + 0xb0], rbp
mov qword [rbx + 0xb8], rbp
mov qword [rbx + 0xc0], rbp
mov qword [rbx + 0xc8], rbp
mov qword [rbx + 0xd0], rbp
mov qword [rbx + 0xd8], rbp
mov qword [rbx + 0xe0], rbp
mov qword [rbx + 0xe8], rbp
mov dword [rbx + 0xa0], 0x69
mov dword [rbx + 0xa4], 0x6b
mov qword [rbx + 0xf0], rax
mov qword [rbx + 0xf8], rax
mov qword [rbx + 0x100], rax
mov qword [rbx + 0x108], rax
mov qword [rbx + 0x110], rax
mov qword [rbx + 0x118], rax
mov qword [rbx + 0x120], rax
mov qword [rbx + 0x128], rax
movabs rax, 0x3ff0000000000000
mov dword [rbx + 0xac0], ebp
mov dword [rbx + 0xac4], ebp
mov qword [rbx + 0x70], rax
mov qword [rbx + 0x78], rax
mov qword [rbx + 0x130], rbp
mov dword [rbx + 0x68], ebp
mov qword [rbx + 0x138], rbp
mov qword [rbx + 0x140], rbp
mov qword [rbx + 0x148], rbp
mov qword [rbx + 0x150], rbp
mov qword [rbx + 0x158], rbp
mov qword [rbx + 0x160], rbp
mov dword [rbx + 0xab0], ebp
mov dword [rbx + 0xaac], ebp
mov qword [rbx + 0xab8], rbp
mov word [rbx + 0xae8], bp
mov word [rbx + 0xcf0], bp
mov dword [rbx + 0xad4], ebp
mov dword [rbx + 0xad8], ebp
mov dword [rbx + 0xacc], ebp
mov dword [rbx + 0x538], ebp
mov dword [rbx + 0xadc], ebp
mov dword [rbx + 0xae4], ebp
mov dword [rbx + 0x548], ebp
mov dword [rbx + 0x54c], ebp
mov dword [rbx + 0x550], ebp
mov word [rbx + 0xef8], bp
mov word [rbx + 0x1100], bp
mov rbp, qword [rsp + 0x70]
mov rax, rbx
mov dword [rbx + 0xac8], 1
mov dword [rbx + 0xae0], 1
mov dword [rbx + 0x53c], 0x67
mov dword [rbx + 0x540], 0x67
mov dword [rbx + 0x544], 0x67
mov dword [rbx + 0x554], 0xa8
mov dword [rbx + 0x558], 0x4d5
mov dword [rbx + 0x55c], 0x4d6
mov dword [rbx + 0x1308], 1
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.004902e0
add rsp, 0x58
ret