Function at 0x18018caa
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov ecx, ebx
mov edi, eax
call fcn.18018c8b
mov ecx, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x64], eax
call fcn.18018c8b
lea ecx, [edi + 4]
mov dword [ebp - 0x1c], eax
call fcn.18018c8b
lea ecx, [edi + 8]
mov dword [ebp - 0x20], eax
call fcn.18018c8b
lea ecx, [edi + 0xc]
mov dword [ebp - 0x24], eax
call fcn.18018c8b
lea ecx, [ebx + 4]
mov dword [ebp - 0x28], eax
call fcn.18018c8b
mov ecx, dword [ebp + 8]
mov ebx, eax
mov dword [ebp - 0x3c], ebx
call fcn.18018c8b
mov ecx, dword [ebp + 8]
add ecx, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], ecx
call fcn.18018c8b
mov ecx, dword [ebp + 8]
add ecx, 8
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
call fcn.18018c8b
mov ecx, dword [ebp + 8]
add ecx, 0xc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], ecx
call fcn.18018c8b
mov ecx, dword [ebp + 0xc]
add ecx, 8
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x60], eax
call fcn.18018c8b
lea ecx, [edi + 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 0x40], eax
call fcn.18018c8b
lea ecx, [edi + 0x14]
mov dword [ebp - 0x2c], eax
call fcn.18018c8b
lea ecx, [edi + 0x18]
mov dword [ebp - 0x30], eax
call fcn.18018c8b
lea ecx, [edi + 0x1c]
mov dword [ebp - 0x34], eax
call fcn.18018c8b
mov edi, dword [ebp + 0xc]
lea ecx, [edi + 0xc]
mov dword [ebp - 0x38], eax
call fcn.18018c8b
mov dword [ebp - 0x44], eax
mov dword [ebp + 0xc], 0xa
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
add edx, ecx
rol edx, 7
xor dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x28]
add edx, ecx
rol edx, 9
xor dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x10]
add edx, ecx
rol edx, 0xd
xor dword [ebp - 0x30], edx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x30]
add edx, ecx
mov ecx, dword [ebp - 0x1c]
add ecx, ebx
ror edx, 0xe
xor dword [ebp - 0x18], edx
rol ecx, 7
xor dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
add ecx, ebx
rol ecx, 9
xor dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x34]
add edx, ecx
mov ecx, dword [ebp - 0x34]
rol edx, 0xd
xor dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x1c]
add ecx, edx
mov edx, dword [ebp - 4]
ror ecx, 0xe
xor ebx, ecx
mov ecx, dword [ebp - 8]
add edx, ecx
mov ecx, dword [ebp - 4]
rol edx, 7
xor dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x38]
add edx, ecx
mov ecx, dword [ebp - 0x38]
rol edx, 9
xor dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x20]
add ecx, edx
rol ecx, 0xd
xor dword [ebp - 8], ecx
mov ecx, edx
mov edx, dword [ebp - 8]
add edx, ecx
mov ecx, dword [ebp - 0x2c]
add ecx, eax
ror edx, 0xe
xor dword [ebp - 4], edx
rol ecx, 7
xor dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
add ecx, eax
rol ecx, 9
xor dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0xc]
add edx, ecx
mov ecx, dword [ebp - 0xc]
rol edx, 0xd
xor dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x2c]
add edx, ecx
mov ecx, dword [ebp - 0x24]
ror edx, 0xe
xor eax, edx
mov edx, dword [ebp - 0x18]
add ecx, edx
rol ecx, 7
xor dword [ebp - 0x1c], ecx
mov ecx, edx
mov edx, dword [ebp - 0x1c]
add edx, ecx
rol edx, 9
xor dword [ebp - 0x20], edx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add edx, ecx
mov ecx, dword [ebp - 0x20]
rol edx, 0xd
xor dword [ebp - 0x24], edx
mov edx, dword [ebp - 0x24]
add edx, ecx
mov ecx, dword [ebp - 0x28]
add ecx, ebx
ror edx, 0xe
xor dword [ebp - 0x18], edx
rol ecx, 7
xor dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
add ecx, ebx
rol ecx, 9
xor dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
add edx, ecx
mov ecx, dword [ebp - 0xc]
rol edx, 0xd
xor dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x28]
add ecx, edx
mov edx, dword [ebp - 0x14]
ror ecx, 0xe
xor ebx, ecx
mov ecx, dword [ebp - 4]
add ecx, edx
rol ecx, 7
xor dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x2c]
add edx, ecx
mov ecx, dword [ebp - 0x2c]
rol edx, 9
xor dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x10]
add ecx, edx
rol ecx, 0xd
xor dword [ebp - 0x14], ecx
mov ecx, edx
mov edx, dword [ebp - 0x14]
add edx, ecx
mov ecx, dword [ebp - 0x38]
ror edx, 0xe
xor dword [ebp - 4], edx
add ecx, eax
rol ecx, 7
xor dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x30]
add ecx, eax
rol ecx, 9
xor dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
add edx, ecx
mov ecx, dword [ebp - 0x34]
rol edx, 0xd
xor dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x38]
add edx, ecx
ror edx, 0xe
xor eax, edx
dec dword [ebp + 0xc]
jne 0x18018d98
lea ecx, [edi + 4]
mov dword [ebp + 0xc], eax
call fcn.18018c8b
mov ecx, dword [ebp - 0x3c]
sub ecx, eax
add ebx, ecx
lea ecx, [edi + 8]
call fcn.18018c8b
mov ecx, dword [ebp - 0x40]
sub ecx, eax
add dword [ebp - 4], ecx
lea ecx, [edi + 0xc]
call fcn.18018c8b
mov ecx, dword [ebp - 0x44]
sub ecx, eax
add dword [ebp + 0xc], ecx
mov ecx, dword [ebp + 8]
call fcn.18018c8b
mov ecx, dword [ebp - 0x48]
sub ecx, eax
add dword [ebp - 8], ecx
mov ecx, dword [ebp - 0x4c]
call fcn.18018c8b
mov ecx, dword [ebp - 0x50]
sub ecx, eax
add dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x54]
call fcn.18018c8b
mov ecx, dword [ebp - 0x58]
sub ecx, eax
add dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x5c]
call fcn.18018c8b
mov ecx, dword [ebp - 0x60]
sub ecx, eax
add dword [ebp - 0x14], ecx
mov ecx, edi
call fcn.18018c8b
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x64]
add ecx, edx
sub ecx, eax
mov byte [esi], cl
mov eax, dword [ebp - 4]
shr ecx, 8
mov byte [esi + 1], cl
shr ecx, 8
mov byte [esi + 2], cl
shr ecx, 8
mov byte [esi + 3], cl
mov byte [esi + 4], bl
shr ebx, 8
mov byte [esi + 5], bl
shr ebx, 8
mov byte [esi + 6], bl
shr ebx, 8
mov byte [esi + 7], bl
mov byte [esi + 8], al
shr eax, 8
mov byte [esi + 9], al
shr eax, 8
mov byte [esi + 0xa], al
shr eax, 8
mov byte [esi + 0xb], al
mov eax, dword [ebp + 0xc]
mov byte [esi + 0xc], al
shr eax, 8
mov byte [esi + 0xd], al
shr eax, 8
mov byte [esi + 0xe], al
shr eax, 8
mov byte [esi + 0xf], al
mov eax, dword [ebp - 8]
mov byte [esi + 0x10], al
shr eax, 8
mov byte [esi + 0x11], al
shr eax, 8
mov byte [esi + 0x12], al
shr eax, 8
mov byte [esi + 0x13], al
mov eax, dword [ebp - 0xc]
mov byte [esi + 0x14], al
shr eax, 8
mov byte [esi + 0x15], al
shr eax, 8
mov byte [esi + 0x16], al
shr eax, 8
mov byte [esi + 0x17], al
mov eax, dword [ebp - 0x10]
mov byte [esi + 0x18], al
shr eax, 8
mov byte [esi + 0x19], al
shr eax, 8
mov byte [esi + 0x1a], al
shr eax, 8
mov byte [esi + 0x1b], al
mov eax, dword [ebp - 0x14]
mov byte [esi + 0x1c], al
shr eax, 8
mov byte [esi + 0x1d], al
shr eax, 8
mov byte [esi + 0x1e], al
shr eax, 8
pop edi
mov byte [esi + 0x1f], al
xor eax, eax
pop ebx
leave
ret