Function at 0x10038f00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x48
push esi
mov esi, dword [ebx + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 8], edi
cmp esi, 2
jl 0x10039a24
mov eax, dword [edi + 0x28]
lea edx, [esi - 1]
cmp byte [ebx + 0x14], 0
cmovne edx, esi
movss xmm0, dword [eax]
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebx + 0x18]
comiss xmm0, dword [0x100c4bc8]
mov dword [ebp - 0x10], edx
seta cl
test byte [edi + 0x24], 1
mov byte [ebp - 1], cl
je 0x10039805
mov eax, dword [ebx + 0x10]
movzx esi, cl
and eax, 0xffffff
mov dword [ebp - 0x2c], eax
mov ecx, 0x12
lea eax, [esi + 3]
imul eax, dword [ebx + 0xc]
cmp byte [ebp - 1], 0
push eax
mov dword [ebp - 0x44], eax
mov eax, 0xc
cmove ecx, eax
imul ecx, edx
push ecx
mov ecx, edi
call fcn.10038d50
shl esi, 4
lea eax, [esi + 0x18]
imul eax, dword [ebx + 0xc]
call fcn.100a5370
cmp dword [ebp - 0x10], 0
mov edx, esp
mov ecx, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
lea eax, [edx + ecx*8]
mov dword [ebp - 0xc], eax
jle 0x10039064
xorps xmm4, xmm4
xor edi, edi
nop dword [eax]
lea eax, [edi + 1]
mov dword [ebp - 0x14], eax
xor eax, eax
cmp dword [ebp - 0x14], ecx
cmovne eax, dword [ebp - 0x14]
movss xmm0, dword [esi + eax*8]
movss xmm2, dword [esi + eax*8 + 4]
subss xmm0, dword [esi + edi*8]
subss xmm2, dword [esi + edi*8 + 4]
movaps xmm1, xmm0
movss dword [ebp - 0x34], xmm0
movaps xmm3, xmm2
mulss xmm1, xmm0
mulss xmm3, xmm2
movss dword [ebp - 0x28], xmm2
addss xmm3, xmm1
comiss xmm3, xmm4
jbe 0x10039043
movaps xmm0, xmm3
call fcn.100029b0
movss xmm1, dword [0x100c4bc8]
xorps xmm4, xmm4
divss xmm1, xmm0
mov edx, esp
mov ecx, dword [ebx + 0xc]
movss xmm2, dword [ebp - 0x28]
movaps xmm0, xmm1
mulss xmm2, xmm1
mulss xmm0, dword [ebp - 0x34]
xorps xmm0, xmmword [0x100c5790]
movss dword [edx + edi*8], xmm2
movss dword [edx + edi*8 + 4], xmm0
mov edi, dword [ebp - 0x14]
cmp edi, dword [ebp - 0x10]
jl 0x10038fd0
mov edi, dword [ebp - 8]
mov al, byte [ebx + 0x14]
test al, al
jne 0x10039082
mov edi, dword [ebp - 0xc]
mov eax, dword [edx + ecx*8 - 0x10]
mov dword [edi - 8], eax
mov eax, dword [edx + ecx*8 - 0xc]
mov dword [edi - 4], eax
mov edi, dword [ebp - 8]
mov al, byte [ebx + 0x14]
cmp byte [ebp - 1], 0
jne 0x10039358
test al, al
jne 0x1003911b
movss xmm1, dword [edx]
addss xmm1, dword [esi]
movss xmm0, dword [edx + 4]
addss xmm0, dword [esi + 4]
mov eax, dword [ebp - 0xc]
movss dword [eax], xmm1
movss dword [eax + 4], xmm0
movss xmm1, dword [esi]
subss xmm1, dword [edx]
movss xmm0, dword [esi + 4]
subss xmm0, dword [edx + 4]
mov edx, dword [ebp - 0xc]
movss dword [eax + 8], xmm1
movss dword [eax + 0xc], xmm0
movss xmm1, dword [eax - 8]
movss xmm0, dword [esi + ecx*8 - 4]
addss xmm0, dword [eax - 4]
addss xmm1, dword [esi + ecx*8 - 8]
mov eax, ecx
add eax, eax
movss dword [edx + eax*8 - 0x10], xmm1
movss dword [edx + eax*8 - 0xc], xmm0
movss xmm1, dword [esi + ecx*8 - 8]
movss xmm0, dword [esi + ecx*8 - 4]
subss xmm1, dword [edx - 8]
subss xmm0, dword [edx - 4]
movss dword [edx + eax*8 - 8], xmm1
movss dword [edx + eax*8 - 4], xmm0
mov edx, esp
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x10], eax
jle 0x100392b6
movss xmm0, dword [0x100c4b74]
inc eax
mov dword [ebp - 0x14], eax
xor eax, eax
cmp dword [ebp - 0x14], ecx
cmovne eax, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
jne 0x1003914e
mov ecx, dword [edi + 0x30]
jmp 0x10039154
mov ecx, dword [ebp - 0x24]
add ecx, 3
mov dword [ebp - 0x20], ecx
lea edi, [eax*8]
mov ecx, dword [ebp - 0x28]
movss xmm3, dword [edi + edx]
movss xmm2, dword [edx + ecx*8 + 4]
addss xmm3, dword [edx + ecx*8]
addss xmm2, dword [edi + edx + 4]
mulss xmm3, xmm0
mulss xmm2, xmm0
movaps xmm1, xmm3
movss dword [ebp - 0x34], xmm3
mulss xmm1, xmm3
movaps xmm0, xmm2
movss dword [ebp - 0x28], xmm2
mulss xmm0, xmm2
addss xmm0, xmm1
comiss xmm0, dword [0x100c4ae8]
jbe 0x100391d5
call fcn.100029b0
movss xmm1, dword [0x100c4bc8]
divss xmm1, xmm0
mov eax, dword [ebp - 0x38]
movss xmm2, dword [0x100c4d20]
movss xmm3, dword [ebp - 0x34]
minss xmm2, xmm1
movaps xmm0, xmm2
mulss xmm2, dword [ebp - 0x28]
mulss xmm3, xmm0
movss xmm0, dword [edi + esi]
shl eax, 4
addss xmm0, xmm3
add eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
movss dword [eax], xmm0
movss xmm0, dword [edi + esi + 4]
addss xmm0, xmm2
movss dword [eax + 4], xmm0
movss xmm0, dword [edi + esi]
subss xmm0, xmm3
movss dword [eax + 8], xmm0
movss xmm0, dword [edi + esi + 4]
subss xmm0, xmm2
movss dword [eax + 0xc], xmm0
mov eax, dword [ebp - 0x20]
movzx edi, ax
mov eax, dword [edx + 0x38]
movss xmm0, dword [0x100c4b74]
mov word [eax], di
mov eax, dword [ebp - 0x24]
movzx esi, ax
mov eax, dword [edx + 0x38]
lea ecx, [esi + 2]
mov word [eax + 2], si
mov eax, dword [edx + 0x38]
mov word [eax + 4], cx
mov eax, dword [edx + 0x38]
mov word [eax + 6], cx
lea ecx, [edi + 2]
mov eax, dword [edx + 0x38]
mov word [eax + 8], cx
lea ecx, [esi + 1]
mov eax, dword [edx + 0x38]
lea edx, [edi + 1]
mov word [eax + 0xa], di
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x38]
mov word [eax + 0xc], dx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x38]
mov word [eax + 0xe], cx
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x38]
mov word [eax + 0x10], si
mov eax, dword [ecx + 0x38]
mov word [eax + 0x12], si
mov eax, dword [ecx + 0x38]
mov esi, dword [ebx + 8]
mov word [eax + 0x14], di
mov edi, ecx
mov ecx, dword [ebx + 0xc]
mov eax, dword [edi + 0x38]
mov word [eax + 0x16], dx
mov edx, esp
mov eax, dword [ebp - 0x20]
add dword [edi + 0x38], 0x18
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
cmp eax, dword [ebp - 0x10]
jl 0x10039137
movss xmm0, dword [ebp - 0x30]
movss xmm1, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
mov ecx, dword [edi + 0x34]
lea esi, [esi + 8]
mov eax, dword [esi - 8]
lea edx, [edx + 0x10]
mov dword [ecx], eax
mov eax, dword [esi - 4]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x34]
mov ecx, dword [ebx + 0x10]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], ecx
mov ecx, dword [edi + 0x34]
mov eax, dword [edx - 0x10]
mov dword [ecx + 0x14], eax
mov eax, dword [edx - 0xc]
mov dword [ecx + 0x18], eax
mov eax, dword [edi + 0x34]
mov ecx, dword [ebp - 0x2c]
movss dword [eax + 0x1c], xmm0
movss dword [eax + 0x20], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x24], ecx
mov ecx, dword [edi + 0x34]
mov eax, dword [edx - 8]
mov dword [ecx + 0x28], eax
mov eax, dword [edx - 4]
mov dword [ecx + 0x2c], eax
mov eax, dword [edi + 0x34]
mov ecx, dword [ebp - 0x2c]
movss dword [eax + 0x30], xmm0
movss dword [eax + 0x34], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x38], ecx
add dword [edi + 0x34], 0x3c
sub dword [ebx + 0xc], 1
jne 0x100392c3
mov eax, dword [ebp - 0x44]
movzx eax, ax
add dword [edi + 0x30], eax
lea esp, [ebp - 0x50]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x14
movss xmm5, dword [ebx + 0x18]
movss xmm1, dword [0x100c4b74]
subss xmm5, dword [0x100c4bc8]
mulss xmm5, xmm1
movss dword [ebx + 0x18], xmm5
movaps xmm6, xmm5
addss xmm6, dword [0x100c4bc8]
movss dword [ebp - 0x34], xmm6
test al, al
jne 0x100394fc
movss xmm1, dword [edx]
movss xmm0, dword [edx + 4]
mov eax, dword [ebp - 0xc]
mulss xmm0, xmm6
mov edi, dword [ebp - 0xc]
mulss xmm1, xmm6
addss xmm0, dword [esi + 4]
addss xmm1, dword [esi]
movss dword [eax + 4], xmm0
movss dword [eax], xmm1
movss xmm1, dword [edx]
movss xmm0, dword [edx + 4]
mulss xmm0, xmm5
mulss xmm1, xmm5
addss xmm0, dword [esi + 4]
addss xmm1, dword [esi]
movss dword [eax + 0xc], xmm0
movss dword [eax + 8], xmm1
movss xmm0, dword [edx]
movss xmm2, dword [esi]
movss xmm1, dword [esi + 4]
mulss xmm0, xmm5
subss xmm2, xmm0
movss xmm0, dword [edx + 4]
mulss xmm0, xmm5
subss xmm1, xmm0
movss dword [eax + 0x10], xmm2
movss dword [eax + 0x14], xmm1
movss xmm0, dword [edx]
movss xmm2, dword [esi]
movss xmm1, dword [esi + 4]
mulss xmm0, xmm6
subss xmm2, xmm0
movss xmm0, dword [edx + 4]
mulss xmm0, xmm6
subss xmm1, xmm0
movss dword [eax + 0x18], xmm2
movss dword [eax + 0x1c], xmm1
movss xmm1, dword [eax - 8]
movss xmm0, dword [eax - 4]
mov eax, ecx
mulss xmm0, xmm6
shl eax, 5
mulss xmm1, xmm6
addss xmm0, dword [esi + ecx*8 - 4]
addss xmm1, dword [esi + ecx*8 - 8]
movss dword [eax + edi - 0x1c], xmm0
movss dword [eax + edi - 0x20], xmm1
movss xmm1, dword [edi - 8]
movss xmm0, dword [edi - 4]
mulss xmm0, xmm5
mulss xmm1, xmm5
addss xmm0, dword [esi + ecx*8 - 4]
addss xmm1, dword [esi + ecx*8 - 8]
movss dword [eax + edi - 0x14], xmm0
movss dword [eax + edi - 0x18], xmm1
movss xmm0, dword [edi - 8]
movss xmm2, dword [esi + ecx*8 - 8]
movss xmm1, dword [esi + ecx*8 - 4]
mulss xmm0, xmm5
subss xmm2, xmm0
movss xmm0, dword [edi - 4]
mulss xmm0, xmm5
subss xmm1, xmm0
movss dword [eax + edi - 0x10], xmm2
movaps xmm0, xmm6
movss dword [eax + edi - 0xc], xmm1
mulss xmm0, dword [edi - 8]
movss xmm2, dword [esi + ecx*8 - 8]
movss xmm1, dword [esi + ecx*8 - 4]
subss xmm2, xmm0
movss xmm0, dword [edi - 4]
mulss xmm0, xmm6
subss xmm1, xmm0
movss dword [eax + edi - 8], xmm2
movss dword [eax + edi - 4], xmm1
movss xmm1, dword [0x100c4b74]
mov edi, dword [ebp - 8]
jmp 0x10039501
movss dword [ebp - 0x34], xmm6
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x10], eax
jle 0x1003973d
inc eax
mov dword [ebp - 0x14], eax
xor eax, eax
cmp dword [ebp - 0x14], ecx
cmovne eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
jne 0x1003952c
mov ecx, dword [edi + 0x30]
jmp 0x10039532
mov ecx, dword [ebp - 0x28]
add ecx, 4
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x20], ecx
lea ecx, [eax*8]
movss xmm4, dword [ecx + edx + 4]
mov dword [ebp - 0x40], ecx
movss xmm3, dword [edx + edi*8]
addss xmm4, dword [edx + edi*8 + 4]
addss xmm3, dword [ecx + edx]
mov edi, dword [ebp - 8]
mulss xmm4, xmm1
mulss xmm3, xmm1
movaps xmm0, xmm4
movss dword [ebp - 0x24], xmm4
mulss xmm0, xmm4
movaps xmm1, xmm3
movss dword [ebp - 0x38], xmm3
mulss xmm1, xmm3
addss xmm0, xmm1
comiss xmm0, dword [0x100c4ae8]
jbe 0x100395ca
call fcn.100029b0
movss xmm1, dword [0x100c4bc8]
divss xmm1, xmm0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
movss xmm2, dword [0x100c4d20]
movss xmm3, dword [ebp - 0x38]
minss xmm2, xmm1
movss xmm4, dword [ebp - 0x24]
movss xmm5, dword [ebx + 0x18]
movss xmm6, dword [ebp - 0x34]
movaps xmm0, xmm2
mulss xmm4, xmm2
mulss xmm3, xmm0
movss xmm0, dword [ecx + esi]
movaps xmm1, xmm6
shl eax, 5
movaps xmm2, xmm6
add eax, dword [ebp - 0xc]
mulss xmm1, xmm3
mulss xmm2, xmm4
addss xmm0, xmm1
mulss xmm3, xmm5
mulss xmm4, xmm5
movss dword [eax], xmm0
movss xmm0, dword [ecx + esi + 4]
addss xmm0, xmm2
movss dword [eax + 4], xmm0
movss xmm0, dword [ecx + esi]
addss xmm0, xmm3
movss dword [eax + 8], xmm0
movss xmm0, dword [ecx + esi + 4]
addss xmm0, xmm4
movss dword [eax + 0xc], xmm0
movss xmm0, dword [ecx + esi]
subss xmm0, xmm3
movss dword [eax + 0x10], xmm0
movss xmm0, dword [ecx + esi + 4]
subss xmm0, xmm4
movss dword [eax + 0x14], xmm0
movss xmm0, dword [ecx + esi]
subss xmm0, xmm1
movss dword [eax + 0x18], xmm0
movss xmm0, dword [ecx + esi + 4]
subss xmm0, xmm2
movss dword [eax + 0x1c], xmm0
mov eax, dword [ebp - 0x20]
movzx eax, ax
mov dword [ebp - 0x24], eax
lea esi, [eax + 1]
mov eax, dword [edi + 0x38]
mov word [eax], si
mov eax, dword [ebp - 0x28]
movzx edi, ax
mov eax, dword [ebp - 8]
lea ecx, [edi + 1]
mov eax, dword [eax + 0x38]
lea edx, [edi + 2]
mov word [eax + 2], cx
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x38]
mov word [eax + 4], dx
mov eax, dword [ecx + 0x38]
mov word [eax + 6], dx
mov eax, dword [ecx + 0x38]
mov edx, dword [ebp - 0x24]
add edx, 2
mov word [eax + 8], dx
mov edx, ecx
lea ecx, [edi + 1]
mov eax, dword [edx + 0x38]
mov word [eax + 0xa], si
mov eax, dword [edx + 0x38]
mov word [eax + 0xc], si
mov eax, dword [edx + 0x38]
mov word [eax + 0xe], cx
mov eax, dword [edx + 0x38]
mov ecx, dword [ebp - 0x24]
mov word [eax + 0x10], di
mov eax, dword [edx + 0x38]
mov word [eax + 0x12], di
mov eax, dword [edx + 0x38]
mov word [eax + 0x14], cx
mov eax, dword [edx + 0x38]
mov word [eax + 0x16], si
lea esi, [ecx + 2]
mov eax, dword [edx + 0x38]
lea ecx, [edi + 3]
mov word [eax + 0x18], si
mov eax, dword [edx + 0x38]
lea edx, [edi + 2]
mov edi, dword [ebp - 8]
mov word [eax + 0x1a], dx
mov eax, dword [edi + 0x38]
mov word [eax + 0x1c], cx
mov eax, dword [edi + 0x38]
mov edx, esp
movss xmm1, dword [0x100c4b74]
mov word [eax + 0x1e], cx
mov eax, dword [edi + 0x38]
mov ecx, dword [ebp - 0x24]
add ecx, 3
mov word [eax + 0x20], cx
mov eax, dword [edi + 0x38]
mov ecx, dword [ebx + 0xc]
mov word [eax + 0x22], si
mov eax, dword [ebp - 0x20]
add dword [edi + 0x38], 0x24
mov esi, dword [ebx + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
cmp eax, dword [ebp - 0x10]
jl 0x10039515
mov edx, dword [ebp - 0xc]
movss xmm0, dword [ebp - 0x30]
add edx, 0x10
movss xmm1, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x2c]
mov ecx, dword [edi + 0x34]
lea edx, [edx + 0x20]
mov eax, dword [edx - 0x30]
mov dword [ecx], eax
mov eax, dword [edx - 0x2c]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], esi
mov ecx, dword [edi + 0x34]
mov eax, dword [edx - 0x28]
mov dword [ecx + 0x14], eax
mov eax, dword [edx - 0x24]
mov dword [ecx + 0x18], eax
mov eax, dword [edi + 0x34]
mov ecx, dword [ebx + 0x10]
movss dword [eax + 0x1c], xmm0
movss dword [eax + 0x20], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x24], ecx
mov ecx, dword [edi + 0x34]
mov eax, dword [edx - 0x20]
mov dword [ecx + 0x28], eax
mov eax, dword [edx - 0x1c]
mov dword [ecx + 0x2c], eax
mov eax, dword [edi + 0x34]
mov ecx, dword [ebx + 0x10]
movss dword [eax + 0x30], xmm0
movss dword [eax + 0x34], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x38], ecx
mov ecx, dword [edi + 0x34]
mov eax, dword [edx - 0x18]
mov dword [ecx + 0x3c], eax
mov eax, dword [edx - 0x14]
mov dword [ecx + 0x40], eax
mov eax, dword [edi + 0x34]
movss dword [eax + 0x44], xmm0
movss dword [eax + 0x48], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x4c], esi
add dword [edi + 0x34], 0x50
sub dword [ebx + 0xc], 1
jne 0x10039750
mov eax, dword [ebp - 0x44]
movzx eax, ax
add dword [edi + 0x30], eax
lea esp, [ebp - 0x50]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x14
lea eax, [edx*4]
mov ecx, edi
push eax
lea eax, [edx + edx*2]
add eax, eax
push eax
call fcn.10038d50
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x10], eax
jle 0x10039a24
movss xmm5, dword [ebx + 0x18]
xorps xmm6, xmm6
mulss xmm5, dword [0x100c4b74]
movss xmm4, dword [ebp - 0x1c]
movss dword [ebx + 0x18], xmm5
lea ecx, [eax + 1]
xor edx, edx
cmp ecx, esi
mov dword [ebp - 0x38], ecx
cmovne edx, ecx
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x3c], edx
movss xmm0, dword [ecx + edx*8]
movss xmm3, dword [ecx + edx*8 + 4]
subss xmm0, dword [ecx + eax*8]
subss xmm3, dword [ecx + eax*8 + 4]
movaps xmm1, xmm0
movss dword [ebp - 0x44], xmm0
movaps xmm2, xmm3
mulss xmm1, xmm0
mulss xmm2, xmm3
movss dword [ebp - 0x40], xmm3
addss xmm2, xmm1
comiss xmm2, xmm6
jbe 0x100398c7
movaps xmm0, xmm2
call fcn.100029b0
movss xmm1, dword [0x100c4bc8]
xorps xmm6, xmm6
divss xmm1, xmm0
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x18]
movss xmm3, dword [ebp - 0x40]
movss xmm4, dword [ebp - 0x1c]
movaps xmm0, xmm1
mulss xmm0, dword [ebp - 0x44]
movss xmm5, dword [ebx + 0x18]
mulss xmm3, xmm1
movaps xmm1, xmm5
mov esi, dword [ebx + 0x10]
mulss xmm1, xmm3
movaps xmm2, xmm5
mulss xmm2, xmm0
movss xmm3, dword [ebp - 0x30]
movaps xmm0, xmm1
addss xmm0, dword [ecx + eax*8]
mov eax, dword [edi + 0x34]
movss dword [eax], xmm0
mov eax, dword [ebp - 0x18]
movss xmm0, dword [ecx + eax*8 + 4]
mov eax, dword [edi + 0x34]
subss xmm0, xmm2
movss dword [eax + 4], xmm0
movaps xmm0, xmm1
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm3
movss dword [eax + 0xc], xmm4
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], esi
addss xmm0, dword [ecx + edx*8]
mov eax, dword [edi + 0x34]
movss dword [eax + 0x14], xmm0
movss xmm0, dword [ecx + edx*8 + 4]
mov eax, dword [edi + 0x34]
subss xmm0, xmm2
movss dword [eax + 0x18], xmm0
mov eax, dword [edi + 0x34]
movss dword [eax + 0x1c], xmm3
movss dword [eax + 0x20], xmm4
mov eax, dword [edi + 0x34]
mov dword [eax + 0x24], esi
movss xmm0, dword [ecx + edx*8]
mov eax, dword [edi + 0x34]
subss xmm0, xmm1
movss dword [eax + 0x28], xmm0
movaps xmm0, xmm2
addss xmm0, dword [ecx + edx*8 + 4]
mov eax, dword [edi + 0x34]
mov edx, esi
movss dword [eax + 0x2c], xmm0
mov eax, dword [edi + 0x34]
movss dword [eax + 0x30], xmm3
movss dword [eax + 0x34], xmm4
mov eax, dword [edi + 0x34]
mov dword [eax + 0x38], edx
mov eax, dword [edi + 0x34]
mov edx, dword [ebp - 0x18]
movss xmm0, dword [ecx + edx*8]
subss xmm0, xmm1
movss dword [eax + 0x3c], xmm0
addss xmm2, dword [ecx + edx*8 + 4]
mov eax, dword [edi + 0x34]
mov ecx, esi
movss dword [eax + 0x40], xmm2
mov eax, dword [edi + 0x34]
movss dword [eax + 0x44], xmm3
movss dword [eax + 0x48], xmm4
mov eax, dword [edi + 0x34]
mov dword [eax + 0x4c], ecx
mov ecx, dword [edi + 0x38]
movzx eax, word [edi + 0x30]
add dword [edi + 0x34], 0x50
mov word [ecx], ax
movzx ecx, word [edi + 0x30]
mov eax, dword [edi + 0x38]
inc cx
mov word [eax + 2], cx
movzx ecx, word [edi + 0x30]
mov eax, dword [edi + 0x38]
add cx, 2
mov word [eax + 4], cx
mov ecx, dword [edi + 0x38]
movzx eax, word [edi + 0x30]
mov word [ecx + 6], ax
movzx ecx, word [edi + 0x30]
mov eax, dword [edi + 0x38]
add cx, 2
mov word [eax + 8], cx
movzx ecx, word [edi + 0x30]
mov eax, dword [edi + 0x38]
add cx, 3
mov esi, dword [ebx + 0xc]
mov word [eax + 0xa], cx
mov eax, dword [ebp - 0x38]
add dword [edi + 0x38], 0xc
add dword [edi + 0x30], 4
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp - 0x10]
jl 0x10039842
lea esp, [ebp - 0x50]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x14