Function at 0x10132ac0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
lea ebp, [esp - 0x54]
sub esp, 0x54
push 0xffffffffffffffff
push 0x10217785
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x10282800]
xor eax, ebp
mov dword [ebp + 0x50], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov ebx, dword [ebp + 0x5c]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x34], 0
push 0x48
mov dword [ebp - 4], 1
call fcn.101e3738
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 2
test edi, edi
je 0x10132c85
mov eax, dword [ebp + 0x60]
mov ecx, 0xf4240
mov esi, dword [esi + 0x7c]
imul ecx
push 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.100f5290
mov ecx, dword [esi]
lea eax, [ebp - 0x30]
add esp, 8
push esi
push 0x100f06c0
push eax
call fcn.10115bf0
mov dword [edi], eax
lea eax, [edi + 0x28]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0xffffffff
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [eax + 4], esi
mov dword [eax + 0x14], 0x10226430
mov dword [eax + 0xc], 0x102265b8
mov dword [eax + 0x10], eax
mov dword [eax + 0x18], 0x10226078
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov byte [edi + 0x10], 0
mov eax, dword [edi]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 3
call fcn.10126260
mov ecx, dword [ebp - 0x20]
add esp, 4
mov edx, dword [ebp - 0x24]
test ecx, ecx
jl 0x10132c19
jg 0x10132bef
test edx, edx
jb 0x10132c19
or eax, 0xffffffff
sub eax, edx
mov dword [ebp - 0x28], eax
mov eax, closesocket
sbb eax, ecx
cmp eax, dword [ebp - 0x10]
jg 0x10132c41
jl 0x10132c0d
mov esi, dword [ebp - 0x1c]
cmp dword [ebp - 0x28], esi
jae 0x10132c44
or esi, 0xffffffff
mov dword [ebp - 0x10], closesocket
jmp 0x10132c4c
xor eax, eax
sub eax, edx
mov dword [ebp - 0x28], eax
mov eax, closesocket
sbb eax, ecx
cmp dword [ebp - 0x10], eax
jg 0x10132c41
jl 0x10132c36
mov esi, dword [ebp - 0x1c]
cmp esi, dword [ebp - 0x28]
jae 0x10132c44
xor esi, esi
mov dword [ebp - 0x10], closesocket
jmp 0x10132c4c
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
add esi, edx
adc dword [ebp - 0x10], eax
cmp byte [edi + 0x10], 0
je 0x10132c6b
mov ecx, dword [ebp - 0x2c]
lea eax, [edi + 0x14]
push 0xffffffffffffffff
push eax
lea eax, [ecx + 0x14]
mov ecx, dword [ecx + 0x2c]
push eax
call fcn.100ee590
mov byte [edi + 0x10], 0
mov ecx, dword [ebp - 0x10]
xor eax, eax
mov dword [edi + 8], esi
mov esi, dword [ebp - 0x14]
mov dword [edi + 0xc], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0x10282038
jmp 0x10132c87
xor edi, edi
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 0x18], edi
push 0x10
mov byte [ebp - 4], 4
call fcn.101e3738
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10132cd3
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_class_asio::basic_waitable_timer_struct_std::chrono::steady_clock__struct_asio::wait_traits_struct_std::chrono::steady_clock___class_asio::any_io_executor__.0
mov dword [eax + 0xc], edi
jmp 0x10132cd5
xor eax, eax
mov dword [ebx], edi
mov dword [ebx + 4], eax
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x80]
mov ecx, esi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x34], 1
call fcn.101195d0
mov esi, eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x8c], 0x1011f980
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x58], 0
mov ecx, dword [ebp + 0x88]
mov byte [ebp - 4], 8
test ecx, ecx
je 0x10132d2b
mov eax, dword [ecx]
lea edx, [ebp - 0x7c]
push edx
call dword [eax]
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
test eax, eax
je 0x10132d44
lock inc dword [eax + 4]
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x54], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x48], 0
mov eax, dword [esi]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x48], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x84]
mov dword [ebp + 4], ecx
lea ecx, [ebp + 0x10]
push eax
mov dword [ebp - 0x34], 3
call fcn.100fb850
lea ecx, [ebp - 0x84]
call fcn.101004c0
mov eax, dword [edi]
push dword [0x1028dd78]
mov dword [ebp - 0x2c], eax
lea eax, [edi + 0x28]
mov dword [ebp - 0x14], eax
add edi, 8
lea eax, [ebp]
mov byte [ebp - 4], 9
mov dword [ebp - 0x40], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10132dd3
mov eax, dword [eax + 4]
jmp 0x10132dd5
xor eax, eax
push 8
push 0xa0
push eax
push dword [ebp - 0x18]
call fcn.100ed620
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x3c], esi
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x10112720
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 dword [esi + 0x20], 0
mov dword [esi + 0x24], 0x10282038
mov dword [esi + 0x28], 0
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ecx
lea ecx, [esi + 0x40]
mov eax, dword [ebp + 8]
mov dword [esi + 0x38], eax
lea eax, [ebp + 0x10]
push eax
mov byte [ebp - 4], 0xa
call fcn.100fb850
push dword [ebp - 0x14]
lea ecx, [esi + 0x80]
push 0
push 0
call fcn.100faf20
mov ecx, dword [ebp - 0x2c]
lea eax, [edi + 0xc]
push esi
push eax
push edi
lea eax, [ecx + 0x14]
mov byte [edi + 8], 1
mov ecx, dword [ecx + 0x2c]
push eax
mov dword [ebp - 0x38], esi
call fcn.100f8650
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xb
call fcn.1012eaf0
lea ecx, [ebp + 0x10]
call fcn.101004c0
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x10132ed3
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10132ed3
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10132ed3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp + 0x88]
test ecx, ecx
je 0x10132eee
mov esi, dword [ecx]
lea eax, [ebp + 0x64]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x50]
xor ecx, ebp
call fcn.101e3b75
lea esp, [ebp + 0x54]
pop ebp
ret 0x30