Function at 0x83520860
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x879ce244]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x20]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x28], ecx
cmp esi, 8
jne 0x835209bf
test al, 7
je 0x835208b5
cmp eax, ebx
je 0x835208b5
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x30], eax
test bl, 7
je 0x835208de
mov esi, dword [ebx]
mov dword [ebp - 0x48], esi
mov esi, dword [ebx + 4]
mov dword [ebp - 0x44], esi
cmp ebx, eax
jne 0x835208cf
lea eax, [ebp - 0x48]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ebx
lea ebx, [ebp - 0x48]
mov dword [ebp - 0x40], 0
jmp 0x835208e5
mov dword [ebp - 0x40], 1
test cl, 7
je 0x83520907
mov esi, dword [ecx]
mov dword [ebp - 0x60], esi
mov esi, dword [ecx + 4]
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x3c], 0
jmp 0x8352090e
mov dword [ebp - 0x3c], 1
cmp dword [ebp + 0x1c], 1
jne 0x83520939
mov esi, dword [eax]
mov eax, dword [eax + 4]
xor esi, dword [ecx]
xor eax, dword [ecx + 4]
push 1
push edx
push ebx
push ebx
mov dword [ebx], esi
mov dword [ebx + 4], eax
call edi
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x28]
mov dword [eax], ecx
mov edx, dword [ebx + 4]
mov dword [eax + 4], edx
jmp 0x83520982
push 0
push edx
push eax
push ebx
cmp ebx, eax
je 0x83520960
call edi
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
xor dword [ebx], ecx
mov edx, dword [eax + 4]
xor dword [ebx + 4], edx
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
jmp 0x8352097f
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov dword [ebp - 0x30], ecx
call edi
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
xor dword [ebx], edx
mov ecx, dword [eax + 4]
xor dword [ebx + 4], ecx
mov edx, dword [ebp - 0x30]
mov dword [eax], esi
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x40], 0
jne 0x83520995
mov edx, dword [ebx]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], edx
mov edx, dword [ebx + 4]
mov dword [ecx + 4], edx
cmp dword [ebp - 0x3c], 0
jne 0x83520c69
mov edx, dword [eax]
mov ecx, dword [ebp - 0x38]
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]
xor ecx, ebp
call fcn.834ef3e8
mov esp, ebp
pop ebp
ret 0x1c
cmp esi, 0x10
jne 0x83520b89
test al, 7
je 0x835209ed
cmp eax, ebx
je 0x835209ed
mov esi, dword [eax]
mov dword [ebp - 0x78], esi
mov esi, dword [eax + 4]
mov dword [ebp - 0x74], esi
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x30], eax
test bl, 7
je 0x83520a22
mov esi, dword [ebx]
mov dword [ebp - 0x68], esi
mov esi, dword [ebx + 4]
mov dword [ebp - 0x64], esi
mov esi, dword [ebx + 8]
mov dword [ebp - 0x60], esi
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x5c], esi
cmp ebx, eax
jne 0x83520a13
lea eax, [ebp - 0x68]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x44], ebx
lea ebx, [ebp - 0x68]
mov dword [ebp - 0x38], 0
jmp 0x83520a29
mov dword [ebp - 0x38], 1
test cl, 7
je 0x83520a59
mov esi, dword [ecx]
mov dword [ebp - 0x14], esi
mov esi, dword [ecx + 4]
mov dword [ebp - 0x10], esi
mov esi, dword [ecx + 8]
mov dword [ebp - 0xc], esi
mov esi, dword [ecx + 0xc]
mov dword [ebp - 8], esi
mov esi, ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], 0
jmp 0x83520a63
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], 1
cmp dword [ebp + 0x1c], 1
jne 0x83520ab2
mov edx, dword [eax]
mov esi, dword [eax + 4]
xor edx, dword [ecx]
xor esi, dword [ecx + 4]
mov dword [ebx], edx
mov dword [ebx + 4], esi
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
xor edx, dword [ecx + 8]
xor eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x40]
push 1
push ecx
push ebx
push ebx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], eax
call edi
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 0x83520b34
push 0
push edx
push eax
push ebx
cmp ebx, eax
je 0x83520af1
call edi
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
xor dword [ebx], edx
mov ecx, dword [eax + 4]
xor dword [ebx + 4], ecx
mov edx, dword [eax + 8]
xor dword [ebx + 8], edx
mov ecx, dword [eax + 0xc]
xor dword [ebx + 0xc], ecx
mov ecx, dword [ebp - 0x30]
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 ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
jmp 0x83520b37
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov dword [ebp - 0x54], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x50], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x4c], ecx
call edi
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
xor dword [ebx], edx
mov ecx, dword [eax + 4]
xor dword [ebx + 4], ecx
mov edx, dword [eax + 8]
xor dword [ebx + 8], edx
mov ecx, dword [eax + 0xc]
xor dword [ebx + 0xc], ecx
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x4c]
mov dword [eax], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov esi, dword [ebp - 0x3c]
cmp dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x44]
jne 0x83520b56
mov edx, dword [ebx]
mov dword [ecx], edx
mov edx, dword [ebx + 4]
mov dword [ecx + 4], edx
mov edx, dword [ebx + 8]
mov dword [ecx + 8], edx
mov edx, dword [ebx + 0xc]
mov dword [ecx + 0xc], edx
cmp dword [ebp - 0x2c], 0
jne 0x83520c69
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
pop edi
mov dword [esi + 0xc], edx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.834ef3e8
mov esp, ebp
pop ebp
ret 0x1c
cmp dword [ebp + 0x1c], 1
jne 0x83520be4
test esi, esi
jbe 0x83520bb2
mov edi, eax
sub ecx, eax
mov dword [ebp - 0x2c], esi
lea ebx, [ebx]
mov dl, byte [ecx + edi]
xor byte [edi], dl
inc edi
sub dword [ebp - 0x2c], 1
jne 0x83520ba0
mov edi, dword [ebp - 0x38]
mov edx, dword [ebp - 0x40]
push 1
push edx
push eax
push ebx
call edi
test esi, esi
jbe 0x83520c69
mov eax, dword [ebp - 0x28]
sub ebx, eax
mov cl, byte [ebx + eax]
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x83520bc6
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.834ef3e8
mov esp, ebp
pop ebp
ret 0x1c
cmp eax, ebx
je 0x83520c26
push 0
push edx
push eax
push ebx
call edi
test esi, esi
jbe 0x83520c69
mov edi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
sub edi, ebx
mov eax, ebx
sub ecx, ebx
nop
movzx edx, byte [ecx + eax]
xor byte [eax], dl
movzx edx, byte [edi + eax]
mov byte [ecx + eax], dl
inc eax
sub esi, 1
jne 0x83520c00
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.834ef3e8
mov esp, ebp
pop ebp
ret 0x1c
cmp esi, 0x20
ja 0x83520c69
push esi
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.834ef428
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x30]
add esp, 0xc
push 0
push ecx
push edx
push ebx
call edi
test esi, esi
jbe 0x83520c69
mov ecx, dword [ebp - 0x28]
lea edi, [ebp - 0x24]
sub edi, ebx
mov eax, ebx
sub ecx, ebx
movzx edx, byte [eax + ecx]
xor byte [eax], dl
movzx edx, byte [edi + eax]
mov byte [eax + ecx], dl
inc eax
sub esi, 1
jne 0x83520c56
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.834ef3e8
mov esp, ebp
pop ebp
ret 0x1c