Function at 0x503a00
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa8
call fcn.0053f910
mov eax, dword [0x5e8464]
xor eax, esp
mov dword [esp + 0xa4], eax
push ebx
push ebp
mov ebp, dword [esp + 0xb4]
lea ecx, [esp + 0x6c]
push esi
mov esi, dword [esp + 0xc0]
push edi
mov edi, dword [esp + 0xc0]
mov dword [esp + 0x10], ebp
lea eax, [edi + 0x1f]
cmp ecx, eax
ja 0x503a4b
lea eax, [esp + 0x93]
cmp eax, edi
jae 0x503a61
lea eax, [esi + 0x1f]
lea ecx, [esp + 0x74]
cmp ecx, eax
ja 0x503a86
lea eax, [esp + 0x93]
cmp eax, esi
jb 0x503a86
mov ebx, esi
lea ebp, [esp + 0x74]
sub ebx, edi
mov ecx, edi
sub ebp, edi
mov edx, 0x20
mov al, byte [ecx + ebx]
xor al, byte [ecx]
mov byte [ecx + ebp], al
inc ecx
sub edx, 1
jne 0x503a72
mov ebp, dword [esp + 0x10]
jmp 0x503aba
mov edx, esi
lea ebx, [esp + 0x74]
sub edx, edi
mov eax, edi
sub ebx, edi
mov ecx, 2
nop word [eax + eax]
lea eax, [eax + 0x10]
movups xmm1, xmmword [edx + eax - 0x10]
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [ebx + eax - 0x10], xmm1
sub ecx, 1
jne 0x503aa0
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00503f30
lea eax, [esp + 0x1c]
push eax
push edi
lea eax, [esp + 0xa4]
push eax
push ebp
call fcn.00501be0
lea eax, [esp + 0x4c]
push eax
push edi
call fcn.005035f0
lea eax, [esp + 0x74]
push eax
push esi
call fcn.005035f0
lea eax, [esp + 0x7c]
push eax
push eax
call fcn.005035f0
add esp, 0x30
xor eax, eax
nop word [eax + eax]
movups xmm1, xmmword [esp + eax + 0x54]
movups xmm0, xmmword [esp + eax + 0x34]
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x74], xmm1
add eax, 0x10
cmp eax, 0x20
jb 0x503b10
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00503f30
lea eax, [esp + 0x24]
push eax
lea eax, [edi + 8]
push eax
lea eax, [esp + 0xa4]
push eax
push ebp
call fcn.00501be0
lea eax, [esp + 0x4c]
push eax
push eax
call fcn.005035f0
not byte [esp + 0x73]
lea eax, [esp + 0x74]
not byte [esp + 0x71]
not byte [esp + 0x70]
not byte [esp + 0x6c]
not byte [esp + 0x6b]
not byte [esp + 0x68]
not byte [esp + 0x66]
not byte [esp + 0x65]
not byte [esp + 0x62]
not byte [esp + 0x60]
not byte [esp + 0x5e]
not byte [esp + 0x5c]
not byte [esp + 0x5b]
not byte [esp + 0x59]
not byte [esp + 0x57]
not byte [esp + 0x55]
push eax
push eax
call fcn.005035f0
lea eax, [esp + 0x7c]
push eax
push eax
call fcn.005035f0
add esp, 0x30
xor eax, eax
nop word [eax + eax]
movups xmm1, xmmword [esp + eax + 0x54]
movups xmm0, xmmword [esp + eax + 0x34]
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x74], xmm1
add eax, 0x10
cmp eax, 0x20
jb 0x503bc0
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00503f30
lea eax, [esp + 0x2c]
push eax
lea eax, [edi + 0x10]
push eax
lea eax, [esp + 0xa4]
push eax
push ebp
call fcn.00501be0
lea eax, [esp + 0x4c]
push eax
push eax
call fcn.005035f0
lea eax, [esp + 0x74]
push eax
push eax
call fcn.005035f0
lea eax, [esp + 0x7c]
push eax
push eax
call fcn.005035f0
add esp, 0x30
xor eax, eax
nop word [eax + eax]
movups xmm1, xmmword [esp + eax + 0x54]
movups xmm0, xmmword [esp + eax + 0x34]
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x74], xmm1
add eax, 0x10
cmp eax, 0x20
jb 0x503c30
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00503f30
lea eax, [esp + 0x34]
push eax
lea eax, [edi + 0x18]
push eax
lea eax, [esp + 0xa4]
push eax
push ebp
call fcn.00501be0
mov cl, byte [esp + 0x4b]
add esp, 0x18
mov bl, byte [esp + 0x32]
mov ebp, 0xc
nop dword [eax]
nop dword [eax + eax]
movzx eax, byte [esp + 0x15]
xor al, byte [esp + 0x17]
xor al, byte [esp + 0x19]
xor al, byte [esp + 0x1b]
xor al, byte [esp + 0x2d]
xor al, cl
movzx ecx, al
movzx eax, byte [esp + 0x14]
xor al, byte [esp + 0x16]
xor al, byte [esp + 0x18]
xor al, byte [esp + 0x1a]
xor al, byte [esp + 0x2c]
xor al, bl
shl cx, 8
movzx eax, al
or cx, ax
lea eax, [esp + 0x16]
push 0x1e
push eax
lea eax, [esp + 0x1c]
movzx ebx, cx
push eax
call fcn.00542c70
mov ecx, ebx
mov byte [esp + 0x3e], bl
shr ecx, 8
add esp, 0xc
mov byte [esp + 0x33], cl
sub ebp, 1
jne 0x503c90
lea eax, [esi + 0x1f]
xor edx, edx
lea ecx, [esp + 0x14]
cmp ecx, eax
ja 0x503d23
lea eax, [esp + 0x33]
cmp eax, esi
jb 0x503d23
mov eax, ecx
sub esi, eax
nop dword [eax]
lea ecx, [esp + 0x14]
add ecx, edx
inc edx
mov al, byte [ecx + esi]
xor byte [ecx], al
cmp edx, 0x20
jb 0x503d10
jmp 0x503d4c
lea eax, [esp + 0x14]
sub esi, eax
nop dword [eax]
lea eax, [esp + 0x14]
add eax, edx
add edx, 0x10
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + esi]
pxor xmm1, xmm0
movups xmmword [eax], xmm1
cmp edx, 0x20
jb 0x503d30
movzx eax, byte [esp + 0x15]
xor al, byte [esp + 0x17]
xor al, byte [esp + 0x19]
xor al, byte [esp + 0x1b]
xor al, byte [esp + 0x2d]
xor al, byte [esp + 0x33]
movzx ecx, al
movzx eax, byte [esp + 0x14]
xor al, byte [esp + 0x16]
xor al, byte [esp + 0x18]
xor al, byte [esp + 0x1a]
xor al, byte [esp + 0x2c]
xor al, byte [esp + 0x32]
movzx eax, al
shl cx, 8
or cx, ax
lea eax, [esp + 0x16]
push 0x1e
push eax
lea eax, [esp + 0x1c]
movzx ebx, cx
push eax
call fcn.00542c70
mov byte [esp + 0x3e], bl
lea edx, [esp + 0x20]
shr ebx, 8
lea ecx, [edi + 0x1f]
add esp, 0xc
mov byte [esp + 0x33], bl
xor eax, eax
cmp edx, ecx
ja 0x503ddb
lea ecx, [esp + 0x33]
cmp ecx, edi
jb 0x503ddb
mov esi, edi
mov ecx, edx
sub esi, ecx
lea edx, [esp + 0x14]
add edx, eax
inc eax
mov cl, byte [edx + esi]
xor byte [edx], cl
cmp eax, 0x20
jb 0x503dc8
jmp 0x503dff
mov edx, edi
lea ecx, [esp + 0x14]
sub edx, ecx
lea ecx, [esp + 0x14]
add ecx, eax
add eax, 0x10
movups xmm0, xmmword [ecx]
movups xmm1, xmmword [ecx + edx]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
cmp eax, 0x20
jb 0x503de3
mov cl, byte [esp + 0x33]
mov esi, 0x3d
mov bl, byte [esp + 0x32]
nop dword [eax]
movzx eax, byte [esp + 0x15]
xor al, byte [esp + 0x17]
xor al, byte [esp + 0x19]
xor al, byte [esp + 0x1b]
xor al, byte [esp + 0x2d]
xor al, cl
movzx ecx, al
movzx eax, byte [esp + 0x14]
xor al, byte [esp + 0x16]
xor al, byte [esp + 0x18]
xor al, byte [esp + 0x1a]
xor al, byte [esp + 0x2c]
xor al, bl
shl cx, 8
movzx eax, al
or cx, ax
lea eax, [esp + 0x16]
push 0x1e
push eax
lea eax, [esp + 0x1c]
movzx ebx, cx
push eax
call fcn.00542c70
mov ecx, ebx
mov byte [esp + 0x3e], bl
shr ecx, 8
add esp, 0xc
mov byte [esp + 0x33], cl
sub esi, 1
jne 0x503e10
movups xmm0, xmmword [esp + 0x14]
mov ecx, dword [esp + 0xb4]
lea eax, [esi + 1]
movups xmmword [edi], xmm0
movups xmm0, xmmword [esp + 0x24]
movups xmmword [edi + 0x10], xmm0
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0053ed9c
add esp, 0xa8
ret