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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov dword [esp + 0xc], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [0x10146014]
xor eax, ebp
mov dword [esp + 0x78], eax
mov ecx, dword [edx]
mov dword [edx], 0
test ecx, ecx
jne 0x1008e7a8
pxor xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x68], 0xffffffff
lea ecx, [esp + 0x60]
push dword [ebp + 8]
call fcn.10094680
mov eax, dword [esp + 0x60]
mov esi, dword [eax + 0x10]
cmp dword [esi + 4], 1
jne 0x1008e7e7
lea edi, [esi + 0x88]
mov eax, dword [esi + 0x98]
mov ecx, dword [esi + 0x9c]
cmp byte [esi + 0xc1], 0
jne 0x1008e776
cmp byte [esi + 0xc0], 0
jne 0x1008e776
mov ecx, edi
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
push ebx
call fcn.100a8df0
mov eax, dword [ebx]
test eax, eax
je 0x1008e57c
mov ecx, dword [eax + 0x38]
mov eax, dword [eax + 0x3c]
xor eax, dword [esi + 0x84]
xor ecx, dword [esi + 0x80]
xor ebx, ebx
or ecx, eax
je 0x1008e7ee
mov ecx, edi
call fcn.100a9490
lea ecx, [esp + 0x60]
call fcn.100946f0
test ebx, ebx
jne 0x1008e859
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
xor esi, esi
test eax, eax
je 0x1008e565
mov ecx, dword [eax + 0x50]
cmp ecx, dword [eax + 0x4c]
jne 0x1008e587
mov dword [eax + 0x3c], 0
mov dword [eax + 0x38], 0
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.100c2603
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
lea ecx, [esp + 0x60]
call fcn.100946f0
jmp 0x1008e544
mov eax, dword [esp + 0xc]
add eax, 0x18
mov dword [esp + 8], eax
xor edx, edx
xor ebx, ebx
dec ebx
lea edi, [esp + 0x30]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
mov ecx, edi
mov ebx, edx
call fcn.10094d10
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x14], ebx
shl ebx, 4
add ebx, dword [eax + 0x4c]
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1008e7c3
movdqu xmm0, xmmword [ebx]
sub esp, 0x10
movdqu xmmword [esp], xmm0
call fcn.1007bf40
add esp, 0x10
mov edi, eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x1008e70c
mov edx, ecx
shr edx, 1
and edx, 0x55555555
mov eax, ecx
sub eax, edx
mov edx, eax
mov esi, 0x33333333
and edx, esi
shr eax, 2
and eax, esi
add eax, edx
mov edx, eax
shr edx, 4
add edx, eax
and edx, 0xf0f0f0f
imul eax, edx, 0x1010101
shr eax, 0x18
mov dword [esp + 0x20], eax
cmp eax, 1
jbe 0x1008e878
mov eax, edi
cmp edi, ecx
jb 0x1008e882
xor edx, edx
div ecx
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x1c], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x1008e70c
mov esi, dword [eax]
test esi, esi
je 0x1008e70c
lea eax, [ecx - 1]
mov dword [esp + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 4]
mov edx, edi
cmp eax, edi
jne 0x1008e6c3
mov eax, dword [esi + 8]
xor eax, dword [esp + 0x10]
mov edx, dword [esi + 0xc]
xor edx, dword [esp + 0x2c]
or edx, eax
jne 0x1008e7b4
mov eax, dword [esi + 0x10]
xor eax, dword [esp + 0x24]
mov edx, dword [esi + 0x14]
xor edx, dword [esp + 0x28]
or edx, eax
je 0x1008e6e4
jmp 0x1008e7b4
cmp dword [esp + 0x20], 1
jbe 0x1008e889
cmp eax, ecx
jb 0x1008e6d8
xor edx, edx
div ecx
mov eax, edx
cmp eax, dword [esp + 0x1c]
je 0x1008e7b4
jmp 0x1008e70c
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1008e6ee
lock inc dword [eax]
lea esi, [esp + 0x60]
mov ecx, esi
push eax
push ebx
call fcn.10094d30
lea ecx, [esp + 0x30]
push esi
call fcn.10094d90
mov ecx, esi
call fcn.10094ce0
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lea edi, [esp + 0x30]
xor ebx, ebx
dec ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
lea esi, [esp + 0x60]
mov ecx, esi
push edi
call fcn.10094680
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x10]
mov byte [eax + 0xa0], 1
mov ecx, esi
call fcn.100946f0
mov ecx, edi
call fcn.10094ce0
mov edx, dword [esp + 0x14]
inc edx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax + 0x50]
sub ecx, dword [eax + 0x4c]
sar ecx, 4
cmp edx, ecx
mov esi, 0
jae 0x1008e557
jmp 0x1008e59b
cmp byte [esi + 0xc2], 0
jne 0x1008e7d1
add eax, 0xffffffff
adc ecx, 0xffffffff
xor eax, dword [esi + 0x78]
xor ecx, dword [esi + 0x7c]
mov ebx, 0xfffffff2
or ecx, eax
jne 0x1008e4fc
lea ecx, [esp + 0x60]
call fcn.100946f0
mov esi, ebx
jmp 0x1008e565
push 1
call fcn.10087960
jmp 0x1008e491
mov esi, dword [esi]
test esi, esi
jne 0x1008e68d
jmp 0x1008e70c
mov ecx, dword [esp + 8]
call fcn.10084100
jmp 0x1008e5d7
mov ecx, edi
call fcn.100a8dc0
test al, al
jne 0x1008e4fc
mov ebx, 0xfffffff2
jmp 0x1008e798
mov ebx, 0xfffffff4
jmp 0x1008e798
movdqu xmm0, xmmword [esi + 8]
movdqa xmmword [esp + 0x50], xmm0
mov eax, dword [esi + 0x50]
mov dword [esp + 8], eax
mov ecx, dword [esi + 0x54]
mov dword [esp + 0x14], ecx
add eax, 1
adc ecx, 0
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], ecx
lea eax, [esi + 0x18]
mov dword [esp + 0x10], eax
push 0x40
call fcn.100c1c01
add esp, 4
mov ebx, eax
mov ecx, eax
push dword [esi + 0x84]
push dword [esi + 0x80]
push dword [esp + 0x1c]
push dword [esp + 0x14]
push dword [ebp + 8]
push dword [esp + 0x24]
call fcn.1010eda0
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jne 0x1008e52c
jmp 0x1008e533
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x4c], ebx
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x50]
push eax
push edx
call fcn.1006e160
jmp 0x1008e544
lea edx, [ecx - 1]
and edx, edi
jmp 0x1008e64b
mov edx, eax
jmp 0x1008e64b
and eax, dword [esp + 0x18]
jmp 0x1008e6d8