Function at 0x41cf70
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], 0x436fc0
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
movzx eax, byte [0x45ca48]
test al, al
je 0x41d141
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x41cfbc
cmp eax, 3
jne 0x41d13a
mov ebx, dword [0x45ca4c]
test ebx, ebx
je 0x41d13a
mov dword [ebp - 0x20], 0
jmp 0x41cfe7
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x41d018
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x41d18b
dec esi
push esi
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x41cfe0
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 0x41cfe0
test byte [ebp - 0x20], 1
je 0x41d13a
mov ebx, dword [0x45ca4c]
test ebx, ebx
je 0x41d13a
mov dword [ebp - 0x20], 0
jmp 0x41d047
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x41d078
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x41d18b
dec esi
push esi
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x41d040
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 0x41d040
test byte [ebp - 0x20], 1
je 0x41d13a
mov ebx, dword [0x45ca4c]
test ebx, ebx
je 0x41d13a
mov dword [ebp - 0x20], 0
jmp 0x41d0a7
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x41d0d8
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x41d18b
dec esi
push esi
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x41d0a0
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 0x41d0a0
test byte [ebp - 0x20], 1
je 0x41d13a
mov ebx, dword [0x45ca4c]
test ebx, ebx
je 0x41d13a
mov dword [ebp - 0x20], 0
jmp 0x41d107
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x41d134
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x41d18b
dec esi
push esi
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x41d100
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 0x41d100
test byte [ebp - 0x20], 1
jne 0x41d154
movzx eax, byte [0x458d00]
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 [0x45ca4c]
jmp 0x41d15f
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x41d13a
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x41d18b
dec esi
push esi
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x41d15c
push 0
push esi
mov esi, eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
push esi
call edi
add esp, 4
jmp 0x41d15c
mov dword [ebp - 0x10], 0
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrarycore_srcio_borrowed_buf.rs_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_alloc_srccollections_btree_navigate.rs
mov edx, 0x2b
push 0x4535b4
call fcn.00445e50
add esp, 4
ud2