Function at 0x41ef90
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x43b9a0
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
movzx eax, byte [0xc499d8]
test al, al
je 0x41f161
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x41efdc
cmp eax, 3
jne 0x41f15a
mov ebx, dword [0xc499dc]
test ebx, ebx
je 0x41f15a
mov dword [ebp - 0x20], 0
jmp 0x41f007
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x41f038
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x41f1ab
dec esi
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41f000
push 0
push esi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
call edi
add esp, 4
mov al, 1
mov dword [ebp - 0x20], eax
jmp 0x41f000
test byte [ebp - 0x20], 1
je 0x41f15a
mov ebx, dword [0xc499dc]
test ebx, ebx
je 0x41f15a
mov dword [ebp - 0x20], 0
jmp 0x41f067
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x41f098
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x41f1ab
dec esi
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41f060
push 0
push esi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
call edi
add esp, 4
mov al, 1
mov dword [ebp - 0x20], eax
jmp 0x41f060
test byte [ebp - 0x20], 1
je 0x41f15a
mov ebx, dword [0xc499dc]
test ebx, ebx
je 0x41f15a
mov dword [ebp - 0x20], 0
jmp 0x41f0c7
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x41f0f8
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x41f1ab
dec esi
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41f0c0
push 0
push esi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
call edi
add esp, 4
mov al, 1
mov dword [ebp - 0x20], eax
jmp 0x41f0c0
test byte [ebp - 0x20], 1
je 0x41f15a
mov ebx, dword [0xc499dc]
test ebx, ebx
je 0x41f15a
mov dword [ebp - 0x20], 0
jmp 0x41f127
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x41f154
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x41f1ab
dec esi
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41f120
push 0
push esi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
call edi
add esp, 4
mov al, 1
mov dword [ebp - 0x20], eax
jmp 0x41f120
test byte [ebp - 0x20], 1
jne 0x41f174
movzx eax, byte [0xc45a80]
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov ebx, dword [0xc499dc]
jmp 0x41f17f
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x41f15a
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x41f1ab
dec esi
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41f17c
push 0
push esi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
call edi
add esp, 4
jmp 0x41f17c
mov dword [ebp - 0x10], 0
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_fdaaaf9f923281ab98b865259aa40fbf93d72c7alibrary_alloc_srccollections_btree_navigate.rs
mov edx, 0x2b
push 0xc406f0
call fcn.0044a090
add esp, 4
ud2