Function at 0x691630
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x18
mov dword [esp + 8], ecx
cmp dword [ecx + 8], 0
je 0x6916e0
mov eax, dword [esp + 8]
mov edx, dword [eax]
test edx, edx
je 0x6916e0
mov dword [esp], 0x60616263
mov eax, 0x86ceb5bc
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x79314a44]
xor ecx, eax
mov esi, ecx
and esi, 0x6c01575
xor ecx, 0x17d05d75
lea ebx, [ecx + esi*2]
mov edi, 0x60
sub edi, ebx
lea ecx, [ecx + esi*2]
add ecx, 0x1f
and edi, 0x75
and ecx, 0x8a
or ecx, 1
sub ecx, edi
mov byte [esp + eax + 0x79314a44], cl
inc eax
cmp eax, 0x86ceb5c0
jne 0x691670
mov eax, dword [esp]
mov ecx, dword [0x3c965c]
test ecx, ecx
je 0x691729
xor ebx, ebx
mov esi, dword [0x3c9660]
nop
nop
nop
nop
nop
nop
cmp dword [esi + ebx*8], 0xddb7c3f3
je 0x69170c
inc ebx
cmp ecx, ebx
jne 0x6916d0
jmp 0x691729
mov dword [esp], 0xc1809f96
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0xee
xor cl, byte [esp + eax]
add cl, 0x90
mov byte [esp + eax], cl
inc eax
cmp eax, 4
jne 0x6916f0
mov eax, dword [esp]
jmp 0x6918fb
mov ecx, dword [esi + ebx*8 + 4]
cmp ecx, eax
je 0x691729
push dword [ebp + 8]
push edx
push 8
push ecx
push dword [0x3c9664]
call fcn.00692a80
add esp, 0x14
cmp dword [ebp + 0xc], 0
je 0x69182d
cmp eax, 0xc000010a
jne 0x69182d
mov edi, dword [ebp + 0xc]
mov ecx, edi
and ecx, 0x270f
mov ebx, edi
and ebx, 0xffffd8f0
mov eax, ebx
xor eax, 0xffffd8f0
mul ecx
mov dword [esp + 0xc], eax
mov esi, edx
mov eax, edi
or eax, 0xffffd8f0
mul ebx
sub esi, ecx
sub edx, ebx
add eax, dword [esp + 0xc]
adc edx, esi
mov dword [esp], eax
mov dword [esp + 4], edx
mov eax, dword [esp + 8]
mov ebx, dword [eax]
mov dword [esp + 0x10], 0x60616263
mov eax, 0x86ceb5bc
nop
nop
nop
movzx ecx, byte [esp + eax + 0x79314a54]
xor ecx, eax
mov edx, ecx
and edx, 0x6c01575
xor ecx, 0x17d05d75
lea esi, [ecx + edx*2]
mov edi, 0x60
sub edi, esi
lea ecx, [ecx + edx*2]
add ecx, 0x1f
and edi, 0x75
and ecx, 0x8a
or ecx, 1
sub ecx, edi
mov byte [esp + eax + 0x79314a54], cl
inc eax
cmp eax, 0x86ceb5c0
jne 0x691790
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x6917df
mov esi, esp
mov eax, dword [esp + 0x10]
mov ecx, dword [0x3c965c]
test ecx, ecx
je 0x69182d
mov edi, ebx
xor ebx, ebx
mov edx, dword [0x3c9660]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ebx*8], 0xa67d73aa
je 0x691810
inc ebx
cmp ecx, ebx
jne 0x691800
jmp 0x69182d
mov ecx, dword [edx + ebx*8 + 4]
cmp ecx, eax
je 0x69182d
push esi
push 0
push edi
push 0xc
push ecx
push dword [0x3c9664]
call fcn.00692a80
add esp, 0x18
test eax, eax
js 0x6918fb
mov ecx, dword [esp + 8]
mov ecx, dword [ecx]
test ecx, ecx
je 0x6918fb
mov dword [esp + 0xc], ecx
mov dword [esp], 0x60616263
mov esi, 0x86ceb5bc
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + esi + 0x79314a44]
xor ecx, esi
mov edi, ecx
and edi, 0x6c01575
xor ecx, 0x17d05d75
lea ebx, [ecx + edi*2]
mov edx, 0x60
sub edx, ebx
lea ecx, [ecx + edi*2]
add ecx, 0x1f
and edx, 0x75
and ecx, 0x8a
or ecx, 1
sub ecx, edx
mov byte [esp + esi + 0x79314a44], cl
inc esi
cmp esi, 0x86ceb5c0
jne 0x691860
mov ecx, dword [0x3c965c]
test ecx, ecx
je 0x6918f1
mov edx, dword [esp]
xor ebx, ebx
mov esi, dword [0x3c9660]
nop
nop
nop
nop
nop
cmp dword [esi + ebx*8], 0xb430e561
je 0x6918d0
inc ebx
cmp ecx, ebx
jne 0x6918c0
jmp 0x6918f1
mov ecx, dword [esi + ebx*8 + 4]
cmp ecx, edx
je 0x6918f1
push dword [esp + 0xc]
push 4
push ecx
push dword [0x3c9664]
mov esi, eax
call fcn.00692a80
mov eax, esi
add esp, 0x10
mov ecx, dword [esp + 8]
mov dword [ecx], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8