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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
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], 0x414a60
lea edi, [esi + 0x80]
mov eax, dword fs:[0]
mov dword [esi + 0x80], eax
mov dword fs:[0], edi
lock inc dword [0x41d0f4]
jle 0x41426f
mov ebx, edx
mov edi, ecx
call fcn.0040d600
test eax, eax
jne 0x413f5b
lea eax, [esi + 0x24]
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destructionlibrary_std_src_threadlocal.rs
mov edx, 0x46
push 0x4198ac
push 0x418f58
push eax
call fcn.00415c60
cmp byte [eax + 4], 0
jne 0x4142eb
inc dword [eax]
mov byte [eax + 4], 1
mov eax, dword [ebp + 8]
mov dword [esi + 0x3c], 0x418d64
mov dword [esi + 0x40], 0x419e74
movzx edx, byte [ebp + 0x10]
movzx ecx, byte [ebp + 0x14]
mov dword [esi + 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x48], eax
mov byte [esi + 0x4c], dl
mov byte [esi + 0x4d], cl
push 0x41d0e4
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
movzx eax, byte [0x41d0e8]
cmp dword [0x41d0ec], 0
mov eax, dword [ebx + 0x10]
jne 0x4140b5
mov byte [esi + 6], 1
mov dword [esi + 0x88], 0
push edi
call eax
add esp, 4
cmp byte [ebp + 0x14], 0
mov edi, eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edx
mov dword [esi + 8], eax
mov dword [esi + 0x50], edx
je 0x414138
mov byte [esi + 7], 3
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0x68]
mov dword [esi + 0x54], eax
mov eax, dword [edx + 0xc]
mov byte [esi + 6], 1
push edi
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, 0xcd1e7bc1
xor ecx, 0xb1ef64
xor edx, 0xc1a2c89c
xor eax, 0xfdbc1681
or ecx, edi
or eax, edx
or eax, ecx
jne 0x414175
mov eax, ebx
add eax, 4
mov ecx, dword [ebx]
mov eax, dword [eax]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], eax
mov byte [esi + 6], 1
call fcn.0040c000
mov edi, 9
mov ecx, 0x419d80
test eax, eax
je 0x414061
mov edx, dword [eax + 0x10]
test edx, edx
je 0x414061
mov edi, dword [eax + 0x14]
mov ecx, edx
dec edi
mov dword [esi + 0xc], ecx
lea edx, [esi + 0xc]
lea ecx, [esi + 0x54]
mov dword [esi + 0x14], 0
mov dword [esi + 8], eax
mov dword [esi + 0x10], edi
mov byte [esi + 0x18], 0
mov dword [esi + 0x88], 1
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], ecx
lea edx, [esi + 0x1c]
lea ecx, [esi + 7]
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], ecx
lea ecx, [esi + 0x24]
lea edx, [esi + 0x14]
call fcn.00413930
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4140e9
lock dec dword [ecx]
jne 0x4140e9
call fcn.0040bfc0
jmp 0x4140e9
mov byte [esi + 6], 1
mov dword [esi + 0x88], 0
push edi
call eax
add esp, 4
mov dword [esi + 0x3c], eax
mov eax, dword [0x41d0ec]
mov ecx, dword [0x41d0f0]
mov dword [esi + 0x40], edx
lea edx, [esi + 0x3c]
mov byte [esi + 6], 1
push edx
push eax
call dword [ecx + 0x14]
add esp, 8
push 0x41d0e4
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
mov byte [esi + 6], 0
mov dword [esi + 0x88], 0
call fcn.0040d600
test eax, eax
jne 0x4141ca
mov byte [esi + 6], 0
lea eax, [esi + 0x24]
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destructionlibrary_std_src_threadlocal.rs
mov edx, 0x46
push 0x4198ac
push 0x418f58
push eax
call fcn.00415c60
add esp, 0xc
jmp 0x4141dd
mov byte [esi + 6], 1
call fcn.0040d600
mov edx, dword [esi + 0x50]
mov edi, dword [esi + 8]
test eax, eax
jne 0x4141df
mov byte [esi + 6], 1
lea eax, [esi + 0x24]
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destructionlibrary_std_src_threadlocal.rs
mov edx, 0x46
push 0x4198ac
push 0x418f58
push eax
call fcn.00415c60
add esp, 0xc
jmp 0x4141dd
mov eax, dword [esi + 0x50]
lea ecx, [esi + 0x58]
mov eax, dword [eax + 0xc]
mov byte [esi + 6], 1
push ebx
push ecx
call eax
mov ebx, dword [esi + 8]
add esp, 8
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x60]
mov edi, dword [esi + 0x58]
mov edx, dword [esi + 0x5c]
xor edi, 0x437bc94e
xor ecx, 0xe0bdc524
xor edx, 0xc0168362
xor eax, 0x17262f2c
or ecx, edi
or eax, edx
or eax, ecx
jne 0x414260
lea ecx, [ebx + 4]
add ebx, 8
mov eax, ebx
mov ebx, ecx
jmp 0x414033
cmp byte [ebp + 0x10], 0
mov byte [eax + 4], 0
je 0x4141ed
mov byte [esi + 6], 0
call fcn.00412170
ud2
cmp dword [eax], 1
jbe 0x414249
mov byte [esi + 7], 1
jmp 0x413fe5
lea eax, [esi + 0x24]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0x419f34
mov dword [esi + 0x28], 1
mov dword [esi + 0x34], 0
mov dword [esi + 0x2c], 0x418d64
mov byte [esi + 0x20], 0
mov dword [esi + 0x30], 0
mov byte [esi + 6], 0
lea ecx, [esi + 0xc]
lea edx, [esi + 0x1c]
push eax
call fcn.0040bc30
add esp, 4
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov byte [esi + 6], 0
call fcn.0040bd60
mov ecx, 7
int 0x29
ud2
mov byte [esi + 6], 1
call fcn.00412180
mov edx, dword [esi + 0x50]
mov edi, dword [esi + 8]
mov byte [esi + 7], al
jmp 0x413fe5
mov eax, 0xc
mov ecx, 0x419d74
jmp 0x414037
mov eax, dword [ebp + 8]
mov dword [esi + 0x3c], 0x418d64
mov dword [esi + 0x40], 0x419e74
mov dword [esi + 0x24], 0x419eb8
mov dword [esi + 0x28], 2
mov dword [esi + 0x34], 0
lea ecx, [esi + 0x1c]
lea edx, [esi + 0x14]
mov dword [esi + 0x14], 0
mov byte [esi + 0x18], 0
mov dword [esi + 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x48], eax
movzx eax, byte [ebp + 0x10]
mov byte [esi + 0x4c], al
movzx eax, byte [ebp + 0x14]
mov byte [esi + 0x4d], al
lea eax, [esi + 0x3c]
mov dword [esi + 0xc], eax
lea eax, [esi + 0xc]
mov dword [esi + 0x10], 0x403070
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x30], 1
push eax
call fcn.0040bc30
add esp, 4
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
jmp 0x414331
lea eax, [esi + 0x24]
lea ecx, [esi + 0x3c]
lea edx, [esi + 0xc]
mov dword [esi + 0xc], 0
mov dword [esi + 0x24], 0x419efc
mov dword [esi + 0x28], 1
mov dword [esi + 0x34], 0
mov dword [esi + 0x2c], 0x418d64
mov byte [esi + 0x10], 0
mov dword [esi + 0x30], 0
push eax
call fcn.0040bc30
add esp, 4
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
call fcn.0040bd60
mov ecx, 7
int 0x29
ud2