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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov esi, esp
mov dword [esi + 0x68], ebp
mov dword [esi + 0x6c], esp
mov dword [esi + 0x78], 0xffffffff
mov dword [esi + 0x74], 0x1001b120
mov edi, dword [ebp + 8]
lea eax, [esi + 0x70]
mov ecx, dword fs:[0]
mov dword [esi + 0x70], ecx
mov dword fs:[0], eax
cmp byte [edi + 0x11], 0
je 0x10013ce7
mov byte [esi + 2], 3
jmp 0x10013d09
xor ecx, ecx
call fcn.1001aa10
test eax, eax
je 0x10013fba
cmp dword [eax], 1
jbe 0x10013d01
mov byte [esi + 2], 1
jmp 0x10013d09
call fcn.100103c0
mov byte [esi + 2], al
mov eax, dword [edi + 0xc]
mov ebx, dword [edi]
mov edi, dword [edi + 4]
mov dword [esi + 0x24], eax
lea eax, [esi + 0x58]
push ebx
push eax
call dword [edi + 0xc]
add esp, 8
movdqu xmm0, xmmword [esi + 0x58]
pcmpeqb xmm0, xmmword [0x1005d100]
pmovmskb eax, xmm0
cmp eax, 0xffff
jne 0x10013d3c
lea eax, [ebx + 4]
jmp 0x10013d69
lea eax, [esi + 0x48]
push ebx
push eax
call dword [edi + 0xc]
add esp, 8
movdqu xmm0, xmmword [esi + 0x48]
pcmpeqb xmm0, xmmword [0x1005d110]
pmovmskb eax, xmm0
cmp eax, 0xffff
jne 0x10013d6f
lea ecx, [ebx + 4]
add ebx, 8
mov eax, ebx
mov ebx, ecx
mov ecx, dword [ebx]
mov eax, dword [eax]
jmp 0x10013d79
mov eax, 0xc
mov ecx, 0x1005e1a4
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], eax
call fcn.100135c0
mov edi, 9
mov ecx, 0x1005e1b0
test eax, eax
mov dword [esi + 0x14], eax
je 0x10013da2
mov edx, dword [eax + 0x10]
test edx, edx
je 0x10013da2
mov edi, dword [eax + 0x14]
mov ecx, edx
dec edi
mov dword [esi + 0x30], ecx
lea ecx, [esi + 0x30]
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], ecx
lea ecx, [esi + 0x24]
mov dword [esi + 0x3c], ecx
lea ecx, [esi + 0x28]
mov dword [esi + 0x40], ecx
lea ecx, [esi + 2]
mov dword [esi + 0x44], ecx
movzx ecx, byte [0x100651bc]
mov dword [esi + 0x10], eax
test cl, cl
je 0x10013e33
xor ecx, ecx
mov byte [0x100651bc], 1
mov dword [esi + 0x78], 0
call fcn.1001ad50
test eax, eax
je 0x10013f61
mov edi, dword [eax]
mov dword [eax], 0
test edi, edi
mov dword [esi + 0x18], edi
je 0x10013e3a
lea eax, [edi + 8]
mov dword [esi + 0x20], edi
mov dword [esi + 0x10], eax
push eax
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov eax, dword [0x10065208]
mov dword [esi + 0xc], edi
test eax, 0x7fffffff
je 0x10013e75
mov byte [esi + 1], 1
mov dword [esi + 0x78], 2
call fcn.1002b060
mov edi, dword [esi + 0xc]
xor al, 1
mov dword [esi + 0x1c], eax
jmp 0x10013e7c
mov dword [esi + 0x18], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov byte [esi + 3], 0
mov dword [esi + 0x78], 1
lea ecx, [esi + 0x38]
lea edx, [esi + 4]
push 0x1005e1e4
call fcn.100140e0
add esp, 4
mov eax, dword [esi + 0x10]
xor ebx, ebx
test eax, eax
jne 0x10013ef4
jmp 0x10013f01
mov dword [esi + 0x1c], 0
movzx eax, byte [edi + 0xc]
lea edx, [edi + 0x10]
mov dword [esi + 0x78], 4
lea ecx, [esi + 0x38]
push 0x1005e1bc
call fcn.100140e0
add esp, 4
cmp byte [esi + 0x1c], 0
je 0x10013f2d
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov byte [0x100651bc], 1
xor ecx, ecx
mov dword [esi + 0x78], 3
mov eax, dword [esi + 0xc]
mov dword [esi + 4], eax
call fcn.1001ad50
test eax, eax
je 0x10013f80
mov ecx, dword [eax]
mov edx, dword [esi + 0xc]
test ecx, ecx
mov dword [eax], edx
mov dword [esi + 4], ecx
je 0x10013eeb
lock dec dword [ecx]
jne 0x10013eeb
lea ecx, [esi + 4]
call fcn.1000c890
mov eax, dword [esi + 0x14]
mov bl, 1
test eax, eax
je 0x10013f01
lock dec dword [eax]
jne 0x10013f01
lea ecx, [esi + 0x14]
call fcn.1000c850
mov eax, dword [esi + 0x18]
not bl
test eax, eax
setne cl
test bl, cl
je 0x10013f1c
lock dec dword [eax]
jne 0x10013f1c
lea ecx, [esi + 0x18]
call fcn.1000c890
mov eax, dword [esi + 0x70]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x10065208]
test eax, 0x7fffffff
je 0x10013ea4
mov byte [esi + 1], 1
mov dword [esi + 0x78], 2
call fcn.1002b060
test al, al
jne 0x10013ea4
mov eax, dword [esi + 0xc]
mov byte [eax + 0xc], 1
jmp 0x10013ea4
lea eax, [esi + 4]
push 0x1005dbf0
push 0x1005d3c4
push eax
push 0x46
push str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destructionlibrary_std_src_threadlocal.rs
call fcn.1002bba0
add esp, 0x14
jmp 0x10013fb8
mov eax, dword [esi + 0xc]
lock dec dword [eax]
jne 0x10013f90
lea ecx, [esi + 4]
call fcn.1000c890
mov byte [esi + 1], 0
mov dword [esi + 0x78], 2
lea eax, [esi + 4]
push 0x1005dbf0
push 0x1005d3c4
push eax
push 0x46
push str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destructionlibrary_std_src_threadlocal.rs
call fcn.1002bba0
add esp, 0x14
ud2
lea eax, [esi + 4]
push 0x1005dbf0
push 0x1005d3c4
push eax
push 0x46
push str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destructionlibrary_std_src_threadlocal.rs
call fcn.1002bba0
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0x14
lea esi, [ebp - 0x7c]
mov ebp, dword [esi + 0x68]
cmp dword [esi + 0x10], 0
je 0x10014000
mov eax, dword [esi + 0x10]
lock dec dword [eax]
jne 0x10014000
lea ecx, [esi + 0x14]
call fcn.1000c850
add esp, 0x14
pop ebp
ret