Function at 0x1341220
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x188
push ebx
push esi
push edi
lea eax, [ebp - 0x188]
push 0x14
push eax
call fcn.01340d40
lea ecx, [ebp - 0xe8]
push 0x14
push ecx
call fcn.01340d40
mov eax, dword [ebp + 8]
lea ebx, [ebp - 0xea]
lea edi, [ebp - 0x38]
lea esi, [eax + 2]
sub ebx, eax
mov eax, dword [ebp + 0xc]
mov edx, edi
add esp, 0x10
sub eax, edx
mov dword [ebp - 4], eax
mov dword [ebp - 8], 4
jmp 0x1341273
mov eax, dword [ebp - 4]
movzx ecx, byte [esi - 2]
movzx edx, byte [esi - 1]
shl ecx, 8
or ecx, edx
movzx edx, byte [esi]
shl ecx, 8
or ecx, edx
movzx edx, byte [esi + 1]
push 4
add eax, edi
shl ecx, 8
push eax
or ecx, edx
push edi
mov dword [ebx + esi], ecx
call fcn.01359f40
add esp, 0xc
add esi, 4
add edi, 4
dec dword [ebp - 8]
jne 0x1341270
mov eax, dword [ebp - 0xe8]
mov ecx, eax
shr ecx, 1
mov dword [ebp - 0x138], ecx
mov ecx, eax
shr ecx, 2
mov dword [ebp - 0x160], ecx
mov ecx, eax
shr ecx, 3
mov dword [ebp - 0x174], ecx
mov ecx, dword [ebp - 0xe4]
mov edx, ecx
shr edx, 1
mov esi, eax
shl esi, 0x1f
or edx, esi
mov dword [ebp - 0x134], edx
mov edx, ecx
shr edx, 2
mov esi, eax
shl esi, 0x1e
or edx, esi
mov dword [ebp - 0x15c], edx
mov edx, ecx
mov esi, eax
shl esi, 0x1d
shr edx, 3
or edx, esi
mov esi, dword [ebp - 0xe0]
mov edi, esi
shr edi, 1
mov ebx, ecx
shl ebx, 0x1f
or edi, ebx
mov dword [ebp - 0x130], edi
mov edi, esi
shr edi, 2
mov ebx, ecx
shl ebx, 0x1e
or edi, ebx
mov dword [ebp - 0x158], edi
mov edi, esi
shr edi, 3
mov ebx, ecx
shl ebx, 0x1d
or edi, ebx
mov dword [ebp - 0x16c], edi
mov edi, dword [ebp - 0xdc]
shr edi, 1
mov ebx, esi
shl ebx, 0x1f
or edi, ebx
mov dword [ebp - 0x12c], edi
mov edi, dword [ebp - 0xdc]
shr edi, 2
mov ebx, esi
shl ebx, 0x1e
or edi, ebx
mov dword [ebp - 0x154], edi
mov edi, dword [ebp - 0xdc]
shr edi, 3
mov ebx, esi
shl ebx, 0x1d
or edi, ebx
mov ebx, dword [ebp - 0xdc]
mov dword [ebp - 0x168], edi
mov edi, dword [ebp - 0xd8]
shr edi, 1
shl ebx, 0x1f
or edi, ebx
mov ebx, dword [ebp - 0xdc]
mov dword [ebp - 0x128], edi
mov edi, dword [ebp - 0xd8]
shr edi, 2
shl ebx, 0x1e
or edi, ebx
mov ebx, dword [ebp - 0xdc]
mov dword [ebp - 0x150], edi
mov edi, dword [ebp - 0xd8]
mov dword [ebp - 0x170], edx
shr edi, 3
shl ebx, 0x1d
or edi, ebx
mov dword [ebp - 0x164], edi
mov edi, dword [ebp - 0x138]
mov ebx, edi
xor ebx, eax
mov dword [ebp - 0x98], ebx
mov ebx, dword [ebp - 0x160]
xor ebx, eax
mov dword [ebp - 0xc0], ebx
mov ebx, dword [ebp - 0x160]
xor ebx, edi
mov dword [ebp - 0x110], ebx
mov ebx, dword [ebp - 0x174]
xor ebx, eax
mov dword [ebp - 0xd4], ebx
mov ebx, dword [ebp - 0x174]
xor ebx, edi
mov edi, dword [ebp - 0x174]
mov dword [ebp - 0x124], ebx
mov ebx, dword [ebp - 0x160]
xor edi, ebx
mov dword [ebp - 0x14c], edi
mov edi, dword [ebp - 0x98]
xor edi, ebx
mov ebx, dword [ebp - 0x98]
mov dword [ebp - 0x70], edi
mov edi, dword [ebp - 0x174]
xor ebx, edi
mov dword [ebp - 0x84], ebx
mov ebx, dword [ebp - 0x14c]
xor ebx, eax
mov eax, dword [ebp - 0x110]
xor eax, edi
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x70]
xor eax, edi
mov edi, dword [ebp - 0x15c]
xor edi, ecx
mov dword [ebp - 0xbc], edi
mov edi, dword [ebp - 0x15c]
mov dword [ebp - 0xac], ebx
mov ebx, dword [ebp - 0x134]
xor edi, ebx
mov dword [ebp - 0x10c], edi
mov edi, edx
xor edi, ecx
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0x5c], eax
mov edi, edx
xor edi, ebx
mov dword [ebp - 0x120], edi
mov eax, ebx
mov ebx, dword [ebp - 0x15c]
xor eax, ecx
mov edi, edx
xor edi, ebx
mov dword [ebp - 0x148], edi
mov edi, eax
mov dword [ebp - 0x94], eax
xor eax, edx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x148]
xor eax, ecx
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x10c]
xor edi, ebx
xor eax, edx
mov dword [ebp - 0x6c], edi
xor edi, edx
mov edx, dword [ebp - 0x158]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x58], edi
mov ecx, eax
xor ecx, esi
mov edi, edx
xor edi, esi
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0x90], ecx
mov edi, edx
xor edi, eax
mov eax, dword [ebp - 0x16c]
mov ebx, eax
xor ebx, esi
mov dword [ebp - 0xcc], ebx
mov ebx, eax
xor ebx, dword [ebp - 0x130]
mov dword [ebp - 0x108], edi
mov dword [ebp - 0x11c], ebx
mov ebx, eax
xor ebx, edx
mov dword [ebp - 0x144], ebx
mov ebx, ecx
xor ecx, eax
xor ebx, edx
mov edx, dword [ebp - 0xdc]
xor edi, eax
mov dword [ebp - 0x7c], ecx
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x68], ebx
xor ebx, eax
mov eax, dword [ebp - 0x12c]
xor ecx, esi
mov esi, dword [ebp - 0x154]
mov dword [ebp - 0xf4], edi
mov dword [ebp - 0x54], ebx
mov edi, esi
xor edi, edx
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0xa4], ecx
mov ecx, eax
mov edi, esi
xor edi, eax
mov eax, dword [ebp - 0x168]
mov ebx, eax
xor ebx, edx
mov dword [ebp - 0xc8], ebx
mov ebx, eax
xor ebx, dword [ebp - 0x12c]
xor ecx, edx
mov dword [ebp - 0x118], ebx
mov ebx, eax
xor ebx, esi
mov dword [ebp - 0x140], ebx
mov ebx, ecx
xor ebx, esi
mov esi, dword [ebp - 0x150]
mov dword [ebp - 0x8c], ecx
xor ecx, eax
mov dword [ebp - 0x104], edi
xor edi, eax
mov dword [ebp - 0x78], ecx
mov ecx, dword [ebp - 0x140]
xor ecx, edx
mov edx, dword [ebp - 0xd8]
mov dword [ebp - 0x64], ebx
xor ebx, eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0xf0], edi
mov edi, esi
xor edi, edx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0xa0], ecx
mov edi, esi
xor edi, eax
mov ecx, eax
mov eax, dword [ebp - 0x164]
mov ebx, eax
xor ebx, edx
mov dword [ebp - 0xc4], ebx
mov ebx, eax
xor ebx, dword [ebp - 0x128]
xor ecx, edx
mov dword [ebp - 0x114], ebx
mov ebx, eax
xor ebx, esi
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x100], edi
mov ebx, ecx
xor ecx, eax
xor ebx, esi
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x60], ebx
xor edi, eax
xor ebx, eax
lea eax, [ebp - 0x28]
xor ecx, edx
push 0x20
push eax
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xec], edi
mov dword [ebp - 0x4c], ebx
call fcn.01340d40
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
add esp, 8
mov dword [ebp - 8], 7
jmp 0x1341690
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0x38]
xor edi, 1
add edi, edi
add edi, edi
mov ecx, edi
shr esi, cl
and esi, 0xf
lea esi, [esi + esi*4]
add esi, esi
add esi, esi
mov ecx, esi
mov ecx, dword [ebp + ecx - 0x188]
xor dword [ebp - 0x28], ecx
mov ecx, esi
mov ecx, dword [ebp + ecx - 0x184]
xor dword [ebp - 0x24], ecx
mov ecx, esi
xor eax, dword [ebp + ecx - 0x17c]
xor edx, dword [ebp + ecx - 0x178]
xor ebx, dword [ebp + ecx - 0x180]
mov dword [ebp - 4], esi
mov esi, dword [ebp - 0x34]
mov ecx, edi
shr esi, cl
and esi, 0xf
lea esi, [esi + esi*4]
add esi, esi
add esi, esi
mov ecx, esi
mov ecx, dword [ebp + ecx - 0x188]
xor dword [ebp - 0x24], ecx
mov ecx, esi
xor eax, dword [ebp + ecx - 0x180]
xor edx, dword [ebp + ecx - 0x17c]
xor ebx, dword [ebp + ecx - 0x184]
mov ecx, dword [ebp + ecx - 0x178]
xor dword [ebp - 0x14], ecx
mov dword [ebp - 4], esi
mov esi, dword [ebp - 0x30]
mov ecx, edi
shr esi, cl
and esi, 0xf
lea ecx, [esi + esi*4]
mov esi, dword [ebp - 0x2c]
add ecx, ecx
add ecx, ecx
xor eax, dword [ebp + ecx - 0x184]
xor edx, dword [ebp + ecx - 0x180]
xor ebx, dword [ebp + ecx - 0x188]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + ecx - 0x17c]
xor dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ebp + ecx - 0x178]
xor dword [ebp - 0x10], ecx
mov ecx, edi
shr esi, cl
and esi, 0xf
lea ecx, [esi + esi*4]
add ecx, ecx
add ecx, ecx
xor eax, dword [ebp + ecx - 0x188]
xor edx, dword [ebp + ecx - 0x184]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + ecx - 0x180]
xor dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ebp + ecx - 0x17c]
xor dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ebp + ecx - 0x178]
xor dword [ebp - 0xc], ecx
cmp dword [ebp - 8], 0
je 0x1341810
mov esi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x24]
shr ecx, 4
shl esi, 0x1c
or ecx, esi
mov dword [ebp - 0x24], ecx
shr dword [ebp - 0x28], 4
shl edi, 0x1c
mov ecx, ebx
shl ecx, 0x1c
mov esi, eax
shr ebx, 4
or ebx, edi
shr eax, 4
or eax, ecx
mov ecx, dword [ebp - 0x14]
shr ecx, 4
mov edi, edx
shl esi, 0x1c
shl edi, 0x1c
or ecx, edi
mov edi, dword [ebp - 0x10]
shr edx, 4
or edx, esi
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x10]
shr ecx, 4
shl esi, 0x1c
or ecx, esi
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0xc]
shl edi, 0x1c
shr ecx, 4
or ecx, edi
mov dword [ebp - 0xc], ecx
dec dword [ebp - 8]
jns 0x1341690
movzx ecx, byte [ebp - 0x25]
mov byte [ebp - 0x48], cl
movzx ecx, byte [ebp - 0x26]
mov byte [ebp - 0x47], cl
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 0x46], ch
mov byte [ebp - 0x45], cl
movzx ecx, byte [ebp - 0x21]
mov byte [ebp - 0x44], cl
movzx ecx, byte [ebp - 0x22]
mov byte [ebp - 0x43], cl
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 0x42], ch
mov byte [ebp - 0x41], cl
mov dword [ebp - 0x20], ebx
movzx ecx, byte [ebp - 0x1d]
mov byte [ebp - 0x40], cl
movzx ecx, byte [ebp - 0x1e]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x3a], ah
mov byte [ebp - 0x39], al
mov byte [ebp - 0x3f], cl
movzx ecx, byte [ebp - 0x19]
mov dword [ebp - 0x18], edx
movzx eax, byte [ebp - 0x15]
mov byte [ebp - 0x38], al
movzx eax, byte [ebp - 0x12]
mov byte [ebp - 0x3c], cl
movzx ecx, byte [ebp - 0x1a]
mov byte [ebp - 0x33], al
mov eax, dword [ebp - 0x14]
mov byte [ebp - 0x3b], cl
movzx ecx, byte [ebp - 0x16]
mov byte [ebp - 0x32], ah
mov byte [ebp - 0x31], al
mov eax, dword [ebp - 0x10]
mov byte [ebp - 0x37], cl
movzx ecx, byte [ebp - 0xd]
mov byte [ebp - 0x36], dh
mov byte [ebp - 0x35], dl
movzx edx, byte [ebp - 0x11]
mov byte [ebp - 0x2e], ah
mov byte [ebp - 0x2d], al
movzx eax, byte [ebp - 9]
mov byte [ebp - 0x34], dl
movzx edx, byte [ebp - 0xe]
mov byte [ebp - 0x30], cl
movzx ecx, byte [ebp - 0xa]
mov byte [ebp - 0x2c], al
mov eax, dword [ebp - 0xc]
mov byte [ebp - 0x2a], ah
mov byte [ebp - 0x29], al
mov byte [ebp - 0x3e], bh
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x2f], dl
mov byte [ebp - 0x2b], cl
lea eax, [ebp - 0x38]
mov edi, 4
lea esp, [esp]
movzx ecx, byte [eax + 0xf]
movzx edx, byte [ecx + ecx + 0x138b841]
xor byte [eax], dl
movzx esi, byte [eax + 0xe]
movzx edx, byte [esi + esi + 0x138b841]
xor dl, byte [ecx + ecx + 0x138b840]
add ecx, ecx
xor byte [eax - 1], dl
movzx ecx, byte [eax + 0xd]
movzx edx, byte [ecx + ecx + 0x138b841]
xor dl, byte [esi + esi + 0x138b840]
add esi, esi
movzx esi, byte [eax + 0xc]
xor byte [eax - 2], dl
movzx edx, byte [esi + esi + 0x138b840]
xor byte [eax - 4], dl
movzx edx, byte [esi + esi + 0x138b841]
xor dl, byte [ecx + ecx + 0x138b840]
add ecx, ecx
xor byte [eax - 3], dl
add esi, esi
add eax, 0xfffffffc
dec edi
jne 0x13418e0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x40]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x3c]
pop edi
pop esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
pop ebx
mov esp, ebp
pop ebp
ret