Function at 0x414ab0
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], 0x416470
mov dword [esi + 8], 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 [0x41f180]
jle 0x414b44
call fcn.0040e0b0
test eax, eax
jne 0x414bda
lea eax, [esi + 0x20]
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destructionlibrary_std_src_threadlocal.rs
mov edx, 0x46
push 0x41b5ac
push 0x41adc0
push eax
call fcn.004176b0
add esp, 0xc
ud2
mov dword [esi + 0x48], 0x41cca0
mov dword [esi + 0x4c], 0x41bb60
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], eax
lea eax, [esi + 0x48]
mov dword [esi + 0x20], 0x41bba4
mov dword [esi + 0x24], 2
mov dword [esi + 0x30], 0
mov byte [esi + 0x58], cl
mov byte [esi + 0x59], dl
mov dword [esi + 0x38], 0
mov byte [esi + 0x3c], 0
lea ecx, [esi + 0x40]
lea edx, [esi + 0x38]
mov dword [esi + 0x18], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x1c], 0x403180
mov dword [esi + 0x28], eax
lea eax, [esi + 0x20]
mov dword [esi + 0x2c], 1
push eax
call fcn.0040c570
add esp, 4
cmp byte [esi + 0x40], 3
jne 0x414e04
mov eax, dword [esi + 0x44]
mov ecx, dword [eax]
mov dword [esi + 8], eax
mov eax, dword [eax + 4]
mov dword [esi + 0x98], 0
mov dword [esi + 0x14], ecx
push ecx
mov dword [esi + 0x10], eax
call dword [eax]
add esp, 4
jmp 0x414dcb
cmp byte [eax + 4], 0
jne 0x414d64
inc dword [eax]
mov byte [eax + 4], 1
mov dword [esi + 0x48], 0x41cca0
mov dword [esi + 0x4c], 0x41bb60
mov dword [esi + 0x50], edi
mov edi, dword [ebp + 0xc]
movzx edx, byte [ebp + 0x10]
movzx ecx, byte [ebp + 0x14]
mov dword [esi + 0x54], edi
mov byte [esi + 0x58], dl
mov byte [esi + 0x59], cl
push 0x41f170
call dword [sym.imp.kernel32.dll_AcquireSRWLockShared]
movzx eax, byte [0x41f174]
cmp dword [0x41f178], 0
mov eax, dword [ebx + 0x10]
jne 0x414e0d
mov byte [esi + 7], 1
mov dword [esi + 0x98], 2
push dword [esi + 8]
call eax
add esp, 4
cmp byte [ebp + 0x14], 0
mov ecx, eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edx
mov dword [esi + 8], eax
je 0x414e92
mov byte [esi + 0xf], 3
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x64], eax
lea eax, [esi + 0x78]
mov edx, dword [edx + 0xc]
mov byte [esi + 7], 1
push ecx
push eax
mov dword [esi + 0x10], edx
call edx
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 0x414ed5
mov eax, ebx
add eax, 4
mov ecx, dword [ebx]
mov eax, dword [eax]
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], eax
mov byte [esi + 7], 1
call fcn.0040c9c0
test eax, eax
jne 0x414fb9
mov dword [esi + 0x5c], 0
mov dword [esi + 8], 0
mov ecx, 9
mov eax, 0x41ba6c
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
lea edx, [esi + 0x18]
lea ecx, [esi + 0x64]
mov dword [esi + 0x38], 0
mov dword [esi + 0x60], 0
mov byte [esi + 0x3c], 0
mov dword [esi + 0x98], 3
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], ecx
lea edx, [esi + 0x40]
lea ecx, [esi + 0xf]
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], ecx
lea ecx, [esi + 0x20]
lea edx, [esi + 0x38]
call fcn.004144e0
mov eax, dword [esi + 8]
test eax, eax
je 0x414d43
lock dec dword [eax]
jne 0x414d43
mov ecx, dword [esi + 0x5c]
call fcn.0040cb50
mov eax, dword [esi + 0x60]
test eax, eax
je 0x414e43
lock dec dword [eax]
jne 0x414e43
mov ecx, dword [esi + 0x60]
call fcn.004123b0
jmp 0x414e43
lea eax, [esi + 0x20]
mov dword [esi + 0x18], 0
mov dword [esi + 0x20], 0x41bbe8
mov dword [esi + 0x24], 1
mov dword [esi + 0x30], 0
mov dword [esi + 0x28], 0x41cca0
mov byte [esi + 0x1c], 0
mov dword [esi + 0x2c], 0
lea ecx, [esi + 0x48]
lea edx, [esi + 0x18]
push eax
call fcn.0040c570
add esp, 4
cmp byte [esi + 0x48], 3
jne 0x414e04
mov eax, dword [esi + 0x4c]
mov ecx, dword [eax]
mov dword [esi + 8], eax
mov eax, dword [eax + 4]
mov dword [esi + 0x98], 1
mov dword [esi + 0x14], ecx
push ecx
mov dword [esi + 0x10], eax
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 8]
cmp dword [ecx + 4], 0
je 0x414df5
mov ecx, dword [esi + 0x10]
cmp dword [ecx + 8], 9
jb 0x414de6
mov eax, dword [eax - 4]
push eax
push 0
push dword [0x41f198]
call dword [sym.imp.kernel32.dll_HeapFree]
push edi
push 0
push dword [0x41f198]
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, 7
int 0x29
ud2
mov byte [esi + 7], 1
mov dword [esi + 0x98], 2
push dword [esi + 8]
call eax
add esp, 4
mov dword [esi + 0x48], eax
mov eax, dword [0x41f178]
mov ecx, dword [0x41f17c]
mov dword [esi + 0x4c], edx
lea edx, [esi + 0x48]
mov byte [esi + 7], 1
push edx
push eax
call dword [ecx + 0x14]
add esp, 8
push 0x41f170
call dword [sym.imp.kernel32.dll_ReleaseSRWLockShared]
mov byte [esi + 7], 0
mov dword [esi + 0x98], 2
call fcn.0040e0b0
test eax, eax
jne 0x414f20
mov byte [esi + 7], 0
lea eax, [esi + 0x20]
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destructionlibrary_std_src_threadlocal.rs
mov edx, 0x46
push 0x41b5ac
push 0x41adc0
push eax
call fcn.004176b0
add esp, 0xc
jmp 0x415049
mov byte [esi + 7], 1
mov dword [esi + 0x10], edx
call fcn.0040e0b0
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 8]
test eax, eax
jne 0x414f38
mov byte [esi + 7], 1
lea eax, [esi + 0x20]
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destructionlibrary_std_src_threadlocal.rs
mov edx, 0x46
push 0x41b5ac
push 0x41adc0
push eax
call fcn.004176b0
add esp, 0xc
jmp 0x415049
mov byte [esi + 7], 1
lea eax, [esi + 0x68]
push ebx
push eax
call dword [esi + 0x10]
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, 0x281936fd
xor ecx, 0x5409aa9
xor edx, 0xd51778ec
xor eax, 0x5ac12cf0
or ecx, edi
or eax, edx
or eax, ecx
jne 0x414fe2
mov eax, ebx
add eax, 8
jmp 0x414cb7
cmp byte [ebp + 0x10], 0
mov byte [eax + 4], 0
je 0x414f46
mov byte [esi + 7], 0
call fcn.004124e0
jmp 0x415049
cmp dword [eax], 1
jbe 0x414fa2
mov byte [esi + 0xf], 1
jmp 0x414c60
lea eax, [esi + 0x20]
mov dword [esi + 0x40], 0
mov dword [esi + 0x20], 0x41bc20
mov dword [esi + 0x24], 1
mov dword [esi + 0x30], 0
mov dword [esi + 0x28], 0x41cca0
mov byte [esi + 0x44], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 7], 0
lea ecx, [esi + 0x18]
lea edx, [esi + 0x40]
push eax
call fcn.0040c570
add esp, 4
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov byte [esi + 7], 0
call fcn.0040c6b0
mov ecx, 7
int 0x29
ud2
mov byte [esi + 7], 1
call fcn.004124f0
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 8]
mov byte [esi + 0xf], al
jmp 0x414c60
mov ecx, dword [eax]
test ecx, ecx
jne 0x414fd9
xor ecx, ecx
mov byte [esi + 7], 1
mov dword [esi + 8], eax
call fcn.0040c400
mov ecx, eax
mov eax, dword [esi + 8]
cmp dword [eax], 0
jne 0x41500b
mov dword [eax], ecx
lock inc dword [ecx]
jg 0x414ff1
ud2
mov eax, 0xc
mov ecx, 0x41ba60
jmp 0x414cbb
mov dword [esi + 0x5c], ecx
mov dword [esi + 8], ecx
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x414ce0
mov ecx, dword [ecx + 0x14]
dec ecx
jmp 0x414cea
lock dec dword [ecx]
jne 0x415015
call fcn.0040cb50
lea ecx, [esi + 0x20]
mov edx, 0x41acec
mov dword [esi + 0x20], 0x41ace4
mov dword [esi + 0x24], 1
mov dword [esi + 0x30], 0
mov dword [esi + 0x28], 0x41cca0
mov dword [esi + 0x2c], 0
mov byte [esi + 7], 1
call fcn.004172d0
ud2