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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aeabd
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4d5104]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp + 8]
push dword [0x518c04]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov esi, dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x426507
cmp dword [eax], esi
je 0x426651
mov eax, dword [eax + 8]
test eax, eax
jne 0x4264f8
mov esi, dword [edi + 0x28]
mov dword [ebp - 0x3c], edi
lea eax, [esi + 0x400]
lock bts dword [eax], 0
setb al
movzx eax, al
test eax, eax
je 0x42652f
push 0x7c
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov esi, eax
mov dword [ebp - 4], 1
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], fcn.00426b20
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
mov eax, dword [edi]
mov dword [esi + 0x20], eax
movups xmm0, xmmword [edi + 4]
movups xmmword [esi + 0x24], xmm0
mov eax, dword [edi + 0x14]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], ecx
lea ecx, [esi + 0x4c]
mov eax, dword [edi + 0x28]
mov dword [esi + 0x48], eax
lea eax, [edi + 0x2c]
push eax
call fcn.00418f40
mov eax, dword [edi + 0x50]
mov dword [esi + 0x70], eax
mov eax, dword [edi + 0x54]
mov dword [esi + 0x74], eax
mov eax, dword [edi + 0x58]
mov dword [esi + 0x78], eax
mov ecx, dword [esi + 0x40]
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 8]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
push esi
push edi
call fcn.0042af50
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
test al, al
je 0x42669d
mov eax, dword [edi]
xorps xmm0, xmm0
push dword [0x518c04]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push dword [0x518c04]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [edi]
mov dword [ebp - 0x2c], eax
push 0x518b30
push 0x436440
push 0x518b38
mov byte [ebp - 4], 3
call fcn.0047f590
add esp, 0xc
test eax, eax
je 0x4266ba
jmp 0x426671
cmp dword [eax + 4], 0
je 0x426507
lea eax, [edi + 0x1c]
mov dword [ebp - 4], 0
push eax
push edi
call fcn.00428fe0
add esp, 8
jmp 0x42669d
push 0
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push esi
push dword [eax + 0x14]
call fcn.00426b20
add esp, 0x10
lea ecx, [ebp - 0x30]
call fcn.0042aee0
push dword [ebp - 0x14]
push dword [0x518c04]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a8e74
mov esp, ebp
pop ebp
ret 8
call sub.msvcrt.dll_void___cdecl_terminate_void_
int3