Function at 0x4b35c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x34
mov eax, dword [0x59b000]
xor eax, esp
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x40]
push ebp
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x10], ebp
mov dword [esp + 4], eax
push esi
push edi
mov edi, dword [esp + 0x50]
mov dword [esp + 0x14], edi
test ebp, ebp
je 0x4b37f8
mov esi, dword [esp + 0x48]
test esi, esi
je 0x4b37f8
test edi, edi
je 0x4b37f8
push ebx
mov ebx, eax
shr ebx, 4
test ebx, ebx
je 0x4b3667
lea eax, [ebp + 0x28]
lea ecx, [esp + 0x30]
push ecx
push eax
mov eax, dword [ebp + 0x10]
push ebp
call eax
mov eax, dword [esi]
add esp, 0xc
xor eax, dword [esp + 0x30]
mov dword [edi], eax
mov eax, dword [esi + 4]
xor eax, dword [esp + 0x34]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
xor eax, dword [esp + 0x38]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
add esi, 0x10
xor eax, dword [esp + 0x3c]
mov dword [edi + 0xc], eax
lea eax, [ebp + 0x28]
movdqu xmm0, xmmword [edi]
add edi, 0x10
movdqu xmmword [eax], xmm0
dec ebx
jne 0x4b3612
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x18], edi
mov ebx, eax
and ebx, 0xf
mov dword [esp + 0x14], ebx
je 0x4b37df
lea ecx, [esp + 0x30]
push ecx
lea eax, [ebp + 0x28]
push eax
mov eax, dword [ebp + 0x10]
push ebp
call eax
add esp, 0xc
xor edx, edx
test ebx, ebx
je 0x4b3777
cmp ebx, 0x20
jb 0x4b3746
lea ecx, [edi - 1]
lea eax, [esp + ebx + 0x2f]
add ecx, ebx
cmp edi, eax
ja 0x4b36b4
lea eax, [esp + 0x30]
cmp ecx, eax
jae 0x4b3746
lea eax, [esi - 1]
add eax, ebx
cmp edi, eax
ja 0x4b36c5
cmp ecx, esi
jae 0x4b3746
mov eax, ebx
mov ecx, ebx
lea ebx, [esp + 0x30]
and eax, 0x1f
sub ebx, esi
mov ebp, edi
mov dword [esp + 0x20], ebx
sub ebp, esi
sub ecx, eax
mov dword [esp + 0x28], ebp
lea ebx, [esp + 0x40]
mov eax, esi
sub ebx, esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x2c], ebx
lea ebx, [edi + 0x10]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x24], ebx
mov ebx, ebp
lea ecx, [ecx]
movdqu xmm0, xmmword [eax]
mov ebp, dword [esp + 0x24]
lea eax, [eax + 0x20]
movdqu xmm1, xmmword [esi + eax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [ebx + eax - 0x20], xmm1
movdqu xmm0, xmmword [eax - 0x10]
movdqu xmm1, xmmword [edi + eax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [edx + ebp], xmm1
mov ebp, dword [esp + 0x1c]
add edx, 0x20
cmp edx, ecx
jb 0x4b3700
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x14]
cmp edx, ebx
jae 0x4b3777
lea eax, [esp + 0x30]
sub esi, eax
lea ecx, [esp + 0x30]
mov eax, edi
sub eax, ecx
mov dword [esp + 0x14], eax
mov ebp, eax
mov edi, edi
lea ecx, [esp + 0x30]
add ecx, edx
inc edx
mov al, byte [esi + ecx]
xor al, byte [ecx]
mov byte [ecx + ebp], al
cmp edx, ebx
jb 0x4b3760
mov ebp, dword [esp + 0x1c]
add edi, ebx
mov ebx, dword [esp + 0x10]
cmp ebx, 0x10
jae 0x4b37c0
mov esi, 0x10
lea eax, [ebx + 0x28]
sub esi, ebx
add eax, ebp
push esi
push eax
lea eax, [ebp + 0x28]
push eax
call fcn.0054a030
push ebx
sub edi, ebx
lea eax, [esi + 0x28]
add eax, ebp
push edi
push eax
call fcn.0054adf0
add esp, 0x18
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0054a992
add esp, 0x34
ret
movdqu xmm0, xmmword [edi - 0x10]
mov eax, ebx
pop ebx
pop edi
pop esi
movdqu xmmword [ebp + 0x28], xmm0
pop ebp
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0054a992
add esp, 0x34
ret
mov ebx, dword [esp + 0x10]
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0054a992
add esp, 0x34
ret
mov ecx, dword [esp + 0x3c]
xor eax, eax
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0054a992
add esp, 0x34
ret