Function at 0x100bcee0
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 0x100bcf49
push 0x101ce510
call fcn.10065310
add esp, 4
test al, al
je 0x100bcf43
mov dword [0x101ce518], 0
mov dword [0x101ce514], 0xffffffff
mov edi, 0x101ce514
mov ecx, 0x101ce514
push 0
call fcn.1007a5a0
mov dword [0x101ce510], edi
jmp 0x100bcf49
mov edi, dword [0x101ce510]
push dword [0x101bac5c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
xor ebx, ebx
and eax, 0xfffffffc
je 0x100bcf6e
mov ecx, dword [edi]
mov edx, dword [eax + ecx*8 + 4]
cmp edx, dword [edi + 4]
mov edi, dword [esi]
jne 0x100bcf70
mov ebx, dword [eax + ecx*8]
jmp 0x100bcf70
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 0x100bcf91
push ebx
call fcn.10069180
add esp, 4
jmp 0x100bcf9d
mov eax, ebx
shr eax, 0x15
mov byte [eax + 0x101c9e84], 1
mov dword [edi], ebx
mov edi, dword [0x101ce51c]
cmp edi, 1
ja 0x100bcfee
push 0x101ce51c
call fcn.10065310
add esp, 4
test al, al
je 0x100bcfe8
mov dword [0x101ce524], 0
mov dword [0x101ce520], 0xffffffff
mov edi, 0x101ce520
mov ecx, 0x101ce520
push 0
call fcn.1007a5a0
mov dword [0x101ce51c], edi
jmp 0x100bcfee
mov edi, dword [0x101ce51c]
push dword [0x101bac5c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
xor ebx, ebx
and eax, 0xfffffffc
je 0x100bd013
mov ecx, dword [edi]
mov edx, dword [eax + ecx*8 + 4]
cmp edx, dword [edi + 4]
mov edi, dword [esi]
jne 0x100bd015
mov ebx, dword [eax + ecx*8]
jmp 0x100bd015
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 0x100bd036
push ebx
call fcn.10069180
add esp, 4
jmp 0x100bd042
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 0x100bd063
test ebx, ebx
je 0x100bd063
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 0x100bd114
push 0x101ce51c
call fcn.10065310
add esp, 4
test al, al
je 0x100bd10e
mov dword [0x101ce524], 0
mov dword [0x101ce520], 0xffffffff
mov ebx, 0x101ce520
mov ecx, 0x101ce520
push 0
call fcn.1007a5a0
mov dword [0x101ce51c], ebx
jmp 0x100bd114
mov ebx, dword [0x101ce51c]
push dword [0x101bac5c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x100bd3b5
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 0x100bd186
push 0x101ce6c4
call fcn.10065310
add esp, 4
test al, al
je 0x100bd180
mov dword [0x101ce6cc], 0
mov dword [0x101ce6c8], 0xffffffff
mov edi, 0x101ce6c8
mov ecx, 0x101ce6c8
push 0
call fcn.1007a5a0
mov dword [0x101ce6c4], edi
jmp 0x100bd186
mov edi, dword [0x101ce6c4]
push dword [0x101bac5c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x100bd1b2
mov ecx, dword [edi]
mov edx, dword [eax + ecx*8 + 4]
cmp edx, dword [edi + 4]
jne 0x100bd1b2
mov eax, dword [eax + ecx*8]
test eax, eax
je 0x100bd1b2
cmp byte [eax], 0
je 0x100bd2ad
cmp dword [ebp + 0x10], 0
mov eax, dword [esi]
jne 0x100bd1c0
cmp byte [eax + 8], 0
je 0x100bd1fa
mov eax, dword [eax + 4]
test eax, eax
je 0x100bd2db
cmp byte [eax + 0x20], 0
je 0x100bd2db
mov ecx, dword [eax + 0x30]
mov dword [eax + 0x30], 0
test ecx, ecx
je 0x100bd2db
lock dec dword [ecx]
jne 0x100bd2db
call fcn.100bd5f0
jmp 0x100bd2db
cmp dword [eax + 4], 0
jne 0x100bd2db
mov edi, dword [esi]
cmp byte [edi + 0x20], 0
je 0x100bd269
mov ebx, dword [edi + 0x30]
test ebx, ebx
je 0x100bd265
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.100bcb20
add esp, 0x10
mov ecx, dword [edi + 0x30]
test ecx, ecx
je 0x100bd265
lock dec dword [ecx]
jne 0x100bd265
call fcn.100bd5f0
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.100bca50
mov ecx, dword [edi + 0x30]
test ecx, ecx
je 0x100bd2a7
mov eax, dword [ecx + 0xf8]
mov ecx, dword [ecx + 0xfc]
mov edx, dword [ebx + 4]
cmp dword [ebx], eax
sbb edx, ecx
jge 0x100bd2a7
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov byte [edi + 0x20], 1
jmp 0x100bd2db
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 0x100bd3c7
cmp byte [0x101ce6bc], 0
je 0x100bd1b2
mov edi, dword [esi]
mov ebx, dword [edi]
test ebx, ebx
je 0x100bd31e
mov eax, dword [edi + 4]
test eax, eax
je 0x100bd308
cmp byte [esi + 8], 0
je 0x100bd31e
cmp byte [eax + 8], 0
jne 0x100bd31e
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
mov dword [esi + 4], ecx
call dword [section..00cfg]
mov ecx, ebx
jmp 0x100bd31b
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 0x100bd39f
mov eax, dword [eax + 0xc]
cmp eax, dword [edi + 0x10]
jbe 0x100bd39f
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 0x100bd137
call fcn.1007a6e0
jmp 0x100bd129
push 0x101ce6c0
call fcn.10145c47
add esp, 4
cmp dword [0x101ce6c0], 0xffffffff
jne 0x100bd2ce
mov ecx, dword [0x101bee38]
test ecx, ecx
je 0x100bd3f5
push str.enable_background_thread_pool
call fcn.1005ae30
mov byte [0x101ce6bc], 1
push 0x101ce6c0
call fcn.10145cbd
add esp, 4
jmp 0x100bd2ce