Function at 0x6f7594e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x6c
mov eax, dword [esp + 0x80]
mov edi, dword [esp + 0x94]
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x98]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x44], eax
lea eax, [eax + eax*2]
shl eax, 3
cmp eax, ebx
jl 0x6f759600
mov edx, dword [esp + 0x44]
test edx, edx
jle 0x6f7595ee
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x44]
sar ebx, 0x1f
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x40]
xor edx, edx
mov ecx, 0x19d699a5
mov ebp, dword [esp + 0x48]
sub eax, 1
shl ebx, 2
add eax, 1
adc edx, 0
xor esi, esi
imul edi, edx, 0x19d699a5
mul ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], eax
add dword [esp + 0x34], edi
xor edi, edi
mov esi, esi
lea edi, [edi]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.703e0b60
imul eax, ebx
add eax, dword [esp + 0x2c]
mov dword [esp], ebp
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
add esi, 0x19d699a5
adc edi, 0
add ebp, ebx
xor edx, edi
xor eax, esi
or edx, eax
jne 0x6f7595a0
add esp, 0x6c
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebx + 7]
test ebx, ebx
mov dword [esp + 0x50], 0
cmovns eax, ebx
sar eax, 3
lea ecx, [eax*4]
mov dword [esp + 0x4c], eax
test ecx, ecx
jne 0x6f759760
mov eax, dword [esp + 0x4c]
test eax, eax
jle 0x6f7596d3
mov eax, dword [esp + 0x40]
xor edx, edx
mov dword [esp + 0x38], ebx
sar ebx, 0x1f
mov ecx, 0x19d699a5
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x50]
lea ebp, [eax*4]
mov eax, dword [esp + 0x4c]
sub eax, 1
add eax, 1
adc edx, 0
xor esi, esi
imul edi, edx, 0x19d699a5
mul ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], eax
add dword [esp + 0x34], edi
xor edi, edi
nop
lea esi, [esi]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.703e0b60
imul eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
mov dword [esp], ebx
mov dword [esp + 8], ebp
lea eax, [ecx + eax*4]
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
add esi, 0x19d699a5
adc edi, 0
add ebx, ebp
xor edx, edi
xor eax, esi
or edx, eax
jne 0x6f759680
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x58]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc], edi
add ebx, ebx
mov edi, dword [esp + 0x50]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], edi
call sym.avcodec_56.dll_avpriv_init_elbg
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp], edi
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp + 0xc], eax
call sym.avcodec_56.dll_avpriv_do_elbg
mov dword [esp + 0x80], edi
add esp, 0x6c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.6fc60660
xor edx, edx
mov eax, 0x7fffffff
div ecx
cmp dword [esp + 0x40], eax
jae 0x6f759626
imul ecx, dword [esp + 0x40]
mov dword [esp], ecx
call sub.avutil_54.dll_av_malloc
mov dword [esp + 0x50], eax
jmp 0x6f759626