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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa0
mov esi, esp
mov dword [esi + 0x88], ebp
mov dword [esi + 0x8c], esp
mov dword [esi + 0x98], 0xffffffff
mov dword [esi + 0x94], 0x4aa4a0
mov ebx, edx
movzx edx, byte [ebp + 0x10]
mov edi, dword [ebp + 8]
mov eax, dword fs:[0]
mov dword [esi + 0x90], eax
lea eax, [esi + 0x90]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
lock inc dword [0x53cbe4]
jle 0x497480
mov dword [esi + 8], ecx
call fcn.0047d0f0
test eax, eax
jne 0x497515
lea eax, [esi + 0x10]
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_36fb58e433c782e27dd41034284e157cf86d587flibrary_std_src_threadlocal.rs
mov edx, 0x46
push 0x4ea494
push 0x4e9764
push eax
call fcn.004c8ad0
add esp, 0xc
ud2
mov dword [esi + 0x50], 0x500c58
mov dword [esi + 0x54], 0x4eade4
mov dword [esi + 0x5c], edi
mov dword [esi + 0x58], eax
lea eax, [esi + 0x50]
mov dword [esi + 0x34], 0x4eae28
mov dword [esi + 0x38], 2
mov dword [esi + 0x44], 0
mov byte [esi + 0x60], dl
mov dword [esi + 0x10], 0
mov byte [esi + 0x14], 0
lea ecx, [esi + 0x10]
lea edx, [esi + 0x28]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x20]
mov dword [esi + 0x24], 0x42af70
mov dword [esi + 0x3c], eax
lea eax, [esi + 0x34]
mov dword [esi + 0x40], 1
push eax
push ecx
push edx
call fcn.0047ad20
add esp, 0xc
cmp byte [esi + 0x28], 3
jne 0x497658
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax]
mov dword [esi + 8], eax
mov eax, dword [eax + 4]
mov dword [esi + 0x98], 0
mov dword [esi + 0x18], ecx
push ecx
mov dword [esi + 4], eax
call dword [eax]
add esp, 4
jmp 0x497632
cmp byte [eax + 4], 0
jne 0x4975c9
mov edx, dword [ebp + 0xc]
movzx ecx, byte [ebp + 0x10]
inc dword [eax]
mov byte [eax + 4], 1
mov dword [esi + 0x50], 0x500c58
mov dword [esi + 0x54], 0x4eade4
mov dword [esi + 0x5c], edi
mov dword [esi + 0x58], edx
mov byte [esi + 0x60], cl
push 0x53cb60
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
movzx eax, byte [0x53cb64]
cmp dword [0x53cb68], 0
mov ecx, dword [ebx + 0x10]
jne 0x497661
mov byte [esi + 2], 1
mov dword [esi + 0x98], 2
push dword [esi + 8]
call ecx
add esp, 4
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], edx
mov byte [esi + 2], 1
mov dword [esi + 8], eax
mov dword [esi + 4], edx
call fcn.0047d0f0
mov edi, dword [esi + 4]
mov edx, dword [esi + 8]
mov ecx, eax
test eax, eax
jne 0x4976dc
mov byte [esi + 2], 1
lea eax, [esi + 0x10]
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_36fb58e433c782e27dd41034284e157cf86d587flibrary_std_src_threadlocal.rs
mov edx, 0x46
push 0x4ea494
push 0x4e9764
push eax
call fcn.004c8ad0
add esp, 0xc
jmp 0x497a73
lea eax, [esi + 0x34]
mov dword [esi + 0x20], 0
mov dword [esi + 0x34], 0x4eae6c
mov dword [esi + 0x38], 1
mov dword [esi + 0x44], 0
mov dword [esi + 0x3c], 0x500c58
mov byte [esi + 0x24], 0
mov dword [esi + 0x40], 0
lea ecx, [esi + 0x20]
lea edx, [esi + 0x50]
push eax
push ecx
push edx
call fcn.0047ad20
add esp, 0xc
cmp byte [esi + 0x50], 3
jne 0x497658
mov eax, dword [esi + 0x54]
mov ecx, dword [eax]
mov dword [esi + 8], eax
mov eax, dword [eax + 4]
mov dword [esi + 0x98], 1
mov dword [esi + 0x18], ecx
push ecx
mov dword [esi + 4], eax
call dword [eax]
add esp, 4
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x18]
mov edi, dword [esi + 8]
cmp dword [eax + 4], 0
je 0x49764c
mov eax, dword [esi + 4]
mov edx, dword [eax + 8]
call fcn.00425c30
mov ecx, edi
mov edx, 4
call fcn.00425c30
mov ecx, 7
int 0x29
ud2
mov byte [esi + 2], 1
mov dword [esi + 0x98], 2
push dword [esi + 8]
call ecx
add esp, 4
mov dword [esi + 0x50], eax
mov eax, dword [0x53cb68]
mov ecx, dword [0x53cb6c]
mov dword [esi + 0x54], edx
lea edx, [esi + 0x50]
mov byte [esi + 2], 1
push edx
push eax
call dword [ecx + 0x14]
add esp, 8
push 0x53cb60
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
mov byte [esi + 2], 0
call fcn.0047d0f0
test eax, eax
jne 0x4977f9
mov byte [esi + 2], 0
lea eax, [esi + 0x10]
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_36fb58e433c782e27dd41034284e157cf86d587flibrary_std_src_threadlocal.rs
mov edx, 0x46
push 0x4ea494
push 0x4e9764
push eax
call fcn.004c8ad0
add esp, 0xc
jmp 0x497a73
cmp dword [ecx], 1
mov al, 1
ja 0x4976f2
mov byte [esi + 2], 1
call fcn.0048abb0
mov edi, dword [esi + 4]
mov edx, dword [esi + 8]
mov byte [esi + 0x1f], al
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0x78]
mov dword [esi + 0x64], eax
mov eax, dword [edi + 0xc]
mov byte [esi + 2], 1
push edx
push ecx
call eax
mov ebx, dword [esi + 8]
add esp, 8
mov eax, dword [esi + 0x84]
mov ecx, dword [esi + 0x80]
mov edi, dword [esi + 0x78]
mov edx, dword [esi + 0x7c]
xor edi, 0xcd1e7bc1
xor ecx, 0xb1ef64
xor edx, 0xc1a2c89c
xor eax, 0xfdbc1681
or ecx, edi
or eax, edx
or eax, ecx
jne 0x49786f
mov eax, ebx
add eax, 4
mov ecx, dword [ebx]
mov eax, dword [eax]
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], eax
mov byte [esi + 2], 1
call fcn.0047b310
mov ecx, eax
test eax, eax
jne 0x4978bb
xor eax, eax
mov ecx, 9
mov edx, 0x4eac9c
mov dword [esi + 8], eax
lea eax, [esi + 0x20]
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], ecx
mov dword [esi + 0x34], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x38], eax
lea eax, [esi + 0x64]
mov dword [esi + 0x3c], eax
lea eax, [esi + 0x1f]
mov dword [esi + 0x40], eax
movzx eax, byte [0x53cb24]
test al, al
jne 0x497907
mov dword [esi + 0x10], 0
mov byte [esi + 0x14], 0
mov byte [esi + 0xe], 1
mov dword [esi + 0x4c], 0
mov byte [esi + 0xf], 0
mov dword [esi + 0x98], 3
lea ecx, [esi + 0x34]
lea edx, [esi + 0x10]
push 0x4eacd0
call fcn.004968c0
add esp, 4
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4977ea
lock dec dword [ecx]
jne 0x4977ea
call fcn.0047b420
mov dword [esi + 0x98], 2
jmp 0x497697
cmp byte [ebp + 0x10], 0
mov byte [eax + 4], 0
je 0x497811
mov byte [esi + 2], 0
call fcn.0048aba0
jmp 0x497a73
lea eax, [esi + 0x34]
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0x4eaea4
mov dword [esi + 0x38], 1
mov dword [esi + 0x44], 0
mov dword [esi + 0x3c], 0x500c58
mov byte [esi + 0x2c], 0
mov dword [esi + 0x40], 0
mov byte [esi + 2], 0
lea ecx, [esi + 0x28]
lea edx, [esi + 0x20]
push eax
push ecx
push edx
call fcn.0047ad20
add esp, 0xc
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov byte [esi + 2], 0
call fcn.0047ae70
mov ecx, 7
int 0x29
ud2
mov eax, dword [esi + 4]
lea ecx, [esi + 0x68]
mov eax, dword [eax + 0xc]
mov byte [esi + 2], 1
push ebx
push ecx
call eax
mov ebx, dword [esi + 8]
add esp, 8
mov eax, dword [esi + 0x74]
mov ecx, dword [esi + 0x70]
mov edi, dword [esi + 0x68]
mov edx, dword [esi + 0x6c]
xor edi, 0xf9c56f0d
xor ecx, 0x7d8b296d
xor edx, 0x6c0ff108
xor eax, 0x4ffcaa0f
or ecx, edi
or eax, edx
or eax, ecx
jne 0x4978f8
mov eax, ebx
add eax, 8
jmp 0x497749
cmp dword [ecx], 0
jne 0x497950
mov dword [ecx], 0xffffffff
mov eax, dword [ecx + 4]
test eax, eax
jne 0x4978eb
mov dword [esi + 8], ecx
xor ecx, ecx
mov dword [esi + 0x98], 9
call fcn.0047abb0
mov ecx, dword [esi + 8]
mov dword [ecx + 4], eax
lock inc dword [eax]
jg 0x497979
ud2
mov eax, 0xc
mov ecx, 0x4eac90
jmp 0x49774d
mov byte [0x53cb24], 1
mov dword [esi + 0x98], 8
call fcn.00489170
test eax, eax
jne 0x49798f
mov dword [esi + 0x98], 7
lea eax, [esi + 0x10]
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_36fb58e433c782e27dd41034284e157cf86d587flibrary_std_src_threadlocal.rs
mov edx, 0x46
push 0x4ea494
push 0x4e9764
push eax
call fcn.004c8ad0
add esp, 0xc
jmp 0x497a73
mov byte [esi + 2], 1
lea eax, [esi + 0x10]
mov ecx, 0x4eced9
mov edx, 0x10
push 0x4eab18
push 0x4e9744
push eax
call fcn.004c8ad0
add esp, 0xc
jmp 0x497a73
inc dword [ecx]
mov edx, dword [eax + 0x10]
test edx, edx
je 0x497768
mov ecx, dword [eax + 0x14]
dec ecx
jmp 0x497772
mov ecx, dword [eax]
mov dword [eax], 0
test ecx, ecx
je 0x4977a2
lea eax, [ecx + 8]
mov dword [esi + 4], ecx
mov dword [esi + 0x18], eax
push eax
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov eax, dword [0x53cbe4]
test eax, 0x7fffffff
jne 0x4979c4
mov dword [esi + 0x30], 0
jmp 0x4979dc
mov byte [esi + 3], 1
mov dword [esi + 0x98], 4
call fcn.004cb260
xor al, 1
mov dword [esi + 0x30], eax
mov ecx, dword [esi + 4]
movzx eax, byte [ecx + 0xc]
lea edx, [ecx + 0x10]
mov dword [esi + 0x98], 6
lea ecx, [esi + 0x34]
push 0x4eaca8
call fcn.004968c0
add esp, 4
cmp byte [esi + 0x30], 0
jne 0x497a12
mov eax, dword [0x53cbe4]
test eax, 0x7fffffff
jne 0x497a75
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov byte [0x53cb24], 1
mov dword [esi + 0x98], 5
call fcn.00489170
test eax, eax
jne 0x497a98
mov eax, dword [esi + 4]
lock dec dword [eax]
jne 0x497a45
mov ecx, dword [esi + 4]
call fcn.00489270
mov byte [esi + 3], 0
mov dword [esi + 0x98], 4
lea eax, [esi + 0x10]
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_36fb58e433c782e27dd41034284e157cf86d587flibrary_std_src_threadlocal.rs
mov edx, 0x46
push 0x4ea494
push 0x4e9764
push eax
call fcn.004c8ad0
add esp, 0xc
ud2
mov byte [esi + 3], 1
mov dword [esi + 0x98], 4
call fcn.004cb260
test al, al
jne 0x497a12
mov eax, dword [esi + 4]
mov byte [eax + 0xc], 1
jmp 0x497a12
mov ecx, dword [eax]
mov edx, dword [esi + 4]
test ecx, ecx
mov dword [eax], edx
je 0x4977d9
lock dec dword [ecx]
jne 0x4977d9
call fcn.00489270
jmp 0x4977d9