Function at 0x53d9e0
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x134ac]
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 0x53db76
test al, 7
je 0x53da3f
cmp eax, ebx
je 0x53da3f
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 0x53da46
mov dword [ebp - 0x30], 1
test bl, 7
je 0x53da6f
cmp ebx, eax
mov esi, dword [ebx]
mov dword [ebp - 0x44], esi
mov esi, dword [ebx + 4]
mov dword [ebp - 0x40], esi
jne 0x53da60
lea eax, [ebp - 0x44]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], ebx
lea ebx, [ebp - 0x44]
mov dword [ebp - 0x38], 0
jmp 0x53da76
mov dword [ebp - 0x38], 1
test cl, 7
je 0x53da98
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 0x53da9f
mov dword [ebp - 0x3c], 1
cmp dword [ebp + 0x1c], 1
jne 0x53daca
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 0x53db22
cmp ebx, eax
push 0
push edi
push eax
push ebx
je 0x53dafa
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 0x53db25
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 0x53db39
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 0x53db4d
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 0x53de8f
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.005312cf
mov esp, ebp
pop ebp
ret 0x1c
cmp esi, 0x10
jne 0x53ddb1
test al, 7
je 0x53dbb5
cmp eax, ebx
je 0x53dbb5
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 0x53dbbc
mov dword [ebp - 0x48], 1
test bl, 7
je 0x53dbf6
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 0x53dbe4
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 0x53dbfd
mov dword [ebp - 0x3c], 1
test cl, 7
je 0x53dc32
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 0x53dc3c
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x34], 1
cmp dword [ebp + 0x1c], 1
jne 0x53dc91
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 0x53dd39
cmp ebx, eax
push 0
push edi
push eax
push ebx
je 0x53dce3
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 0x53dd3f
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 0x53dd5f
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 0x53dd7f
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 0x53de8f
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.005312cf
mov esp, ebp
pop ebp
ret 0x1c
cmp dword [ebp + 0x1c], 1
jne 0x53de0a
test esi, esi
jbe 0x53ddda
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 0x53ddc5
mov edi, dword [ebp - 0x30]
push 1
push edi
push eax
push ebx
call edx
test esi, esi
jbe 0x53de8f
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 0x53ddf0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
call fcn.005312cf
mov esp, ebp
pop ebp
ret 0x1c
cmp eax, ebx
je 0x53de43
push 0
push edi
push eax
push ebx
call edx
test esi, esi
jbe 0x53de8f
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 0x53de23
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
call fcn.005312cf
mov esp, ebp
pop ebp
ret 0x1c
cmp esi, 0x20
ja 0x53de8f
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 0x53de8f
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 0x53de80
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.005312cf
mov esp, ebp
pop ebp
ret 0x1c