Function at 0x1014ee00
Capabilities:
Get thread local storage value

Disassembly:
push ebp
lea ebp, [esp - 0x4c]
sub esp, 0x4c
push 0xffffffffffffffff
push 0x1021a455
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10282800]
xor eax, ebp
mov dword [ebp + 0x48], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 0x84]
or edi, 0xffffffff
mov dword [ebp - 4], 1
cmp dword [esi + 0xd8], 2
jne 0x1014f0b4
cmp dword [esi + 0xa8], 0
je 0x1014f0b4
mov ecx, dword [esi + 0xd0]
push str.asio::async_accept
push 0x400
call fcn.10136ad0
mov eax, dword [ebp + 0x54]
mov ebx, dword [esi + 0xa8]
mov ecx, dword [eax + 0x84]
test ecx, ecx
je 0x1014ee88
lock inc dword [ecx + 4]
mov edi, dword [eax + 0x80]
mov eax, dword [eax + 0x84]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], eax
mov edx, 0x101530d0
mov dword [ebp - 0x40], 0
lea eax, [ebp - 0x64]
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0x80]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x1014eece
mov eax, dword [ecx]
lea edx, [ebp - 0x64]
push edx
call dword [eax]
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], esi
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [ebp], eax
lea eax, [ebp - 0x6c]
mov dword [ebp + 4], ecx
lea ecx, [ebp + 0x10]
push eax
mov dword [ebp + 8], edx
call fcn.100fb770
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
mov dword [ebp + 0x40], eax
test ecx, ecx
je 0x1014ef0f
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x64]
cmp ecx, eax
setne al
push eax
call edx
mov dword [ebp - 0x40], 0
mov eax, dword [ebp + 0x54]
mov edi, dword [ebx]
push dword [0x1028dd78]
mov byte [ebp - 4], 4
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebx + 0x44]
mov dword [ebp - 0x10], eax
add ebx, 4
lea eax, [ebp]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1014ef45
mov eax, dword [eax + 4]
jmp 0x1014ef47
xor eax, eax
push 8
push 0x1d0
push eax
push dword [ebp - 0x14]
call fcn.100ed620
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x20], esi
mov dl, byte [ebx + 4]
mov ecx, dword [ebx]
lea ebx, [edi + 0x14]
mov eax, dword [ebp - 0x18]
lea edi, [esi + 0x28]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi], 0xffffffff
mov dword [esi + 0x24], ecx
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x10151930
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], ebx
mov eax, dword [eax + 0x1c]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], 0
mov dword [esi + 0x15c], 0
mov dword [esi + 0x160], 0
shr dl, 2
and dl, 1
mov byte [esi + 0x158], dl
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
mov dword [esi + 0x168], eax
mov dword [esi + 0x16c], ecx
lea ecx, [esi + 0x178]
mov eax, dword [ebp + 8]
mov dword [esi + 0x170], eax
lea eax, [ebp + 0x10]
push eax
call fcn.100fb770
push dword [ebp - 0x10]
mov eax, dword [ebp + 0x40]
lea ecx, [esi + 0x1b0]
push 0
push 0
mov dword [esi + 0x1a8], eax
call fcn.100faf20
mov eax, dword [ebp - 0x18]
lea edx, [esi + 0x38]
mov ecx, dword [ebp - 0x1c]
push esi
push 0x90
cmp dword [eax + 4], 0xffffffff
push edx
push 6
push 1
push dword [ecx + 0x1c]
setne al
push edi
push eax
push ecx
mov ecx, ebx
call fcn.1015e590
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.1015cdf0
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
je 0x1014f089
mov edx, dword [ecx]
lea eax, [ebp + 0x18]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp + 0x3c], 0
mov ebx, dword [ebp - 0x14]
or edi, 0xffffffff
test ebx, ebx
je 0x1014f0cc
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x1014f0cc
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, edi
lock xadd dword [ebx + 8], eax
jne 0x1014f0cc
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
jmp 0x1014f0cc
lea eax, [ebp - 0x28]
push 0x19
push eax
call fcn.10123350
add esp, 8
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebx], ecx
mov dword [ebx + 4], eax
mov esi, dword [ebp + 0x58]
test esi, esi
je 0x1014f0f1
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1014f0f1
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1014f0f1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp + 0x80]
test ecx, ecx
je 0x1014f10c
mov edx, dword [ecx]
lea eax, [ebp + 0x5c]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x48]
xor ecx, ebp
call fcn.101e3b75
lea esp, [ebp + 0x4c]
pop ebp
ret 0x34