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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x3c], 2
mov edx, dword [esi + 0x140]
mov eax, dword [esi + 0x228]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], eax
mov ecx, 1
jle 0x1068033
cmp dword [esi + 0x240], 0
je 0x1068022
cmp dword [esi + 0x23c], 0
jne 0x1068033
mov dword [ebp - 0x24], 0x80070057
mov eax, dword [ebp - 0x24]
pop esi
mov esp, ebp
pop ebp
ret 8
push ebx
push edi
movzx edi, word [esi + 0x244]
xor eax, eax
cmp ax, di
jge 0x106806c
mov eax, dword [esi + 0x248]
mov dword [ebp - 0x20], edi
lea esp, [esp]
movsx edi, word [eax]
imul edi, edi, 0x6f0
xor ebx, ebx
cmp dword [edi + edx + 0x28], ebx
sete bl
add eax, 2
and ecx, ebx
dec dword [ebp - 0x20]
jne 0x1068050
mov eax, dword [esi + 0x3c]
cmp eax, 2
jg 0x10681b1
cmp dword [ebp + 0xc], 0
jne 0x10681b1
cmp dword [edx + 0x44], 0
je 0x1068b92
test ecx, ecx
jne 0x1068b92
mov ecx, edx
mov eax, dword [ecx + 0x38]
mov ecx, dword [ecx + 0x728]
xor ebx, ebx
xor edi, edi
cmp bx, word [esi + 0x22]
jae 0x10680d3
xor edx, edx
jmp 0x10680b0
mov ebx, dword [esi + 0x140]
imul edx, edx, 0x6f0
inc edi
mov dword [edx + ebx + 0x28], 1
movzx ebx, word [esi + 0x22]
movsx edx, di
cmp edx, ebx
jl 0x10680b0
mov edx, dword [ebp - 0x18]
movsx edx, word [edx + 0x78]
cmp edx, 4
jl 0x1068175
lea esi, [edx - 4]
shr esi, 2
inc esi
mov edi, esi
neg edi
lea edx, [edx + edi*4]
mov edi, edi
movss xmm1, dword [ecx]
movss xmm0, dword [eax]
movaps xmm2, xmm1
addss xmm2, xmm0
movss dword [eax], xmm2
subss xmm0, xmm1
movss xmm1, dword [ecx + 4]
movss dword [ecx], xmm0
movss xmm0, dword [eax + 4]
movaps xmm2, xmm1
addss xmm2, xmm0
movss dword [eax + 4], xmm2
subss xmm0, xmm1
movss xmm1, dword [ecx + 8]
movss dword [ecx + 4], xmm0
movss xmm0, dword [eax + 8]
movaps xmm2, xmm1
addss xmm2, xmm0
movss dword [eax + 8], xmm2
subss xmm0, xmm1
movss xmm1, dword [ecx + 0xc]
movss dword [ecx + 8], xmm0
movss xmm0, dword [eax + 0xc]
movaps xmm2, xmm1
addss xmm2, xmm0
movss dword [eax + 0xc], xmm2
subss xmm0, xmm1
movss dword [ecx + 0xc], xmm0
add eax, 0x10
add ecx, 0x10
dec esi
jne 0x10680f0
test edx, edx
jle 0x1068b92
sub ecx, eax
nop
movss xmm1, dword [ecx + eax]
movss xmm0, dword [eax]
movaps xmm2, xmm1
addss xmm2, xmm0
movss dword [eax], xmm2
subss xmm0, xmm1
movss dword [ecx + eax], xmm0
dec edx
add eax, 4
test edx, edx
jg 0x1068180
mov eax, dword [ebp - 0x24]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
cmp eax, 3
jl 0x1068b92
movzx edx, word [esi + 0x2da]
mov dword [ebp - 0x14], edx
test ecx, ecx
jne 0x1068b92
mov dword [ebp - 0x20], ecx
cmp dword [esi + 0x23c], ecx
jle 0x1068b92
movss xmm6, dword [0x1015aa0]
xorps xmm5, xmm5
jmp 0x10681f0
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp + 0xc]
imul eax, eax, 0x98
add eax, dword [esi + 0x240]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
cmp dword [eax + 8], edx
jne 0x1068b7f
mov ebx, dword [eax]
cmp ebx, 1
je 0x1068b7f
mov ecx, dword [eax + 0xc]
cmp ecx, 1
jne 0x1068231
cmp dword [eax + 0x10], 2
je 0x1068b7f
cmp word [esi + 0x22], 2
jne 0x1068337
cmp ecx, 1
jne 0x1068337
cmp dword [eax + 0x10], ecx
jne 0x1068337
cmp dword [esi + 0x130], 0
mov eax, dword [esi + 0x140]
mov ecx, dword [eax + 0x38]
mov edx, dword [eax + 0x728]
mov dword [ebp - 8], 0
jle 0x1068b7f
xor edi, edi
jmp 0x1068280
mov eax, dword [ebp - 0xc]
cmp dword [eax + edi + 0x18], 1
mov eax, dword [esi + 0x134]
mov eax, dword [edi + eax]
mov dword [ebp - 4], eax
jne 0x10682e0
jmp 0x10682a0
mov eax, dword [esi + 0x134]
movzx ebx, word [ebp - 0x14]
mov eax, dword [edi + eax + 4]
cmp ebx, eax
jge 0x10682b4
mov eax, ebx
cmp dword [ebp - 4], eax
jge 0x106831c
movss xmm0, dword [ecx]
movaps xmm1, xmm0
addss xmm1, dword [edx]
subss xmm0, dword [edx]
movss dword [ecx], xmm0
movss dword [edx], xmm1
add ecx, 4
add edx, 4
inc dword [ebp - 4]
jmp 0x10682a0
mov eax, dword [esi + 0x134]
movzx ebx, word [ebp - 0x14]
mov eax, dword [edi + eax + 4]
cmp ebx, eax
jge 0x10682f4
mov eax, ebx
cmp dword [ebp - 4], eax
jge 0x106831c
movss xmm0, dword [ecx]
mulss xmm0, xmm6
movss dword [ecx], xmm0
movss xmm0, dword [edx]
mulss xmm0, xmm6
movss dword [edx], xmm0
add ecx, 4
add edx, 4
inc dword [ebp - 4]
jmp 0x10682e0
mov eax, dword [ebp - 8]
inc eax
add edi, 4
mov dword [ebp - 8], eax
cmp eax, dword [esi + 0x130]
jl 0x1068280
jmp 0x1068b7f
mov ecx, dword [eax + 0x94]
mov edx, dword [esi + 0x22c]
xor eax, eax
xor edi, edi
mov dword [ebp - 0x10], eax
cmp di, word [esi + 0x244]
jge 0x10683a3
mov dword [ebp - 0x18], edx
jmp 0x1068360
mov edi, dword [esi + 0x248]
cwde
movzx eax, word [edi + eax*2]
mov edi, dword [ebp - 8]
cwde
cmp dword [edi + eax*4], 1
jne 0x1068393
mov edi, dword [esi + 0x140]
imul eax, eax, 0x6f0
mov edi, dword [eax + edi + 0x90]
mov eax, dword [ebp - 0x18]
mov dword [eax], edi
add eax, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp ax, word [esi + 0x244]
jl 0x1068360
cmp ebx, 2
jne 0x106847a
xor eax, eax
cmp dword [esi + 0x130], eax
jle 0x1068b7f
lea ebx, [ebx]
mov edi, dword [ebp - 0xc]
cmp dword [edi + eax*4 + 0x18], 1
mov edi, dword [esi + 0x134]
jne 0x1068441
mov edi, dword [edi + eax*4]
mov dword [ebp - 4], edi
jmp 0x10683e0
mov edi, dword [esi + 0x134]
mov ebx, dword [edi + eax*4 + 4]
movzx edi, word [ebp - 0x14]
cmp edi, ebx
jl 0x10683f4
mov edi, ebx
cmp dword [ebp - 4], edi
jge 0x1068468
mov edi, dword [edx + 4]
mov ebx, dword [edx]
movss xmm0, dword [ebx]
movss xmm1, dword [ecx + 8]
movss xmm3, dword [ecx + 0xc]
mulss xmm3, dword [edi]
mulss xmm1, xmm0
mulss xmm0, dword [ecx]
addss xmm1, xmm3
movss xmm3, dword [ecx + 4]
mulss xmm3, dword [edi]
addss xmm3, xmm0
movss dword [ebx], xmm3
add ebx, 4
movss dword [edi], xmm1
add edi, 4
inc dword [ebp - 4]
mov dword [edx], ebx
mov dword [edx + 4], edi
jmp 0x10683e0
mov ebx, dword [edi + eax*4 + 4]
sub ebx, dword [edi + eax*4]
lea edi, [edi + eax*4]
add ebx, ebx
add ebx, ebx
add dword [edx], ebx
mov edi, dword [esi + 0x134]
mov ebx, dword [edi + eax*4 + 4]
sub ebx, dword [edi + eax*4]
lea edi, [edi + eax*4]
add ebx, ebx
add ebx, ebx
add dword [edx + 4], ebx
inc eax
cmp eax, dword [esi + 0x130]
jl 0x10683c0
jmp 0x1068b7f
cmp ebx, 3
jne 0x10685d0
xor edi, edi
mov dword [ebp - 8], edi
cmp dword [esi + 0x130], edi
jle 0x1068b7f
jmp 0x10684a0
mov eax, dword [ebp - 0xc]
cmp dword [eax + edi*4 + 0x18], 1
mov eax, dword [esi + 0x134]
jne 0x106857d
mov eax, dword [eax + edi*4]
mov dword [ebp - 4], eax
lea ebx, [ebx]
mov eax, dword [esi + 0x134]
mov ebx, dword [eax + edi*4 + 4]
movzx eax, word [ebp - 0x14]
cmp eax, ebx
jl 0x10684d4
mov eax, ebx
cmp dword [ebp - 4], eax
jge 0x10685bb
mov edi, dword [edx + 4]
movss xmm3, dword [edi]
mov ebx, dword [edx]
movss xmm0, dword [ebx]
movss xmm1, dword [ecx + 0xc]
movss xmm2, dword [ecx + 0x10]
mov eax, dword [edx + 8]
movss xmm4, dword [eax]
movss xmm7, dword [ecx + 0x1c]
mulss xmm2, xmm3
mulss xmm1, xmm0
addss xmm1, xmm2
movss xmm2, dword [ecx + 0x14]
mulss xmm2, xmm4
addss xmm1, xmm2
movss xmm2, dword [ecx + 0x18]
mulss xmm7, xmm3
mulss xmm2, xmm0
mulss xmm0, dword [ecx]
addss xmm2, xmm7
movss xmm7, dword [ecx + 0x20]
mulss xmm7, xmm4
addss xmm2, xmm7
movss xmm7, dword [ecx + 4]
mulss xmm7, xmm3
addss xmm7, xmm0
movss xmm0, dword [ecx + 8]
mulss xmm0, xmm4
addss xmm7, xmm0
movss dword [ebx], xmm7
movss dword [edi], xmm1
add edi, 4
add ebx, 4
movss dword [eax], xmm2
add eax, 4
inc dword [ebp - 4]
mov dword [edx + 4], edi
mov edi, dword [ebp - 8]
mov dword [edx], ebx
mov dword [edx + 8], eax
jmp 0x10684c0
mov ebx, dword [eax + edi*4 + 4]
sub ebx, dword [eax + edi*4]
lea eax, [eax + edi*4]
add ebx, ebx
add ebx, ebx
add dword [edx], ebx
mov eax, dword [esi + 0x134]
mov ebx, dword [eax + edi*4 + 4]
sub ebx, dword [eax + edi*4]
lea eax, [eax + edi*4]
add ebx, ebx
add ebx, ebx
add dword [edx + 4], ebx
mov eax, dword [esi + 0x134]
mov ebx, dword [eax + edi*4 + 4]
sub ebx, dword [eax + edi*4]
lea eax, [eax + edi*4]
add ebx, ebx
add ebx, ebx
add dword [edx + 8], ebx
inc edi
mov dword [ebp - 8], edi
cmp edi, dword [esi + 0x130]
jl 0x10684a0
jmp 0x1068b7f
cmp ebx, 4
jne 0x10687b0
xor edi, edi
mov dword [ebp - 8], edi
cmp dword [esi + 0x130], edi
jle 0x1068b7f
lea ebx, [ebx]
mov eax, dword [ebp - 0xc]
cmp dword [eax + edi*4 + 0x18], 1
mov eax, dword [esi + 0x134]
jne 0x106873c
mov eax, dword [eax + edi*4]
mov dword [ebp - 4], eax
lea ebx, [ebx]
mov eax, dword [esi + 0x134]
mov ebx, dword [eax + edi*4 + 4]
movzx eax, word [ebp - 0x14]
cmp eax, ebx
jl 0x1068624
mov eax, ebx
cmp dword [ebp - 4], eax
jge 0x1068793
mov edi, dword [edx + 4]
movss xmm4, dword [edi]
mov ebx, dword [edx]
movss xmm0, dword [ebx]
movss xmm1, dword [ecx + 0x10]
movss xmm2, dword [ecx + 0x14]
mov eax, dword [edx + 8]
movss xmm5, dword [eax]
mov eax, dword [edx + 0xc]
movss xmm6, dword [eax]
movss xmm3, dword [ecx + 0x24]
movss xmm7, dword [ecx + 0x34]
mulss xmm2, xmm4
mulss xmm1, xmm0
addss xmm1, xmm2
movss xmm2, dword [ecx + 0x18]
mulss xmm2, xmm5
addss xmm1, xmm2
movss xmm2, dword [ecx + 0x1c]
mulss xmm3, xmm4
mulss xmm2, xmm6
addss xmm1, xmm2
movss xmm2, dword [ecx + 0x20]
mulss xmm2, xmm0
addss xmm2, xmm3
movss xmm3, dword [ecx + 0x28]
mulss xmm3, xmm5
addss xmm2, xmm3
movss xmm3, dword [ecx + 0x2c]
mulss xmm7, xmm4
mulss xmm3, xmm6
addss xmm2, xmm3
movss xmm3, dword [ecx + 0x30]
mulss xmm3, xmm0
mulss xmm0, dword [ecx]
addss xmm3, xmm7
movss xmm7, dword [ecx + 0x38]
mulss xmm7, xmm5
addss xmm3, xmm7
movss xmm7, dword [ecx + 0x3c]
mulss xmm7, xmm6
addss xmm3, xmm7
movss xmm7, dword [ecx + 4]
mulss xmm7, xmm4
addss xmm7, xmm0
movss xmm0, dword [ecx + 8]
mulss xmm0, xmm5
xorps xmm5, xmm5
addss xmm7, xmm0
movss xmm0, dword [ecx + 0xc]
mulss xmm0, xmm6
add edi, 4
addss xmm7, xmm0
movss dword [ebx], xmm7
movss dword [edi - 4], xmm1
mov dword [edx + 4], edi
mov edi, dword [edx + 8]
movss dword [edi], xmm2
add edi, 4
add ebx, 4
movss dword [eax], xmm3
add eax, 4
inc dword [ebp - 4]
mov dword [edx + 8], edi
mov edi, dword [ebp - 8]
mov dword [edx], ebx
mov dword [edx + 0xc], eax
jmp 0x1068610
mov ebx, dword [eax + edi*4 + 4]
sub ebx, dword [eax + edi*4]
lea eax, [eax + edi*4]
add ebx, ebx
add ebx, ebx
add dword [edx], ebx
mov eax, dword [esi + 0x134]
mov ebx, dword [eax + edi*4 + 4]
sub ebx, dword [eax + edi*4]
lea eax, [eax + edi*4]
add ebx, ebx
add ebx, ebx
add dword [edx + 4], ebx
mov eax, dword [esi + 0x134]
mov ebx, dword [eax + edi*4 + 4]
sub ebx, dword [eax + edi*4]
lea eax, [eax + edi*4]
add ebx, ebx
add ebx, ebx
add dword [edx + 8], ebx
mov eax, dword [esi + 0x134]
mov ebx, dword [eax + edi*4 + 4]
sub ebx, dword [eax + edi*4]
lea eax, [eax + edi*4]
add ebx, ebx
add ebx, ebx
add dword [edx + 0xc], ebx
jmp 0x106879b
movss xmm6, dword [0x1015aa0]
inc edi
mov dword [ebp - 8], edi
cmp edi, dword [esi + 0x130]
jl 0x10685f0
jmp 0x1068b7f
cmp ebx, 5
jne 0x1068a2d
xor edi, edi
mov dword [ebp - 8], edi
cmp dword [esi + 0x130], edi
jle 0x1068b7f
lea ebx, [ebx]
mov eax, dword [ebp - 0xc]
cmp dword [eax + edi*4 + 0x18], 1
mov eax, dword [esi + 0x134]
jne 0x10689a2
mov eax, dword [eax + edi*4]
mov dword [ebp - 4], eax
lea ebx, [ebx]
mov eax, dword [esi + 0x134]
mov ebx, dword [eax + edi*4 + 4]
movzx eax, word [ebp - 0x14]
cmp eax, ebx
jl 0x1068804
mov eax, ebx
cmp dword [ebp - 4], eax
jge 0x1068a10
mov eax, dword [edx + 4]
movss xmm5, dword [eax]
mov eax, dword [edx]
movss xmm0, dword [eax]
mov eax, dword [edx + 8]
movss xmm6, dword [eax]
movss xmm1, dword [ecx + 0x14]
movss xmm2, dword [ecx + 0x18]
mov edi, dword [edx + 0xc]
movss xmm4, dword [edi]
mov ebx, dword [edx + 0x10]
movss xmm7, dword [ecx + 0x2c]
mulss xmm7, xmm5
mulss xmm2, xmm5
movss xmm3, dword [ecx + 0x3c]
mulss xmm1, xmm0
addss xmm1, xmm2
movss xmm2, dword [ecx + 0x1c]
mulss xmm2, xmm6
addss xmm1, xmm2
movss xmm2, dword [ecx + 0x20]
mulss xmm2, xmm4
addss xmm1, xmm2
movss xmm2, dword [ecx + 0x24]
mulss xmm2, dword [ebx]
addss xmm1, xmm2
movss xmm2, dword [ecx + 0x28]
mulss xmm2, xmm0
addss xmm2, xmm7
movss xmm7, dword [ecx + 0x30]
mulss xmm7, xmm6
addss xmm2, xmm7
movss xmm7, dword [ecx + 0x34]
mulss xmm7, xmm4
addss xmm2, xmm7
movss xmm7, dword [ecx + 0x38]
mulss xmm7, dword [ebx]
addss xmm2, xmm7
movss xmm7, dword [ecx + 0x40]
mulss xmm7, xmm5
mulss xmm3, xmm0
addss xmm3, xmm7
movss xmm7, dword [ecx + 0x44]
mulss xmm7, xmm6
addss xmm3, xmm7
movss xmm7, dword [ecx + 0x48]
mulss xmm7, xmm4
movss xmm4, dword [ecx + 0x50]
addss xmm3, xmm7
movss xmm7, dword [ecx + 0x4c]
mulss xmm7, dword [ebx]
addss xmm3, xmm7
movss xmm7, dword [ecx + 0x54]
mulss xmm7, xmm5
mulss xmm4, xmm0
mulss xmm0, dword [ecx]
addss xmm4, xmm7
movss xmm7, dword [ecx + 0x58]
mulss xmm7, xmm6
movss xmm6, dword [ebx]
addss xmm4, xmm7
movss xmm7, dword [ecx + 0x5c]
mulss xmm7, dword [edi]
addss xmm4, xmm7
movss xmm7, dword [ecx + 0x60]
mulss xmm7, xmm6
addss xmm4, xmm7
movss xmm7, dword [ecx + 4]
mulss xmm7, xmm5
movss xmm5, dword [ecx + 8]
mulss xmm5, dword [eax]
mov eax, dword [edx]
addss xmm7, xmm0
movss xmm0, dword [ecx + 0x10]
addss xmm7, xmm5
movss xmm5, dword [ecx + 0xc]
mulss xmm5, dword [edi]
addss xmm7, xmm5
mulss xmm0, xmm6
addss xmm7, xmm0
movss dword [eax], xmm7
xorps xmm5, xmm5
add eax, 4
mov dword [edx], eax
mov eax, dword [edx + 4]
movss dword [eax], xmm1
add eax, 4
mov dword [edx + 4], eax
mov eax, dword [edx + 8]
movss dword [eax], xmm2
movss dword [edi], xmm3
add edi, 4
add eax, 4
movss dword [ebx], xmm4
add ebx, 4
inc dword [ebp - 4]
mov dword [edx + 0xc], edi
mov edi, dword [ebp - 8]
mov dword [edx + 8], eax
mov dword [edx + 0x10], ebx
jmp 0x10687f0
mov ebx, dword [eax + edi*4 + 4]
sub ebx, dword [eax + edi*4]
lea eax, [eax + edi*4]
add ebx, ebx
add ebx, ebx
add dword [edx], ebx
mov eax, dword [esi + 0x134]
mov ebx, dword [eax + edi*4 + 4]
sub ebx, dword [eax + edi*4]
lea eax, [eax + edi*4]
add ebx, ebx
add ebx, ebx
add dword [edx + 4], ebx
mov eax, dword [esi + 0x134]
mov ebx, dword [eax + edi*4 + 4]
sub ebx, dword [eax + edi*4]
lea eax, [eax + edi*4]
add ebx, ebx
add ebx, ebx
add dword [edx + 8], ebx
mov eax, dword [esi + 0x134]
mov ebx, dword [eax + edi*4 + 4]
sub ebx, dword [eax + edi*4]
lea eax, [eax + edi*4]
add ebx, ebx
add ebx, ebx
add dword [edx + 0xc], ebx
mov eax, dword [esi + 0x134]
mov ebx, dword [eax + edi*4 + 4]
sub ebx, dword [eax + edi*4]
lea eax, [eax + edi*4]
add ebx, ebx
add ebx, ebx
add dword [edx + 0x10], ebx
jmp 0x1068a18
movss xmm6, dword [0x1015aa0]
inc edi
mov dword [ebp - 8], edi
cmp edi, dword [esi + 0x130]
jl 0x10687d0
jmp 0x1068b7f
cmp dword [esi + 0x130], 0
mov dword [ebp - 8], 0
jle 0x1068b7f
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x1068a50
mov ecx, dword [ebp - 0xc]
cmp dword [eax + ecx + 0x18], 1
jne 0x1068b2e
mov ecx, dword [esi + 0x134]
mov ecx, dword [eax + ecx]
mov dword [ebp - 4], ecx
lea ebx, [ebx]
mov ecx, dword [esi + 0x134]
mov eax, dword [eax + ecx + 4]
movzx ecx, word [ebp - 0x14]
cmp ecx, eax
jge 0x1068a84
mov eax, ecx
cmp dword [ebp - 4], eax
jge 0x1068b63
mov dword [ebp - 0x10], 0
test ebx, ebx
jle 0x1068af7
xor esi, esi
lea ebx, [ebx]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 0x94]
mov eax, esi
imul eax, ebx
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x1c]
movss dword [ecx + esi*4], xmm5
xor edi, edi
mov dword [ebp - 0x28], eax
xor ecx, ecx
movaps xmm0, xmm5
mov eax, dword [edx + ecx*4]
movss xmm1, dword [eax]
mov eax, dword [ebp - 0x28]
mulss xmm1, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x1c]
inc edi
addss xmm0, xmm1
movss dword [ecx + esi*4], xmm0
movsx ecx, di
cmp ecx, ebx
jl 0x1068ac3
mov ecx, dword [ebp - 0x10]
inc ecx
movsx esi, cx
mov dword [ebp - 0x10], ecx
cmp esi, ebx
jl 0x1068aa0
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], 0
test ebx, ebx
jle 0x1068b23
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov edi, dword [edx + ecx*4]
fld dword [eax + ecx*4]
fstp dword [edi]
add edi, 4
mov dword [edx + ecx*4], edi
mov ecx, dword [ebp - 0x10]
inc ecx
mov dword [ebp - 0x10], ecx
movsx ecx, cx
cmp ecx, ebx
jl 0x1068b07
inc dword [ebp - 4]
mov eax, dword [ebp - 0x18]
jmp 0x1068a70
mov dword [ebp - 0x10], 0
test ebx, ebx
jle 0x1068b63
xor ecx, ecx
jmp 0x1068b40
mov eax, dword [esi + 0x134]
add eax, dword [ebp - 0x18]
mov edi, dword [eax + 4]
sub edi, dword [eax]
mov eax, dword [ebp - 0x10]
add edi, edi
add edi, edi
add dword [edx + ecx*4], edi
inc eax
movsx ecx, ax
mov dword [ebp - 0x10], eax
cmp ecx, ebx
jl 0x1068b40
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
inc ecx
add eax, 4
mov dword [ebp - 8], ecx
mov dword [ebp - 0x18], eax
cmp ecx, dword [esi + 0x130]
jl 0x1068a50
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp eax, dword [esi + 0x23c]
jl 0x10681f0
mov eax, dword [ebp - 0x24]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8