Function at 0x5a4fc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov eax, edx
mov esi, ecx
mov dword [ebp - 0x3c], eax
push edi
lea ecx, [esi + eax]
mov dword [ebp - 0x20], ecx
cmp eax, 0x20
jb 0x5a52e5
lea eax, [ecx - 0x20]
mov dword [ebp - 0x10], 0x27d4eb4f
xorps xmm0, xmm0
mov dword [ebp - 4], eax
movlpd qword [ebp - 0x38], xmm0
mov ebx, 0xadc0b5d6
mov eax, dword [ebp - 0x34]
mov edi, 0x60ea27ee
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], 0xc2b2ae3d
mov dword [ebp - 8], 0x7a143579
mov dword [ebp - 0x1c], 0x61c8864e
mov dword [ebp - 0x18], eax
nop
push 0xc2b2ae3d
push 0x27d4eb4f
push dword [esi + 4]
push dword [esi]
call fcn.005e0850
mov ecx, eax
add ecx, ebx
mov eax, ecx
adc edx, edi
push 0x9e3779b1
shld eax, edx, 0x1f
shld edx, ecx, 0x1f
push 0x85ebca87
push edx
push eax
call fcn.005e0850
push 0xc2b2ae3d
push 0x27d4eb4f
push dword [esi + 0xc]
mov ebx, eax
mov edi, edx
push dword [esi + 8]
call fcn.005e0850
mov ecx, eax
add ecx, dword [ebp - 0x10]
mov eax, ecx
adc edx, dword [ebp - 0xc]
push 0x9e3779b1
shld eax, edx, 0x1f
shld edx, ecx, 0x1f
push 0x85ebca87
push edx
push eax
call fcn.005e0850
push 0xc2b2ae3d
push 0x27d4eb4f
push dword [esi + 0x14]
mov dword [ebp - 0x10], eax
push dword [esi + 0x10]
mov dword [ebp - 0xc], edx
call fcn.005e0850
mov ecx, eax
add ecx, dword [ebp - 0x18]
mov eax, ecx
adc edx, dword [ebp - 0x14]
push 0x9e3779b1
shld eax, edx, 0x1f
shld edx, ecx, 0x1f
push 0x85ebca87
push edx
push eax
call fcn.005e0850
push 0xc2b2ae3d
push 0x27d4eb4f
push dword [esi + 0x1c]
mov dword [ebp - 0x18], eax
push dword [esi + 0x18]
mov dword [ebp - 0x14], edx
call fcn.005e0850
mov ecx, eax
add ecx, dword [ebp - 8]
mov eax, ecx
adc edx, dword [ebp - 0x1c]
push 0x9e3779b1
shld eax, edx, 0x1f
shld edx, ecx, 0x1f
push 0x85ebca87
push edx
push eax
call fcn.005e0850
add esi, 0x20
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], edx
cmp esi, dword [ebp - 4]
jbe 0x5a5020
mov ecx, dword [ebp - 0xc]
mov eax, ebx
shld eax, edi, 1
mov dword [ebp - 0x34], ebx
mov edx, ecx
mov dword [ebp - 0x28], eax
mov eax, edi
shld eax, ebx, 1
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x30], edi
mov edi, eax
shld edi, ecx, 7
shld edx, eax, 7
mov eax, dword [ebp - 0x14]
mov ecx, ebx
shld ecx, eax, 0xc
shld eax, ebx, 0xc
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x1c]
shld ebx, edi, 0x12
push 0xc2b2ae3d
mov dword [ebp - 4], ebx
mov ebx, edi
mov edi, dword [ebp - 8]
shld ebx, edi, 0x12
add dword [ebp - 4], ecx
push 0x27d4eb4f
push dword [ebp - 0x30]
adc ebx, eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x24]
push dword [ebp - 0x34]
adc ebx, edx
add eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
adc ebx, dword [ebp - 0x2c]
call fcn.005e0850
mov ecx, eax
push 0x9e3779b1
shld ecx, edx, 0x1f
shld edx, eax, 0x1f
push 0x85ebca87
push edx
push ecx
call fcn.005e0850
xor eax, dword [ebp - 4]
xor edx, ebx
push 0x9e3779b1
push 0x85ebca87
push edx
push eax
call fcn.005e0850
push 0xc2b2ae3d
push 0x27d4eb4f
push dword [ebp - 0xc]
mov edi, eax
mov ebx, edx
push dword [ebp - 0x10]
add edi, 0xc2b2ae63
adc ebx, 0x85ebca77
call fcn.005e0850
mov ecx, eax
push 0x9e3779b1
shld ecx, edx, 0x1f
shld edx, eax, 0x1f
push 0x85ebca87
push edx
push ecx
call fcn.005e0850
push 0x9e3779b1
push 0x85ebca87
xor edx, ebx
xor eax, edi
push edx
push eax
call fcn.005e0850
mov edi, eax
mov ebx, edx
push 0xc2b2ae3d
push 0x27d4eb4f
push dword [ebp - 0x14]
add edi, 0xc2b2ae63
push dword [ebp - 0x18]
adc ebx, 0x85ebca77
call fcn.005e0850
mov ecx, eax
push 0x9e3779b1
shld ecx, edx, 0x1f
shld edx, eax, 0x1f
push 0x85ebca87
push edx
push ecx
call fcn.005e0850
push 0x9e3779b1
push 0x85ebca87
xor edx, ebx
xor eax, edi
push edx
push eax
call fcn.005e0850
push 0xc2b2ae3d
push 0x27d4eb4f
push dword [ebp - 0x1c]
mov edi, eax
mov ebx, edx
push dword [ebp - 8]
add edi, 0xc2b2ae63
adc ebx, 0x85ebca77
call fcn.005e0850
mov ecx, eax
push 0x9e3779b1
shld ecx, edx, 0x1f
shld edx, eax, 0x1f
push 0x85ebca87
push edx
push ecx
call fcn.005e0850
push 0x9e3779b1
push 0x85ebca87
xor edx, ebx
xor eax, edi
push edx
push eax
call fcn.005e0850
mov ecx, dword [ebp - 0x20]
mov ebx, eax
mov eax, dword [ebp - 0x3c]
add ebx, 0xc2b2ae63
mov edi, edx
adc edi, 0x85ebca77
jmp 0x5a52ef
mov ebx, 0x165667c5
mov edi, 0x27d4eb2f
add ebx, eax
lea eax, [esi + 8]
mov dword [ebp - 0x1c], eax
adc edi, 0
cmp eax, ecx
ja 0x5a5370
mov edi, edi
push 0xc2b2ae3d
push 0x27d4eb4f
push dword [esi + 4]
push dword [esi]
call fcn.005e0850
mov ecx, eax
push 0x9e3779b1
shld ecx, edx, 0x1f
shld edx, eax, 0x1f
push 0x85ebca87
push edx
push ecx
call fcn.005e0850
mov ecx, eax
xor edx, edi
xor ecx, ebx
mov eax, ecx
push 0x9e3779b1
shld eax, edx, 0x1b
shld edx, ecx, 0x1b
push 0x85ebca87
push edx
push eax
call fcn.005e0850
mov esi, dword [ebp - 0x1c]
mov ebx, eax
mov ecx, dword [ebp - 0x20]
add ebx, 0xc2b2ae63
mov edi, edx
adc edi, 0x85ebca77
lea eax, [esi + 8]
mov dword [ebp - 0x1c], eax
cmp eax, ecx
jbe 0x5a5300
lea eax, [esi + 4]
mov dword [ebp - 0x3c], eax
cmp eax, ecx
ja 0x5a53c4
push 0x9e3779b1
push 0x85ebca87
push 0
push dword [esi]
call fcn.005e0850
mov ecx, eax
xor edx, edi
xor ecx, ebx
mov eax, ecx
push 0xc2b2ae3d
shld eax, edx, 0x17
shld edx, ecx, 0x17
push 0x27d4eb4f
push edx
push eax
call fcn.005e0850
mov esi, dword [ebp - 0x3c]
mov ebx, eax
mov ecx, dword [ebp - 0x20]
add ebx, 0x9e3779f9
mov edi, edx
adc edi, 0x165667b1
mov eax, ecx
mov dword [ebp - 0x20], 0
sub eax, esi
xor edx, edx
cmp esi, ecx
cmova eax, edx
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x5a5429
lea ecx, [ecx]
movzx eax, byte [esi]
push 0x27d4eb2f
cdq
push 0x165667c5
push edx
push eax
call fcn.005e0850
mov ecx, eax
xor edx, edi
xor ecx, ebx
mov eax, ecx
push 0x9e3779b1
shld eax, edx, 0xb
shld edx, ecx, 0xb
push 0x85ebca87
push edx
push eax
call fcn.005e0850
mov ebx, eax
lea esi, [esi + 1]
mov eax, dword [ebp - 0x20]
mov edi, edx
inc eax
mov dword [ebp - 0x20], eax
cmp eax, dword [ebp - 0x3c]
jb 0x5a53e0
push 0xc2b2ae3d
xor eax, eax
mov ecx, edi
push 0x27d4eb4f
shr ecx, 1
xor eax, edi
xor ecx, ebx
push eax
push ecx
call fcn.005e0850
mov esi, eax
mov ecx, edx
shrd esi, ecx, 0x1d
push 0x165667b1
shr ecx, 0x1d
xor esi, eax
push 0x9e3779f9
xor ecx, edx
push ecx
push esi
call fcn.005e0850
mov ecx, edx
xor esi, esi
pop edi
xor eax, ecx
xor edx, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret