Function at 0x5a6c90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2e4
mov eax, dword [0x64e0a0]
xor eax, esp
mov dword [esp + 0x2e0], eax
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov dword [esp + 0x50], ecx
jle 0x5a7163
lea ebx, [edx + 2]
mov edi, edi
xor edi, edi
movzx eax, byte [ebx - 2]
cdq
mov ecx, eax
movzx eax, byte [ebx - 1]
mov esi, edx
shld esi, ecx, 8
shl ecx, 8
cdq
or ecx, eax
movzx eax, byte [ebx]
or esi, edx
shld esi, ecx, 8
shl ecx, 8
cdq
or ecx, eax
movzx eax, byte [ebx + 1]
or esi, edx
shld esi, ecx, 8
shl ecx, 8
cdq
or ecx, eax
movzx eax, byte [ebx + 2]
or esi, edx
shld esi, ecx, 8
shl ecx, 8
cdq
or ecx, eax
movzx eax, byte [ebx + 3]
or esi, edx
shld esi, ecx, 8
shl ecx, 8
cdq
or ecx, eax
movzx eax, byte [ebx + 4]
or esi, edx
shld esi, ecx, 8
shl ecx, 8
cdq
or ecx, eax
movzx eax, byte [ebx + 5]
or esi, edx
shld esi, ecx, 8
cdq
shl ecx, 8
or ecx, eax
or esi, edx
mov dword [esp + edi*8 + 0x68], ecx
mov dword [esp + edi*8 + 0x6c], esi
inc edi
add ebx, 8
cmp edi, 0x10
jl 0x5a6cc2
mov dword [esp + 0x60], ebx
lea eax, [esp + 0xd8]
mov dword [esp + 0x1c], 0x40
mov ebx, dword [eax + 4]
mov ecx, dword [eax]
mov edi, ecx
mov edx, ebx
shrd ecx, edx, 0x13
shr edx, 0x13
xor esi, esi
or esi, ecx
mov ecx, dword [eax]
shl edi, 0xd
or edi, edx
mov edx, ebx
shld edx, ecx, 3
shl ecx, 3
mov dword [esp + 0x10], edi
mov edi, ebx
shr edi, 0x1d
or edi, ecx
mov ecx, dword [eax]
shrd ecx, ebx, 6
mov dword [esp + 0xc], esi
xor esi, esi
or esi, edx
mov edx, dword [esp + 0xc]
xor edx, edi
mov edi, dword [esp + 0x10]
xor edx, ecx
xor edi, esi
shr ebx, 6
xor edi, ebx
mov dword [esp + 0xc], edx
mov edx, dword [eax - 0x64]
mov dword [esp + 0x10], edi
mov edi, dword [eax - 0x68]
xor ebx, ebx
mov ecx, edi
shrd ecx, edx, 8
or ebx, ecx
mov ecx, dword [eax - 0x68]
shr edx, 8
mov esi, edi
shl esi, 0x18
or esi, edx
mov edx, dword [eax - 0x64]
shrd ecx, edx, 1
shr edx, 1
mov dword [esp + 0x2c], esi
xor esi, esi
or esi, ecx
mov ecx, dword [esp + 0x2c]
xor ebx, esi
mov esi, dword [eax - 0x68]
shl edi, 0x1f
or edi, edx
mov edx, dword [eax - 0x64]
shrd esi, edx, 7
shr edx, 7
xor ecx, edi
xor ebx, esi
xor ecx, edx
mov edx, dword [esp + 0xc]
add edx, ebx
mov ebx, dword [esp + 0x10]
adc ebx, ecx
add edx, dword [eax - 0x70]
adc ebx, dword [eax - 0x6c]
add edx, dword [eax - 0x28]
adc ebx, dword [eax - 0x24]
dec dword [esp + 0x1c]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ebx
lea eax, [eax + 8]
jne 0x5a6d62
mov eax, dword [esp + 0x50]
xor edi, edi
mov ecx, dword [eax + 0x110]
mov ebx, dword [eax + 0x138]
mov edx, dword [eax + 0x114]
mov esi, dword [eax + 0x118]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 0x11c]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 0x120]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0x124]
mov dword [esp + 0x38], ebx
mov ebx, dword [eax + 0x13c]
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 0x128]
mov dword [esp + 0x40], ebx
mov ebx, dword [eax + 0x140]
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax + 0x12c]
mov dword [esp + 0x10], ebx
mov ebx, dword [eax + 0x144]
mov dword [esp + 0x58], edx
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0x130]
mov dword [esp + 0x48], ecx
mov ecx, dword [eax + 0x134]
mov dword [esp + 0xc], ebx
mov ebx, dword [eax + 0x148]
mov eax, dword [eax + 0x14c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x44], edi
mov ebx, ecx
mov eax, edx
shld ecx, eax, 0x17
shl eax, 0x17
xor edi, edi
or edi, ecx
mov ecx, dword [esp + 0x14]
shr ebx, 9
or ebx, eax
mov eax, dword [esp + 0x28]
shrd eax, ecx, 0x12
shr ecx, 0x12
mov esi, edx
shl esi, 0xe
or esi, ecx
mov ecx, dword [esp + 0x14]
xor edi, esi
xor edx, edx
or edx, eax
mov eax, dword [esp + 0x28]
xor ebx, edx
mov esi, eax
shrd eax, ecx, 0xe
shl esi, 0x12
shr ecx, 0xe
or esi, ecx
mov ecx, dword [esp + 0x38]
and ecx, dword [esp + 0x28]
xor edi, esi
mov esi, dword [esp + 0x28]
xor edx, edx
or edx, eax
mov eax, dword [esp + 0x40]
and eax, dword [esp + 0x14]
xor ebx, edx
mov edx, dword [esp + 0x14]
not esi
and esi, dword [esp + 0x10]
not edx
and edx, dword [esp + 0xc]
xor esi, ecx
xor edx, eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
add ebx, esi
adc edi, edx
add ebx, dword [eax + 0x611868]
adc edi, dword [eax + 0x61186c]
add ebx, dword [esp + eax + 0x68]
adc edi, dword [esp + eax + 0x6c]
add ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
adc edi, dword [esp + 0x1c]
mov dword [esp + 0x5c], ebx
mov ebx, eax
shrd eax, ecx, 0x1c
shr ecx, 0x1c
mov dword [esp + 0x54], edi
shl ebx, 4
or ebx, ecx
mov ecx, dword [esp + 0x18]
xor edi, edi
or edi, eax
mov eax, dword [esp + 0x20]
mov esi, ecx
shld ecx, eax, 0x1e
shl eax, 0x1e
shr esi, 2
or esi, eax
mov eax, dword [esp + 0x20]
xor edx, edx
or edx, ecx
mov ecx, dword [esp + 0x18]
xor edi, esi
mov esi, ecx
shld ecx, eax, 0x19
xor ebx, edx
shr esi, 7
shl eax, 0x19
xor edx, edx
or esi, eax
mov eax, dword [esp + 0x24]
and eax, dword [esp + 0x18]
or edx, ecx
mov ecx, dword [esp + 0x34]
xor edi, esi
xor ebx, edx
mov edx, dword [esp + 0x24]
xor edx, dword [esp + 0x18]
mov esi, ecx
xor esi, dword [esp + 0x20]
and edx, dword [esp + 0x30]
and esi, dword [esp + 0x3c]
and ecx, dword [esp + 0x20]
xor edx, eax
mov eax, dword [esp + 0x10]
xor esi, ecx
add edi, esi
mov esi, dword [esp + 0x48]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xc]
adc ebx, edx
mov edx, dword [esp + 0x4c]
add edx, dword [esp + 0x5c]
mov dword [esp + 0x1c], eax
adc esi, dword [esp + 0x54]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x24], esi
mov esi, edi
add esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x40], eax
mov eax, ebx
adc eax, dword [esp + 0x54]
add edi, 8
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x44], edi
cmp edi, 0x280
jl 0x5a6ee3
mov ecx, dword [esp + 0x64]
add ecx, esi
mov esi, dword [esp + 0x58]
adc esi, eax
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x60]
mov dword [eax + 0x110], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x114], esi
mov esi, dword [esp + 0x34]
add dword [eax + 0x118], esi
adc dword [eax + 0x11c], ecx
mov ecx, dword [esp + 0x3c]
add dword [eax + 0x120], ecx
mov ecx, dword [esp + 0x30]
adc dword [eax + 0x124], ecx
mov ecx, dword [esp + 0x4c]
add dword [eax + 0x128], ecx
mov ecx, dword [esp + 0x48]
adc dword [eax + 0x12c], ecx
add dword [eax + 0x130], edx
mov ecx, dword [esp + 0x14]
adc dword [eax + 0x134], ecx
mov ecx, dword [esp + 0x38]
add dword [eax + 0x138], ecx
mov ecx, dword [esp + 0x40]
adc dword [eax + 0x13c], ecx
mov ecx, dword [esp + 0x10]
add dword [eax + 0x140], ecx
mov ecx, dword [esp + 0xc]
adc dword [eax + 0x144], ecx
mov ecx, dword [esp + 0x2c]
add dword [eax + 0x148], ecx
mov ecx, dword [esp + 0x1c]
adc dword [eax + 0x14c], ecx
dec dword [ebp + 8]
jne 0x5a6cc0
mov ecx, dword [esp + 0x2ec]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00541b41
mov esp, ebp
pop ebp
ret