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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
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], 0x10010dc0
mov edi, dword [ebp + 8]
lea eax, [esi + 0x80]
mov ecx, dword fs:[0]
mov dword [esi + 0x80], ecx
mov dword fs:[0], eax
cmp byte [edi + 0x11], 0
je 0x1000ec73
mov byte [esi + 9], 3
jmp 0x1000ec9d
push 0
push 0x100616c8
call fcn.1000fa90
add esp, 8
test eax, eax
je 0x1000efc0
cmp dword [eax], 1
jbe 0x1000ec95
mov byte [esi + 9], 1
jmp 0x1000ec9d
call fcn.1001a880
mov byte [esi + 9], al
mov eax, dword [edi + 0xc]
mov ebx, dword [edi]
mov edi, dword [edi + 4]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x60]
push ebx
push eax
call dword [edi + 0xc]
add esp, 8
movdqa xmm0, xmmword [esi + 0x60]
pcmpeqb xmm0, xmmword [0x1003f450]
pmovmskb eax, xmm0
cmp eax, 0xffff
jne 0x1000ecd0
lea eax, [ebx + 4]
jmp 0x1000ecfd
lea eax, [esi + 0x50]
push ebx
push eax
call dword [edi + 0xc]
add esp, 8
movdqa xmm0, xmmword [esi + 0x50]
pcmpeqb xmm0, xmmword [0x1003f460]
pmovmskb eax, xmm0
cmp eax, 0xffff
jne 0x1000ed03
lea ecx, [ebx + 4]
add ebx, 8
mov eax, ebx
mov ebx, ecx
mov ecx, dword [ebx]
mov eax, dword [eax]
jmp 0x1000ed0d
mov eax, 0xc
mov ecx, 0x1003f806
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], eax
call fcn.1000e8a0
mov ecx, 9
mov edx, 0x1003f812
test eax, eax
mov dword [esi + 0x18], eax
je 0x1000ed36
mov edi, dword [eax + 0x10]
test edi, edi
je 0x1000ed36
mov ecx, dword [eax + 0x14]
mov edx, edi
dec ecx
lea eax, [esi + 0x38]
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], eax
lea eax, [esi + 0x2c]
mov dword [esi + 0x44], eax
lea eax, [esi + 0x30]
mov dword [esi + 0x48], eax
lea eax, [esi + 9]
mov dword [esi + 0x4c], eax
movzx eax, byte [0x10062120]
test al, al
je 0x1000edd2
mov byte [0x10062120], 1
mov dword [esi + 0x88], 0
push 0
push 0x100616dc
call fcn.1000fba0
add esp, 8
test eax, eax
je 0x1000ef52
mov edi, dword [eax]
mov dword [eax], 0
test edi, edi
mov dword [esi + 0x1c], edi
je 0x1000edd9
lea eax, [edi + 8]
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], eax
push eax
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov eax, dword [0x100620d8]
mov dword [esi + 0xc], edi
test eax, 0x7fffffff
je 0x1000ee19
mov byte [esi + 8], 1
mov dword [esi + 0x88], 3
call fcn.10037910
mov edi, dword [esi + 0xc]
xor al, 1
mov dword [esi + 0x20], eax
jmp 0x1000ee20
mov dword [esi + 0x1c], 0
mov dword [esi + 0x10], 0
mov byte [esi + 0x14], 0
mov byte [esi + 0xa], 1
mov dword [esi + 0x88], 2
lea ecx, [esi + 0x40]
lea edx, [esi + 0x10]
push 0x1003f844
call fcn.1000f120
add esp, 4
mov al, 1
xor edx, edx
mov ecx, dword [esi + 0x18]
test ecx, ecx
jne 0x1000eeba
jmp 0x1000eede
mov dword [esi + 0x20], 0
movzx eax, byte [edi + 0xc]
lea edx, [edi + 0x10]
mov dword [esi + 0x88], 5
lea ecx, [esi + 0x40]
push 0x1003f81c
call fcn.1000f120
add esp, 4
cmp byte [esi + 0x20], 0
je 0x1000ef1b
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov byte [0x10062120], 1
mov dword [esi + 0x88], 4
mov eax, dword [esi + 0xc]
mov dword [esi + 0x10], eax
push 0
push 0x100616dc
call fcn.1000fba0
add esp, 8
test eax, eax
je 0x1000ef71
mov ecx, dword [eax]
mov edx, dword [esi + 0xc]
test ecx, ecx
mov dword [eax], edx
mov dword [esi + 0x10], ecx
je 0x1000eeaf
lock dec dword [ecx]
jne 0x1000eeaf
lea eax, [esi + 0x10]
mov byte [esi + 8], 0
mov dword [esi + 0x88], 3
push eax
call fcn.10001ca0
add esp, 4
mov dl, 1
xor eax, eax
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x1000eede
lock dec dword [ecx]
jne 0x1000eede
mov byte [esi + 0xb], al
lea eax, [esi + 0x18]
mov dword [esi + 0x88], 1
push eax
mov dword [esi + 0xc], edx
call fcn.10001bc0
mov edx, dword [esi + 0xc]
add esp, 4
mov eax, dword [esi + 0x1c]
not dl
test eax, eax
setne cl
test dl, cl
je 0x1000ef07
lock dec dword [eax]
jne 0x1000ef07
lea eax, [esi + 0x1c]
mov dword [esi + 0x88], 0xffffffff
push eax
call fcn.10001ca0
add esp, 4
mov eax, dword [esi + 0x80]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x100620d8]
test eax, 0x7fffffff
je 0x1000ee4b
mov byte [esi + 8], 1
mov dword [esi + 0x88], 3
call fcn.10037910
test al, al
jne 0x1000ee4b
mov eax, dword [esi + 0xc]
mov byte [eax + 0xc], 1
jmp 0x1000ee4b
lea eax, [esi + 0x10]
push 0x10040f08
push 0x10040d00
push eax
push 0x46
push str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destructionC:Userslucak.rustup_toolchains_nightly_x86_64_pc_windows_msvclib_rustlib_src_rustlibrary_std_src_threadlocal.rs
call fcn.10037ca0
add esp, 0x14
jmp 0x1000efbe
mov eax, dword [esi + 0xc]
lock dec dword [eax]
jne 0x1000ef93
lea eax, [esi + 0x10]
mov byte [esi + 8], 0
mov dword [esi + 0x88], 3
push eax
call fcn.10001ca0
add esp, 4
mov byte [esi + 8], 0
mov dword [esi + 0x88], 3
lea eax, [esi + 0x10]
push 0x10040f08
push 0x10040d00
push eax
push 0x46
push str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destructionC:Userslucak.rustup_toolchains_nightly_x86_64_pc_windows_msvclib_rustlib_src_rustlibrary_std_src_threadlocal.rs
call fcn.10037ca0
add esp, 0x14
ud2
lea eax, [esi + 0x10]
push 0x100409e8
push 0x1004091c
push eax
push 0x46
push 0x1004092c
call fcn.10037ca0
nop word [eax + eax]
push ebp
sub esp, 0x14
lea esi, [ebp - 0x8c]
mov ebp, dword [esi + 0x78]
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1000f005
lock dec dword [eax]
jne 0x1000f005
lea eax, [esi + 0x18]
push eax
call fcn.10001bc0
add esp, 4
add esp, 0x14
pop ebp
ret