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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov esi, esp
mov dword [esi + 0x98], ebp
mov dword [esi + 0x9c], esp
mov dword [esi + 0xa8], 0xffffffff
mov dword [esi + 0xa4], 0x4acd60
lea edi, [esi + 0xa0]
mov eax, dword fs:[0]
mov dword [esi + 0xa0], eax
mov dword fs:[0], edi
lock inc dword [0x530b28]
jle 0x49f03b
mov ebx, edx
mov edi, ecx
call fcn.00493e40
test eax, eax
jne 0x49eb61
lea eax, [esi + 0x1c]
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_a4472498d7e88041f6206faf4503eb1f246fd427library_std_src_threadlocal.rs
mov edx, 0x46
push 0x4faab8
push 0x4fa1fc
push eax
call fcn.004cbc80
cmp byte [eax + 4], 0
jne 0x49f0b9
inc dword [eax]
mov byte [eax + 4], 1
mov eax, dword [ebp + 8]
mov dword [esi + 0x34], str._rustc_a4472498d7e88041f6206faf4503eb1f246fd427librarycore_src_sync_atomic.rsthere_is_no_such_thing_as_an_acquire_store
mov dword [esi + 0x38], 0x4fb304
movzx edx, byte [ebp + 0x10]
movzx ecx, byte [ebp + 0x14]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x40], eax
mov byte [esi + 0x44], dl
mov byte [esi + 0x45], cl
push 0x530aa8
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
movzx eax, byte [0x530aac]
cmp dword [0x530ab0], 0
mov eax, dword [ebx + 0x10]
jne 0x49ed12
mov byte [esi + 0xe], 1
mov dword [esi + 0xa8], 0
push edi
call eax
add esp, 4
cmp byte [ebp + 0x14], 0
mov edi, eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], edx
mov dword [esi + 0x18], eax
mov dword [esi + 0x10], edx
je 0x49ed95
mov byte [esi + 0x16], 3
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0x80]
mov dword [esi + 0x6c], eax
mov eax, dword [edx + 0xc]
mov byte [esi + 0xe], 1
push edi
push ecx
call eax
mov ebx, dword [esi + 0x18]
add esp, 8
mov eax, dword [esi + 0x8c]
mov ecx, dword [esi + 0x88]
mov edi, dword [esi + 0x80]
mov edx, dword [esi + 0x84]
xor edi, 0xcd1e7bc1
xor ecx, 0xb1ef64
xor edx, 0xc1a2c89c
xor eax, 0xfdbc1681
or ecx, edi
or eax, edx
or eax, ecx
jne 0x49edd5
mov eax, ebx
add eax, 4
mov ecx, dword [ebx]
mov eax, dword [eax]
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], eax
mov byte [esi + 0xe], 1
call fcn.004927c0
mov edi, 9
mov ecx, 0x4fb1c0
test eax, eax
mov dword [esi + 0x18], eax
je 0x49ec7c
mov edx, dword [eax + 0x10]
test edx, edx
je 0x49ec7c
mov eax, dword [esi + 0x18]
mov ecx, edx
mov edi, dword [eax + 0x14]
dec edi
lea eax, [esi + 0x24]
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edi
mov dword [esi + 0x4c], eax
lea eax, [esi + 0x6c]
mov dword [esi + 0x50], eax
lea eax, [esi + 0x2c]
mov dword [esi + 0x54], eax
lea eax, [esi + 0x16]
mov dword [esi + 0x58], eax
movzx eax, byte [0x530a6c]
test al, al
jne 0x49eec5
mov dword [esi + 0x1c], 0
mov byte [esi + 0x20], 0
mov dword [esi + 0x64], 0
mov byte [esi + 0x17], 0
mov dword [esi + 0xa8], 1
lea ecx, [esi + 0x4c]
lea edx, [esi + 0x1c]
push 0x4fb1f4
call fcn.0049df50
add esp, 4
xor edi, edi
xor ebx, ebx
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x49ecf1
lock dec dword [ecx]
jne 0x49ecf1
call fcn.00492600
test edi, edi
sete al
or bl, al
jne 0x49ed46
lock dec dword [edi]
jne 0x49ed46
mov ecx, edi
call fcn.0049b320
mov dword [esi + 0xa8], 0
jmp 0x49ed46
mov byte [esi + 0xe], 1
mov dword [esi + 0xa8], 0
push edi
call eax
add esp, 4
mov dword [esi + 0x34], eax
mov eax, dword [0x530ab0]
mov ecx, dword [0x530ab4]
mov dword [esi + 0x38], edx
lea edx, [esi + 0x34]
mov byte [esi + 0xe], 1
push edx
push eax
call dword [ecx + 0x14]
add esp, 8
push 0x530aa8
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
mov byte [esi + 0xe], 0
mov dword [esi + 0xa8], 0
call fcn.00493e40
test eax, eax
jne 0x49ee2a
mov byte [esi + 0xe], 0
lea eax, [esi + 0x1c]
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_a4472498d7e88041f6206faf4503eb1f246fd427library_std_src_threadlocal.rs
mov edx, 0x46
push 0x4faab8
push 0x4fa1fc
push eax
call fcn.004cbc80
add esp, 0xc
jmp 0x49eff7
mov byte [esi + 0xe], 1
call fcn.00493e40
mov edx, dword [esi + 0x10]
mov edi, dword [esi + 0x18]
test eax, eax
jne 0x49ee42
mov byte [esi + 0xe], 1
lea eax, [esi + 0x1c]
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_a4472498d7e88041f6206faf4503eb1f246fd427library_std_src_threadlocal.rs
mov edx, 0x46
push 0x4faab8
push 0x4fa1fc
push eax
call fcn.004cbc80
add esp, 0xc
jmp 0x49eff7
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x70]
mov eax, dword [eax + 0xc]
mov byte [esi + 0xe], 1
push ebx
push ecx
call eax
mov ebx, dword [esi + 0x18]
add esp, 8
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x78]
mov edi, dword [esi + 0x70]
mov edx, dword [esi + 0x74]
xor edi, 0xd0e8a07a
xor ecx, 0x283a97a
xor edx, 0x31231814
xor eax, 0x25b18ac2
or ecx, edi
or eax, edx
or eax, ecx
jne 0x49ef04
lea ecx, [ebx + 4]
add ebx, 8
mov eax, ebx
mov ebx, ecx
jmp 0x49ec48
cmp byte [ebp + 0x10], 0
mov byte [eax + 4], 0
je 0x49ee50
mov byte [esi + 0xe], 0
call fcn.0049c2d0
jmp 0x49eff7
cmp dword [eax], 1
jbe 0x49eeae
mov byte [esi + 0x16], 1
jmp 0x49ebeb
lea eax, [esi + 0x4c]
mov dword [esi + 0x2c], 0
mov dword [esi + 0x4c], 0x4fb3c4
mov dword [esi + 0x50], 1
mov dword [esi + 0x5c], 0
mov dword [esi + 0x54], str._rustc_a4472498d7e88041f6206faf4503eb1f246fd427librarycore_src_sync_atomic.rsthere_is_no_such_thing_as_an_acquire_store
mov byte [esi + 0x30], 0
mov dword [esi + 0x58], 0
mov byte [esi + 0xe], 0
lea ecx, [esi + 0x2c]
lea edx, [esi + 0x24]
push eax
push ecx
push edx
call fcn.00491f20
add esp, 0xc
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x28]
mov byte [esi + 0xe], 0
call fcn.00492080
mov ecx, 7
int 0x29
ud2
mov byte [esi + 0xe], 1
call fcn.0049c2e0
mov edx, dword [esi + 0x10]
mov edi, dword [esi + 0x18]
mov byte [esi + 0x16], al
jmp 0x49ebeb
mov byte [0x530a6c], 1
mov dword [esi + 0xa8], 5
call fcn.0049b1a0
test eax, eax
jne 0x49ef13
lea eax, [esi + 0x1c]
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_a4472498d7e88041f6206faf4503eb1f246fd427library_std_src_threadlocal.rs
mov edx, 0x46
push 0x4faab8
push 0x4fa1fc
push eax
call fcn.004cbc80
add esp, 0xc
jmp 0x49eff7
mov eax, 0xc
mov ecx, 0x4fb1b4
jmp 0x49ec4c
mov edi, dword [eax]
mov dword [eax], 0
test edi, edi
je 0x49eca9
lea eax, [edi + 8]
mov dword [esi + 0x68], eax
push eax
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov eax, dword [0x530b28]
mov dword [esi + 0x10], edi
test eax, 0x7fffffff
jne 0x49ef48
mov dword [esi + 0x48], 0
jmp 0x49ef63
mov byte [esi + 0xf], 1
mov dword [esi + 0xa8], 2
call fcn.004ce8a0
mov edi, dword [esi + 0x10]
xor al, 1
mov dword [esi + 0x48], eax
movzx eax, byte [edi + 0xc]
lea edx, [edi + 0x10]
mov dword [esi + 0xa8], 4
lea ecx, [esi + 0x4c]
push 0x4fb1cc
call fcn.0049df50
add esp, 4
cmp byte [esi + 0x48], 0
jne 0x49ef96
mov eax, dword [0x530b28]
test eax, 0x7fffffff
jne 0x49eff9
push dword [esi + 0x68]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov byte [0x530a6c], 1
mov dword [esi + 0xa8], 3
call fcn.0049b1a0
test eax, eax
jne 0x49f01c
mov eax, dword [esi + 0x10]
lock dec dword [eax]
jne 0x49efc9
mov ecx, dword [esi + 0x10]
call fcn.0049b320
mov byte [esi + 0xf], 0
mov dword [esi + 0xa8], 2
lea eax, [esi + 0x1c]
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_a4472498d7e88041f6206faf4503eb1f246fd427library_std_src_threadlocal.rs
mov edx, 0x46
push 0x4faab8
push 0x4fa1fc
push eax
call fcn.004cbc80
add esp, 0xc
ud2
mov byte [esi + 0xf], 1
mov dword [esi + 0xa8], 2
call fcn.004ce8a0
test al, al
jne 0x49ef96
mov eax, dword [esi + 0x10]
mov byte [eax + 0xc], 1
jmp 0x49ef96
mov ecx, dword [eax]
mov edx, dword [esi + 0x10]
mov bl, 1
test ecx, ecx
mov dword [eax], edx
je 0x49f033
lock dec dword [ecx]
jne 0x49f033
call fcn.0049b320
mov edi, dword [esi + 0x10]
jmp 0x49ece0
mov eax, dword [ebp + 8]
mov dword [esi + 0x34], str._rustc_a4472498d7e88041f6206faf4503eb1f246fd427librarycore_src_sync_atomic.rsthere_is_no_such_thing_as_an_acquire_store
mov dword [esi + 0x38], 0x4fb304
mov dword [esi + 0x4c], 0x4fb348
mov dword [esi + 0x50], 2
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x1c]
lea edx, [esi + 0x2c]
mov dword [esi + 0x1c], 0
mov byte [esi + 0x20], 0
mov dword [esi + 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x40], eax
movzx eax, byte [ebp + 0x10]
mov byte [esi + 0x44], al
movzx eax, byte [ebp + 0x14]
mov byte [esi + 0x45], al
lea eax, [esi + 0x34]
mov dword [esi + 0x24], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x28], 0x40ce30
mov dword [esi + 0x54], eax
lea eax, [esi + 0x4c]
mov dword [esi + 0x58], 1
push eax
push ecx
push edx
call fcn.00491f20
add esp, 0xc
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x30]
jmp 0x49f101
lea eax, [esi + 0x4c]
lea ecx, [esi + 0x24]
lea edx, [esi + 0x34]
mov dword [esi + 0x24], 0
mov dword [esi + 0x4c], 0x4fb38c
mov dword [esi + 0x50], 1
mov dword [esi + 0x5c], 0
mov dword [esi + 0x54], str._rustc_a4472498d7e88041f6206faf4503eb1f246fd427librarycore_src_sync_atomic.rsthere_is_no_such_thing_as_an_acquire_store
mov byte [esi + 0x28], 0
mov dword [esi + 0x58], 0
push eax
push ecx
push edx
call fcn.00491f20
add esp, 0xc
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x38]
call fcn.00492080
mov ecx, 7
int 0x29
ud2