Function at 0x10022d30
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.10022650
xor eax, eax
mov dword [esp + 0x10], eax
cmp dword [ebp + 0x30], eax
jle 0x10022f44
movss xmm1, dword [0x10042c90]
xor ecx, ecx
mov dword [esp + 0x14], ecx
nop dword [eax + eax]
mov edx, dword [ebp + 0x38]
add edx, ecx
mov esi, dword [edx + 0x18]
mov dword [esp + 0x34], esi
test esi, esi
je 0x10022f2f
mov ebx, dword [edx]
mov dword [esp + 0x18], ebx
cmp ebx, 0x10000
ja 0x10022f2f
movd xmm0, dword [ebp + 0x14]
movaps xmm2, xmm1
cvtdq2ps xmm0, xmm0
movzx eax, word [edx + 8]
movzx ecx, word [edx + 0xa]
movzx ebx, word [edx + 4]
movzx edi, word [edx + 6]
divss xmm2, xmm0
movd xmm0, eax
add eax, ebx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [esp + 0x24], xmm0
movd xmm0, dword [ebp + 0x18]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x28], xmm0
movd xmm0, eax
lea eax, [edi + ecx]
cvtdq2ps xmm0, xmm0
lea ecx, [esi + 0x10]
mulss xmm0, xmm2
movss dword [esp + 0x2c], xmm0
movd xmm0, eax
mov eax, dword [esi + 0x10]
cvtdq2ps xmm0, xmm0
inc eax
push eax
mulss xmm0, xmm1
movss dword [esp + 0x34], xmm0
movss xmm0, dword [edx + 0x10]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [edx + 0x14]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [edx + 0xc]
movss dword [esp + 0x3c], xmm0
call fcn.100171a0
mov eax, dword [esi + 0x10]
mov esi, dword [esi + 0x18]
movss xmm1, dword [esp + 0x1c]
movss xmm2, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x18]
movss xmm3, dword [esp + 0x24]
movss xmm4, dword [esp + 0x28]
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
mov word [esi + ecx*8 - 0x28], ax
movss dword [esi + ecx*8 - 0x20], xmm1
addss xmm0, xmm1
movss dword [esi + ecx*8 - 0x1c], xmm2
movss xmm1, dword [esp + 0x2c]
movss dword [esi + ecx*8 - 0x10], xmm3
movss dword [esi + ecx*8 - 0xc], xmm4
movss dword [esi + ecx*8 - 8], xmm1
movss dword [esi + ecx*8 - 0x18], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
addss xmm0, xmm2
movss xmm2, dword [esp + 0x30]
movss dword [esi + ecx*8 - 4], xmm2
movss dword [esi + ecx*8 - 0x14], xmm0
mov eax, dword [edx + 0x40]
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [eax + 0x20]
movss dword [esi + ecx*8 - 0x24], xmm0
mov eax, dword [edx + 0x40]
cmp byte [eax + 0x1c], 0
je 0x10022ede
addss xmm0, dword [0x10042c70]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + ecx*8 - 0x24], xmm0
mov eax, dword [edx + 0x44]
subss xmm1, xmm3
subss xmm2, xmm4
movd xmm0, dword [eax + 0x14]
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm0
movd xmm0, dword [eax + 0x18]
cvtdq2ps xmm0, xmm0
addss xmm1, dword [0x10042cb0]
mulss xmm2, xmm0
addss xmm2, dword [0x10042cb0]
cvttss2si ecx, xmm1
movss xmm1, dword [0x10042c90]
cvttss2si eax, xmm2
imul ecx, eax
mov eax, dword [esp + 0x10]
add dword [edx + 0x50], ecx
mov ecx, dword [esp + 0x14]
inc eax
add ecx, 0x1c
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
cmp eax, dword [ebp + 0x30]
jl 0x10022d60
xor esi, esi
cmp dword [ebp + 0x24], esi
jle 0x10022f61
nop dword [eax + eax]
mov ecx, dword [ebp + 0x2c]
mov ecx, dword [ecx + esi*4]
call fcn.100231a0
inc esi
cmp esi, dword [ebp + 0x24]
jl 0x10022f50
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret