Function at 0x100bcef0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov esi, esp
mov dword [esi], ecx
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [esi + 0x20], eax
mov edi, dword [0x101ce510]
cmp edi, 1
ja 0x100bcf59
push 0x101ce510
call fcn.10065310
add esp, 4
test al, al
je 0x100bcf53
mov dword [0x101ce518], 0
mov dword [0x101ce514], 0xffffffff
mov edi, 0x101ce514
mov ecx, 0x101ce514
push 0
call fcn.1007a5a0
mov dword [0x101ce510], edi
jmp 0x100bcf59
mov edi, dword [0x101ce510]
push dword [0x101bac5c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
xor ebx, ebx
and eax, 0xfffffffc
je 0x100bcf7e
mov ecx, dword [edi]
mov edx, dword [eax + ecx*8 + 4]
cmp edx, dword [edi + 4]
mov edi, dword [esi]
jne 0x100bcf80
mov ebx, dword [eax + ecx*8]
jmp 0x100bcf80
mov edi, dword [esi]
mov eax, ebx
shr eax, 0xe
mov ecx, ebx
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x101c1e84]
bt ecx, eax
jae 0x100bcfa1
push ebx
call fcn.10069180
add esp, 4
jmp 0x100bcfad
mov eax, ebx
shr eax, 0x15
mov byte [eax + 0x101c9e84], 1
mov dword [edi], ebx
mov edi, dword [0x101ce51c]
cmp edi, 1
ja 0x100bcffe
push 0x101ce51c
call fcn.10065310
add esp, 4
test al, al
je 0x100bcff8
mov dword [0x101ce524], 0
mov dword [0x101ce520], 0xffffffff
mov edi, 0x101ce520
mov ecx, 0x101ce520
push 0
call fcn.1007a5a0
mov dword [0x101ce51c], edi
jmp 0x100bcffe
mov edi, dword [0x101ce51c]
push dword [0x101bac5c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
xor ebx, ebx
and eax, 0xfffffffc
je 0x100bd023
mov ecx, dword [edi]
mov edx, dword [eax + ecx*8 + 4]
cmp edx, dword [edi + 4]
mov edi, dword [esi]
jne 0x100bd025
mov ebx, dword [eax + ecx*8]
jmp 0x100bd025
mov edi, dword [esi]
mov eax, ebx
shr eax, 0xe
mov ecx, ebx
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x101c1e84]
bt ecx, eax
jae 0x100bd046
push ebx
call fcn.10069180
add esp, 4
jmp 0x100bd052
mov eax, ebx
shr eax, 0x15
mov byte [eax + 0x101c9e84], 1
mov eax, dword [ebp + 8]
mov dword [edi + 4], ebx
cmp dword [ebp + 0xc], 1
sete cl
mov dword [esi + 8], ecx
je 0x100bd073
test ebx, ebx
je 0x100bd073
movzx ecx, byte [ebx + 8]
mov dword [esi + 8], 0
mov dword [esi + 4], esp
mov ebx, dword [esi]
mov byte [ebx + 8], cl
lea edx, [ebx + 0xc]
push eax
sub esp, 0x18
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
mov byte [ecx + 0x10], 0
mov dword [ecx + 0x14], 0x11be9915
mov dword [ecx + 0x18], 0
mov eax, dword [ecx + 0xc]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0x11be9915
lea edi, [esi + 0x18]
mov dword [esi + 0xc], edx
mov ecx, edx
push 1
push edi
push 0xf0
push 0
push eax
call fcn.1005f070
mov dword [ebx + 0x18], 0x11be9915
mov esp, dword [esi + 4]
mov edi, ebx
mov byte [ebx + 0x20], 0
mov ebx, dword [0x101ce51c]
cmp ebx, 1
ja 0x100bd124
push 0x101ce51c
call fcn.10065310
add esp, 4
test al, al
je 0x100bd11e
mov dword [0x101ce524], 0
mov dword [0x101ce520], 0xffffffff
mov ebx, 0x101ce520
mov ecx, 0x101ce520
push 0
call fcn.1007a5a0
mov dword [0x101ce51c], ebx
jmp 0x100bd124
mov ebx, dword [0x101ce51c]
push dword [0x101bac5c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x100bd3c5
mov ecx, dword [ebx]
mov dword [eax + ecx*8], edi
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [eax + ecx*8 + 4], edx
mov edi, dword [0x101ce6c4]
cmp edi, 1
ja 0x100bd196
push 0x101ce6c4
call fcn.10065310
add esp, 4
test al, al
je 0x100bd190
mov dword [0x101ce6cc], 0
mov dword [0x101ce6c8], 0xffffffff
mov edi, 0x101ce6c8
mov ecx, 0x101ce6c8
push 0
call fcn.1007a5a0
mov dword [0x101ce6c4], edi
jmp 0x100bd196
mov edi, dword [0x101ce6c4]
push dword [0x101bac5c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x100bd1c2
mov ecx, dword [edi]
mov edx, dword [eax + ecx*8 + 4]
cmp edx, dword [edi + 4]
jne 0x100bd1c2
mov eax, dword [eax + ecx*8]
test eax, eax
je 0x100bd1c2
cmp byte [eax], 0
je 0x100bd2bd
cmp dword [ebp + 0x10], 0
mov eax, dword [esi]
jne 0x100bd1d0
cmp byte [eax + 8], 0
je 0x100bd20a
mov eax, dword [eax + 4]
test eax, eax
je 0x100bd2eb
cmp byte [eax + 0x20], 0
je 0x100bd2eb
mov ecx, dword [eax + 0x30]
mov dword [eax + 0x30], 0
test ecx, ecx
je 0x100bd2eb
lock dec dword [ecx]
jne 0x100bd2eb
call fcn.100bd600
jmp 0x100bd2eb
cmp dword [eax + 4], 0
jne 0x100bd2eb
mov edi, dword [esi]
cmp byte [edi + 0x20], 0
je 0x100bd279
mov ebx, dword [edi + 0x30]
test ebx, ebx
je 0x100bd275
mov ecx, dword [0x101bac60]
call dword [section..00cfg]
lea eax, [esi + 0x18]
push eax
call ecx
add esp, 4
movsd xmm0, qword [edi + 0x28]
movsd qword [esi + 0x10], xmm0
sub esp, 0x10
movsd xmm0, qword [esi + 0x18]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esi + 0x10]
movsd qword [esp], xmm0
mov ecx, ebx
call fcn.100bcb30
add esp, 0x10
mov ecx, dword [edi + 0x30]
test ecx, ecx
je 0x100bd275
lock dec dword [ecx]
jne 0x100bd275
call fcn.100bd600
mov byte [edi + 0x20], 0
lea ebx, [edi + 0x28]
mov ecx, dword [0x101bac60]
call dword [section..00cfg]
push ebx
call ecx
add esp, 4
lea ecx, [edi + 0x30]
call fcn.100bca60
mov ecx, dword [edi + 0x30]
test ecx, ecx
je 0x100bd2b7
mov eax, dword [ecx + 0xf8]
mov ecx, dword [ecx + 0xfc]
mov edx, dword [ebx + 4]
cmp dword [ebx], eax
sbb edx, ecx
jge 0x100bd2b7
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov byte [edi + 0x20], 1
jmp 0x100bd2eb
mov eax, dword [0x101ce6c0]
mov ecx, dword [0x101bd164]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x100bd3d7
cmp byte [0x101ce6bc], 0
je 0x100bd1c2
mov edi, dword [esi]
mov ebx, dword [edi]
test ebx, ebx
je 0x100bd32e
mov eax, dword [edi + 4]
test eax, eax
je 0x100bd318
cmp byte [esi + 8], 0
je 0x100bd32e
cmp byte [eax + 8], 0
jne 0x100bd32e
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
mov dword [esi + 4], ecx
call dword [section..00cfg]
mov ecx, ebx
jmp 0x100bd32b
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
call dword [section..00cfg]
mov ecx, ebx
push dword [ebp + 0xc]
call dword [esi + 4]
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x100bd3af
mov eax, dword [eax + 0xc]
cmp eax, dword [edi + 0x10]
jbe 0x100bd3af
mov dword [esi + 0x14], 0xffffffff
mov dword [esi + 0x10], 0xffffffff
mov ecx, dword [0x101bac60]
call dword [section..00cfg]
lea eax, [esi + 0x10]
push eax
call ecx
add esp, 4
mov ecx, ebx
call fcn.1005f490
mov ebx, eax
movsd xmm0, qword [esi + 0x10]
movsd qword [esi + 0x18], xmm0
mov ecx, eax
push 8
lea eax, [esi + 0x18]
push eax
push 8
push 0xc
push str.timestamp_us
call fcn.1005e300
mov ecx, dword [ebp + 0xc]
mov eax, ecx
sar eax, 0x1f
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], ecx
mov ecx, ebx
push 8
lea eax, [esi + 0x18]
push eax
push 8
push 0xd
push str.blocking_type
call fcn.1005e300
mov ecx, dword [esi + 0x20]
xor ecx, ebp
call fcn.101465a3
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
test edi, edi
je 0x100bd147
call fcn.1007a6e0
jmp 0x100bd139
push 0x101ce6c0
call fcn.10145c47
add esp, 4
cmp dword [0x101ce6c0], 0xffffffff
jne 0x100bd2de
mov ecx, dword [0x101bee38]
test ecx, ecx
je 0x100bd405
push str.enable_background_thread_pool
call fcn.1005ae30
mov byte [0x101ce6bc], 1
push 0x101ce6c0
call fcn.10145cbd
add esp, 4
jmp 0x100bd2de