Function at 0x494b90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xb4
call fcn.00596bf0
mov eax, dword [0x616930]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0xc]
mov ecx, ebx
shl ecx, 7
lea esi, [ecx + eax - 0x40]
push edi
mov ecx, 0x10
lea edi, [ebp - 0x88]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, ebx
shld edx, eax, 1
xor esi, esi
add eax, eax
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], edx
cmp edx, esi
jb 0x494ed2
ja 0x494c16
cmp eax, esi
jbe 0x494ed2
jmp 0x494c16
mov ecx, dword [ebp - 0x98]
xor eax, eax
xor edx, edx
lea ebx, [ebx]
mov esi, dword [ecx]
xor dword [ebp + eax*4 - 0x88], esi
add ecx, 4
add eax, 1
adc edx, 0
jne 0x494c39
cmp eax, 0x10
jb 0x494c20
mov dword [ebp - 0x98], ecx
mov ecx, 0x10
lea esi, [ebp - 0x88]
lea edi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0x94], 4
mov ebx, dword [ebp - 0x44]
add ebx, dword [ebp - 0x34]
lea edi, [edx + esi]
rol edi, 7
xor eax, edi
lea edi, [eax + esi]
rol edi, 9
xor ecx, edi
lea edi, [ecx + eax]
rol edi, 0xd
xor edx, edi
lea edi, [ecx + edx]
ror edi, 0xe
xor esi, edi
rol ebx, 7
mov edi, dword [ebp - 0x24]
xor edi, ebx
mov ebx, dword [ebp - 0x34]
add ebx, edi
rol ebx, 9
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x14]
xor edi, ebx
mov ebx, dword [ebp - 0x24]
add ebx, edi
rol ebx, 0xd
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x44]
xor edi, ebx
mov ebx, dword [ebp - 0x14]
add ebx, edi
ror ebx, 0xe
xor dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x20]
add ebx, dword [ebp - 0x30]
mov dword [ebp - 0x44], edi
mov edi, dword [ebp - 0x10]
rol ebx, 7
xor edi, ebx
mov ebx, dword [ebp - 0x20]
add ebx, edi
rol ebx, 9
mov dword [ebp - 0x10], edi
mov edi, dword [ebp - 0x40]
xor edi, ebx
mov ebx, dword [ebp - 0x10]
add ebx, edi
rol ebx, 0xd
mov dword [ebp - 0x40], edi
mov edi, dword [ebp - 0x30]
xor edi, ebx
mov ebx, dword [ebp - 0x40]
add ebx, edi
ror ebx, 0xe
xor dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0xc]
add ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], edi
mov edi, dword [ebp - 0x3c]
rol ebx, 7
xor edi, ebx
mov ebx, dword [ebp - 0xc]
add ebx, edi
rol ebx, 9
mov dword [ebp - 0x3c], edi
mov edi, dword [ebp - 0x2c]
xor edi, ebx
mov ebx, dword [ebp - 0x3c]
add ebx, edi
rol ebx, 0xd
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x1c]
xor edi, ebx
mov ebx, dword [ebp - 0x2c]
add ebx, edi
ror ebx, 0xe
xor dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0x3c]
lea ebx, [ebx + esi]
mov dword [ebp - 0x1c], edi
rol ebx, 7
mov edi, dword [ebp - 0x44]
xor edi, ebx
lea ebx, [edi + esi]
mov dword [ebp - 0x44], edi
mov edi, dword [ebp - 0x40]
rol ebx, 9
xor edi, ebx
mov ebx, dword [ebp - 0x44]
add ebx, edi
mov dword [ebp - 0x40], edi
mov edi, dword [ebp - 0x3c]
rol ebx, 0xd
xor edi, ebx
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 0x3c], edi
add edi, dword [ebp - 0x40]
lea ebx, [ebx + eax]
ror edi, 0xe
xor esi, edi
mov edi, dword [ebp - 0x30]
rol ebx, 7
xor edi, ebx
mov ebx, dword [ebp - 0x34]
add ebx, edi
mov dword [ebp - 0x30], edi
mov edi, dword [ebp - 0x2c]
rol ebx, 9
xor edi, ebx
mov ebx, dword [ebp - 0x24]
add ebx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], edi
add edi, dword [ebp - 0x30]
rol edi, 0xd
xor eax, edi
mov edi, dword [ebp - 0x2c]
add edi, eax
ror edi, 0xe
xor dword [ebp - 0x34], edi
mov edi, dword [ebp - 0x1c]
rol ebx, 7
xor edi, ebx
mov dword [ebp - 0x1c], edi
add edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
rol edi, 9
xor ecx, edi
mov edi, dword [ebp - 0x24]
lea ebx, [ebx + ecx]
rol ebx, 0xd
xor edi, ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x24], edi
add edi, ecx
ror edi, 0xe
xor dword [ebp - 0x20], edi
mov edi, dword [ebp - 0xc]
add edi, dword [ebp - 0x10]
rol edi, 7
xor edx, edi
mov edi, dword [ebp - 0x14]
lea ebx, [ebx + edx]
rol ebx, 9
xor edi, ebx
lea ebx, [edi + edx]
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x10]
rol ebx, 0xd
xor edi, ebx
mov dword [ebp - 0x10], edi
add edi, dword [ebp - 0x14]
ror edi, 0xe
xor dword [ebp - 0xc], edi
dec dword [ebp - 0x94]
jne 0x494c65
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x48], esi
xor eax, eax
jmp 0x494e30
mov edx, dword [ebp + eax - 0x48]
mov ecx, dword [ebp + eax - 0x44]
add dword [ebp + eax - 0x88], edx
add dword [ebp + eax - 0x84], ecx
mov edx, dword [ebp + eax - 0x40]
mov ecx, dword [ebp + eax - 0x3c]
add dword [ebp + eax - 0x80], edx
add dword [ebp + eax - 0x7c], ecx
add eax, 0x10
cmp eax, 0x40
jl 0x494e30
lea edx, [ebp - 0x48]
push 0x40
push edx
call fcn.00527a20
mov eax, dword [ebp - 0x90]
mov edx, dword [ebp - 0x8c]
mov edi, eax
and edi, 1
imul edi, dword [ebp - 0xb0]
mov ecx, eax
mov esi, edx
shrd ecx, esi, 1
add edi, ecx
shl edi, 6
add edi, dword [ebp - 0xa4]
shr esi, 1
add esp, 8
add eax, 1
adc edx, 0
mov ecx, 0x10
lea esi, [ebp - 0x88]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
cmp edx, dword [ebp - 0x9c]
jb 0x494c10
ja 0x494ed2
cmp eax, dword [ebp - 0xa0]
jb 0x494c10
lea edx, [ebp - 0x88]
push 0x40
push edx
call fcn.00527a20
mov ecx, dword [ebp - 4]
add esp, 8
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057af8a
mov esp, ebp
pop ebp
ret