Function at 0x480af0
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], 0x4928d0
mov dword [esi + 4], ecx
mov ebx, edx
movzx edx, byte [ebp + 0x14]
movzx ecx, 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 [0x4eb234]
jle 0x480b84
call fcn.00475b20
test eax, eax
jne 0x480c1c
lea eax, [esi + 0x10]
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_a28077b28a02b92985b3a3faecf92813155f1ea1library_std_src_threadlocal.rs
mov edx, 0x46
push 0x4be870
push 0x4be04c
push eax
call fcn.00493e90
add esp, 0xc
ud2
mov dword [esi + 0x4c], 0x4e7238
mov dword [esi + 0x50], 0x4bf054
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], eax
lea eax, [esi + 0x4c]
mov dword [esi + 0x2c], 0x4bf098
mov dword [esi + 0x30], 2
mov dword [esi + 0x3c], 0
mov byte [esi + 0x5c], cl
mov byte [esi + 0x5d], dl
mov dword [esi + 0x10], 0
mov byte [esi + 0x14], 0
lea ecx, [esi + 0x10]
lea edx, [esi + 0x44]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x20]
mov dword [esi + 0x24], 0x40c450
mov dword [esi + 0x34], eax
lea eax, [esi + 0x2c]
mov dword [esi + 0x38], 1
push eax
push ecx
push edx
call fcn.00473f10
add esp, 0xc
cmp byte [esi + 0x44], 3
jne 0x480e5b
mov eax, dword [esi + 0x48]
mov ecx, dword [eax]
mov dword [esi + 4], eax
mov eax, dword [eax + 4]
mov dword [esi + 0x98], 0
mov dword [esi + 0x18], ecx
push ecx
mov dword [esi + 8], eax
call dword [eax]
add esp, 4
jmp 0x480e35
cmp byte [eax + 4], 0
jne 0x480dcc
inc dword [eax]
mov byte [eax + 4], 1
mov dword [esi + 0x4c], 0x4e7238
mov dword [esi + 0x50], 0x4bf054
mov dword [esi + 0x54], edi
mov edi, dword [ebp + 0xc]
movzx edx, byte [ebp + 0x10]
movzx ecx, byte [ebp + 0x14]
mov dword [esi + 0x58], edi
mov byte [esi + 0x5c], dl
mov byte [esi + 0x5d], cl
push 0x4eb1b8
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
movzx eax, byte [0x4eb1bc]
cmp dword [0x4eb1c0], 0
mov eax, dword [ebx + 0x10]
jne 0x480e64
mov byte [esi + 2], 1
mov dword [esi + 0x98], 2
push dword [esi + 4]
call eax
add esp, 4
cmp byte [ebp + 0x14], 0
mov ecx, eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], edx
mov dword [esi + 4], eax
je 0x480edf
mov byte [esi + 0xe], 3
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x60], eax
lea eax, [esi + 0x78]
mov edx, dword [edx + 0xc]
mov byte [esi + 2], 1
push ecx
push eax
mov dword [esi + 8], edx
call edx
mov ebx, dword [esi + 4]
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 0x480f22
mov eax, ebx
add eax, 4
mov ecx, dword [ebx]
mov eax, dword [eax]
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], eax
mov byte [esi + 2], 1
call fcn.00474460
mov ecx, eax
test eax, eax
jne 0x481008
mov dword [esi + 0x1c], 0
mov dword [esi + 4], 0
mov ecx, 9
mov edx, 0x4bef10
lea eax, [esi + 0x20]
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], ecx
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x60]
mov dword [esi + 0x30], eax
lea eax, [esi + 0x44]
mov dword [esi + 0x34], eax
lea eax, [esi + 0xe]
mov dword [esi + 0x38], eax
movzx eax, byte [0x4eb17c]
test al, al
jne 0x481042
mov dword [esi + 0x28], 0
mov dword [esi + 0x10], 0
mov byte [esi + 0x14], 0
mov byte [esi + 0xf], 0
mov dword [esi + 0x98], 3
lea ecx, [esi + 0x2c]
lea edx, [esi + 0x10]
push 0x4bef44
call fcn.0047ffd0
add esp, 4
xor ebx, ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x480da4
lock dec dword [eax]
jne 0x480da4
mov ecx, dword [esi + 0x1c]
call fcn.004745f0
mov eax, dword [esi + 0x28]
test eax, eax
sete cl
or bl, cl
jne 0x480dbd
lock dec dword [eax]
jne 0x480dbd
mov ecx, dword [esi + 0x28]
call fcn.0047d000
mov dword [esi + 0x98], 2
jmp 0x480e9a
lea eax, [esi + 0x2c]
mov dword [esi + 0x20], 0
mov dword [esi + 0x2c], 0x4bf0dc
mov dword [esi + 0x30], 1
mov dword [esi + 0x3c], 0
mov dword [esi + 0x34], 0x4e7238
mov byte [esi + 0x24], 0
mov dword [esi + 0x38], 0
lea ecx, [esi + 0x20]
lea edx, [esi + 0x4c]
push eax
push ecx
push edx
call fcn.00473f10
add esp, 0xc
cmp byte [esi + 0x4c], 3
jne 0x480e5b
mov eax, dword [esi + 0x50]
mov ecx, dword [eax]
mov dword [esi + 4], eax
mov eax, dword [eax + 4]
mov dword [esi + 0x98], 1
mov dword [esi + 0x18], ecx
push ecx
mov dword [esi + 8], eax
call dword [eax]
add esp, 4
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x18]
mov edi, dword [esi + 4]
cmp dword [eax + 4], 0
je 0x480e4f
mov eax, dword [esi + 8]
mov edx, dword [eax + 8]
call fcn.00407250
mov ecx, edi
mov edx, 4
call fcn.00407250
mov ecx, 7
int 0x29
ud2
mov byte [esi + 2], 1
mov dword [esi + 0x98], 2
push dword [esi + 4]
call eax
add esp, 4
mov dword [esi + 0x4c], eax
mov eax, dword [0x4eb1c0]
mov ecx, dword [0x4eb1c4]
mov dword [esi + 0x50], edx
lea edx, [esi + 0x4c]
mov byte [esi + 2], 1
push edx
push eax
call dword [ecx + 0x14]
add esp, 8
push 0x4eb1b8
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
mov byte [esi + 2], 0
call fcn.00475b20
test eax, eax
jne 0x480f6d
mov byte [esi + 2], 0
lea eax, [esi + 0x10]
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_a28077b28a02b92985b3a3faecf92813155f1ea1library_std_src_threadlocal.rs
mov edx, 0x46
push 0x4be870
push 0x4be04c
push eax
call fcn.00493e90
add esp, 0xc
jmp 0x4811e0
mov byte [esi + 2], 1
mov dword [esi + 8], edx
call fcn.00475b20
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
test eax, eax
jne 0x480f85
mov byte [esi + 2], 1
lea eax, [esi + 0x10]
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_a28077b28a02b92985b3a3faecf92813155f1ea1library_std_src_threadlocal.rs
mov edx, 0x46
push 0x4be870
push 0x4be04c
push eax
call fcn.00493e90
add esp, 0xc
jmp 0x4811e0
mov byte [esi + 2], 1
lea eax, [esi + 0x68]
push ebx
push eax
call dword [esi + 8]
mov ebx, dword [esi + 4]
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, 0x281936fd
xor ecx, 0x5409aa9
xor edx, 0xd51778ec
xor eax, 0x5ac12cf0
or ecx, edi
or eax, edx
or eax, ecx
jne 0x481033
mov eax, ebx
add eax, 8
jmp 0x480cf9
cmp byte [ebp + 0x10], 0
mov byte [eax + 4], 0
je 0x480f93
mov byte [esi + 2], 0
call fcn.0047dad0
jmp 0x4811e0
cmp dword [eax], 1
jbe 0x480ff1
mov byte [esi + 0xe], 1
jmp 0x480ca2
lea eax, [esi + 0x2c]
mov dword [esi + 0x44], 0
mov dword [esi + 0x2c], 0x4bf114
mov dword [esi + 0x30], 1
mov dword [esi + 0x3c], 0
mov dword [esi + 0x34], 0x4e7238
mov byte [esi + 0x48], 0
mov dword [esi + 0x38], 0
mov byte [esi + 2], 0
lea ecx, [esi + 0x44]
lea edx, [esi + 0x20]
push eax
push ecx
push edx
call fcn.00473f10
add esp, 0xc
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov byte [esi + 2], 0
call fcn.00474040
mov ecx, 7
int 0x29
ud2
mov byte [esi + 2], 1
call fcn.0047dae0
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
mov byte [esi + 0xe], al
jmp 0x480ca2
mov eax, dword [ecx]
test eax, eax
jne 0x48102a
mov dword [esi + 4], ecx
xor ecx, ecx
mov byte [esi + 2], 1
call fcn.00473da0
mov ecx, dword [esi + 4]
cmp dword [ecx], 0
jne 0x4810e7
mov dword [ecx], eax
lock inc dword [eax]
jg 0x481092
ud2
mov eax, 0xc
mov ecx, 0x4bef04
jmp 0x480cfd
mov byte [0x4eb17c], 1
mov dword [esi + 0x10], 0
mov dword [esi + 0x98], 8
call fcn.0047ce90
test eax, eax
jne 0x4810ac
mov dword [esi + 0x98], 7
lea eax, [esi + 0x10]
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_a28077b28a02b92985b3a3faecf92813155f1ea1library_std_src_threadlocal.rs
mov edx, 0x46
push 0x4be870
push 0x4be04c
push eax
call fcn.00493e90
add esp, 0xc
jmp 0x4811e0
mov dword [esi + 0x1c], eax
mov dword [esi + 4], eax
mov edx, dword [eax + 0x10]
test edx, edx
je 0x480d24
mov ecx, dword [eax + 0x14]
dec ecx
jmp 0x480d2e
mov edi, dword [eax]
mov dword [eax], 0
test edi, edi
mov dword [esi + 0x28], edi
je 0x480d62
lea eax, [edi + 8]
mov dword [esi + 0x64], edi
mov dword [esi + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov eax, dword [0x4eb234]
mov dword [esi + 8], edi
test eax, 0x7fffffff
jne 0x48112b
mov dword [esi + 0x18], 0
jmp 0x481146
lea ecx, [esi + 0x2c]
mov dword [esi + 0x2c], eax
call fcn.004745d0
lea ecx, [esi + 0x2c]
mov edx, 0x4bde90
mov dword [esi + 0x2c], 0x4bde88
mov dword [esi + 0x30], 1
mov dword [esi + 0x3c], 0
mov dword [esi + 0x34], 0x4e7238
mov dword [esi + 0x38], 0
mov byte [esi + 2], 1
call fcn.00493a60
jmp 0x4811e0
mov byte [esi + 3], 1
mov dword [esi + 0x98], 4
call fcn.00496190
mov edi, dword [esi + 8]
xor al, 1
mov dword [esi + 0x18], eax
movzx eax, byte [edi + 0xc]
lea edx, [edi + 0x10]
mov dword [esi + 0x98], 6
lea ecx, [esi + 0x2c]
push 0x4bef1c
call fcn.0047ffd0
add esp, 4
cmp byte [esi + 0x18], 0
jne 0x481179
mov eax, dword [0x4eb234]
test eax, 0x7fffffff
jne 0x4811e2
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov byte [0x4eb17c], 1
mov dword [esi + 0x98], 5
mov eax, dword [esi + 8]
mov dword [esi + 0x10], eax
call fcn.0047ce90
test eax, eax
jne 0x481205
mov eax, dword [esi + 8]
lock dec dword [eax]
jne 0x4811b2
mov ecx, dword [esi + 0x10]
call fcn.0047d000
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_a28077b28a02b92985b3a3faecf92813155f1ea1library_std_src_threadlocal.rs
mov edx, 0x46
push 0x4be870
push 0x4be04c
push eax
call fcn.00493e90
add esp, 0xc
ud2
mov byte [esi + 3], 1
mov dword [esi + 0x98], 4
call fcn.00496190
test al, al
jne 0x481179
mov eax, dword [esi + 8]
mov byte [eax + 0xc], 1
jmp 0x481179
mov ecx, dword [eax]
mov edx, dword [esi + 8]
test ecx, ecx
mov dword [eax], edx
je 0x48121a
lock dec dword [ecx]
jne 0x48121a
call fcn.0047d000
mov eax, dword [esi + 0x1c]
mov bl, 1
mov dword [esi + 4], eax
jmp 0x480d90