Function at 0x41f290
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xc0
mov esi, esp
mov dword [esi + 0xa8], ebp
mov dword [esi + 0xac], esp
mov dword [esi + 0xb8], 0xffffffff
mov dword [esi + 0xb4], 0x4365a0
mov edi, edx
mov ebx, ecx
mov eax, dword fs:[0]
mov dword [esi + 0xb0], eax
lea eax, [esi + 0xb0]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
movups xmm0, xmmword [eax]
movaps xmmword [esi + 0x70], xmm0
call fcn.0041f8a0
test eax, eax
je 0x41f39f
mov ecx, dword [eax]
inc ecx
cmp ecx, 2
mov dword [eax], ecx
jbe 0x41f32d
mov dword [esi + 0x20], 0x448178
lea ecx, [esi + 0x20]
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], 0
mov dword [esi + 0x30], 4
mov dword [esi + 0x34], 0
call fcn.0041f990
ud2
mov eax, dword [ebp + 8]
movaps xmm0, xmmword [esi + 0x70]
mov dword [esi + 0x54], 1
mov dword [esi + 0x58], 0x448154
mov dword [esi + 0x50], ecx
mov dword [esi + 0x5c], eax
lea eax, [esi + 0x90]
movaps xmmword [esi + 0x90], xmm0
mov dword [esi + 0x60], eax
mov eax, dword [0x4529d8]
test eax, eax
jne 0x41f382
mov ecx, str.AcquireSRWLockSharedD
mov edx, 0x14
call fcn.0041e230
test eax, eax
mov eax, 0x41f970
cmovne eax, edx
mov ecx, eax
xchg dword [0x4529d8], ecx
push 0x4529dc
call eax
push ebx
call dword [edi + 0x10]
add esp, 4
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], edx
call fcn.0041f8a0
test eax, eax
jne 0x41f3bc
lea eax, [esi + 0x20]
mov ecx, 0x44943b
mov edx, 0x46
push 0x448144
push eax
call fcn.00411a20
add esp, 8
ud2
cmp dword [eax], 1
mov cl, 1
mov dword [esi + 0x70], edi
mov dword [esi + 0x18], ebx
ja 0x41f481
mov eax, dword [0x4529e4]
cmp eax, 2
je 0x41f401
cmp eax, 1
je 0x41f405
test eax, eax
jne 0x41f481
lea ecx, [esi + 0x20]
mov edx, str.RUST_BACKTRACE0fullBox_Any__unnamed_
push 0xe
call fcn.0041fb10
add esp, 4
mov edi, dword [esi + 0x20]
test edi, edi
jne 0x41f409
mov bl, 5
jmp 0x41f465
xor ecx, ecx
jmp 0x41f481
mov cl, 4
jmp 0x41f481
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x24]
cmp ecx, 4
je 0x41f42f
cmp ecx, 1
jne 0x41f446
mov bl, 4
mov ecx, 1
cmp edi, 0x44820e
je 0x41f44d
cmp byte [edi], 0x30
jne 0x41f446
jmp 0x41f44d
mov bl, 1
mov ecx, 3
cmp edi, 0x44820f
je 0x41f44d
cmp dword [edi], 0x6c6c7566
je 0x41f44d
mov ecx, 2
xor ebx, ebx
test eax, eax
je 0x41f465
mov dword [esi + 0xc], ecx
call sub.KERNEL32.dll_GetProcessHeap
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov ecx, dword [esi + 0xc]
cmp bl, 5
mov eax, 1
movzx edx, bl
cmovne eax, ecx
mov ecx, 4
xchg dword [0x4529e4], eax
cmovne ecx, edx
mov eax, dword [esi + 0x60]
lea ebx, [esi + 0x54]
mov byte [esi + 0x13], cl
mov dword [esi + 0x64], eax
push ebx
call fcn.004119a0
add esp, 4
mov edi, eax
push eax
call dword [edx + 0xc]
add esp, 4
test edi, edi
je 0x41f4c8
xor eax, 0x70b09764
xor edx, 0x111094d9
or edx, eax
jne 0x41f4c8
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], ecx
mov eax, dword [0x452040]
test eax, eax
je 0x41f50b
jmp 0x41f515
push ebx
call fcn.004119a0
add esp, 4
mov edi, eax
push eax
call dword [edx + 0xc]
add esp, 4
test edi, edi
mov ebx, 0x448213
mov ecx, 8
je 0x41f4fc
xor eax, 0x9ba8b822
xor edx, 0x24b34401
or edx, eax
jne 0x41f4fc
mov ebx, dword [edi]
mov ecx, dword [edi + 8]
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ecx
mov eax, dword [0x452040]
test eax, eax
jne 0x41f515
mov ecx, 0x452040
call fcn.0041d970
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 2
jb 0x41f52a
cmp dword [eax], 1
jne 0x41f52a
add eax, 4
jmp 0x41f54a
call fcn.0041dac0
test eax, eax
jne 0x41f54a
mov al, 1
xor edi, edi
mov dword [esi + 0x1c], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0xc], eax
jmp 0x41f58c
mov ecx, eax
call fcn.0041dbb0
mov dword [esi + 0x1c], eax
lea edx, [eax + 0x10]
mov ecx, dword [eax + 0x10]
test ecx, ecx
cmove edx, ecx
jne 0x41f565
xor edi, edi
jmp 0x41f582
mov ecx, dword [edx + 4]
sub ecx, 1
jae 0x41f580
xor edx, edx
mov dword [esi + 0xb8], 1
call fcn.0040ff00
ud2
mov edi, dword [edx]
mov dword [esi + 0x14], eax
mov dword [esi + 0xc], 0
lea eax, [esi + 0x88]
test edi, edi
mov edx, 9
mov dword [esi + 0xb8], 1
cmovne edx, ecx
mov ecx, 0x44821b
mov dword [esi + 0x20], eax
lea eax, [esi + 0x68]
cmovne ecx, edi
mov dword [esi + 0x24], eax
lea eax, [esi + 0x64]
mov dword [esi + 0x88], ecx
mov dword [esi + 0x28], eax
lea eax, [esi + 0x13]
xor ecx, ecx
mov dword [esi + 0x8c], edx
mov dword [esi + 0x2c], eax
call fcn.0041fef0
test eax, eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edx
jne 0x41f645
lea ecx, [esi + 0x20]
mov byte [esi + 9], 1
mov dword [esi + 0xb8], 3
lea edx, [esi + 0x20]
push 0x448248
call fcn.004202b0
mov cl, 1
add esp, 4
mov edi, dword [esi + 0x70]
mov ebx, dword [esi + 0x18]
cmp byte [esi + 0xc], 0
jne 0x41f6d1
mov eax, dword [esi + 0x14]
lock dec dword [eax]
jne 0x41f6d1
mov byte [esi + 0xb], cl
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x1c]
mov dword [esi + 0xb8], 2
call fcn.0041e0f0
mov ecx, dword [esi + 0xc]
mov ebx, dword [esi + 0x18]
mov edi, dword [esi + 0x70]
jmp 0x41f6d1
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edx
mov byte [esi + 0xa], 1
mov dword [esi + 0xb8], 4
lea ecx, [esi + 0x20]
lea edx, [esi + 0x48]
push 0x448224
call fcn.004202b0
add esp, 4
mov ecx, dword [esi + 0x48]
mov edx, dword [esi + 0x4c]
mov byte [esi + 0xa], 0
call fcn.0041fef0
test eax, eax
je 0x41f6bf
mov dword [esi + 0xb8], 5
mov dword [esi + 0x44], eax
push eax
mov dword [esi + 0x40], edx
call dword [edx]
add esp, 4
mov eax, dword [esi + 0x40]
mov edi, dword [esi + 0x44]
cmp dword [eax + 4], 0
je 0x41f6bf
cmp dword [eax + 8], 9
jae 0x41f6af
call sub.KERNEL32.dll_GetProcessHeap
push edi
jmp 0x41f6b7
call sub.KERNEL32.dll_GetProcessHeap
push dword [edi - 4]
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov edi, dword [esi + 0x70]
mov ebx, dword [esi + 0x18]
xor ecx, ecx
cmp byte [esi + 0xc], 0
je 0x41f613
test cl, cl
je 0x41f727
mov eax, dword [esi + 0x38]
test eax, eax
je 0x41f727
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0xb8], 0
mov dword [esi + 0x14], eax
push eax
mov dword [esi + 0xc], ecx
call dword [ecx]
add esp, 4
mov eax, dword [esi + 0xc]
mov edi, dword [esi + 0x70]
mov ebx, dword [esi + 0x18]
cmp dword [eax + 4], 0
je 0x41f727
cmp dword [eax + 8], 9
jae 0x41f714
call sub.KERNEL32.dll_GetProcessHeap
push dword [esi + 0x14]
jmp 0x41f71f
call sub.KERNEL32.dll_GetProcessHeap
mov ecx, dword [esi + 0x14]
push dword [ecx - 4]
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov eax, dword [0x4529e0]
mov dword [esi + 0xb8], 0xffffffff
test eax, eax
jne 0x41f75b
mov ecx, str.ReleaseSRWLockShared
mov edx, 0x14
call fcn.0041e230
test eax, eax
mov eax, 0x41fa80
cmovne eax, edx
mov ecx, eax
xchg dword [0x4529e0], ecx
push 0x4529dc
call eax
cmp dword [esi + 0x50], 1
jbe 0x41f774
mov dword [esi + 0x20], str.thread_panicked_while_panicking._aborting._n
jmp 0x41f305
mov ecx, ebx
mov edx, edi
call fcn.0041faa0
ud2