Function at 0x13d5dc1
Capabilities:
Encode data using xor

Disassembly:
xor ecx, 0xcb96b8be
lea edx, [eax + edx*8 + 0x5d917e9a]
jmp 0x1278bd1
dec ecx
push edx
xchg edx, eax
call fcn.012d3378
mov ecx, 0xe986111e
mov ecx, dword [edi]
call fcn.01299abb
mov eax, 0xd131650e
lea ecx, [eax*4 - 0x1ff90546]
movzx edx, cl
mov eax, dword [ebp + ecx*2 - 0x49991de4]
shl cl, 0x82
adc dl, ch
xchg dx, cx
movzx edx, byte [ecx + edi - 0x24cc0081]
xor dl, bl
dec dl
push ecx
ror dl, cl
xor dl, 0xa2
pop ecx
add dl, 0x16
neg ecx
rol dl, 1
xor dl, 0x95
not cl
dec ecx
call fcn.013b1631
push 0x452d343f
mov dword [esp], 0x2e2192b3
call fcn.012f2828
jmp 0x13d5d94
inc cx
mov dword [edi + ecx*2 - 0x9d2e], esi
dec esi
lea esi, [ecx + esi - 0x4e9b]
sal word [esp + ecx*2 - 0x9d22], 0x8a
push ecx
neg word [esp + ecx - 0x4e94]
inc ecx
mov ebp, dword [esi + ecx*4 - 0x13a5c]
movzx edi, cx
dec eax
mov dword [esp + ecx*2 - 0x9d26], edi
shr cx, 0x6e
inc ecx
xor ebp, edx
inc esp
movzx ecx, word [esp + edi - 0x4e84]
mov esi, dword [esp + edi*2 - 0x9d1c]
xor ebp, 0xc3180414
dec eax
shl dword [esp + ecx*2 + 0xe], cl
inc esp
movsx eax, si
inc esp
movzx ebp, byte [esp + edi - 0x4e85]
inc edx
lea ebp, [ebp + eax - 0x72df3a84]
inc ecx
mov edx, ebp
ror ebp, cl
neg ebp
dec eax
lea eax, [ebx - 0x66508af2]
xor ebp, 0xbda7612c
dec eax
inc dword [esp + ecx + 0xc]
dec word [esp + ecx + 0xa]
dec esp
mov dword [esp + ecx + 0xf], edx
xor dword [esp + ecx + 0xf], ebp
xchg dword [esp + ecx*2 + 7], edx
call fcn.01288d72
jmp 0x13b8416
jae 0x1214525
dec edi
lea esi, [esi - 0x52417f67]
dec esi
lea ecx, [ebp + ebp + 0x463fa327]
inc ecx
xor edi, edx
dec eax
rol dword [esp + eax + 0x2920bfc1], 0x7e
shr ebp, 0xac
inc edx
sal dword [esp - 0x2920bfb0], 0x59
lea edi, [edi + eax*2 - 0x1b7e2159]
neg edi
ror edi, 1
inc ebp
movzx eax, bp
dec ebp
pop esi
xor edi, ebx
inc bp
and ebp, ebp
inc edx
add dword [esp - 0x52417f60], ebx
inc edx
shl dword [esp - 0x2920bf9e], 0x9c
dec esi
mov dword [esp - 0x52417f52], edx
and ecx, dword [esp + eax + 0x2920bfb8]
inc edx
xor dword [esp - 0x2920bfa1], edi
dec esi
mov edx, dword [esp - 0x52417f52]
call fcn.012f9592
mov edx, ebp
mov eax, 0xd399d6b2
movzx ecx, ax
lea ebp, [ebp + ecx - 0xd6b4]
mov word [ecx + ebp - 0xd6b2], dx
mov ecx, dword [edi + ecx*2 - 0x1ad64]
jmp 0x13c34d3
add edi, 4
xor ecx, ebx
movsx edx, ax
sub al, dh
adc dl, ah
not ecx
sbb eax, 0x310529b4
bswap ecx
inc ecx
bswap ecx
shr ax, 0x87
jns 0x12ca733
mov ebp, 0x94028a9e
dec esp
lea esp, [ebp*8 + 0x2f1a9211]
inc ecx
movzx edx, byte [esi - 1]
inc cx
inc esp
inc ecx
xor dl, dl
movzx ecx, bp
dec ecx
or ebp, esp
call fcn.012d50ac
shl byte [eax + 0x6b], 1
ja 0x13d5e1f
das
in eax, 0x68
adc eax, 0xd0448c81
or dword [esp + eax*2 - 0x5a494c30], 0xd49ec11d
mov dword [esp + eax - 0x2d24a61b], eax
not ecx
js 0x1231797
jne 0x13d5dce
imul ecx, dword [eax - 0x13], 0x6f
mov ebx, 0x1bfddbb3
shr edi, 0xd5
cli
int 0x6e
outsb dx, byte [esi]
imul dword [edi + 0x16]
jns 0x13d5e60
jbe 0x13d5e2d
push eax
imul edx, dword [ebp - 0x25], 0x9b96fe89
xor ecx, eax
mov dword [edx + 0x2a], edi
or esi, dword [ebx]
enter 0x5289, 0xffffffffffffff8e
jae 0x13d5e7d
enter 0xffffffffffffce89, 0xffffffffffffffee
xor ecx, eax
mov dword [edx], esp
lcall 0x2a06, 0x89c83393
cmp esi, dword [ebx]
enter 0xffffffffffff9689, 0x1a
xor esi, dword [ebx]
enter 0xffffffffffff9689, 0xffffffffffffff96
xchg ebx, eax
xor ecx, eax
mov dword [esi + 0x72], esp
in eax, dx
invalid
add dl, byte [esi + 0x22]
pop ebx
mov bl, byte [esi + 2]
push esi
and dl, dl
jb 0x13d5ecf
add dl, byte [esi + 0x22]
mov dl, 0xca
add dl, byte cs:[esi + 0x22]
inc ebx
and edx, dword [esi]
add dl, byte [esi + 0x22]
rol esi, cl
add dl, byte [esi + 0x22]
add edi, dword [ebx - 0x22]
add dl, byte [esi + 0x22]
cmp al, dl
salc
test al, 0x26
invalid
and byte [edi + 0x20], cl
cwde
adc eax, 0x2cccffff
push ebp
mov byte [0x4f09d397], al
scasb al, byte es:[edi]
insd dword es:[edi], dx
or al, 0x70
sub al, byte [ebx + 0x27]
jmp 0x13d5f63
inc dword [edx + 0x31]
xchg esp, eax
and al, 0
inc eax
ljmp 0x7982