Function at 0x41ed90
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], 0x43bb30
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
movzx eax, byte [0xc4d9d8]
test al, al
je 0x41ef61
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x41eddc
cmp eax, 3
jne 0x41ef5a
mov ebx, dword [0xc4d9dc]
test ebx, ebx
je 0x41ef5a
mov dword [ebp - 0x20], 0
jmp 0x41ee07
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x41ee38
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x41efab
dec esi
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41ee00
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 0x41ee00
test byte [ebp - 0x20], 1
je 0x41ef5a
mov ebx, dword [0xc4d9dc]
test ebx, ebx
je 0x41ef5a
mov dword [ebp - 0x20], 0
jmp 0x41ee67
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x41ee98
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x41efab
dec esi
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41ee60
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 0x41ee60
test byte [ebp - 0x20], 1
je 0x41ef5a
mov ebx, dword [0xc4d9dc]
test ebx, ebx
je 0x41ef5a
mov dword [ebp - 0x20], 0
jmp 0x41eec7
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x41eef8
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x41efab
dec esi
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41eec0
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 0x41eec0
test byte [ebp - 0x20], 1
je 0x41ef5a
mov ebx, dword [0xc4d9dc]
test ebx, ebx
je 0x41ef5a
mov dword [ebp - 0x20], 0
jmp 0x41ef27
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x41ef54
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x41efab
dec esi
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41ef20
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 0x41ef20
test byte [ebp - 0x20], 1
jne 0x41ef74
movzx eax, byte [0xc49400]
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 [0xc4d9dc]
jmp 0x41ef7f
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x41ef5a
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x41efab
dec esi
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41ef7c
push 0
push esi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
call edi
add esp, 4
jmp 0x41ef7c
mov dword [ebp - 0x10], 0
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_2c1b65ee1431f8d3fe2142e821eb13c623bbf8a0librarycore_srcio_borrowed_buf.rs_rustc_2c1b65ee1431f8d3fe2142e821eb13c623bbf8a0library_alloc_srccollections_btree_navigate.rs
mov edx, 0x2b
push 0xc44078
call fcn.0044a210
add esp, 4
ud2