Function at 0x4c35c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov esi, esp
mov dword [esi + 0x78], ebp
mov dword [esi + 0x7c], esp
mov dword [esi + 0x88], 0xffffffff
mov dword [esi + 0x84], 0x4c5e40
mov edi, dword [ebp + 8]
lea eax, [esi + 0x80]
mov ecx, dword fs:[0]
mov dword [esi + 0x80], ecx
mov dword fs:[0], eax
cmp byte [edi + 0x11], 0
je 0x4c3613
mov byte [esi + 9], 3
jmp 0x4c363d
push 0
push 0x57809c
call fcn.004c48d0
add esp, 8
test eax, eax
je 0x4c3960
cmp dword [eax], 1
jbe 0x4c3635
mov byte [esi + 9], 1
jmp 0x4c363d
call fcn.004c65b0
mov byte [esi + 9], al
mov eax, dword [edi + 0xc]
mov ebx, dword [edi]
mov edi, dword [edi + 4]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x60]
push ebx
push eax
call dword [edi + 0xc]
add esp, 8
movdqa xmm0, xmmword [esi + 0x60]
pcmpeqb xmm0, xmmword [0x501e20]
pmovmskb eax, xmm0
cmp eax, 0xffff
jne 0x4c3670
lea eax, [ebx + 4]
jmp 0x4c369d
lea eax, [esi + 0x50]
push ebx
push eax
call dword [edi + 0xc]
add esp, 8
movdqa xmm0, xmmword [esi + 0x50]
pcmpeqb xmm0, xmmword [0x564ef0]
pmovmskb eax, xmm0
cmp eax, 0xffff
jne 0x4c36a3
lea ecx, [ebx + 4]
add ebx, 8
mov eax, ebx
mov ebx, ecx
mov ecx, dword [ebx]
mov eax, dword [eax]
jmp 0x4c36ad
mov eax, 0xc
mov ecx, 0x565296
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], eax
call fcn.004c3240
mov ecx, 9
mov edx, 0x5652a2
test eax, eax
mov dword [esi + 0x18], eax
je 0x4c36d6
mov edi, dword [eax + 0x10]
test edi, edi
je 0x4c36d6
mov ecx, dword [eax + 0x14]
mov edx, edi
dec ecx
lea eax, [esi + 0x38]
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], eax
lea eax, [esi + 0x2c]
mov dword [esi + 0x44], eax
lea eax, [esi + 0x30]
mov dword [esi + 0x48], eax
lea eax, [esi + 9]
mov dword [esi + 0x4c], eax
movzx eax, byte [0x578248]
test al, al
je 0x4c3772
mov byte [0x578248], 1
mov dword [esi + 0x88], 0
push 0
push 0x57808c
call fcn.004c4b20
add esp, 8
test eax, eax
je 0x4c38f2
mov edi, dword [eax]
mov dword [eax], 0
test edi, edi
mov dword [esi + 0x1c], edi
je 0x4c3779
lea eax, [edi + 8]
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], eax
push eax
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov eax, dword [0x578298]
mov dword [esi + 0xc], edi
test eax, 0x7fffffff
je 0x4c37b9
mov byte [esi + 8], 1
mov dword [esi + 0x88], 3
call fcn.004ffcf0
mov edi, dword [esi + 0xc]
xor al, 1
mov dword [esi + 0x20], eax
jmp 0x4c37c0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x10], 0
mov byte [esi + 0x14], 0
mov byte [esi + 0xa], 1
mov dword [esi + 0x88], 2
lea ecx, [esi + 0x40]
lea edx, [esi + 0x10]
push 0x5652d4
call fcn.004c3ac0
add esp, 4
mov al, 1
xor edx, edx
mov ecx, dword [esi + 0x18]
test ecx, ecx
jne 0x4c385a
jmp 0x4c387e
mov dword [esi + 0x20], 0
movzx eax, byte [edi + 0xc]
lea edx, [edi + 0x10]
mov dword [esi + 0x88], 5
lea ecx, [esi + 0x40]
push 0x5652ac
call fcn.004c3ac0
add esp, 4
cmp byte [esi + 0x20], 0
je 0x4c38bb
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov byte [0x578248], 1
mov dword [esi + 0x88], 4
mov eax, dword [esi + 0xc]
mov dword [esi + 0x10], eax
push 0
push 0x57808c
call fcn.004c4b20
add esp, 8
test eax, eax
je 0x4c3911
mov ecx, dword [eax]
mov edx, dword [esi + 0xc]
test ecx, ecx
mov dword [eax], edx
mov dword [esi + 0x10], ecx
je 0x4c384f
lock dec dword [ecx]
jne 0x4c384f
lea eax, [esi + 0x10]
mov byte [esi + 8], 0
mov dword [esi + 0x88], 3
push eax
call fcn.004178d0
add esp, 4
mov dl, 1
xor eax, eax
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x4c387e
lock dec dword [ecx]
jne 0x4c387e
mov byte [esi + 0xb], al
lea eax, [esi + 0x18]
mov dword [esi + 0x88], 1
push eax
mov dword [esi + 0xc], edx
call fcn.00417770
mov edx, dword [esi + 0xc]
add esp, 4
mov eax, dword [esi + 0x1c]
not dl
test eax, eax
setne cl
test dl, cl
je 0x4c38a7
lock dec dword [eax]
jne 0x4c38a7
lea eax, [esi + 0x1c]
mov dword [esi + 0x88], 0xffffffff
push eax
call fcn.004178d0
add esp, 4
mov eax, dword [esi + 0x80]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x578298]
test eax, 0x7fffffff
je 0x4c37eb
mov byte [esi + 8], 1
mov dword [esi + 0x88], 3
call fcn.004ffcf0
test al, al
jne 0x4c37eb
mov eax, dword [esi + 0xc]
mov byte [eax + 0xc], 1
jmp 0x4c37eb
lea eax, [esi + 0x10]
push 0x567b38
push 0x567920
push eax
push 0x46
push 0x567a7c
call fcn.00500340
add esp, 0x14
jmp 0x4c395e
mov eax, dword [esi + 0xc]
lock dec dword [eax]
jne 0x4c3933
lea eax, [esi + 0x10]
mov byte [esi + 8], 0
mov dword [esi + 0x88], 3
push eax
call fcn.004178d0
add esp, 4
mov byte [esi + 8], 0
mov dword [esi + 0x88], 3
lea eax, [esi + 0x10]
push 0x567b38
push 0x567920
push eax
push 0x46
push 0x567a7c
call fcn.00500340
add esp, 0x14
ud2
lea eax, [esi + 0x10]
push 0x567f50
push 0x567e84
push eax
push 0x46
push str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destructionC:Userslucak.rustup_toolchains_nightly_x86_64_pc_windows_msvclib_rustlib_src_rustlibrary_std_src_threadlocal.rs
call fcn.00500340
nop word [eax + eax]
push ebp
sub esp, 0x14
lea esi, [ebp - 0x8c]
mov ebp, dword [esi + 0x78]
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4c39a5
lock dec dword [eax]
jne 0x4c39a5
lea eax, [esi + 0x18]
push eax
call fcn.00417770
add esp, 4
add esp, 0x14
pop ebp
ret