Function at 0x4d82c0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x168
mov esi, esp
mov dword [esi + 0x150], ebp
mov dword [esi + 0x154], esp
mov dword [esi + 0x160], 0xffffffff
mov dword [esi + 0x15c], 0x579060
mov dword [esi + 8], ecx
lea eax, [esi + 0x158]
mov dword [esi], edx
mov ecx, dword fs:[0]
mov dword [esi + 0x158], ecx
mov dword fs:[0], eax
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 4
mov dword [esi + 0x14], 0
mov dword [esi + 0x160], 0
call fcn.0056dea0
test eax, eax
je 0x4d861f
movsd xmm0, qword [0x5ec4c8]
movsd qword [esi + 0x138], xmm0
movsd xmm0, qword [0x5ec4c0]
movsd qword [esi + 0x130], xmm0
movdqu xmm0, xmmword [eax]
movd edx, xmm0
pshufd xmm1, xmm0, 0x55
add edx, 1
movd ecx, xmm1
adc ecx, 0
mov dword [eax], edx
mov dword [eax + 4], ecx
mov eax, dword [esi]
movdqu xmmword [esi + 0x140], xmm0
lea ecx, [esi + 0x70]
mov eax, dword [eax + 0x280]
mov edx, dword [eax + 0x150]
mov dword [esi + 0x88], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 4
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 4
mov dword [esi + 0x84], 0
mov dword [esi + 0x160], 3
mov dword [esi + 4], edx
call fcn.004c5f50
mov eax, dword [esi + 0x88]
movq xmm0, qword [esi + 0x80]
movsd xmm2, qword [esi + 0x70]
movq xmm1, qword [esi + 0x78]
mov edx, dword [esi + 4]
lea ecx, [esi + 0x70]
mov dword [esi + 0x88], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 4
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 4
mov dword [esi + 0x84], 0
mov dword [esi + 0x160], 2
mov dword [esi + 0x68], eax
movq qword [esi + 0x60], xmm0
movq qword [esi + 0x58], xmm1
movsd qword [esi + 0x50], xmm2
call fcn.004c5f50
movsd xmm0, qword [esi + 0x80]
mov eax, dword [esi + 0x88]
movsd xmm1, qword [esi + 0x78]
lea ecx, [esi + 0x18]
mov dword [esi + 0x160], 4
movsd qword [esi + 0x44], xmm0
movsd xmm0, qword [esi + 0x70]
mov dword [esi + 0x4c], eax
movsd qword [esi + 0x3c], xmm1
mov eax, dword [esi + 0x68]
mov dword [esi + 0xe8], 4
mov dword [esi + 0xec], 0
mov dword [esi + 0xf0], 0
mov dword [esi + 0xf4], 4
mov dword [esi + 0xf8], 0
movsd xmm1, qword [esi + 0x58]
movsd qword [esi + 0x34], xmm0
movsd xmm0, qword [esi + 0x50]
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x14]
movsd qword [esi + 0x20], xmm1
movsd xmm1, qword [esi + 0x138]
movsd qword [esi + 0x18], xmm0
movsd xmm0, qword [esi + 0x60]
mov dword [esi + 0x104], eax
mov eax, dword [esi]
movsd qword [esi + 0x28], xmm0
movsd xmm0, qword [esi + 0xc]
movsd qword [esi + 0xfc], xmm0
movsd xmm0, qword [esi + 0x148]
movsd qword [esi + 0x78], xmm1
movsd xmm1, qword [esi + 0x20]
movsd qword [esi + 0x88], xmm0
movsd xmm0, qword [esi + 0x140]
movsd qword [esi + 0x80], xmm0
movsd xmm0, qword [esi + 0x130]
movsd qword [esi + 0x70], xmm0
movsd xmm0, qword [esi + 0x48]
movsd qword [esi + 0xa8], xmm1
movsd qword [esi + 0xd0], xmm0
movsd xmm0, qword [esi + 0x40]
movsd qword [esi + 0xc8], xmm0
movsd xmm0, qword [esi + 0x38]
movsd qword [esi + 0xc0], xmm0
movsd xmm0, qword [esi + 0x30]
movsd qword [esi + 0xb8], xmm0
movsd xmm0, qword [esi + 0x28]
movsd qword [esi + 0xb0], xmm0
movsd xmm0, qword [esi + 0x18]
mov dword [esi + 0x18], eax
lea eax, [esi + 0x70]
mov dword [esi + 0x1c], eax
movsd qword [esi + 0xa0], xmm0
xorps xmm0, xmm0
mov dword [esi + 0x108], 0
mov dword [esi + 0x10c], 4
mov dword [esi + 0x110], 0
mov dword [esi + 0x114], 0
mov dword [esi + 0x118], 1
mov dword [esi + 0x11c], 0
mov dword [esi + 0x90], 0
movups xmmword [esi + 0xd8], xmm0
mov dword [esi + 0x120], 0
call fcn.004d8760
push 0xc0
lea eax, [esi + 0x70]
push eax
push dword [esi + 8]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x158]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esi + 0x70]
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_aedd173a2c086e558c2b66d3743b344f977621a7library_std_src_threadlocal.rs
mov edx, 0x46
push 0x5ec568
push 0x59a9fc
push eax
call fcn.0057fa90
add esp, 0xc
ud2