Function at 0x468610
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, 0x94
mov ecx, dword [ebp + 8]
call 0x468624
pop eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ecx + 0x50]
mov dword [ebp - 0x6c], ecx
mov edx, dword [eax + 0x20]
mov esi, dword [eax + 0x24]
mov ebx, dword [eax + 0x28]
mov eax, dword [ecx + 0x48]
shl edi, 4
mov dword [ebp - 0x10], esi
lea esi, [eax + edi]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], eax
jmp 0x468656
add esi, 0xfffffff0
add edi, 0xfffffff0
test edi, edi
je 0x46a4e6
mov eax, dword [esi - 0xc]
test eax, eax
je 0x46867d
mov ecx, dword [esi - 4]
cmp ebx, ecx
jb 0x468650
push ecx
push dword [ebp - 0x10]
push eax
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x468650
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + edi - 0x10], eax
jb 0x46a4e6
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x54], 0
je 0x46a26e
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x30]
mov eax, dword [eax + 0x38]
cmp ecx, 1
je 0x4686be
test ecx, ecx
jne 0x4686c2
test eax, eax
jne 0x4686c2
mov edi, 1
xor ebx, ebx
mov esi, str.called__Option::unwrap____on_a__None__value_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_std_src_threadmod.rs
jmp 0x468731
test eax, eax
je 0x4686de
mov eax, dword [ebp + 0xc]
lea edx, [eax + 0x2c]
lea ecx, [ebp - 0x7c]
call dbg.format_inner
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
jmp 0x46874d
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x2c]
mov ebx, dword [eax + 4]
mov esi, dword [eax]
test ebx, ebx
je 0x46872a
js 0x46a6ed
movzx eax, byte [0x5c6170]
mov eax, dword [0x5c6108]
test eax, eax
jne 0x468715
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x46a6df
mov dword [0x5c6108], eax
push ebx
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x46a6df
mov edi, eax
jmp 0x468731
mov edi, 1
xor ebx, ebx
push ebx
push esi
push edi
call sym._memcpy
add esp, 0xc
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], ebx
mov eax, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x74], ebx
mov eax, dword [ebp - 0x6c]
mov ebx, dword [eax + 0x58]
mov eax, dword [0x54a264]
test eax, eax
je 0x46875f
dec eax
jmp 0x468769
mov ecx, 0x54a264
call dbg.init
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 2
jb 0x468782
cmp dword [eax + 4], 0
je 0x468782
mov edx, dword [eax + 8]
jmp 0x468851
mov eax, dword [0x54a264]
test eax, eax
je 0x46878e
dec eax
jmp 0x468798
mov ecx, 0x54a264
call dbg.init
push eax
call sub.KERNEL32.dll_TlsGetValue
mov esi, eax
test eax, eax
je 0x4687d2
cmp esi, 1
jne 0x468832
lea eax, [ebp - 0x54]
mov edx, 0x46
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_std_src_threadlocal.rs
push 0x5a5754
push 0x5583b0
push eax
call dbg.unwrap_failed
add esp, 0xc
jmp 0x46a75f
movzx eax, byte [0x5c6170]
mov eax, dword [0x5c6108]
test eax, eax
jne 0x4687f4
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x46a6ab
mov dword [0x5c6108], eax
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x46a6ab
mov dword [eax], 0x54a264
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0x54a264]
test eax, eax
je 0x468821
dec eax
jmp 0x46882b
mov ecx, 0x54a264
call dbg.init
push esi
push eax
call sub.KERNEL32.dll_TlsSetValue
mov edx, 1
lock xadd dword [0x54a274], edx
test edx, edx
je 0x46a68f
mov dword [esi + 4], 1
mov dword [esi + 8], edx
mov eax, dword [ebx + 0x1c4]
xor edi, edi
mov ecx, ebx
cmp edx, eax
je 0x46886c
push eax
call sym.regex::pool::Pool_LT_T_GT_::get_slow::he4d62de8e16bf195
add esp, 4
mov ebx, eax
mov edi, edx
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x14], 0x100001
lea eax, [eax + 0x54]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], edi
mov esi, dword [eax]
jb 0x4688cd
cmp byte [esi + 0x221], 0
je 0x4688cd
mov eax, dword [esi + 0x828]
test eax, eax
je 0x4688cd
mov ecx, dword [ebp - 0x14]
sub ecx, eax
jae 0x4688ad
xor eax, eax
jmp 0x46a23d
add ecx, dword [ebp - 0x18]
push eax
push dword [esi + 0x824]
push ecx
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
mov eax, 0
jne 0x46a23d
movzx eax, byte [esi + 0x990]
mov ecx, dword [eax*4 + 0x46a810]
xor eax, eax
add ecx, dword [ebp - 0x2c]
jmp ecx
mov edx, dword [ebp - 0x80]
test edx, edx
je 0x46a253
mov ecx, dword [ebp - 0x84]
mov esi, eax
call sym.regex::pool::Pool_LT_T_GT_::put::h2a82169f77a0e7e9
mov eax, esi
cmp eax, 1
jne 0x46a293
cmp dword [ebp - 0x78], 0
je 0x46a26e
push dword [ebp - 0x7c]
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [0x54a23c]
test eax, eax
je 0x46a2a5
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 2
jb 0x46a2ba
cmp dword [eax + 4], 0
mov esi, eax
je 0x46a2ba
add esi, 8
jmp 0x46a37a
cmp dword [ebp - 0x78], 0
je 0x46a4e6
push dword [ebp - 0x7c]
jmp 0x46a4d9
mov ecx, 0x54a23c
call dbg.init
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 2
jae 0x46a283
mov eax, dword [0x54a23c]
test eax, eax
je 0x46a48c
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
je 0x46a4a5
mov edi, eax
test eax, eax
jne 0x46a335
movzx eax, byte [0x5c6170]
mov eax, dword [0x5c6108]
test eax, eax
jne 0x46a2ff
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x46a6bf
mov dword [0x5c6108], eax
push 0x14
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x46a6bf
mov dword [eax], 0x54a23c
mov dword [eax + 4], 0
mov edi, eax
mov eax, dword [0x54a23c]
test eax, eax
je 0x46a508
dec eax
push edi
push eax
call sub.KERNEL32.dll_TlsSetValue
mov ebx, dword [edi + 0xc]
movzx eax, byte [edi + 0x10]
cmp dword [edi + 4], 0
lea esi, [edi + 8]
mov dword [edi + 4], 1
mov dword [edi + 8], 0
mov byte [edi + 0x10], 3
je 0x46a37a
cmp al, 3
je 0x46a37a
dec dword [ebx]
jne 0x46a37a
lea ecx, [ebx + 8]
call sym.__ZN4core3ptr95drop_in_place_LT_core..cell..RefCell_LT_env_logger..fmt..writer..termcolor..imp..Buffer_GT__GT_17h713562e62641e
dec dword [ebx + 4]
jne 0x46a37a
push ebx
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
cmp dword [esi], 0
je 0x46a3bf
mov ecx, dword [ebp - 0x6c]
call sym.env_logger::fmt::Formatter::new::h2841a9c0bf00e68b
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], dl
lea edx, [ebp - 0x54]
lea ecx, [ebp + 8]
push dword [ebp + 0xc]
call sym.__LT_env_logger..Logger_u20_as_u20_log..Log_GT_::log::__u7b__u7b_closure_u7d__u7d_::hcde140606b5b0629
add esp, 4
mov esi, dword [ebp - 0x54]
dec dword [esi]
jne 0x46a4e6
lea ecx, [esi + 8]
call sym.__ZN4core3ptr95drop_in_place_LT_core..cell..RefCell_LT_env_logger..fmt..writer..termcolor..imp..Buffer_GT__GT_17h713562e62641e
dec dword [esi + 4]
jne 0x46a4e6
jmp 0x46a4d8
mov dword [esi], 0xffffffff
lea edi, [esi + 4]
movzx eax, byte [esi + 8]
cmp al, 3
jne 0x46a430
mov ecx, dword [ebp + 8]
call sym.env_logger::fmt::Formatter::new::h2841a9c0bf00e68b
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], dl
lea edx, [ebp - 0x54]
lea ecx, [ebp + 8]
push dword [ebp + 0xc]
call sym.__LT_env_logger..Logger_u20_as_u20_log..Log_GT_::log::__u7b__u7b_closure_u7d__u7d_::hcde140606b5b0629
add esp, 4
mov ebx, dword [ebp - 0x54]
movzx eax, byte [ebp - 0x50]
cmp byte [esi + 8], 3
je 0x46a428
mov edi, dword [edi]
dec dword [edi]
jne 0x46a428
lea ecx, [edi + 8]
mov byte [ebp - 0x10], al
call sym.__ZN4core3ptr95drop_in_place_LT_core..cell..RefCell_LT_env_logger..fmt..writer..termcolor..imp..Buffer_GT__GT_17h713562e62641e
movzx eax, byte [ebp - 0x10]
dec dword [edi + 4]
jne 0x46a428
push edi
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
movzx eax, byte [ebp - 0x10]
mov dword [esi + 4], ebx
mov byte [esi + 8], al
jmp 0x46a488
mov ecx, dword [ebp + 8]
cmp al, byte [ecx + 0x44]
je 0x46a478
call sym.env_logger::fmt::Formatter::new::h2841a9c0bf00e68b
mov ebx, dword [edi]
dec dword [ebx]
jne 0x46a472
lea ecx, [ebx + 8]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x20], dl
call sym.__ZN4core3ptr95drop_in_place_LT_core..cell..RefCell_LT_env_logger..fmt..writer..termcolor..imp..Buffer_GT__GT_17h713562e62641e
movzx edx, byte [ebp - 0x20]
mov eax, dword [ebp - 0x10]
dec dword [ebx + 4]
jne 0x46a472
push ebx
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
movzx edx, byte [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
mov byte [esi + 8], dl
mov edx, edi
lea ecx, [ebp + 8]
push dword [ebp + 0xc]
call sym.__LT_env_logger..Logger_u20_as_u20_log..Log_GT_::log::__u7b__u7b_closure_u7d__u7d_::hcde140606b5b0629
add esp, 4
inc dword [esi]
jmp 0x46a4e6
mov ecx, 0x54a23c
call dbg.init
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
jne 0x46a2d7
mov ecx, dword [ebp - 0x6c]
call sym.env_logger::fmt::Formatter::new::h2841a9c0bf00e68b
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], dl
lea edx, [ebp - 0x54]
lea ecx, [ebp + 8]
push dword [ebp + 0xc]
call sym.__LT_env_logger..Logger_u20_as_u20_log..Log_GT_::log::__u7b__u7b_closure_u7d__u7d_::hcde140606b5b0629
add esp, 4
mov esi, dword [ebp - 0x54]
dec dword [esi]
jne 0x46a4e6
lea ecx, [esi + 8]
call sym.__ZN4core3ptr95drop_in_place_LT_core..cell..RefCell_LT_env_logger..fmt..writer..termcolor..imp..Buffer_GT__GT_17h713562e62641e
dec dword [esi + 4]
jne 0x46a4e6
push esi
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
add esp, 0x94
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x54a23c
call dbg.init
jmp 0x46a32e
mov edx, 0x2b
mov ecx, str.regex:_thread_ID_allocation_space_exhausted_home_user_.cargo_registry_src_index.crates.io_6f17d22bba15001f_regex_1.5.4_src_pool.rs
push 0x558724
call sym.std::panicking::begin_panic::h3137ea5b5368496a
add esp, 4
jmp 0x46a75f
mov ecx, 4
mov edx, 0xc
call dbg.handle_alloc_error
jmp 0x46a75f
mov ecx, 4
mov edx, 0x14
call dbg.handle_alloc_error
ud2
mov ecx, 1
mov edx, ebx
call dbg.handle_alloc_error
ud2
call sym.alloc::raw_vec::capacity_overflow::hd0578b62e5d0dfac
ud2
ud2