Function at 0x1001e994
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x10045040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 2
mov edi, ecx
mov ecx, dword [ebx + 0xc]
pop eax
mov dword [ebp - 0x10], edi
cmp ecx, eax
jl 0x1001f427
cmp byte [ebx + 0x14], 0
lea esi, [ecx - 1]
movss xmm0, dword [ebx + 0x18]
mov eax, dword [edi + 0x28]
cmovne esi, ecx
comiss xmm0, dword [0x1004164c]
mov dword [ebp - 0x2c], esi
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
seta dl
test byte [edi + 0x24], 1
mov byte [ebp - 0x2d], dl
je 0x1001f219
mov eax, dword [ebx + 0x10]
and eax, 0xffffff
movzx esi, dl
mov dword [ebp - 0x40], eax
lea eax, [esi + 3]
imul eax, ecx
test dl, dl
push eax
push 0xc
pop ecx
push 0x12
mov dword [ebp - 0x38], eax
pop eax
cmovne ecx, eax
imul ecx, dword [ebp - 0x2c]
push ecx
mov ecx, edi
call fcn.1001e6a3
shl esi, 4
lea eax, [esi + 0x18]
imul eax, dword [ebx + 0xc]
call fcn.10035d20
mov esi, dword [ebx + 0xc]
mov eax, esp
xor ecx, ecx
cmp dword [ebp - 0x2c], ecx
mov dword [ebp - 0x3c], ecx
lea edx, [eax + esi*8]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x34], ecx
jle 0x1001eb0a
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
and dword [ebp - 0xc], 0
lea eax, [edx + 1]
cmp eax, esi
mov dword [ebp - 0x14], eax
cmove eax, dword [ebp - 0xc]
movss xmm2, dword [ecx + eax*8]
movss xmm1, dword [ecx + eax*8 + 4]
subss xmm2, dword [ecx + edx*8]
subss xmm1, dword [ecx + edx*8 + 4]
movaps xmm0, xmm2
movss dword [ebp - 0xc], xmm2
movaps xmm3, xmm1
mulss xmm0, xmm2
mulss xmm3, xmm1
movss dword [ebp - 0x1c], xmm1
addss xmm3, xmm0
comiss xmm3, dword [0x100415d8]
jbe 0x1001eae2
cvtps2pd xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
movss xmm1, dword [0x1004164c]
cvtsd2ss xmm0, xmm0
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 0x18]
movss xmm2, dword [ebp - 0xc]
divss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm1, dword [ebp - 0x1c]
mulss xmm2, xmm0
xorps xmm2, xmmword [0x100418a0]
mov eax, esp
movss dword [eax + edx*8], xmm1
movss dword [eax + edx*8 + 4], xmm2
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
cmp edx, edi
jl 0x1001ea68
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x20]
mov cl, byte [ebx + 0x14]
test cl, cl
jne 0x1001eb24
mov eax, dword [eax + esi*8 - 0x10]
mov ecx, esp
mov dword [edx - 8], eax
mov ecx, dword [ecx + esi*8 - 0xc]
mov dword [edx - 4], ecx
mov cl, byte [ebx + 0x14]
cmp byte [ebp - 0x2d], 0
jne 0x1001edc2
test cl, cl
jne 0x1001ebba
mov ecx, dword [ebx + 8]
mov eax, esp
movss xmm1, dword [eax]
addss xmm1, dword [ecx]
movss xmm0, dword [eax + 4]
addss xmm0, dword [ecx + 4]
movss dword [edx], xmm1
movss dword [edx + 4], xmm0
movss xmm1, dword [ecx]
subss xmm1, dword [eax]
movss xmm0, dword [ecx + 4]
subss xmm0, dword [eax + 4]
mov eax, esi
add eax, eax
movss dword [edx + 8], xmm1
movss dword [edx + 0xc], xmm0
movss xmm1, dword [ecx + esi*8 - 8]
movss xmm0, dword [ecx + esi*8 - 4]
addss xmm1, dword [edx - 8]
addss xmm0, dword [edx - 4]
movss dword [edx + eax*8 - 0x10], xmm1
movss dword [edx + eax*8 - 0xc], xmm0
movss xmm1, dword [ecx + esi*8 - 8]
movss xmm0, dword [ecx + esi*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
cmp dword [ebp - 0x2c], 0
mov eax, dword [edi + 0x34]
mov dword [ebp - 0xc], eax
jle 0x1001ed28
movss xmm5, dword [0x1004161c]
xor eax, eax
and dword [ebp - 0x1c], 0
lea ecx, [eax + 1]
cmp ecx, esi
mov dword [ebp - 0x14], ecx
mov eax, ecx
cmove eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
jne 0x1001ebf0
mov eax, dword [edi + 0x34]
jmp 0x1001ebf6
mov eax, dword [ebp - 0xc]
add eax, 3
mov ecx, dword [ebp - 0x3c]
mov esi, esp
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, edi
movss xmm4, dword [0x1004164c]
movss xmm2, dword [esi + ecx*8 + 4]
shl edi, 4
movss xmm3, dword [esi + eax*8]
add edi, edx
addss xmm2, dword [esi + eax*8 + 4]
addss xmm3, dword [esi + ecx*8]
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 0x10]
mulss xmm2, xmm5
mulss xmm3, xmm5
movaps xmm1, xmm2
mulss xmm1, xmm2
movaps xmm0, xmm3
mulss xmm0, xmm3
addss xmm1, xmm0
movaps xmm0, xmm5
maxss xmm0, xmm1
divss xmm4, xmm0
movaps xmm1, xmm4
mulss xmm4, xmm2
mulss xmm1, xmm3
movaps xmm0, xmm1
addss xmm0, dword [ecx + eax*8]
movss dword [edi], xmm0
movaps xmm0, xmm4
addss xmm0, dword [ecx + eax*8 + 4]
movss dword [edi + 4], xmm0
movss xmm0, dword [ecx + eax*8]
subss xmm0, xmm1
movss dword [edi + 8], xmm0
movss xmm0, dword [ecx + eax*8 + 4]
mov eax, dword [ebp - 0x18]
subss xmm0, xmm4
movss dword [edi + 0xc], xmm0
movzx edi, ax
mov eax, dword [edx + 0x3c]
mov word [eax], di
mov eax, dword [ebp - 0xc]
movzx esi, ax
mov eax, dword [edx + 0x3c]
lea ecx, [esi + 2]
mov word [eax + 2], si
mov eax, dword [edx + 0x3c]
mov word [eax + 4], cx
mov eax, dword [edx + 0x3c]
mov word [eax + 6], cx
lea ecx, [edi + 2]
mov eax, dword [edx + 0x3c]
mov word [eax + 8], cx
lea ecx, [esi + 1]
mov eax, dword [edx + 0x3c]
lea edx, [edi + 1]
mov word [eax + 0xa], di
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
mov word [eax + 0xc], dx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
mov word [eax + 0xe], cx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x3c]
mov word [eax + 0x10], si
mov eax, dword [ecx + 0x3c]
mov word [eax + 0x12], si
mov eax, dword [ecx + 0x3c]
mov word [eax + 0x14], di
mov edi, ecx
mov eax, dword [edi + 0x3c]
mov word [eax + 0x16], dx
mov eax, dword [ebp - 0x18]
add dword [edi + 0x3c], 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
mov esi, dword [ebx + 0xc]
mov edx, dword [ebp - 0x20]
jl 0x1001ebd4
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [edi + 0x38]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [edi + 0x38]
mov ecx, dword [ebp - 0x24]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x28]
mov dword [eax + 0xc], ecx
mov eax, dword [edi + 0x38]
mov ecx, dword [ebx + 0x10]
mov dword [eax + 0x10], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [edi + 0x38]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x18], edx
mov eax, dword [edi + 0x38]
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebp - 0x28]
mov dword [eax + 0x20], ecx
mov eax, dword [edi + 0x38]
mov ecx, dword [ebp - 0x40]
mov dword [eax + 0x24], ecx
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x20], 0x10
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov eax, dword [edi + 0x38]
mov dword [eax + 0x28], ecx
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x2c], edx
mov eax, dword [edi + 0x38]
mov dword [eax + 0x30], ecx
mov ecx, dword [ebp - 0x28]
mov dword [eax + 0x34], ecx
mov eax, dword [edi + 0x38]
mov ecx, dword [ebp - 0x40]
mov dword [eax + 0x38], ecx
mov eax, dword [ebp - 0x34]
add dword [edi + 0x38], 0x3c
add eax, 8
mov dword [ebp - 0x34], eax
sub esi, 1
jne 0x1001ed2b
jmp 0x1001f20b
movss xmm6, dword [ebx + 0x18]
test cl, cl
movss xmm4, dword [0x1004164c]
movss xmm5, dword [0x1004161c]
subss xmm6, xmm4
mov ecx, dword [ebx + 8]
mulss xmm6, xmm5
movaps xmm7, xmm6
addss xmm7, xmm4
jne 0x1001ef4c
mov eax, esp
movaps xmm0, xmm7
movaps xmm1, xmm7
mov edi, esp
mulss xmm0, dword [eax + 4]
mulss xmm1, dword [eax]
addss xmm0, dword [ecx + 4]
addss xmm1, dword [ecx]
movss dword [edx + 4], xmm0
movaps xmm0, xmm6
movss dword [edx], xmm1
movaps xmm1, xmm6
mulss xmm0, dword [eax + 4]
mulss xmm1, dword [eax]
addss xmm0, dword [ecx + 4]
addss xmm1, dword [ecx]
movss dword [edx + 0xc], xmm0
movaps xmm0, xmm6
movss dword [edx + 8], xmm1
mulss xmm0, dword [eax]
movss xmm2, dword [ecx]
movss xmm1, dword [ecx + 4]
subss xmm2, xmm0
movaps xmm0, xmm6
mulss xmm0, dword [eax + 4]
subss xmm1, xmm0
movss dword [edx + 0x10], xmm2
movaps xmm0, xmm7
movss dword [edx + 0x14], xmm1
mulss xmm0, dword [eax]
movss xmm2, dword [ecx]
movss xmm1, dword [ecx + 4]
subss xmm2, xmm0
movaps xmm0, xmm7
mulss xmm0, dword [eax + 4]
subss xmm1, xmm0
movss dword [edx + 0x18], xmm2
movaps xmm0, xmm7
movss dword [edx + 0x1c], xmm1
movaps xmm1, xmm7
mulss xmm0, dword [eax + esi*8 - 4]
mulss xmm1, dword [eax + esi*8 - 8]
mov eax, esi
shl eax, 5
addss xmm0, dword [ecx + esi*8 - 4]
addss xmm1, dword [ecx + esi*8 - 8]
movss dword [eax + edx - 0x1c], xmm0
movaps xmm0, xmm6
movss dword [eax + edx - 0x20], xmm1
movaps xmm1, xmm6
mulss xmm0, dword [edi + esi*8 - 4]
mulss xmm1, dword [edi + esi*8 - 8]
addss xmm0, dword [ecx + esi*8 - 4]
addss xmm1, dword [ecx + esi*8 - 8]
movss dword [eax + edx - 0x14], xmm0
movaps xmm0, xmm6
movss dword [eax + edx - 0x18], xmm1
mulss xmm0, dword [edi + esi*8 - 8]
movss xmm2, dword [ecx + esi*8 - 8]
movss xmm1, dword [ecx + esi*8 - 4]
subss xmm2, xmm0
movaps xmm0, xmm6
mulss xmm0, dword [edi + esi*8 - 4]
subss xmm1, xmm0
movss dword [eax + edx - 0x10], xmm2
movaps xmm0, xmm7
movss dword [eax + edx - 0xc], xmm1
mulss xmm0, dword [edi + esi*8 - 8]
movss xmm2, dword [ecx + esi*8 - 8]
movss xmm1, dword [ecx + esi*8 - 4]
subss xmm2, xmm0
movaps xmm0, xmm7
mulss xmm0, dword [edi + esi*8 - 4]
mov edi, dword [ebp - 0x10]
subss xmm1, xmm0
movss dword [eax + edx - 8], xmm2
movss dword [eax + edx - 4], xmm1
cmp dword [ebp - 0x2c], 0
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x14], eax
jle 0x1001f149
xor eax, eax
and dword [ebp - 0x1c], 0
lea edx, [eax + 1]
cmp edx, esi
mov dword [ebp - 0x34], edx
mov eax, edx
cmove eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
jne 0x1001ef7a
mov edx, dword [edi + 0x34]
jmp 0x1001ef80
mov edx, dword [ebp - 0x14]
add edx, 4
mov dword [ebp - 0x18], edx
mov esi, esp
mov edx, dword [ebp - 0x3c]
movss xmm3, dword [esi + eax*8]
movss xmm2, dword [esi + edx*8 + 4]
addss xmm2, dword [esi + eax*8 + 4]
addss xmm3, dword [esi + edx*8]
mov esi, dword [ebp - 0x1c]
shl esi, 5
add esi, dword [ebp - 0x20]
mulss xmm2, xmm5
mulss xmm3, xmm5
movaps xmm1, xmm2
mulss xmm1, xmm2
movaps xmm0, xmm3
mulss xmm0, xmm3
addss xmm1, xmm0
movaps xmm0, xmm5
movaps xmm5, xmm4
maxss xmm0, xmm1
divss xmm5, xmm0
movaps xmm4, xmm5
mulss xmm5, xmm2
mulss xmm4, xmm3
movaps xmm2, xmm5
mulss xmm5, xmm6
movaps xmm1, xmm4
mulss xmm2, xmm7
mulss xmm1, xmm7
mulss xmm4, xmm6
movaps xmm0, xmm1
addss xmm0, dword [ecx + eax*8]
movss dword [esi], xmm0
movaps xmm0, xmm2
addss xmm0, dword [ecx + eax*8 + 4]
movss dword [esi + 4], xmm0
movaps xmm0, xmm4
addss xmm0, dword [ecx + eax*8]
movss dword [esi + 8], xmm0
movaps xmm0, xmm5
addss xmm0, dword [ecx + eax*8 + 4]
movss dword [esi + 0xc], xmm0
movss xmm0, dword [ecx + eax*8]
subss xmm0, xmm4
movss dword [esi + 0x10], xmm0
movss xmm0, dword [ecx + eax*8 + 4]
subss xmm0, xmm5
movss dword [esi + 0x14], xmm0
movss xmm0, dword [ecx + eax*8]
subss xmm0, xmm1
movss dword [esi + 0x18], xmm0
movss xmm0, dword [ecx + eax*8 + 4]
mov eax, dword [ebp - 0x18]
subss xmm0, xmm2
movzx eax, ax
mov dword [ebp - 0xc], eax
movss dword [esi + 0x1c], xmm0
lea esi, [eax + 1]
mov eax, dword [edi + 0x3c]
mov word [eax], si
mov eax, dword [ebp - 0x14]
movzx edi, ax
mov eax, dword [ebp - 0x10]
lea ecx, [edi + 1]
mov eax, dword [eax + 0x3c]
lea edx, [edi + 2]
mov word [eax + 2], cx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x3c]
mov word [eax + 4], dx
mov eax, dword [ecx + 0x3c]
mov word [eax + 6], dx
mov eax, dword [ecx + 0x3c]
mov edx, dword [ebp - 0xc]
add edx, 2
mov word [eax + 8], dx
mov edx, ecx
mov eax, dword [edx + 0x3c]
mov word [eax + 0xa], si
mov eax, dword [edx + 0x3c]
mov word [eax + 0xc], si
mov eax, dword [edx + 0x3c]
lea ecx, [edi + 1]
movss xmm4, dword [0x1004164c]
movss xmm5, dword [0x1004161c]
mov word [eax + 0xe], cx
mov eax, dword [edx + 0x3c]
mov ecx, dword [ebp - 0xc]
mov word [eax + 0x10], di
mov eax, dword [edx + 0x3c]
mov word [eax + 0x12], di
mov eax, dword [edx + 0x3c]
mov word [eax + 0x14], cx
mov eax, dword [edx + 0x3c]
mov word [eax + 0x16], si
lea esi, [ecx + 2]
mov eax, dword [edx + 0x3c]
lea ecx, [edi + 3]
mov word [eax + 0x18], si
mov eax, dword [edx + 0x3c]
lea edx, [edi + 2]
mov edi, dword [ebp - 0x10]
mov word [eax + 0x1a], dx
mov eax, dword [edi + 0x3c]
mov word [eax + 0x1c], cx
mov eax, dword [edi + 0x3c]
mov word [eax + 0x1e], cx
mov eax, dword [edi + 0x3c]
mov ecx, dword [ebp - 0xc]
add ecx, 3
mov word [eax + 0x20], cx
mov eax, dword [edi + 0x3c]
mov ecx, dword [ebx + 8]
mov word [eax + 0x22], si
mov eax, dword [ebp - 0x18]
add dword [edi + 0x3c], 0x24
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
cmp eax, dword [ebp - 0x2c]
jl 0x1001ef5e
mov eax, dword [ebp - 0x20]
add eax, 0x10
mov dword [ebp - 8], eax
mov ecx, dword [eax - 0x10]
mov edx, dword [eax - 0xc]
mov eax, dword [edi + 0x38]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [edi + 0x38]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 8]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x28]
mov dword [eax + 0xc], ecx
mov eax, dword [edi + 0x38]
mov ecx, dword [ebp - 0x40]
mov dword [eax + 0x10], ecx
mov ecx, dword [edx - 8]
mov eax, dword [edi + 0x38]
mov edx, dword [edx - 4]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], edx
mov eax, dword [edi + 0x38]
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebp - 0x28]
mov dword [eax + 0x20], ecx
mov eax, dword [edi + 0x38]
mov ecx, dword [ebx + 0x10]
mov dword [eax + 0x24], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [edi + 0x38]
mov dword [eax + 0x28], ecx
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x2c], edx
mov eax, dword [edi + 0x38]
mov dword [eax + 0x30], ecx
mov ecx, dword [ebp - 0x28]
mov dword [eax + 0x34], ecx
mov eax, dword [edi + 0x38]
mov ecx, dword [ebx + 0x10]
mov dword [eax + 0x38], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov eax, dword [edi + 0x38]
mov dword [eax + 0x3c], ecx
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x40], edx
mov eax, dword [edi + 0x38]
mov dword [eax + 0x44], ecx
mov ecx, dword [ebp - 0x28]
mov dword [eax + 0x48], ecx
mov eax, dword [edi + 0x38]
mov ecx, dword [ebp - 0x40]
mov dword [eax + 0x4c], ecx
mov eax, dword [ebp - 8]
add dword [edi + 0x38], 0x50
add eax, 0x20
mov dword [ebp - 8], eax
sub esi, 1
jne 0x1001f152
mov eax, dword [ebp - 0x38]
movzx eax, ax
add dword [edi + 0x34], eax
jmp 0x1001f427
mov eax, esi
mov ecx, edi
shl eax, 2
push eax
imul eax, esi, 6
push eax
call fcn.1001e6a3
xor ecx, ecx
test esi, esi
jle 0x1001f427
movss xmm1, dword [ebx + 0x18]
mulss xmm1, dword [0x1004161c]
mov edx, dword [ebp - 0x24]
movss dword [ebx + 0x18], xmm1
mov eax, dword [ebx + 8]
and dword [ebp - 0x38], 0
lea edi, [eax + ecx*8]
inc ecx
cmp ecx, dword [ebx + 0xc]
mov dword [ebp - 0xc], ecx
cmove ecx, dword [ebp - 0x38]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x34], ecx
movss xmm2, dword [eax + ecx*8]
movss xmm3, dword [eax + ecx*8 + 4]
mov eax, edi
subss xmm2, dword [edi]
mov edi, dword [ebp - 0x10]
subss xmm3, dword [eax + 4]
movaps xmm0, xmm2
movss dword [ebp - 0x38], xmm2
mulss xmm0, xmm2
movaps xmm4, xmm3
movss dword [ebp - 0x1c], xmm3
mulss xmm4, xmm3
addss xmm4, xmm0
comiss xmm4, dword [0x100415d8]
jbe 0x1001f2d7
cvtps2pd xmm0, xmm4
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
movss xmm1, dword [0x1004164c]
cvtsd2ss xmm0, xmm0
mov edx, dword [ebp - 0x24]
movss xmm3, dword [ebp - 0x1c]
divss xmm1, xmm0
movss xmm2, dword [ebp - 0x38]
movaps xmm0, xmm1
mulss xmm3, xmm1
movss xmm1, dword [ebx + 0x18]
mulss xmm2, xmm0
mov eax, dword [edi + 0x38]
mov esi, dword [ebp - 0x14]
mulss xmm3, xmm1
mov ecx, dword [ebx + 0x10]
mulss xmm2, xmm1
push 2
movaps xmm0, xmm3
addss xmm0, dword [esi]
movss dword [eax], xmm0
movss xmm0, dword [esi + 4]
mov eax, dword [edi + 0x38]
subss xmm0, xmm2
mov esi, dword [ebp - 0x28]
movss dword [eax + 4], xmm0
movaps xmm0, xmm3
mov eax, dword [edi + 0x38]
mov dword [eax + 8], edx
mov dword [eax + 0xc], esi
mov eax, dword [edi + 0x38]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebx + 8]
addss xmm0, dword [eax + ecx*8]
mov eax, dword [edi + 0x38]
movss dword [eax + 0x14], xmm0
mov eax, dword [ebx + 8]
movss xmm0, dword [eax + ecx*8 + 4]
mov eax, dword [edi + 0x38]
subss xmm0, xmm2
movss dword [eax + 0x18], xmm0
mov eax, dword [edi + 0x38]
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], esi
mov eax, dword [edi + 0x38]
mov esi, dword [ebx + 0x10]
mov dword [eax + 0x24], esi
mov eax, dword [edi + 0x38]
mov esi, dword [ebx + 8]
movss xmm0, dword [esi + ecx*8]
subss xmm0, xmm3
movss dword [eax + 0x28], xmm0
movaps xmm0, xmm2
addss xmm0, dword [esi + ecx*8 + 4]
mov eax, dword [edi + 0x38]
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebx + 0x10]
movss dword [eax + 0x2c], xmm0
mov eax, dword [edi + 0x38]
mov dword [eax + 0x30], edx
mov dword [eax + 0x34], ecx
mov eax, dword [edi + 0x38]
mov dword [eax + 0x38], esi
mov esi, dword [ebp - 0x14]
mov eax, dword [edi + 0x38]
movss xmm0, dword [esi]
subss xmm0, xmm3
movss dword [eax + 0x3c], xmm0
addss xmm2, dword [esi + 4]
mov eax, dword [edi + 0x38]
pop esi
movss dword [eax + 0x40], xmm2
mov eax, dword [edi + 0x38]
mov dword [eax + 0x44], edx
mov dword [eax + 0x48], ecx
mov eax, dword [edi + 0x38]
mov ecx, dword [ebx + 0x10]
mov dword [eax + 0x4c], ecx
mov ecx, dword [edi + 0x3c]
add dword [edi + 0x38], 0x50
mov ax, word [edi + 0x34]
mov word [ecx], ax
mov cx, word [edi + 0x34]
mov eax, dword [edi + 0x3c]
inc cx
mov word [eax + 2], cx
mov cx, word [edi + 0x34]
mov eax, dword [edi + 0x3c]
add cx, si
mov word [eax + 4], cx
mov ecx, dword [edi + 0x3c]
mov ax, word [edi + 0x34]
mov word [ecx + 6], ax
mov cx, word [edi + 0x34]
mov eax, dword [edi + 0x3c]
add cx, si
mov word [eax + 8], cx
mov cx, word [edi + 0x34]
mov eax, dword [edi + 0x3c]
add cx, 3
mov word [eax + 0xa], cx
add dword [edi + 0x3c], 0xc
add dword [edi + 0x34], 4
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x2c]
jl 0x1001f249
lea esp, [ebp - 0x48]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10034bf9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x14