Function at 0x10058fb0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101dc7d4
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x10284f40]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x70], edi
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.1005fce0
push 0x34
mov byte [ebp - 4], 2
call fcn.100e430a
mov esi, eax
add esp, 4
mov dword [ebp - 0x40], esi
mov byte [ebp - 4], 3
lea ebx, [esi + 0xc]
push 3
mov ecx, ebx
mov dword [esi + 4], 1
mov dword [esi + 8], 1
mov dword [esi], vtable.std::_Ref_count_obj2_class_autobahn::wamp_message_.0
call fcn.1004fb20
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], esi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
push 0
mov ecx, ebx
mov dword [ebp - 0x40], 5
call fcn.1006a480
lea eax, [ebp - 0x3c]
mov ecx, ebx
push eax
push 1
call fcn.1006a6b0
lea ecx, [ebp - 0x6c]
call fcn.1005fec0
push eax
push 2
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.1006d150
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 4
call fcn.10057880
mov eax, dword [edi]
lea ecx, [ebp - 0x4c]
add eax, 4
mov dword [ebp - 0x4c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
push eax
movlpd qword [ebp - 0x1c], xmm0
call fcn.10070140
test al, al
je 0x10059387
mov edi, dword [ebp - 0x48]
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ebx
test edi, edi
je 0x100590db
mov eax, dword [ebp - 0x4c]
mov ebx, edi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ebx
lock inc dword [edi + 8]
test edi, edi
je 0x10059102
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x10059102
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or ecx, 0xffffffff
mov eax, ecx
lock xadd dword [edi + 8], eax
jne 0x10059102
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx]
mov edi, dword [eax + 0x10]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
test ebx, ebx
je 0x1005912f
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], ebx
lock inc dword [ebx + 8]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
test esi, esi
je 0x10059145
lock inc dword [esi + 4]
mov edx, dword [ecx + 8]
lea eax, [esi + 0xc]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
test edx, edx
je 0x1005916a
lock inc dword [edx + 4]
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
mov byte [ebp - 4], 7
mov edi, dword [edi + 8]
push dword [0x10295998]
lea eax, [edi + 0x14]
neg edi
sbb edi, edi
and edi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100591a2
cmp dword [eax], edi
je 0x10059241
mov eax, dword [eax + 8]
test eax, eax
jne 0x10059193
lea eax, [ebp - 0x68]
push eax
push 0x40
call fcn.1004a2e0
mov edi, eax
add esp, 8
lea eax, [ebp - 0x68]
push eax
lea ecx, [edi + 0x20]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x10089a70
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
call fcn.10087f80
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x40], eax
lock inc dword [eax + 0x18]
push edi
push 0
push 0
mov dword [edi + 0x1c], 1
push dword [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x10059277
mov eax, dword [ebp - 0x40]
add eax, 0x38
push eax
mov dword [ebp - 0x44], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x40]
mov dword [edi + 0x14], 0
mov ecx, dword [eax + 0x58]
test ecx, ecx
je 0x1005925e
mov dword [ecx + 0x14], edi
jmp 0x10059261
cmp dword [eax + 4], 0
je 0x100591a2
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 8
push eax
push eax
call fcn.1008c980
add esp, 8
jmp 0x10059277
mov dword [eax + 0x54], edi
mov dword [eax + 0x58], edi
mov ecx, 1
add eax, 0x34
xchg dword [eax], ecx
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x68]
call fcn.10059600
or edi, 0xffffffff
test ebx, ebx
je 0x10059296
mov eax, edi
lock xadd dword [ebx + 8], eax
jne 0x10059296
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
test esi, esi
je 0x100592b9
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x100592b9
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x100592b9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x100592ed
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100592e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005938c
push edx
push ecx
call fcn.100e476e
add esp, 8
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1005931c
mov ecx, edi
lea eax, [esi + 4]
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x1005931c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
lock xadd dword [eax], edi
cmp edi, 1
jne 0x1005931c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100e40d6
mov esp, ebp
pop ebp
ret 8
call fcn.100485a0
call fcn.100f421d
int3