Function at 0x1014eedc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov ecx, dword [ebp + 0x28]
mov eax, 0x102d7180
push esi
push edi
test ecx, ecx
movss xmm1, dword [0x102d0cb0]
mov edi, 0x10350a00
mov dword [ebp - 0x1c], 0x20
cmove edi, eax
mov esi, 0x80
push 0x40
pop eax
sar eax, cl
mov dword [ebp - 4], eax
shl eax, 2
mov dword [ebp - 0x68], eax
add eax, edi
mov dword [ebp - 0x24], eax
mov eax, 0xc0
sar eax, cl
mov dword [ebp - 0x28], eax
sar esi, cl
mov dword [ebp - 0xc], esi
lea eax, [edi + eax*4]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x34], eax
mov eax, 0x1c0
sar eax, cl
lea esi, [edi + esi*4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], esi
mov esi, 0x100
sar esi, cl
mov dword [ebp - 0x30], esi
lea eax, [edi + esi*4]
mov esi, 0x200
mov dword [ebp - 0x38], eax
mov eax, 0x140
sar eax, cl
sar esi, cl
mov dword [ebp - 0x3c], esi
lea eax, [edi + eax*4]
mov dword [ebp - 0x40], eax
mov eax, 0x2c0
sar eax, cl
mov dword [ebp - 0x44], eax
mov eax, 0x180
sar eax, cl
lea eax, [edi + eax*4]
mov dword [ebp - 0x48], eax
mov eax, 0x300
sar eax, cl
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x18]
lea eax, [edi + eax*4]
mov dword [ebp - 0x50], eax
mov eax, 0x3c0
sar eax, cl
mov dword [ebp - 0x54], eax
lea eax, [edi + esi*4]
mov dword [ebp - 0x58], eax
mov eax, 0x400
sar eax, cl
mov dword [ebp - 0x5c], eax
mov eax, 0x240
sar eax, cl
lea eax, [edi + eax*4]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x60], eax
mov eax, 0x4c0
sar eax, cl
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov esi, dword [ebp + 0x24]
mov ecx, dword [ebp - 0xc]
mov esi, dword [esi]
cmp esi, ecx
jge 0x1014f011
mov ecx, dword [ebp + 0x28]
mov eax, 0x480
sar eax, cl
mov esi, 0x900
sub esi, eax
shl eax, 2
push eax
mov eax, dword [ebp + 0x20]
push eax
lea eax, [eax + esi*4]
push eax
call fcn.1008ded0
movss xmm1, dword [0x102d0cb0]
add esp, 0xc
sub esi, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
jmp 0x1014f013
sub esi, ecx
cmp dword [ebp + 0x28], 0
mov ecx, dword [ebp + 0x24]
mov dword [ecx], esi
mov ecx, dword [ebp + 0x20]
lea esi, [ecx + esi*4]
lea ecx, [eax + 0x2600]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], ecx
je 0x1014f075
mov edx, dword [ebp - 0x10]
mov ecx, eax
push 0x20
add edx, 0x7c
pop esi
movss xmm0, dword [ecx]
xorps xmm0, xmm1
movss dword [ecx], xmm0
lea ecx, [ecx + 4]
mov eax, dword [edx]
lea edx, [edx - 4]
mov dword [ecx + 0x7c], eax
sub esi, 1
jne 0x1014f03b
push dword [ebp - 8]
mov edx, dword [ebp + 8]
push dword [ebp + 0x1c]
push edx
call dword [edx + 0x2c]
push dword [ebp + 0x1c]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0x14]
push esi
call dword [eax + 0x14]
add esp, 0x14
jmp 0x1014f0ad
mov eax, dword [ebp + 0xc]
push ecx
call dword [eax + 8]
push dword [ebp - 8]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x1c]
push esi
push eax
call dword [eax + 0x2c]
mov eax, dword [ebp - 0x10]
add esi, 0x100
push eax
mov eax, dword [ebp + 8]
push esi
push eax
call dword [eax + 0x2c]
push dword [ebp + 0x1c]
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp - 0x14]
push esi
call dword [eax + 0x18]
add esp, 0x28
push dword [ebp - 4]
mov eax, dword [ebp + 0x10]
push dword [ebp - 0x20]
push esi
push edi
call dword [eax]
push dword [ebp - 4]
mov eax, dword [ebp - 0x28]
push edi
push dword [ebp - 0x24]
lea eax, [esi + eax*4]
push eax
mov eax, dword [ebp + 0x10]
push edi
call dword [eax + 0x18]
push dword [ebp - 4]
mov eax, dword [ebp - 0x30]
push edi
push dword [ebp - 0x2c]
lea eax, [esi + eax*4]
push eax
mov eax, dword [ebp + 0x10]
push edi
call dword [eax + 0x18]
push dword [ebp - 4]
mov eax, dword [ebp - 0x18]
push edi
push dword [ebp - 0x34]
lea eax, [esi + eax*4]
push eax
mov eax, dword [ebp + 0x10]
push edi
call dword [eax + 0x18]
mov eax, dword [ebp - 0x3c]
add esp, 0x4c
push dword [ebp - 4]
lea eax, [esi + eax*4]
push edi
push dword [ebp - 0x38]
push eax
mov eax, dword [ebp + 0x10]
push edi
call dword [eax + 0x18]
push dword [ebp - 4]
mov eax, dword [ebp - 0x44]
push edi
push dword [ebp - 0x40]
lea eax, [esi + eax*4]
push eax
mov eax, dword [ebp + 0x10]
push edi
call dword [eax + 0x18]
push dword [ebp - 4]
mov eax, dword [ebp - 0x4c]
push edi
push dword [ebp - 0x48]
lea eax, [esi + eax*4]
push eax
mov eax, dword [ebp + 0x10]
push edi
call dword [eax + 0x18]
push dword [ebp - 4]
mov eax, dword [ebp - 0x54]
push edi
push dword [ebp - 0x50]
lea eax, [esi + eax*4]
push eax
mov eax, dword [ebp + 0x10]
push edi
call dword [eax + 0x18]
mov eax, dword [ebp - 0x5c]
add esp, 0x50
push dword [ebp - 4]
lea eax, [esi + eax*4]
push edi
push dword [ebp - 0x58]
push eax
mov eax, dword [ebp + 0x10]
push edi
call dword [eax + 0x18]
push dword [ebp - 4]
mov eax, dword [ebp - 0x64]
push edi
push dword [ebp - 0x60]
lea eax, [esi + eax*4]
push eax
mov eax, dword [ebp + 0x10]
push edi
call dword [eax + 0x18]
mov eax, dword [ebp - 8]
add esp, 0x28
add edi, dword [ebp - 0x68]
add eax, 0x100
sub dword [ebp - 0x1c], 1
movss xmm1, dword [0x102d0cb0]
mov dword [ebp - 8], eax
jne 0x1014efd0
pop edi
pop esi
leave
ret