Function at 0x79cdc8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x79cdd1
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x79d1f7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x20]
call fcn.0079eb2c
mov dword [ebp - 0x28], eax
dec bl
je 0x79ce1c
dec bl
je 0x79cf03
sub bl, 2
je 0x79d14e
jmp 0x79d1b6
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x79ce28
sub eax, 4
mov eax, dword [eax]
mov edi, eax
mov ebx, dword [ebp - 0x28]
sub ebx, edi
cmp ebx, 0xb
jge 0x79ce77
lea edx, [ebp - 0x40]
mov eax, dword [0x7e67e8]
call fcn.004109cc
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0x11
lea eax, [ebp - 0x3c]
push eax
push 0
push 0x8b
lea edx, [ebp - 0x44]
mov eax, dword [0x7e67a0]
call fcn.004109cc
mov ecx, dword [ebp - 0x44]
mov dl, 1
mov eax, dword [0x73d640]
call fcn.0073e628
call fcn.0040a258
mov eax, dword [ebp - 0x28]
push eax
mov eax, esi
mov ecx, 1
mov edx, dword [0x404d18]
call fcn.0040d618
add esp, 4
mov eax, dword [esi]
mov byte [eax], 0
mov eax, dword [esi]
mov byte [eax + 1], 2
mov eax, dword [esi]
mov byte [eax + ebx - 1], 0
mov eax, dword [esi]
lea edx, [eax + ebx]
mov ecx, edi
mov eax, dword [ebp - 0x24]
call fcn.00407340
mov ecx, ebx
sub ecx, 3
mov eax, dword [esi]
lea edx, [eax + 2]
mov eax, dword [0x870144]
mov edi, dword [eax]
call dword [edi + 8]
sub ebx, 2
sub ebx, 2
jl 0x79d1c9
inc ebx
mov dword [ebp - 0x34], ebx
mov ebx, 2
jmp 0x79cef0
mov eax, dword [esi]
lea edx, [eax + ebx]
mov ecx, 1
mov eax, dword [0x870144]
mov edi, dword [eax]
call dword [edi + 8]
mov eax, dword [esi]
cmp byte [eax + ebx], 0
je 0x79cedc
inc ebx
dec dword [ebp - 0x34]
jne 0x79cef0
jmp 0x79d1c9
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x79cf0f
sub eax, 4
mov eax, dword [eax]
mov edi, eax
mov ebx, dword [ebp - 0x28]
sub ebx, edi
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x1c]
movzx edx, byte [eax + 4]
mov eax, dword [0x74d800]
call fcn.0074e628
add eax, eax
add eax, 2
cmp ebx, eax
jge 0x79cf76
lea edx, [ebp - 0x48]
mov eax, dword [0x7e67e8]
call fcn.004109cc
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0x11
lea eax, [ebp - 0x3c]
push eax
push 0
push 0x8b
lea edx, [ebp - 0x4c]
mov eax, dword [0x7e67a0]
call fcn.004109cc
mov ecx, dword [ebp - 0x4c]
mov dl, 1
mov eax, dword [0x73d640]
call fcn.0073e628
call fcn.0040a258
lea eax, [ebp - 4]
mov edx, dword [0x404d18]
call fcn.0040d73c
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x1c]
call fcn.007a11ec
mov eax, dword [ebp - 4]
test eax, eax
je 0x79cf9e
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x1c]
mov ecx, 1
mov edx, dword [0x404d18]
call fcn.0040d618
add esp, 4
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00407340
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add eax, edx
mov ebx, dword [ebp - 0x30]
sub ebx, edi
mov edx, ebx
sub edx, dword [ebp - 0x2c]
dec edx
xor ecx, ecx
call fcn.00408108
mov eax, dword [ebp - 0x1c]
mov byte [eax + ebx - 1], 1
mov eax, dword [ebp - 0x1c]
lea edx, [eax + ebx]
mov ecx, edi
mov eax, dword [ebp - 0x24]
call fcn.00407340
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x18]
mov ecx, 1
mov edx, dword [0x404d18]
call fcn.0040d618
add esp, 4
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
mov eax, dword [0x870144]
mov ebx, dword [eax]
call dword [ebx + 8]
lea eax, [ebp - 0x14]
mov edx, dword [0x404d18]
call fcn.0040d73c
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x1c]
movzx eax, byte [eax + 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x18]
call fcn.0079cc44
mov eax, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x404d18]
call fcn.0040d618
add esp, 4
mov eax, dword [ebp - 0x30]
dec eax
test eax, eax
jl 0x79d09d
inc eax
mov dword [ebp - 0x34], eax
xor ebx, ebx
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + ebx]
mov edx, dword [ebp - 0x14]
xor al, byte [edx + ebx]
mov edx, dword [ebp - 0xc]
mov byte [edx + ebx], al
inc ebx
dec dword [ebp - 0x34]
jne 0x79d084
lea eax, [ebp - 0x10]
mov edx, dword [0x404d18]
call fcn.0040d73c
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x1c]
movzx eax, byte [eax + 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0xc]
call fcn.0079cc44
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x404d18]
call fcn.0040d618
add esp, 4
mov eax, dword [ebp - 0x2c]
dec eax
test eax, eax
jl 0x79d10b
inc eax
mov dword [ebp - 0x34], eax
xor ebx, ebx
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + ebx]
mov edx, dword [ebp - 0x10]
xor al, byte [edx + ebx]
mov edx, dword [ebp - 8]
mov byte [edx + ebx], al
inc ebx
dec dword [ebp - 0x34]
jne 0x79d0f2
mov eax, dword [ebp - 0x28]
push eax
mov eax, esi
mov ecx, 1
mov edx, dword [0x404d18]
call fcn.0040d618
add esp, 4
mov eax, dword [esi]
mov byte [eax], 0
mov eax, dword [esi]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
call fcn.00407340
mov eax, dword [ebp - 0x2c]
inc eax
mov edx, dword [esi]
add edx, eax
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0xc]
call fcn.00407340
jmp 0x79d1c9
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x79d15a
sub eax, 4
mov eax, dword [eax]
mov edi, eax
cmp edi, dword [ebp - 0x28]
je 0x79d1a4
lea edx, [ebp - 0x50]
mov eax, dword [0x7e6ee0]
call fcn.004109cc
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0x11
lea eax, [ebp - 0x3c]
push eax
push 0
push 0x8b
lea edx, [ebp - 0x54]
mov eax, dword [0x7e67a0]
call fcn.004109cc
mov ecx, dword [ebp - 0x54]
mov dl, 1
mov eax, dword [0x73d640]
call fcn.0073e628
call fcn.0040a258
mov eax, esi
mov edx, dword [ebp - 0x24]
mov ecx, dword [0x404d18]
call fcn.0040d780
jmp 0x79d1c9
mov cl, 2
mov dl, 1
mov eax, dword [0x73d640]
call fcn.0073e5d8
call fcn.0040a258
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x79d1fe
lea eax, [ebp - 0x54]
mov edx, 6
call fcn.0040ac80
lea eax, [ebp - 0x1c]
mov edx, dword [0x404d18]
mov ecx, 7
call fcn.0040c588
ret