Function at 0x44a6f0
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, 0x50
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x43bb90
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x24], ecx
mov eax, dword fs:[0]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ecx]
jmp 0x44a735
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov edx, 2
jmp 0x44a74f
mov ecx, dword [ebp - 0x24]
mov eax, esi
lock cmpxchg dword [ecx], edx
je 0x44aadd
mov esi, eax
test eax, eax
je 0x44a740
cmp esi, 1
jne 0x44a770
cmp byte [ebp - 0x50], 0
jne 0x44a740
jmp 0x44ac66
cmp esi, 3
je 0x44ab14
mov eax, esi
and eax, 3
cmp eax, 2
je 0x44a79a
jmp 0x44ac9d
mov eax, esi
and eax, 3
cmp eax, 2
jne 0x44a730
mov eax, dword [0xc4d04c]
test eax, eax
je 0x44a7c0
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jb 0x44a7e0
cmp dword [eax + 4], 0
mov edi, eax
je 0x44a7e0
add edi, 8
jmp 0x44a8b0
mov ecx, 0xc4d04c
mov dword [ebp - 0x10], 0xffffffff
call fcn.0044ad70
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jae 0x44a7b0
nop dword [eax]
mov eax, dword [0xc4d04c]
test eax, eax
je 0x44a801
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x44a820
mov ebx, eax
cmp eax, 1
jne 0x44a87b
jmp 0x44abfe
mov ecx, 0xc4d04c
mov dword [ebp - 0x10], 0xffffffff
call fcn.0044ad70
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x44a7f5
nop dword [eax]
movzx eax, byte [0xc4d948]
mov eax, dword [0xc4d9c8]
test eax, eax
jne 0x44a843
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x44ab6e
mov dword [0xc4d9c8], eax
push 0xc
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x44ab6e
mov dword [eax], 0xc4d04c
mov dword [eax + 4], 0
mov ebx, eax
mov eax, dword [0xc4d04c]
test eax, eax
je 0x44a99f
dec eax
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebx + 8]
cmp dword [ebx + 4], 0
lea edi, [ebx + 8]
mov dword [ebx + 4], 1
mov dword [ebx + 8], 0
je 0x44a8b0
test ecx, ecx
je 0x44a8b0
lock dec dword [ecx]
jne 0x44a8b0
call fcn.00411160
nop word cs:[eax + eax]
nop dword [eax]
mov edx, dword [edi]
test edx, edx
jne 0x44a952
movzx eax, byte [0xc4d948]
mov eax, dword [0xc4d9c8]
test eax, eax
jne 0x44a8dd
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x44ab56
mov dword [0xc4d9c8], eax
push 0x20
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x44ab56
mov dword [eax], 1
mov dword [eax + 4], 1
mov dword [ebp - 0x20], eax
mov dword [eax + 0x10], 0
movq xmm0, qword [0xc4d9c0]
movd eax, xmm0
pshufd xmm0, xmm0, 0x55
movd edx, xmm0
nop dword [eax]
mov ebx, eax
mov ecx, edx
add ebx, 1
adc ecx, 0
jb 0x44ab25
lock cmpxchg8b qword [0xc4d9c0]
jne 0x44a920
mov edx, dword [ebp - 0x20]
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ecx
mov byte [edx + 0x18], 0
cmp dword [edi], 0
jne 0x44ab86
mov dword [edi], edx
lock inc dword [edx]
jle 0x44ab36
mov ecx, dword [ebp - 0x24]
mov eax, esi
mov dword [ebp - 0x48], edx
mov byte [ebp - 0x40], 0
lea edx, [ebp - 0x46]
add eax, 0xfffffffe
mov dword [ebp - 0x44], eax
mov eax, esi
lock cmpxchg dword [ecx], edx
je 0x44aab0
mov esi, eax
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x44a790
lock dec dword [eax]
jne 0x44a790
mov ecx, dword [ebp - 0x48]
call fcn.00411160
jmp 0x44a790
mov ecx, 0xc4d04c
mov dword [ebp - 0x10], 0xffffffff
call fcn.0044ad70
jmp 0x44a873
mov dword [ebp - 0x10], 3
call fcn.0041fbc0
mov ecx, eax
test eax, eax
je 0x44ab3a
mov eax, dword [ecx]
test eax, eax
jne 0x44a9f4
mov dword [ebp - 0x20], ecx
xor ecx, ecx
call fcn.0041f240
mov ecx, dword [ebp - 0x20]
cmp dword [ecx], 0
jne 0x44abc2
mov dword [ecx], eax
lock inc dword [eax]
jle 0x44ab36
mov dword [ebp - 0x20], eax
mov ebx, 0
lock dec byte [eax + 0x18]
je 0x44aa34
mov eax, dword [ebp - 0x20]
mov esi, dword [0xc4d9e0]
lea edi, [eax + 0x18]
test esi, esi
je 0x44aa43
nop dword [eax + eax]
push 0xffffffffffffffff
push 1
push 0xc44088
push edi
call esi
mov al, 1
lock cmpxchg byte [edi], bl
jne 0x44aa20
mov ecx, dword [ebp - 0x20]
lock dec dword [ecx]
jne 0x44aab0
call fcn.00411160
jmp 0x44aab0
mov ecx, dword [0xc4d028]
cmp ecx, 0xffffffff
jne 0x44aa8e
mov dword [ebp - 0x4c], 0xffffffff
mov eax, dword [0xc4d030]
push 0
push 0
push 0xc0000000
lea ecx, [ebp - 0x4c]
push ecx
call eax
test eax, eax
jne 0x44ac1e
mov ecx, dword [ebp - 0x4c]
mov eax, 0xffffffff
lock cmpxchg dword [0xc4d028], ecx
je 0x44aa8e
mov esi, eax
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
mov eax, dword [0xc4d038]
push 0
push 0
push edi
push ecx
call eax
xor eax, eax
xchg byte [edi], al
mov ecx, dword [ebp - 0x20]
lock dec dword [ecx]
je 0x44aa3c
nop word [eax + eax]
movzx eax, byte [ebp - 0x40]
test al, al
je 0x44a9c0
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x44a730
lock dec dword [eax]
jne 0x44a730
mov ecx, dword [ebp - 0x48]
call fcn.00411160
jmp 0x44a730
lea eax, [ebp - 0x3c]
cmp esi, 1
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x10], 0
sete byte [ebp - 0x38]
push eax
push dword [ebp + 8]
mov eax, dword [ebp + 0xc]
call dword [eax + 0x10]
add esp, 8
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x10], 0xffffffff
call fcn.0041f740
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 1
call fcn.0044afc0
jmp 0x44ac64
ud2
mov ecx, str.use_of_std::thread::current___is_not_possible_after_the_threads_local_data_has_been_destroyed
mov edx, 0x5e
push 0xc426b0
call fcn.0044a4f0
add esp, 4
jmp 0x44ac64
mov ecx, 8
mov edx, 0x20
mov dword [ebp - 0x10], 0xffffffff
call fcn.00449fe0
ud2
mov ecx, 4
mov edx, 0xc
mov dword [ebp - 0x10], 0xffffffff
call fcn.00449fe0
ud2
lea ecx, [ebp - 0x3c]
mov edx, 0xc41c0c
mov dword [ebp - 0x3c], 0xc41bb4
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x34], str._rustc_2c1b65ee1431f8d3fe2142e821eb13c623bbf8a0librarycore_src_sliceiter.rs
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x10], 2
call fcn.0044a090
jmp 0x44ac64
lea ecx, [ebp - 0x3c]
mov edx, 0xc41c0c
mov dword [ebp - 0x3c], 0xc41bb4
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x34], str._rustc_2c1b65ee1431f8d3fe2142e821eb13c623bbf8a0librarycore_src_sliceiter.rs
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x10], 4
call fcn.0044a090
jmp 0x44ac64
mov dword [ebp - 0x10], 0xffffffff
mov ecx, str.use_of_std::thread::current___is_not_possible_after_the_threads_local_data_has_been_destroyed
mov edx, 0x5e
push 0xc426b0
call fcn.0044a4f0
add esp, 4
ud2
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x3c], 0xc440b4
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x10], 5
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x3c]
mov edx, 0xc440ec
mov dword [ebp - 0x58], 0x417490
mov dword [ebp - 0x30], 1
call fcn.0044a090
ud2
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0xc44348
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x34], str._rustc_2c1b65ee1431f8d3fe2142e821eb13c623bbf8a0librarycore_src_sliceiter.rs
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x10], 0xffffffff
call fcn.0044a090
ud2
mov dword [ebp - 0x10], 0xffffffff
mov ecx, str.assertion_failed:_state_and_queue.addr____STATE_MASK__RUNNING
mov edx, 0x40
push dword [ebp + 0x10]
call fcn.0044a210
add esp, 4
ud2