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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa8
lea esi, [ebp + 8]
mov eax, dword [0x102b0014]
xor eax, ebp
mov dword [esp + 0xa0], eax
mov dword [esp + 0xc], ecx
lea edi, [ecx + 8]
push edi
call dword [sym.imp.kernel32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1009b0c0
mov dword [esp + 0x34], edi
mov ebx, dword [esi + 4]
cmp ebx, 0xfffffff0
jae 0x1009b0cc
mov eax, dword [esi]
cmp ebx, 0xb
jae 0x1009a9bf
lea esi, [esp + 0x38]
mov byte [esp + 0x43], bl
test ebx, ebx
mov edi, dword [esp + 0xc]
jne 0x1009a9ee
jmp 0x1009a9f9
lea edi, [ebx + 0x10]
and edi, 0xfffffff0
push edi
mov dword [esp + 0xc], eax
call fcn.10216dd3
add esp, 4
mov esi, eax
mov eax, dword [esp + 8]
mov dword [esp + 0x38], esi
or edi, 0x80000000
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov edi, dword [esp + 0xc]
push ebx
push eax
push esi
call fcn.10208400
add esp, 0xc
mov byte [esi + ebx], 0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x50], eax
movq xmm0, qword [esp + 0x38]
movq qword [esp + 0x48], xmm0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], 0
lea ecx, [esp + 0x58]
lea eax, [ebp + 0x10]
push eax
call fcn.101972e0
mov esi, dword [edi + 0x14]
movzx eax, byte [esp + 0x53]
test al, al
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x48]
cmovs ecx, dword [esp + 0x48]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x30], edx
cmovs eax, edx
mov dword [esp + 4], eax
mov eax, dword [edi + 0x18]
mov dword [esp + 0x24], eax
sub eax, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x2c], eax
je 0x1009ab10
sar eax, 3
imul eax, eax, 0xcccccccd
mov edx, esi
mov esi, eax
mov edi, dword [esp + 4]
jmp 0x1009aaa3
mov edx, dword [esp + 0x14]
add edx, 0x28
not esi
add esi, dword [esp + 8]
mov eax, esi
test esi, esi
je 0x1009ab06
mov dword [esp + 8], eax
shr esi, 1
lea eax, [esi + esi*4]
lea ecx, [edx + eax*8]
movzx ebx, byte [edx + eax*8 + 0xb]
test bl, bl
mov dword [esp + 0x14], ecx
js 0x1009aad0
cmp edi, ebx
mov eax, ebx
cmovb eax, edi
test eax, eax
jne 0x1009aae1
jmp 0x1009ab00
mov ebx, dword [edx + eax*8 + 4]
cmp edi, ebx
mov eax, ebx
cmovb eax, edi
mov ecx, dword [ecx]
test eax, eax
je 0x1009ab00
push eax
push dword [esp + 0x14]
push ecx
mov edi, edx
call fcn.10216dd3
mov edx, edi
mov edi, dword [esp + 0x10]
add esp, 0xc
test eax, eax
je 0x1009ab00
js 0x1009aa90
jmp 0x1009aa9d
cmp ebx, edi
jb 0x1009aa90
jmp 0x1009aa9d
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x18]
jmp 0x1009ab12
mov edx, esi
mov eax, edx
sub eax, esi
mov dword [esp + 0x14], eax
sar eax, 3
imul ebx, eax, 0xcccccccd
mov ecx, dword [esp + 0x24]
cmp edx, ecx
mov dword [esp + 8], edx
mov dword [esp + 0x1c], ebx
je 0x1009ad24
mov eax, dword [esp + 0x20]
mov ecx, eax
movzx eax, byte [edx + 0xb]
lea edi, [ebx + ebx*4]
mov esi, eax
test al, al
jns 0x1009ab52
mov esi, dword [esp + 0x18]
mov esi, dword [esi + edi*8 + 4]
mov dword [esp + 0x28], edi
mov ebx, dword [esp + 0x30]
cmp esi, ebx
cmovb ebx, esi
mov edi, dword [esp + 0x20]
cmp esi, edi
cmovb edi, esi
test cl, cl
cmovs edi, ebx
mov ebx, edi
test edi, edi
mov edi, dword [esp + 0xc]
je 0x1009ab9e
mov ecx, edx
test al, al
jns 0x1009ab7f
mov ecx, dword [edx]
push ebx
push ecx
push dword [esp + 0x18]
call fcn.10216dd3
mov edx, dword [esp + 0x14]
add esp, 0xc
test eax, eax
je 0x1009ab9e
mov bl, 1
js 0x1009abaa
jmp 0x1009b057
mov bl, 1
cmp dword [esp + 4], esi
jae 0x1009b057
mov eax, dword [edi + 0x1c]
cmp dword [esp + 0x24], eax
mov esi, dword [esp + 0x18]
jae 0x1009ad74
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x78], xmm0
movdqu xmmword [esp + 0x88], xmm0
mov dword [esp + 0x9c], 0xffffffff
lea eax, [edi + 0x20]
mov dword [esp + 0x98], eax
movsd xmm0, qword [esp + 0x48]
movsd qword [esp + 0x70], xmm0
mov eax, dword [esp + 0x50]
mov dword [esp + 0x78], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x80]
lea eax, [esp + 0x58]
push eax
mov esi, edx
call fcn.10197300
mov ebx, dword [edi + 0x18]
mov eax, ebx
sub eax, esi
add eax, 0xffffffd8
mov dword [esp + 4], eax
lea eax, [ebx - 0x28]
mov edi, ebx
mov dword [esp + 0x14], eax
cmp eax, ebx
jae 0x1009ac88
mov esi, dword [esp + 0x14]
mov edi, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movsd xmm0, qword [esi]
movsd qword [edi], xmm0
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov dword [esi + 4], 0
mov dword [esi], 0
mov dword [esi + 8], 0
lea ecx, [edi + 0x10]
lea eax, [esi + 0x10]
push eax
call fcn.10197300
add esi, 0x28
add edi, 0x28
cmp esi, ebx
jb 0x1009ac50
mov eax, dword [esp + 0xc]
mov dword [eax + 0x18], edi
mov eax, dword [esp + 4]
test eax, eax
je 0x1009addb
sar eax, 3
imul eax, eax, 0xcccccccd
lea ecx, [ebx - 0x18]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x1c]
add ecx, eax
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x18]
lea ecx, [edx + ecx*8]
add ecx, 0xffffffe8
mov dword [esp + 0x10], ecx
shl eax, 3
lea esi, [eax + eax*4]
neg esi
xor edi, edi
jmp 0x1009ad0f
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + edi - 0x20]
mov dword [ebx + edi - 0x20], eax
movsd xmm0, qword [ecx + edi - 0x28]
movsd qword [ebx + edi - 0x28], xmm0
mov byte [ecx + edi - 0x1d], 0
mov byte [ecx + edi - 0x28], 0
mov eax, dword [esp + 0x10]
add eax, edi
mov ecx, dword [esp + 4]
add ecx, edi
push eax
call fcn.10197370
add edi, 0xffffffd8
cmp esi, edi
je 0x1009addb
cmp byte [ebx + edi - 0x1d], 0
jns 0x1009acd0
push dword [ebx + edi - 0x28]
call fcn.10205096
add esp, 4
jmp 0x1009acd0
mov eax, dword [edi + 0x1c]
cmp ecx, eax
jae 0x1009ad74
mov edx, ecx
movq xmm0, qword [esp + 0x48]
movq qword [ecx], xmm0
mov eax, dword [esp + 0x50]
mov dword [ecx + 8], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x50], 0
lea eax, [ebx + ebx*4]
lea ecx, [esi + eax*8 + 0x10]
lea eax, [esp + 0x58]
push eax
mov esi, edx
call fcn.10197300
add esi, 0x28
mov dword [edi + 0x18], esi
jmp 0x1009b055
mov ecx, dword [esp + 0x2c]
sar ecx, 3
imul ecx, ecx, 0xcccccccd
add ecx, 1
cmp ecx, 0x6666667
jae 0x1009b0d5
sub eax, esi
sar eax, 3
imul eax, eax, 0xcccccccd
lea edx, [eax + eax]
cmp edx, ecx
cmovb edx, ecx
cmp eax, 0x3333333
mov ebx, 0x6666666
cmovb ebx, edx
test ebx, ebx
je 0x1009ae44
cmp ebx, 0x6666667
jae 0x1009b0df
lea eax, [ebx*8]
lea eax, [eax + eax*4]
push eax
call fcn.10216dd3
add esp, 4
mov esi, eax
jmp 0x1009ae46
mov ecx, dword [esp + 8]
cmp byte [ecx + 0xb], 0
jns 0x1009adf3
push dword [ecx]
call fcn.10205096
mov ecx, dword [esp + 0xc]
add esp, 4
mov eax, dword [esp + 0x78]
mov dword [ecx + 8], eax
movq xmm0, qword [esp + 0x70]
movq qword [ecx], xmm0
mov byte [esp + 0x7b], 0
mov byte [esp + 0x70], 0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
lea ecx, [ecx + eax*8]
add ecx, 0x10
lea esi, [esp + 0x80]
push esi
call fcn.10197370
mov ecx, esi
call fcn.10197290
cmp byte [esp + 0x7b], 0
jns 0x1009b055
push dword [esp + 0x70]
jmp 0x1009b04d
xor esi, esi
mov ecx, dword [esp + 0x1c]
lea eax, [ecx + ecx*4]
lea eax, [esi + eax*8]
mov dword [esp + 4], eax
lea eax, [ebx + ebx*4]
lea eax, [esi + eax*8]
cmp ecx, ebx
jne 0x1009ae89
mov edx, dword [esp + 0x14]
test edx, edx
jle 0x1009ae8f
mov dword [esp + 0x10], eax
lea eax, [ecx + 1]
shr eax, 0x1f
add eax, ecx
add eax, 1
sar eax, 1
neg eax
lea eax, [eax + eax*4]
mov ecx, dword [esp + 4]
lea ecx, [ecx + eax*8]
mov dword [esp + 4], ecx
jmp 0x1009aedb
mov dword [esp + 0x10], eax
jmp 0x1009aedb
add ecx, ecx
test edx, edx
mov eax, 1
cmovne eax, ecx
cmp eax, 0x6666667
jae 0x1009b0df
mov edi, eax
shr edi, 2
shl eax, 3
lea ebx, [eax + eax*4]
push ebx
call fcn.10216dd3
add esp, 4
lea ecx, [edi + edi*4]
lea ecx, [eax + ecx*8]
mov dword [esp + 4], ecx
add eax, ebx
mov dword [esp + 0x10], eax
test esi, esi
je 0x1009aed7
push esi
call fcn.10205096
add esp, 4
mov edi, dword [esp + 0xc]
movq xmm0, qword [esp + 0x48]
mov esi, dword [esp + 4]
movq qword [esi], xmm0
mov eax, dword [esp + 0x50]
mov dword [esi + 8], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x50], 0
lea ecx, [esi + 0x10]
lea eax, [esp + 0x58]
push eax
call fcn.10197300
mov ebx, dword [edi + 0x14]
cmp ebx, dword [esp + 8]
je 0x1009af6f
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea edi, [eax - 0x28]
lea esi, [ecx - 0x28]
movq xmm0, qword [eax - 0x28]
movq qword [ecx - 0x28], xmm0
mov edx, dword [eax - 0x20]
mov dword [ecx - 0x20], edx
mov dword [eax - 0x24], 0
mov dword [eax - 0x28], 0
mov dword [eax - 0x20], 0
add ecx, 0xffffffe8
add eax, 0xffffffe8
push eax
call fcn.10197300
mov ecx, esi
mov eax, edi
cmp ebx, edi
jne 0x1009af30
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x18]
mov edx, dword [esp + 8]
cmp eax, edx
je 0x1009aff8
mov ecx, dword [esp + 0x1c]
neg ecx
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*8]
sub eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
xor edi, edi
mov ebx, dword [esp + 4]
nop
nop
nop
nop
nop
nop
nop
nop
movq xmm0, qword [edx + edi]
movq qword [ebx + edi + 0x28], xmm0
mov eax, dword [edx + edi + 8]
mov dword [ebx + edi + 0x30], eax
mov dword [edx + edi + 4], 0
mov dword [edx + edi], 0
mov dword [edx + edi + 8], 0
lea ecx, [ebx + edi]
add ecx, 0x38
lea eax, [edx + edi]
add eax, 0x10
push eax
call fcn.10197300
mov edx, dword [esp + 8]
add edi, 0x28
cmp dword [esp + 0x14], edi
jne 0x1009afa0
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x18]
lea eax, [ebx + edi]
add eax, 0x28
jmp 0x1009afff
mov eax, dword [esp + 4]
add eax, 0x28
mov ebx, dword [ecx + 0x14]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x10]
mov dword [ecx + 0x1c], eax
cmp edx, ebx
jne 0x1009b026
test edx, edx
jne 0x1009b04c
jmp 0x1009b055
mov edx, esi
cmp ebx, esi
je 0x1009b046
lea esi, [edx - 0x28]
lea ecx, [edx - 0x18]
mov edi, edx
call fcn.10197290
cmp byte [edi - 0x1d], 0
jns 0x1009b020
push dword [edi - 0x28]
call fcn.10205096
add esp, 4
jmp 0x1009b020
mov edx, ebx
test edx, edx
je 0x1009b055
push edx
call fcn.10205096
add esp, 4
xor ebx, ebx
lea ecx, [esp + 0x58]
call fcn.10197290
cmp byte [esp + 0x53], 0
jns 0x1009b073
push dword [esp + 0x48]
call fcn.10205096
add esp, 4
xor esi, esi
test bl, bl
je 0x1009b094
mov ecx, dword [0x102b43e8]
call fcn.1008fd90
mov ecx, eax
lea eax, [ebp + 0x10]
push eax
call fcn.100a0930
mov esi, 6
push dword [esp + 0x34]
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
lea ecx, [ebp + 0x10]
call fcn.10197290
mov ecx, dword [esp + 0xa0]
xor ecx, ebp
call fcn.10205d16
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x20
mov ecx, edi
call fcn.1016d1b0
jmp 0x1009a996
lea ecx, [esp + 0x38]
call fcn.101407c4
add edi, 0x14
mov ecx, edi
call fcn.1002bb40
call fcn.102177d0
int3