Function at 0x100c2a70
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x7c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x100d27c0
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov eax, dword [0x1019d13c]
test eax, eax
je 0x100c2abb
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 2
jb 0x100c2ad3
cmp dword [eax], 1
jne 0x100c2ad3
add eax, 4
jmp 0x100c2ae0
push 0x1019d13c
call fcn.100cc460
add esp, 4
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 2
jae 0x100c2ab1
call fcn.100c2500
test eax, eax
je 0x100c2cc3
mov ecx, eax
call fcn.100cbfd0
mov ecx, eax
mov dword [ebp - 0x24], eax
xor edx, edx
mov eax, 2
lock cmpxchg dword [ecx + 0x18], edx
je 0x100c2c4f
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x10], 1
push eax
call fcn.100d03e0
add esp, 4
call fcn.100d25b0
test eax, eax
je 0x100c2ce7
mov esi, dword [ebp - 0x28]
cmp dword [eax], 0
mov dl, byte [esi + 0x20]
setne al
lea ecx, [esi + 0x1c]
test dl, dl
jne 0x100c2d06
mov dword [ebp - 0x30], ecx
mov byte [ebp - 0x2c], al
mov ecx, 1
xor eax, eax
lock cmpxchg dword [esi + 0x18], ecx
jne 0x100c2bfc
nop word cs:[eax + eax]
nop dword [eax]
mov eax, dword [ebp - 0x30]
movzx edx, byte [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], dl
mov esi, dword [eax]
xor eax, eax
lock cmpxchg dword [ecx + 0x28], esi
je 0x100c2b83
cmp eax, esi
jne 0x100c2c77
mov eax, dword [ecx + 0x24]
mov edx, dword [0x1019dbf4]
mov dword [ebp - 0x10], 4
test edx, edx
jne 0x100c2bc4
mov ecx, 0x1018531b
mov edx, 0x19
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x28], esi
call fcn.100cf050
test eax, eax
mov eax, 0x100d1f10
cmove edx, eax
mov eax, edx
xchg dword [0x1019dbf4], eax
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x4c]
push 0
push 0xffffffffffffffff
push esi
push eax
call edx
mov eax, dword [ebp - 0x48]
movzx ecx, byte [eax + 4]
test cl, cl
movzx ecx, byte [ebp - 0x44]
jne 0x100c2c97
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], cl
mov eax, 2
xor edx, edx
lock cmpxchg dword [esi + 0x18], edx
jne 0x100c2b60
jmp 0x100c2c19
cmp eax, 2
jne 0x100c2d32
mov eax, dword [ebp - 0x24]
xor ecx, ecx
xchg dword [eax + 0x18], ecx
cmp ecx, 2
mov dword [ebp - 0x50], ecx
jne 0x100c2d59
mov eax, dword [ebp - 0x30]
cmp byte [ebp - 0x2c], 0
mov dword [ebp - 0x10], 1
jne 0x100c2c45
mov dword [ebp - 0x28], eax
call fcn.100d25b0
test eax, eax
je 0x100c2dfc
cmp dword [eax], 0
mov eax, dword [ebp - 0x28]
je 0x100c2c45
mov byte [eax + 4], 1
push dword [eax]
call fcn.100d04d0
add esp, 4
mov eax, dword [ebp - 0x24]
lock dec dword [eax]
jne 0x100c2c66
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], 0xffffffff
call fcn.100c1c20
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x7c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 4
mov ecx, str.attempted_to_use_a_condition_variable_with_two_mutexessrclibstd_synccondvar.rsrG
mov edx, 0x36
push 0x1018478c
call fcn.100cdf40
add esp, 4
jmp 0x100c2cc1
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], cl
mov dword [ebp - 0x10], 5
lea eax, [ebp - 0x48]
push 0x1018427c
push 0x10183fd8
push eax
push 0x2b
push str.called__Result::unwrap____on_an__Err__value
call fcn.100df140
add esp, 0x14
ud2
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x10], 0
push 0x101841f8
push 0x5e
push str.use_of_std::thread::current___is_not_possible_after_the_threads_local_data_has_been_destroyedsrclibstd_threadmod.rs
call fcn.100df0e0
add esp, 0xc
jmp 0x100c2cc1
lea eax, [ebp - 0x48]
push 0x10184170
push 0x10183f6c
push eax
push 0x46
push 0x1018410f
call fcn.100df140
add esp, 0x14
jmp 0x100c2cc1
mov dword [ebp - 0x48], ecx
mov byte [ebp - 0x44], al
mov dword [ebp - 0x10], 2
lea eax, [ebp - 0x48]
push 0x10184208
push 0x10183fd8
push eax
push 0x2b
push str.called__Result::unwrap____on_an__Err__value
call fcn.100df140
add esp, 0x14
jmp 0x100c2cc1
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 3
mov ecx, str.inconsistent_park_state
mov edx, 0x17
push 0x10184230
call fcn.100cdf40
add esp, 4
jmp 0x100c2cc1
lea eax, [ebp - 0x50]
mov dword [ebp - 0x48], 0x10184264
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x38], 0x10183f14
mov dword [ebp - 0x88], 0x10183f28
mov dword [ebp - 0x84], 3
mov dword [ebp - 0x58], 0x10184240
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 3
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x6c], 0x100bfea0
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x64], 0x100bfea0
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x5c], fcn.100e0680
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], 3
lea eax, [ebp - 0x88]
push 0x1018426c
push eax
call fcn.100cdbe0
add esp, 8
jmp 0x100c2cc1
lea eax, [ebp - 0x48]
push 0x10184170
push 0x10183f6c
push eax
push 0x46
push 0x1018410f
call fcn.100df140
add esp, 0x14
jmp 0x100c2cc1