Function at 0x657630
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 0x6576e0
mov eax, dword [esp + 8]
mov edx, dword [eax]
test edx, edx
je 0x6576e0
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 0x657670
mov eax, dword [esp]
mov ecx, dword [0x39965c]
test ecx, ecx
je 0x657729
xor ebx, ebx
mov esi, dword [0x399660]
nop
nop
nop
nop
nop
nop
cmp dword [esi + ebx*8], 0xddb7c3f3
je 0x65770c
inc ebx
cmp ecx, ebx
jne 0x6576d0
jmp 0x657729
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 0x6576f0
mov eax, dword [esp]
jmp 0x6578fb
mov ecx, dword [esi + ebx*8 + 4]
cmp ecx, eax
je 0x657729
push dword [ebp + 8]
push edx
push 8
push ecx
push dword [0x399664]
call fcn.00658a80
add esp, 0x14
cmp dword [ebp + 0xc], 0
je 0x65782d
cmp eax, 0xc000010a
jne 0x65782d
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 0x657790
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x6577df
mov esi, esp
mov eax, dword [esp + 0x10]
mov ecx, dword [0x39965c]
test ecx, ecx
je 0x65782d
mov edi, ebx
xor ebx, ebx
mov edx, dword [0x399660]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ebx*8], 0xa67d73aa
je 0x657810
inc ebx
cmp ecx, ebx
jne 0x657800
jmp 0x65782d
mov ecx, dword [edx + ebx*8 + 4]
cmp ecx, eax
je 0x65782d
push esi
push 0
push edi
push 0xc
push ecx
push dword [0x399664]
call fcn.00658a80
add esp, 0x18
test eax, eax
js 0x6578fb
mov ecx, dword [esp + 8]
mov ecx, dword [ecx]
test ecx, ecx
je 0x6578fb
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 0x657860
mov ecx, dword [0x39965c]
test ecx, ecx
je 0x6578f1
mov edx, dword [esp]
xor ebx, ebx
mov esi, dword [0x399660]
nop
nop
nop
nop
nop
cmp dword [esi + ebx*8], 0xb430e561
je 0x6578d0
inc ebx
cmp ecx, ebx
jne 0x6578c0
jmp 0x6578f1
mov ecx, dword [esi + ebx*8 + 4]
cmp ecx, edx
je 0x6578f1
push dword [esp + 0xc]
push 4
push ecx
push dword [0x399664]
mov esi, eax
call fcn.00658a80
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