Function at 0x1002b1a0
Capabilities:
Encode data using xor
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, 0x40
mov dword [ebp - 8], ecx
mov ecx, dword [ebx + 0xc]
push esi
push edi
cmp ecx, 2
jb 0x1002bbd8
movss xmm0, dword [ebx + 0x14]
comiss xmm0, dword [0x1026bac0]
mov eax, dword [ebx + 0x10]
mov esi, eax
mov dword [ebp - 0x2c], eax
seta dl
shr esi, 8
mov dword [ebp - 0x30], esi
movzx esi, dl
shr eax, 0x10
mov dword [ebp - 0x34], eax
lea eax, [ecx - 1]
mov byte [ebp - 1], dl
lea edi, [esi + 3]
mov dword [ebp - 0x20], eax
imul edi, ecx
test dl, dl
mov ecx, 0x12
push edi
mov dword [ebp - 0x38], edi
mov edi, 0xc
cmove ecx, edi
mov edi, dword [ebp - 8]
imul ecx, eax
push ecx
mov ecx, edi
call fcn.1002cc10
shl esi, 4
lea eax, [esi + 0x18]
imul eax, dword [ebx + 0xc]
call fcn.101e2dc0
mov edx, dword [ebx + 0xc]
mov ecx, esp
xor eax, eax
mov dword [ebp - 0x24], eax
lea esi, [ecx + edx*8]
mov dword [ebp - 0x10], esi
cmp dword [ebp - 0x20], eax
jbe 0x1002b2e5
mov edi, dword [ebx + 8]
nop dword [eax + eax]
lea esi, [eax + 1]
xor eax, eax
cmp esi, edx
cmovne eax, esi
movss xmm1, dword [edi + eax*8 + 4]
movss xmm2, dword [edi + eax*8]
mov eax, dword [ebp - 0x24]
subss xmm1, dword [edi + eax*8 + 4]
subss xmm2, dword [edi + eax*8]
movaps xmm0, xmm1
movss dword [ebp - 0x1c], xmm1
mulss xmm0, xmm1
movaps xmm1, xmm2
mulss xmm1, xmm2
movss dword [ebp - 0x28], xmm2
addss xmm0, xmm1
call fcn.10006eb0
movss xmm4, dword [0x1026bac0]
mov ecx, esp
movaps xmm1, xmm4
movss xmm2, dword [ebp - 0x28]
divss xmm1, xmm0
mov eax, dword [ebp - 0x24]
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x24], esi
movss xmm0, dword [ebp - 0x1c]
mulss xmm2, xmm1
mulss xmm0, xmm1
xorps xmm2, xmmword [0x1026c420]
movss dword [ecx + eax*8 + 4], xmm2
movss dword [ecx + eax*8], xmm0
mov eax, esi
cmp eax, dword [ebp - 0x20]
jb 0x1002b250
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
jmp 0x1002b2ed
movss xmm4, dword [0x1026bac0]
cmp byte [ebp - 1], 0
mov eax, dword [ecx + edx*8 - 0x10]
mov ecx, dword [ecx + edx*8 - 0xc]
mov dword [esi - 8], eax
mov eax, esp
mov dword [esi - 4], ecx
mov ecx, dword [ebx + 8]
jne 0x1002b660
movss xmm0, dword [ecx]
addss xmm0, dword [eax]
movss xmm1, dword [ecx + 4]
addss xmm1, dword [eax + 4]
movss dword [esi], xmm0
movss dword [esi + 4], xmm1
movss xmm0, dword [ecx]
subss xmm0, dword [eax]
movss xmm1, dword [ecx + 4]
subss xmm1, dword [eax + 4]
mov eax, edx
add eax, eax
movss dword [esi + 8], xmm0
movss dword [esi + 0xc], xmm1
movss xmm0, dword [ecx + edx*8 - 8]
movss xmm1, dword [ecx + edx*8 - 4]
addss xmm0, dword [esi - 8]
addss xmm1, dword [esi - 4]
movss dword [esi + eax*8 - 0x10], xmm0
movss dword [esi + eax*8 - 0xc], xmm1
movss xmm0, dword [ecx + edx*8 - 8]
movss xmm1, dword [ecx + edx*8 - 4]
subss xmm0, dword [esi - 8]
subss xmm1, dword [esi - 4]
movss dword [esi + eax*8 - 8], xmm0
movss dword [esi + eax*8 - 4], xmm1
mov eax, dword [edi + 0x64]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], eax
jbe 0x1002b501
movss xmm6, dword [0x1026ba54]
lea ecx, [eax + 1]
xor eax, eax
cmp ecx, edx
mov dword [ebp - 0x18], ecx
cmovne eax, ecx
mov dword [ebp - 0x28], eax
jne 0x1002b3bc
mov ecx, dword [edi + 0x64]
jmp 0x1002b3c2
mov ecx, dword [ebp - 0x14]
add ecx, 3
mov edi, dword [ebp - 0x1c]
movaps xmm5, xmm4
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x24], ecx
mov ecx, esp
lea eax, [edx*8]
shl edx, 4
movss xmm2, dword [ecx + edi*8]
add edx, esi
addss xmm2, dword [eax + ecx]
movss xmm3, dword [ecx + edi*8 + 4]
addss xmm3, dword [eax + ecx + 4]
mov ecx, dword [ebx + 8]
mov edi, dword [ebp - 8]
mulss xmm2, xmm6
mulss xmm3, xmm6
movaps xmm0, xmm2
mulss xmm0, xmm2
movaps xmm1, xmm3
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm6
maxss xmm0, xmm1
movss xmm1, dword [eax + ecx]
divss xmm5, xmm0
movss xmm0, dword [eax + ecx + 4]
movaps xmm4, xmm5
mulss xmm5, xmm3
mulss xmm4, xmm2
addss xmm0, xmm5
addss xmm1, xmm4
movss dword [edx + 4], xmm0
movss dword [edx], xmm1
movss xmm0, dword [eax + ecx]
movss xmm1, dword [eax + ecx + 4]
subss xmm0, xmm4
mov ecx, dword [ebp - 0x14]
subss xmm1, xmm5
movss dword [edx + 8], xmm0
movss dword [edx + 0xc], xmm1
mov eax, dword [edi + 0x60]
mov edx, dword [ebp - 0x24]
mov dword [eax], edx
add dword [edi + 0x60], 4
mov eax, dword [edi + 0x60]
mov dword [eax], ecx
add ecx, 2
add dword [edi + 0x60], 4
mov eax, dword [edi + 0x60]
mov dword [eax], ecx
add dword [edi + 0x60], 4
mov eax, dword [edi + 0x60]
mov dword [eax], ecx
lea eax, [edx + 2]
add dword [edi + 0x60], 4
mov ecx, dword [edi + 0x60]
mov dword [ecx], eax
add dword [edi + 0x60], 4
mov eax, dword [edi + 0x60]
mov dword [eax], edx
inc edx
add dword [edi + 0x60], 4
mov eax, dword [edi + 0x60]
mov dword [eax], edx
add dword [edi + 0x60], 4
mov ecx, dword [edi + 0x60]
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ecx], eax
add dword [edi + 0x60], 4
mov eax, dword [edi + 0x60]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
add dword [edi + 0x60], 4
mov eax, dword [edi + 0x60]
mov dword [eax], ecx
add dword [edi + 0x60], 4
mov eax, dword [edi + 0x60]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
add dword [edi + 0x60], 4
mov eax, dword [edi + 0x60]
movss xmm4, dword [0x1026bac0]
mov dword [ebp - 0x14], ecx
mov dword [eax], edx
mov eax, dword [ebp - 0x18]
add dword [edi + 0x60], 4
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebp - 0x20]
jb 0x1002b3a5
mov eax, dword [ebp - 0x2c]
movzx ecx, al
mov eax, dword [ebp - 0x30]
mov edi, dword [ebx + 8]
shl ecx, 8
movzx eax, al
or ecx, eax
mov eax, dword [ebp - 0x34]
shl ecx, 8
movzx eax, al
or ecx, eax
mov edx, ecx
mov dword [ebp - 0x24], ecx
shl edx, 8
mov ecx, edx
mov byte [ebp - 0x1d], dl
shr ecx, 0x18
mov eax, edx
mov dword [ebp - 0x34], ecx
mov byte [ebp - 0x20], cl
mov ecx, dword [ebp - 0x24]
shr eax, 0x10
mov byte [ebp - 0x1f], al
mov byte [ebp - 0x1e], cl
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 0x1b], al
mov eax, dword [ebp - 0x24]
mov byte [ebp - 0x1c], cl
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 0x1a], al
mov byte [ebp - 0x19], dl
mov edx, dword [ebp - 0x1c]
nop dword [eax]
mov eax, dword [ebx + 0x10]
movzx esi, al
movzx eax, ah
shl esi, 8
or esi, eax
movzx eax, byte [ebx + 0x12]
mov dword [ebp - 0xc], esi
mov esi, dword [edi]
mov edi, dword [edi + 4]
shl dword [ebp - 0xc], 8
or dword [ebp - 0xc], eax
movzx eax, byte [ebx + 0x13]
shl dword [ebp - 0xc], 8
or dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x5c]
mov dword [eax], esi
mov dword [eax + 4], edi
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov eax, dword [edi + 0x5c]
mov dword [eax + 8], 0x3f800000
mov dword [eax + 0xc], 0x3f800000
mov eax, esi
shr eax, 0x18
mov byte [ebp - 0x20], al
mov eax, esi
shr eax, 0x10
mov byte [ebp - 0x1f], al
mov eax, esi
shr eax, 8
mov byte [ebp - 0x1e], al
mov eax, esi
mov esi, dword [edi + 0x5c]
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x10], eax
add dword [edi + 0x5c], 0x14
mov edi, dword [edi + 0x5c]
mov esi, dword [ebp - 0x10]
mov eax, dword [esi]
mov esi, dword [esi + 4]
mov dword [edi], eax
mov dword [edi + 4], esi
mov esi, dword [ebp - 8]
mov eax, dword [esi + 0x5c]
mov dword [eax + 8], 0x3f800000
mov dword [eax + 0xc], 0x3f800000
mov eax, dword [esi + 0x5c]
mov dword [eax + 0x10], ecx
add dword [esi + 0x5c], 0x14
mov edi, dword [esi + 0x5c]
mov esi, dword [ebp - 0x10]
add dword [ebp - 0x10], 0x10
mov eax, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov dword [edi], eax
mov dword [edi + 4], esi
mov esi, dword [ebp - 8]
mov edi, dword [ebx + 8]
add edi, 8
mov dword [ebx + 8], edi
mov eax, dword [esi + 0x5c]
mov dword [eax + 8], 0x3f800000
mov dword [eax + 0xc], 0x3f800000
mov eax, dword [esi + 0x5c]
mov dword [eax + 0x10], edx
add dword [esi + 0x5c], 0x14
sub dword [ebx + 0xc], 1
jne 0x1002b560
mov eax, dword [ebp - 0x38]
add dword [esi + 0x64], eax
lea esp, [ebp - 0x48]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x14
movss xmm6, dword [ebx + 0x14]
movss xmm7, dword [0x1026ba54]
subss xmm6, xmm4
mulss xmm6, xmm7
movaps xmm5, xmm6
addss xmm5, xmm4
movaps xmm1, xmm5
movss dword [ebp - 0x40], xmm5
mulss xmm1, dword [eax]
movaps xmm0, xmm5
mulss xmm0, dword [eax + 4]
addss xmm1, dword [ecx]
addss xmm0, dword [ecx + 4]
movss dword [esi], xmm1
movss dword [esi + 4], xmm0
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mulss xmm0, xmm6
mulss xmm1, xmm6
addss xmm0, dword [ecx]
addss xmm1, dword [ecx + 4]
movss dword [esi + 8], xmm0
movss dword [esi + 0xc], xmm1
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
lea eax, [esi + 0x10]
movss xmm2, dword [ecx]
movss xmm3, dword [ecx + 4]
mulss xmm0, xmm6
mov dword [ebp - 0x14], eax
mulss xmm1, xmm6
subss xmm2, xmm0
subss xmm3, xmm1
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, esp
movss xmm2, dword [ecx]
movss xmm3, dword [ecx + 4]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, edx
mulss xmm0, xmm5
shl eax, 5
mulss xmm1, xmm5
subss xmm2, xmm0
movaps xmm0, xmm5
subss xmm3, xmm1
movaps xmm1, xmm5
movss dword [esi + 0x18], xmm2
movss dword [esi + 0x1c], xmm3
mulss xmm1, dword [esi - 8]
mulss xmm0, dword [esi - 4]
addss xmm1, dword [ecx + edx*8 - 8]
addss xmm0, dword [ecx + edx*8 - 4]
movss dword [eax + esi - 0x20], xmm1
movss dword [eax + esi - 0x1c], xmm0
movss xmm0, dword [esi - 8]
movss xmm1, dword [esi - 4]
mulss xmm0, xmm6
mulss xmm1, xmm6
addss xmm0, dword [ecx + edx*8 - 8]
addss xmm1, dword [ecx + edx*8 - 4]
movss dword [eax + esi - 0x18], xmm0
movss dword [eax + esi - 0x14], xmm1
movss xmm0, dword [esi - 8]
movss xmm1, dword [esi - 4]
movss xmm2, dword [ecx + edx*8 - 8]
movss xmm3, dword [ecx + edx*8 - 4]
mulss xmm0, xmm6
mulss xmm1, xmm6
subss xmm2, xmm0
subss xmm3, xmm1
movss dword [eax + esi - 0x10], xmm2
movss dword [eax + esi - 0xc], xmm3
movss xmm0, dword [esi - 8]
movss xmm1, dword [esi - 4]
movss xmm2, dword [ecx + edx*8 - 8]
movss xmm3, dword [ecx + edx*8 - 4]
mulss xmm0, xmm5
mulss xmm1, xmm5
subss xmm2, xmm0
subss xmm3, xmm1
movss dword [eax + esi - 8], xmm2
mov dword [ebp - 0x28], 0
movss dword [eax + esi - 4], xmm3
mov eax, dword [edi + 0x64]
mov dword [ebp - 0x1c], eax
lea eax, [edx - 1]
test eax, eax
je 0x1002ba0d
xor eax, eax
nop word [eax + eax]
inc eax
mov dword [ebp - 0x24], eax
xor eax, eax
cmp dword [ebp - 0x24], edx
cmovne eax, dword [ebp - 0x24]
mov dword [ebp - 0x3c], eax
jne 0x1002b817
mov eax, dword [edi + 0x64]
jmp 0x1002b81d
mov eax, dword [ebp - 0x1c]
add eax, 4
mov edx, dword [ebp - 0x3c]
mov edi, esp
mov ecx, dword [ebp - 0x28]
movaps xmm5, xmm4
mov dword [ebp - 0x18], eax
lea eax, [edx*8]
shl edx, 5
movss xmm2, dword [edi + ecx*8]
add edx, esi
addss xmm2, dword [eax + edi]
movss xmm3, dword [edi + ecx*8 + 4]
addss xmm3, dword [eax + edi + 4]
mov ecx, dword [ebx + 8]
mov edi, dword [ebp - 8]
mulss xmm2, xmm7
mov esi, dword [ebp - 0x18]
mulss xmm3, xmm7
inc esi
movaps xmm0, xmm2
mulss xmm0, xmm2
movaps xmm1, xmm3
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm7
maxss xmm0, xmm1
divss xmm5, xmm0
movaps xmm4, xmm5
mulss xmm5, xmm3
movss xmm3, dword [ebp - 0x40]
mulss xmm4, xmm2
movss xmm2, dword [ebp - 0x40]
mulss xmm3, xmm5
mulss xmm2, xmm4
movaps xmm0, xmm3
mulss xmm4, xmm6
addss xmm0, dword [eax + ecx + 4]
movaps xmm1, xmm2
mulss xmm5, xmm6
addss xmm1, dword [eax + ecx]
movss dword [edx + 4], xmm0
movaps xmm0, xmm5
movss dword [edx], xmm1
movaps xmm1, xmm4
addss xmm1, dword [eax + ecx]
addss xmm0, dword [eax + ecx + 4]
movss dword [edx + 8], xmm1
movss dword [edx + 0xc], xmm0
movss xmm0, dword [eax + ecx]
movss xmm1, dword [eax + ecx + 4]
subss xmm0, xmm4
subss xmm1, xmm5
movss dword [edx + 0x10], xmm0
movss dword [edx + 0x14], xmm1
movss xmm0, dword [eax + ecx]
movss xmm1, dword [eax + ecx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
movss dword [edx + 0x18], xmm0
movss dword [edx + 0x1c], xmm1
mov eax, dword [edi + 0x60]
mov edx, dword [ebp - 0x1c]
mov dword [eax], esi
add dword [edi + 0x60], 4
lea ecx, [edx + 1]
mov eax, dword [edi + 0x60]
add edx, 2
mov dword [ebp - 0x3c], edx
mov dword [eax], ecx
add dword [edi + 0x60], 4
mov eax, dword [edi + 0x60]
mov dword [eax], edx
add dword [edi + 0x60], 4
mov eax, dword [edi + 0x60]
mov dword [eax], edx
add dword [edi + 0x60], 4
mov eax, dword [edi + 0x60]
mov edi, dword [ebp - 0x18]
add edi, 2
mov dword [eax], edi
mov eax, dword [ebp - 8]
add dword [eax + 0x60], 4
mov eax, dword [eax + 0x60]
mov edx, dword [ebp - 0x1c]
movss xmm4, dword [0x1026bac0]
mov dword [eax], esi
mov eax, dword [ebp - 8]
add dword [eax + 0x60], 4
mov eax, dword [eax + 0x60]
mov dword [eax], esi
mov eax, dword [ebp - 8]
add dword [eax + 0x60], 4
mov eax, dword [eax + 0x60]
mov dword [eax], ecx
mov ecx, dword [ebp - 8]
add dword [ecx + 0x60], 4
mov eax, dword [ecx + 0x60]
mov dword [eax], edx
add dword [ecx + 0x60], 4
mov eax, dword [ecx + 0x60]
mov dword [eax], edx
add dword [ecx + 0x60], 4
mov eax, dword [ecx + 0x60]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov ecx, dword [ebp - 8]
add dword [ecx + 0x60], 4
mov eax, dword [ecx + 0x60]
mov dword [eax], esi
add dword [ecx + 0x60], 4
mov eax, dword [ecx + 0x60]
mov esi, dword [ebp - 0x18]
mov dword [eax], edi
add dword [ecx + 0x60], 4
mov eax, dword [ecx + 0x60]
mov dword [eax], edx
add dword [ecx + 0x60], 4
mov eax, dword [ecx + 0x60]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
add ecx, 3
mov dword [ebp - 0x1c], esi
mov dword [eax], ecx
add dword [edx + 0x60], 4
mov eax, dword [edx + 0x60]
mov dword [eax], ecx
lea eax, [esi + 3]
add dword [edx + 0x60], 4
mov ecx, dword [edx + 0x60]
mov esi, dword [ebp - 0x10]
mov dword [ecx], eax
add dword [edx + 0x60], 4
mov eax, dword [edx + 0x60]
mov dword [eax], edi
mov edi, edx
mov eax, dword [ebp - 0x24]
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x28], eax
add dword [edi + 0x60], 4
cmp eax, dword [ebp - 0x20]
jb 0x1002b800
mov eax, dword [ebp - 0x2c]
movzx ecx, al
mov eax, dword [ebp - 0x30]
shl ecx, 8
movzx eax, al
or ecx, eax
mov eax, dword [ebp - 0x34]
shl ecx, 8
movzx eax, al
or ecx, eax
mov edx, ecx
mov dword [ebp - 0x34], ecx
shl edx, 8
mov ecx, edx
mov byte [ebp - 0x21], dl
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
mov dword [ebp - 0x40], ecx
mov byte [ebp - 0x24], cl
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 0x23], al
mov byte [ebp - 0x1f], al
mov eax, dword [ebp - 0x34]
mov byte [ebp - 0x22], cl
mov ecx, dword [ebp - 0x40]
mov byte [ebp - 0x20], cl
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 0x1e], al
mov eax, dword [ebp - 0x14]
mov byte [ebp - 0x1d], dl
mov edx, dword [ebp - 0x20]
nop dword [eax + eax]
mov esi, dword [eax - 0x10]
mov edi, dword [eax - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x5c]
mov dword [eax], esi
mov dword [eax + 4], edi
mov esi, dword [ebp - 8]
mov eax, dword [esi + 0x5c]
mov dword [eax + 8], 0x3f800000
mov dword [eax + 0xc], 0x3f800000
mov eax, dword [esi + 0x5c]
mov dword [eax + 0x10], ecx
add dword [esi + 0x5c], 0x14
mov edi, dword [esi + 0x5c]
mov eax, dword [ebx + 0x10]
movzx esi, al
movzx eax, ah
shl esi, 8
or esi, eax
movzx eax, byte [ebx + 0x12]
mov dword [ebp - 0xc], esi
shl dword [ebp - 0xc], 8
or dword [ebp - 0xc], eax
movzx eax, byte [ebx + 0x13]
shl dword [ebp - 0xc], 8
or dword [ebp - 0xc], eax
mov esi, dword [ebp - 0x14]
mov eax, dword [esi - 8]
mov esi, dword [esi - 4]
mov dword [edi], eax
mov dword [edi + 4], esi
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov eax, dword [edi + 0x5c]
mov dword [eax + 8], 0x3f800000
mov dword [eax + 0xc], 0x3f800000
mov eax, esi
shr eax, 0x18
mov byte [ebp - 0x24], al
mov eax, esi
shr eax, 0x10
mov byte [ebp - 0x23], al
mov eax, esi
shr eax, 8
mov byte [ebp - 0x22], al
mov eax, esi
mov esi, dword [edi + 0x5c]
mov byte [ebp - 0x21], al
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x10]
add dword [edi + 0x5c], 0x14
mov edi, dword [edi + 0x5c]
movzx esi, al
movzx eax, ah
shl esi, 8
or esi, eax
movzx eax, byte [ebx + 0x12]
mov dword [ebp - 0xc], esi
shl dword [ebp - 0xc], 8
or dword [ebp - 0xc], eax
movzx eax, byte [ebx + 0x13]
mov esi, dword [ebp - 0x14]
shl dword [ebp - 0xc], 8
or dword [ebp - 0xc], eax
mov eax, dword [esi]
mov esi, dword [esi + 4]
mov dword [edi], eax
mov dword [edi + 4], esi
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov eax, dword [edi + 0x5c]
mov dword [eax + 8], 0x3f800000
mov dword [eax + 0xc], 0x3f800000
mov eax, esi
shr eax, 0x18
mov byte [ebp - 0x20], al
mov eax, esi
shr eax, 0x10
mov byte [ebp - 0x1f], al
mov eax, esi
shr eax, 8
mov byte [ebp - 0x1e], al
mov eax, esi
mov esi, dword [edi + 0x5c]
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x10], eax
add dword [edi + 0x5c], 0x14
mov edi, dword [edi + 0x5c]
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov dword [edi], eax
mov dword [edi + 4], esi
mov esi, dword [ebp - 8]
mov eax, dword [esi + 0x5c]
mov dword [eax + 8], 0x3f800000
mov dword [eax + 0xc], 0x3f800000
mov eax, dword [esi + 0x5c]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 0x14]
add dword [esi + 0x5c], 0x14
add eax, 0x20
sub dword [ebx + 0xc], 1
mov dword [ebp - 0x14], eax
jne 0x1002ba70
mov eax, dword [ebp - 0x38]
add dword [esi + 0x64], eax
lea esp, [ebp - 0x48]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x14