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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
push esi
push edi
mov edi, ecx
mov eax, 0x51eb851f
mov edx, dword [edi + 0x70]
lea ecx, [edi + 4]
imul edx, dword [edi + 0x10]
imul edx
sar edx, 5
mov eax, edx
inc edx
shr eax, 0x1f
add eax, edx
push eax
call fcn.10032c70
cmp dword [edi + 0x7c], 0
lea eax, [edi + 0x2c]
mov dword [esp + 0xc], eax
je 0x10022af0
mov ecx, dword [edi + 0x6c]
mov eax, 0x51eb851f
imul ecx, dword [edi + 0x38]
imul ecx
lea ecx, [edi + 0x2c]
sar edx, 5
mov esi, edx
inc edx
shr esi, 0x1f
add esi, edx
push esi
call fcn.10032c70
mov eax, dword [edi + 0x7c]
mov ecx, 0
sub eax, esi
cmovs eax, ecx
mov dword [edi + 0x7c], eax
jmp 0x10022af4
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x68]
inc eax
and eax, 0x80000001
jns 0x10022b04
dec eax
or eax, 0xfffffffe
inc eax
mov dword [edi + 0x68], eax
mov esi, dword [edi + eax*4 + 0x54]
test esi, esi
je 0x10022ba5
mov ecx, dword [esi + 0x34]
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x3c]
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x10022b29
mov dword [ecx + 0x38], eax
jmp 0x10022b2d
mov dword [edi + edx*4 + 0x54], eax
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x10022b3a
mov eax, dword [esi + 0x34]
mov dword [ecx + 0x34], eax
mov dword [esi + 0x34], 0
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x10022b51
mov dword [eax + 0x34], esi
mov dword [edi + 0x5c], esi
lea ecx, [edi + 4]
push dword [esi + 0x30]
call fcn.10032e00
movups xmm0, xmmword [esi + 0x10]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x20]
push esi
movups xmmword [esp + 0x24], xmm0
push eax
movups xmm0, xmmword [esi + 0x20]
movups xmmword [esp + 0x38], xmm0
call fcn.100329f0
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x3c], 2
mov esi, eax
test eax, eax
jne 0x10022b13
mov eax, dword [edi + 0x38]
mov dword [edi + 0x7c], eax
mov byte [edi + 0x9a], 1
cmp byte [edi + 0x99], 0
lea esi, [edi + 4]
mov dword [esp + 0x18], edi
je 0x10022be2
lea eax, [esp + 0x18]
mov ecx, esi
push eax
mov eax, dword [esp + 0x10]
push dword [eax]
push dword [esi]
call fcn.10021230
cmp byte [edi + 0x99], 0
je 0x10022be2
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push ecx
push eax
push eax
mov ecx, esi
call fcn.10021230
cmp byte [edi + 0x9a], 0
je 0x10022cf2
mov ecx, dword [edi + 0x60]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
mov dword [esp + 0x18], eax
add eax, 4
mov dword [esp + 0x10], eax
mov eax, dword [eax]
test eax, eax
jle 0x10022cf2
mov ecx, dword [edi + 0x74]
imul ecx, eax
mov eax, 0x51eb851f
imul ecx
lea eax, [edi + 0x78]
sar edx, 5
lea ecx, [esp + 0x14]
mov esi, edx
shr esi, 0x1f
add esi, edx
mov edx, dword [esp + 0x10]
cmp dword [eax], esi
mov dword [esp + 0x14], esi
cmovg ecx, eax
mov ecx, dword [ecx]
cmp dword [edx], ecx
cmovl ecx, dword [edx]
xor esi, esi
mov dword [esp + 0xc], ecx
test ecx, ecx
jle 0x10022ccb
nop
mov eax, dword [edi + 0x90]
mov ecx, dword [esp + 0x10]
add eax, esi
cdq
idiv dword [ecx]
mov eax, dword [esp + 0x18]
shl edx, 4
add edx, dword [eax + 0xc]
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov ecx, dword [ecx + 0x30]
mov eax, dword [eax + 0x30]
movups xmm2, xmmword [ecx + 0x10]
movups xmm1, xmmword [eax + 0x10]
cmpltps xmm2, xmmword [eax]
cmpltps xmm1, xmmword [ecx]
orps xmm2, xmm1
movaps xmm0, xmm2
movd ecx, xmm2
psrldq xmm0, 4
movd eax, xmm0
psrldq xmm2, 8
or ecx, eax
movd eax, xmm2
or ecx, eax
je 0x10022cc2
mov ecx, dword [edi + 0x60]
push dword [ebp + 8]
push dword [edx + 4]
mov eax, dword [ecx]
push dword [edx]
call dword [eax + 8]
mov ecx, dword [esp + 0xc]
dec ecx
dec esi
mov dword [esp + 0xc], ecx
jmp 0x10022cc6
mov ecx, dword [esp + 0xc]
inc esi
cmp esi, ecx
jl 0x10022c50
mov eax, dword [esp + 0x10]
mov esi, dword [eax]
test esi, esi
jle 0x10022ce8
mov eax, dword [edi + 0x90]
add eax, ecx
cdq
idiv esi
mov dword [edi + 0x90], edx
jmp 0x10022cf2
mov dword [edi + 0x90], 0
inc dword [edi + 0x8c]
mov ecx, dword [edi + 0x80]
mov dword [edi + 0x78], 1
mov byte [edi + 0x9a], 0
test ecx, ecx
je 0x10022d4e
mov eax, dword [edi + 0x84]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10095370]
mov eax, ecx
shr eax, 0x1f
cvtpd2ps xmm1, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x10095370]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
jmp 0x10022d51
xorps xmm1, xmm1
movss dword [edi + 0x88], xmm1
shr dword [edi + 0x84], 1
shr ecx, 1
mov dword [edi + 0x80], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4