Function at 0x463750
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x3c
call fcn.004fc970
mov eax, dword [0x588eb0]
xor eax, esp
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x54]
push ebx
mov ebx, dword [esp + 0x4c]
push ebp
mov ebp, dword [esp + 0x48]
push esi
mov esi, dword [esp + 0x5c]
push edi
mov edi, dword [esp + 0x54]
cmp ebp, edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ecx
je 0x4637f9
cmp ebx, 0x10
mov eax, esi
mov dword [esp + 0x18], eax
jb 0x4637e1
mov eax, ebx
shr eax, 4
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x24]
push edx
push edi
push ebp
call dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
xor dword [edi], ecx
mov edx, dword [eax + 4]
xor dword [edi + 4], edx
mov ecx, dword [eax + 8]
xor dword [edi + 8], ecx
mov edx, dword [eax + 0xc]
xor dword [edi + 0xc], edx
mov dword [esp + 0x24], ebp
add esp, 0xc
sub ebx, 0x10
add ebp, 0x10
add edi, 0x10
sub dword [esp + 0x14], 1
jne 0x4637a1
mov eax, dword [esp + 0x18]
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]
mov dword [esi + 0xc], edx
jmp 0x463866
cmp ebx, 0x10
jb 0x463866
mov eax, ebx
shr eax, 4
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x3c]
push ecx
push ebp
call dword [esp + 0x28]
mov eax, dword [ebp]
mov edx, dword [esi]
xor edx, dword [esp + 0x44]
add esp, 0xc
mov dword [edi], edx
mov ecx, dword [esi + 4]
xor ecx, dword [esp + 0x3c]
mov dword [esi], eax
mov eax, dword [ebp + 4]
mov dword [edi + 4], ecx
mov edx, dword [esi + 8]
xor edx, dword [esp + 0x40]
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [edi + 8], edx
mov ecx, dword [esi + 0xc]
xor ecx, dword [esp + 0x44]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0xc], ecx
sub ebx, 0x10
add ebp, 0x10
add edi, 0x10
sub dword [esp + 0x14], 1
mov dword [esi + 0xc], eax
jne 0x463807
test ebx, ebx
je 0x4639d4
lea edx, [esp + 0x38]
mov eax, esi
sub eax, edx
mov dword [esp + 0x28], eax
mov ecx, edx
mov eax, 1
sub eax, ecx
mov dword [esp + 0x34], eax
mov eax, 2
sub eax, edx
mov dword [esp + 0x2c], eax
mov eax, 3
sub eax, ecx
mov dword [esp + 0x30], eax
mov eax, ecx
lea edx, [edi + 2]
sub edi, eax
mov eax, ebp
sub eax, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x24]
push edx
lea eax, [esp + 0x3c]
push eax
push ebp
call dword [esp + 0x28]
add esp, 0xc
xor eax, eax
cmp eax, ebx
jae 0x463988
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
lea ecx, [esp + eax + 0x38]
movzx edx, byte [ecx + edx]
mov byte [esp + 0x13], dl
movzx edx, byte [ecx]
xor dl, byte [ecx + edi]
mov edi, dword [esp + 0x14]
mov byte [ecx + edi], dl
movzx edx, byte [esp + 0x13]
mov edi, dword [esp + 0x28]
mov byte [ecx + edi], dl
mov edx, dword [esp + 0x34]
add edx, ecx
cmp edx, ebx
jae 0x46397b
movzx edx, byte [eax + ebp + 1]
mov edi, dword [esp + 0x18]
mov byte [esp + 0x13], dl
movzx edx, byte [ecx + 1]
xor dl, byte [esi + eax + 1]
mov byte [edi + eax - 1], dl
movzx edx, byte [esp + 0x13]
mov byte [esi + eax + 1], dl
mov edx, dword [esp + 0x2c]
add edx, ecx
cmp edx, ebx
jae 0x463980
movzx edx, byte [eax + ebp + 2]
mov byte [esp + 0x13], dl
movzx edx, byte [ecx + 2]
xor dl, byte [esi + eax + 2]
mov byte [edi + eax], dl
movzx edx, byte [esp + 0x13]
mov byte [esi + eax + 2], dl
mov edx, dword [esp + 0x30]
add edx, ecx
cmp edx, ebx
jae 0x463985
mov cl, byte [ecx + 3]
xor cl, byte [esi + eax + 3]
mov dl, byte [eax + ebp + 3]
mov byte [edi + eax + 1], cl
mov byte [esi + eax + 3], dl
add eax, 4
cmp eax, 0x10
jb 0x4638c8
jmp 0x463988
add eax, 1
jmp 0x463988
add eax, 2
jmp 0x463988
add eax, 3
mov edx, 0x10
cmp ebx, edx
jbe 0x4639bc
add dword [esp + 0x20], edx
add dword [esp + 0x14], edx
add dword [esp + 0x18], edx
sub ebx, edx
add ebp, edx
test ebx, ebx
jne 0x4638b4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.004fbc95
add esp, 0x3c
ret
cmp eax, edx
jae 0x4639d4
sub ebp, esi
lea ecx, [esi + eax]
sub edx, eax
mov al, byte [ecx + ebp]
mov byte [ecx], al
add ecx, 1
sub edx, 1
jne 0x4639c7
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004fbc95
add esp, 0x3c
ret