Function at 0x68015060
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x68031884]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x20]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
cmp esi, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x28], ecx
jne 0x680151f6
test al, 7
je 0x680150bf
cmp eax, ebx
je 0x680150bf
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
mov esi, dword [eax + 4]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0
jmp 0x680150c6
mov dword [ebp - 0x30], 1
test bl, 7
je 0x680150ef
cmp ebx, eax
mov esi, dword [ebx]
mov dword [ebp - 0x44], esi
mov esi, dword [ebx + 4]
mov dword [ebp - 0x40], esi
jne 0x680150e0
lea eax, [ebp - 0x44]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], ebx
lea ebx, [ebp - 0x44]
mov dword [ebp - 0x38], 0
jmp 0x680150f6
mov dword [ebp - 0x38], 1
test cl, 7
je 0x68015118
mov esi, dword [ecx]
mov dword [ebp - 0x54], esi
mov esi, dword [ecx + 4]
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x3c], 0
jmp 0x6801511f
mov dword [ebp - 0x3c], 1
cmp dword [ebp + 0x1c], 1
jne 0x6801514a
mov esi, dword [ecx]
mov ecx, dword [ecx + 4]
xor esi, dword [eax]
xor ecx, dword [eax + 4]
push 1
push edi
push ebx
push ebx
mov dword [ebx], esi
mov dword [ebx + 4], ecx
call edx
mov edx, dword [ebx]
mov eax, dword [ebp - 0x28]
mov dword [eax], edx
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
jmp 0x680151a2
cmp ebx, eax
push 0
push edi
push eax
push ebx
je 0x6801517a
call edx
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
mov esi, dword [ebx]
xor esi, edx
mov edx, dword [ebx + 4]
mov dword [ebx], esi
mov ecx, dword [eax + 4]
xor edx, ecx
mov ecx, dword [ebp - 0x2c]
mov dword [ebx + 4], edx
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
jmp 0x680151a5
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov dword [ebp - 0x60], ecx
call edx
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
mov edi, dword [ebx]
xor edi, edx
mov edx, dword [ebx + 4]
mov dword [ebx], edi
mov ecx, dword [eax + 4]
xor edx, ecx
mov dword [ebx + 4], edx
mov edx, dword [ebp - 0x60]
mov dword [eax], esi
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x38]
test edx, edx
jne 0x680151b9
mov esi, dword [ebx]
mov edx, dword [ebp - 0x34]
mov dword [edx], esi
mov esi, dword [ebx + 4]
mov dword [edx + 4], esi
mov edx, dword [ebp - 0x30]
test edx, edx
jne 0x680151cd
mov esi, dword [ecx]
mov edx, dword [ebp - 0x48]
mov dword [edx], esi
mov ecx, dword [ecx + 4]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
jne 0x6801550f
mov edx, dword [eax]
mov ecx, dword [ebp - 0x4c]
pop edi
mov dword [ecx], edx
mov eax, dword [eax + 4]
pop esi
mov dword [ecx + 4], eax
pop ebx
mov ecx, dword [ebp - 4]
call fcn.68014cb9
mov esp, ebp
pop ebp
ret 0x1c
cmp esi, 0x10
jne 0x68015431
test al, 7
je 0x68015235
cmp eax, ebx
je 0x68015235
mov esi, eax
mov edi, dword [esi]
mov dword [ebp - 0x7c], edi
mov edi, dword [esi + 4]
mov dword [ebp - 0x78], edi
mov edi, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x74], edi
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x48], 0
jmp 0x6801523c
mov dword [ebp - 0x48], 1
test bl, 7
je 0x68015276
cmp ebx, eax
mov esi, ebx
mov edi, dword [esi]
mov dword [ebp - 0x6c], edi
mov edi, dword [esi + 4]
mov dword [ebp - 0x68], edi
mov edi, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], esi
jne 0x68015264
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x2c], eax
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x4c], ebx
lea ebx, [ebp - 0x6c]
mov dword [ebp - 0x3c], 0
jmp 0x6801527d
mov dword [ebp - 0x3c], 1
test cl, 7
je 0x680152b2
mov esi, ecx
mov edi, dword [esi]
mov dword [ebp - 0x14], edi
mov edi, dword [esi + 4]
mov dword [ebp - 0x10], edi
mov edi, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov dword [ebp - 8], esi
mov esi, ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x34], 0
jmp 0x680152bc
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x34], 1
cmp dword [ebp + 0x1c], 1
jne 0x68015311
mov edi, dword [eax]
mov esi, dword [ecx]
xor esi, edi
mov edi, dword [ecx + 4]
xor edi, dword [eax + 4]
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov esi, dword [eax + 8]
mov edi, dword [ecx + 8]
mov eax, dword [eax + 0xc]
xor esi, edi
mov edi, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x30]
push 1
push ecx
push ebx
xor eax, edi
push ebx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], eax
call edx
mov edx, dword [ebx]
mov eax, dword [ebp - 0x28]
mov dword [eax], edx
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
mov edx, dword [ebx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ebx + 0xc]
mov dword [eax + 0xc], ecx
jmp 0x680153b9
cmp ebx, eax
push 0
push edi
push eax
push ebx
je 0x68015363
call edx
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
mov edi, dword [ebx]
xor edi, edx
mov edx, dword [ebx + 4]
mov dword [ebx], edi
mov ecx, dword [eax + 4]
mov edi, dword [ebx + 8]
xor edx, ecx
mov dword [ebx + 4], edx
mov edx, dword [eax + 8]
xor edi, edx
mov edx, dword [ebx + 0xc]
mov dword [ebx + 8], edi
mov ecx, dword [eax + 0xc]
xor edx, ecx
mov ecx, dword [ebp - 0x2c]
mov dword [ebx + 0xc], edx
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0xc], edx
jmp 0x680153bf
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov dword [ebp - 0x58], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x54], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x50], ecx
call edx
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
mov edi, dword [ebx]
xor edi, edx
mov edx, dword [ebx + 4]
mov dword [ebx], edi
mov ecx, dword [eax + 4]
mov edi, dword [ebx + 8]
xor edx, ecx
mov dword [ebx + 4], edx
mov edx, dword [eax + 8]
xor edi, edx
mov edx, dword [ebx + 0xc]
mov dword [ebx + 8], edi
mov ecx, dword [eax + 0xc]
xor edx, ecx
mov ecx, dword [ebp - 0x54]
mov dword [ebx + 0xc], edx
mov edx, dword [ebp - 0x58]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x50]
mov dword [eax], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x38]
mov edx, dword [ebp - 0x3c]
test edx, edx
jne 0x680153df
mov edi, dword [ebx]
mov edx, dword [ebp - 0x4c]
mov dword [edx], edi
mov edi, dword [ebx + 4]
mov dword [edx + 4], edi
mov edi, dword [ebx + 8]
mov dword [edx + 8], edi
mov edi, dword [ebx + 0xc]
mov dword [edx + 0xc], edi
mov edx, dword [ebp - 0x48]
test edx, edx
jne 0x680153ff
mov edi, dword [ecx]
mov edx, dword [ebp - 0x40]
mov dword [edx], edi
mov edi, dword [ecx + 4]
mov dword [edx + 4], edi
mov edi, dword [ecx + 8]
mov dword [edx + 8], edi
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov ecx, dword [ebp - 0x34]
test ecx, ecx
jne 0x6801550f
mov edx, dword [eax]
mov dword [esi], edx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov edx, dword [eax + 8]
mov dword [esi + 8], edx
mov eax, dword [eax + 0xc]
pop edi
mov dword [esi + 0xc], eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
call fcn.68014cb9
mov esp, ebp
pop ebp
ret 0x1c
cmp dword [ebp + 0x1c], 1
jne 0x6801548a
test esi, esi
jbe 0x6801545a
sub ecx, eax
mov edi, eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x34], esi
mov ecx, dword [ebp - 0x40]
mov cl, byte [ecx + edi]
xor byte [edi], cl
mov ecx, dword [ebp - 0x34]
inc edi
dec ecx
mov dword [ebp - 0x34], ecx
jne 0x68015445
mov edi, dword [ebp - 0x30]
push 1
push edi
push eax
push ebx
call edx
test esi, esi
jbe 0x6801550f
mov eax, dword [ebp - 0x28]
sub ebx, eax
mov edi, edi
mov dl, byte [ebx + eax]
mov byte [eax], dl
inc eax
dec esi
jne 0x68015470
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
call fcn.68014cb9
mov esp, ebp
pop ebp
ret 0x1c
cmp eax, ebx
je 0x680154c3
push 0
push edi
push eax
push ebx
call edx
test esi, esi
jbe 0x6801550f
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
sub edi, ebx
sub eax, ebx
mov cl, byte [eax + ebx]
xor byte [ebx], cl
mov dl, byte [edi + ebx]
mov byte [eax + ebx], dl
inc ebx
dec esi
jne 0x680154a3
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
call fcn.68014cb9
mov esp, ebp
pop ebp
ret 0x1c
cmp esi, 0x20
ja 0x6801550f
mov ecx, esi
mov edx, ecx
shr ecx, 2
mov esi, eax
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x30]
push ecx
push eax
push ebx
call dword [ebp - 0x40]
mov edi, dword [ebp + 0xc]
test edi, edi
jbe 0x6801550f
mov eax, dword [ebp - 0x28]
lea esi, [ebp - 0x24]
sub esi, ebx
sub eax, ebx
lea esp, [esp]
mov dl, byte [ebx + eax]
xor byte [ebx], dl
mov cl, byte [esi + ebx]
mov byte [ebx + eax], cl
inc ebx
dec edi
jne 0x68015500
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.68014cb9
mov esp, ebp
pop ebp
ret 0x1c