Function at 0x10022e10
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a0bd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa8
mov eax, dword [0x10468f40]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x10531940]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x10531944]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov esi, eax
mov dword [ebp - 0x60], esi
test esi, esi
je 0x1002316e
mov ecx, dword [0x10531a98]
cmp dword [ecx + esi], 0
jle 0x1002316e
xor edx, edx
mov dword [ebp - 0x64], edx
nop
mov ecx, dword [0x10531944]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edi, eax
test edi, edi
je 0x1002315e
mov ecx, dword [0x10531a98]
cmp dword [ecx + edi], 0
jle 0x1002315e
mov ecx, dword [0x10531ab0]
mov eax, dword [ecx + edi]
cmp eax, dword [ecx + esi]
je 0x1002315e
mov eax, dword [0x10531ab8]
mov al, byte [eax + edi]
test al, al
jne 0x1002315e
push edi
lea eax, [ebp - 0x70]
mov ecx, 0x1051ad38
push eax
call fcn.1000b9e0
mov eax, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x70]
mov dword [ebp - 4], 0
mov dword [ebp - 0x84], eax
cmp esi, eax
je 0x100230fb
add esi, 0x934
nop word [eax + eax]
cmp byte [0x1052f488], 0
je 0x10022f31
lea eax, [esi - 0x22c]
mov ecx, 0x1052f4c8
push eax
push dword [0x1052f48b]
push edi
call fcn.10022650
cmp byte [0x1052f48a], 0
je 0x100230e0
mov ecx, dword [0x10531940]
movss xmm0, dword [esi]
movss dword [ebp - 0x5c], xmm0
movss xmm0, dword [esi - 0x10]
mov eax, dword [ecx]
movss dword [ebp - 0x74], xmm0
movss xmm0, dword [esi - 0x20]
movss dword [ebp - 0x78], xmm0
mov eax, dword [eax + 0x94]
call eax
movss xmm4, dword [ebp - 0x74]
movss xmm5, dword [ebp - 0x78]
movss xmm6, dword [ebp - 0x5c]
movups xmm1, xmmword [eax]
movups xmm0, xmmword [eax + 0x20]
movups xmm2, xmmword [eax + 0x10]
movups xmmword [ebp - 0x38], xmm0
movaps xmm7, xmm1
movaps xmm0, xmm1
shufps xmm7, xmm1, 0x55
mulss xmm0, xmm5
mulss xmm7, xmm4
movups xmm3, xmmword [eax + 0x30]
addss xmm7, xmm0
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xaa
mulss xmm0, xmm6
shufps xmm1, xmm1, 0xff
addss xmm7, xmm0
movaps xmm0, xmm2
shufps xmm0, xmm2, 0x55
mulss xmm0, xmm4
addss xmm7, xmm1
movaps xmm1, xmm5
mulss xmm1, xmm2
mulss xmm5, xmm3
addss xmm1, xmm0
movaps xmmword [ebp - 0xb0], xmm7
movaps xmm0, xmm2
shufps xmm0, xmm2, 0xaa
mulss xmm0, xmm6
shufps xmm2, xmm2, 0xff
addss xmm1, xmm0
movaps xmm0, xmm3
shufps xmm0, xmm3, 0xaa
mulss xmm0, xmm6
addss xmm1, xmm2
movss dword [ebp - 0x5c], xmm1
movaps xmm1, xmm3
shufps xmm1, xmm3, 0x55
mulss xmm1, xmm4
shufps xmm3, xmm3, 0xff
addss xmm1, xmm5
addss xmm1, xmm0
movss xmm0, dword [0x1006c374]
addss xmm1, xmm3
comiss xmm0, xmm1
movups xmmword [ebp - 0xa0], xmm1
ja 0x100230e0
mov ecx, dword [0x10531940]
lea edx, [ebp - 0x80]
push edx
lea edx, [ebp - 0x7c]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
movss xmm2, dword [0x1006c388]
divss xmm2, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x80]
movaps xmm3, xmmword [ebp - 0xb0]
movss xmm5, dword [0x1006c384]
movss xmm4, dword [ebp - 0x5c]
movd xmm0, eax
cdq
mulss xmm3, xmm2
sub eax, edx
sar eax, 1
cvtdq2ps xmm0, xmm0
mulss xmm3, xmm5
push dword [0x1052f493]
mulss xmm4, xmm2
push 0x32
mulss xmm3, xmm0
push 2
movd xmm0, eax
mov eax, ecx
cvtdq2ps xmm0, xmm0
cdq
sub eax, edx
sar eax, 1
addss xmm3, xmm5
mulss xmm4, xmm5
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm3, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm4, xmm0
addss xmm4, xmm5
subss xmm1, xmm4
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
call fcn.1003f080
add esp, 0x14
add esi, 0x2ba8
lea eax, [esi - 0x934]
cmp eax, dword [ebp - 0x84]
jne 0x10022f10
mov esi, dword [ebp - 0x70]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x1002315b
mov ecx, dword [ebp - 0x68]
mov eax, 0x5dd2eba9
sub ecx, esi
imul ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x2ba8
mov eax, esi
cmp ecx, 0x1000
jb 0x1002313c
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002318c
push ecx
push esi
call fcn.10041fcb
add esp, 8
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov esi, dword [ebp - 0x60]
mov edx, dword [ebp - 0x64]
inc edx
mov dword [ebp - 0x64], edx
cmp edx, 0x40
jl 0x10022e90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100421e2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1004748f
int3