Function at 0x6fe74e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.0062c452
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
call fcn.0062c452
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
jne 0x6fe790
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00570862
jmp 0x6fea66
mov eax, dword [ebp - 8]
push eax
call fcn.0070abc2
test eax, eax
jne 0x6fea66
mov eax, dword [ebp - 0xc]
call fcn.005d0962
and eax, 0xff
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
call fcn.005d0966
and eax, 0xff
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
call fcn.005d096a
and eax, 0xff
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
call fcn.005d0962
and eax, 0xff
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
call fcn.005d0966
and eax, 0xff
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
call fcn.005d096a
and eax, 0xff
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov esi, eax
lea edi, [ebp - 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp byte [ebp + 8], 0
je 0x6fe82a
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 8]
sub eax, dword [edx]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x58], eax
jmp 0x6fe840
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 8]
sub eax, dword [edx + 4]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x44]
sar eax, 1
jns 0x6fe84a
adc eax, 0
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x10]
imul dword [0x6b36e4]
mov ecx, 0x28
cdq
idiv ecx
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x14]
imul dword [0x6b36e4]
mov ecx, 0x28
cdq
idiv ecx
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x18]
imul dword [0x6b36e4]
mov ecx, 0x28
cdq
idiv ecx
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x10]
imul dword [ebp - 0x44]
cdq
idiv dword [ebp - 0x48]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x14]
imul dword [ebp - 0x44]
cdq
idiv dword [ebp - 0x48]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x18]
imul dword [ebp - 0x44]
cdq
idiv dword [ebp - 0x48]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
dec dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
dec eax
test eax, eax
jl 0x6fe96a
inc eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x18]
imul dword [ebp - 0x40]
cdq
idiv dword [ebp - 0x44]
mov ecx, eax
add cl, byte [ebp - 0x18]
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x14]
imul dword [ebp - 0x40]
cdq
idiv dword [ebp - 0x44]
add al, byte [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x10]
imul dword [ebp - 0x40]
cdq
idiv dword [ebp - 0x44]
add al, byte [ebp - 0x10]
pop edx
call fcn.005d0946
push eax
call fcn.0070a610
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.0070aa00
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0070a622
mov al, byte [ebp + 8]
xor al, 1
and eax, 0x7f
push eax
xor eax, eax
mov al, byte [ebp + 8]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0070ac46
inc dword [ebp - 0x40]
dec dword [ebp - 0x50]
jne 0x6fe8ee
mov cl, byte [ebp - 0x30]
mov dl, byte [ebp - 0x2c]
mov al, byte [ebp - 0x28]
call fcn.005d0946
push eax
call fcn.0070a610
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.0070aa00
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0070a622
mov al, byte [ebp + 8]
xor al, 1
and eax, 0x7f
push eax
xor eax, eax
mov al, byte [ebp + 8]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0070ac46
mov eax, dword [ebp - 0x28]
add eax, eax
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2c]
add eax, eax
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x30]
add eax, eax
sub eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x48]
inc eax
mov edx, dword [ebp - 0x44]
sub edx, eax
jl 0x6fea66
inc edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x30]
imul dword [ebp - 0x40]
cdq
idiv dword [ebp - 0x44]
mov ecx, eax
add cl, byte [ebp - 0x30]
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x2c]
imul dword [ebp - 0x40]
cdq
idiv dword [ebp - 0x44]
add al, byte [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x28]
imul dword [ebp - 0x40]
cdq
idiv dword [ebp - 0x44]
add al, byte [ebp - 0x28]
pop edx
call fcn.005d0946
push eax
call fcn.0070a610
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.0070aa00
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0070a622
mov al, byte [ebp + 8]
xor al, 1
and eax, 0x7f
push eax
xor eax, eax
mov al, byte [ebp + 8]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0070ac46
inc dword [ebp - 0x40]
dec dword [ebp - 0x50]
jne 0x6fe9ea
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8