Function at 0x100147a1
Capabilities:
Encode data using xor

Disassembly:
push 0x64
mov eax, 0x1003a807
call fcn.10039093
mov esi, ecx
mov al, byte [esi + 0x20]
xor ebx, ebx
mov dword [ebp - 0x58], 0xe10
push 0x3c
pop ecx
test al, al
je 0x10014962
mov eax, dword [esi + 0x24]
test eax, eax
jle 0x100147d1
dec eax
mov dword [esi + 0x24], eax
mov edi, dword [esi + 0x24]
test edi, edi
js 0x10014956
mov eax, edi
mov dword [ebp - 0x18], 0xf
cdq
idiv dword [ebp - 0x58]
push 0x3c
mov eax, edx
mov dword [ebp - 0x1c], ebx
cdq
idiv ecx
mov byte [ebp - 0x2c], bl
mov ecx, eax
mov eax, edi
cdq
pop edi
idiv edi
push 0xa
pop edi
mov dword [ebp - 4], ebx
push edx
push ecx
cmp ecx, edi
jae 0x10014863
cmp edx, edi
mov edx, ebx
jae 0x1001483b
mov cl, 0x13
mov dword [ebp - 0x38], 0x77362313
mov dword [ebp - 0x34], 0x77362329
mov byte [ebp - 0x30], bl
xor cl, byte [ebp + edx - 0x37]
mov byte [ebp + edx - 0x37], cl
inc edx
cmp edx, 7
jae 0x10014836
mov cl, byte [ebp - 0x38]
jmp 0x10014823
mov byte [ebp - 0x30], bl
jmp 0x100148ac
mov cl, 0x1e
mov dword [ebp - 0x38], 0x7a3b2e1e
mov dword [ebp - 0x34], 0x7a3b24
xor cl, byte [ebp + edx - 0x37]
mov byte [ebp + edx - 0x37], cl
inc edx
cmp edx, 6
jae 0x1001485e
mov cl, byte [ebp - 0x38]
jmp 0x1001484b
mov byte [ebp - 0x31], bl
jmp 0x100148ac
mov ecx, ebx
cmp edx, edi
jae 0x10014888
mov dl, 0x75
mov dword [ebp - 0x38], 0x4f115075
mov dword [ebp - 0x34], 0x115045
xor byte [ebp + ecx - 0x37], dl
inc ecx
cmp ecx, 6
jae 0x1001485e
mov dl, byte [ebp - 0x38]
jmp 0x10014879
mov dl, 0x32
mov dword [ebp - 0x38], 0x8561732
mov word [ebp - 0x34], 0x5617
mov byte [ebp - 0x32], bl
xor byte [ebp + ecx - 0x37], dl
inc ecx
cmp ecx, 5
jae 0x100148a9
mov dl, byte [ebp - 0x38]
jmp 0x1001489a
mov byte [ebp - 0x32], bl
sub esp, 0x18
lea eax, [ebp - 0x37]
mov ecx, esp
push eax
call fcn.100040a5
lea eax, [ebp - 0x54]
push eax
call fcn.10003b8a
add esp, 0x24
lea ecx, [ebp - 0x2c]
push eax
call fcn.10006e48
push ebx
push 1
lea ecx, [ebp - 0x54]
call fcn.10003f51
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
movaps xmm0, xmmword [str.7dCVYSYP]
mov ecx, ebx
cmovae eax, dword [ebp - 0x2c]
push eax
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x44], 0x6a44126c
mov byte [ebp - 0x40], bl
mov al, byte [ebp + ecx - 0x53]
xor al, byte [ebp - 0x54]
mov byte [ebp + ecx - 0x53], al
inc ecx
cmp ecx, 0x13
jb 0x100148fd
sub esp, 0x18
mov byte [ebp - 0x40], bl
lea eax, [ebp - 0x53]
mov ecx, esp
push eax
call fcn.100040a5
lea eax, [ebp - 0x70]
push eax
call fcn.10003b8a
add esp, 0x20
mov byte [ebp - 4], 1
mov edx, eax
mov ecx, dword [esi + 8]
call fcn.1000b8e3
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.10003f51
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
push ebx
push 1
call fcn.10003f51
push 0x3c
pop ecx
cmp dword [esi + 0x24], 0
jg 0x10014962
mov byte [esi + 0x20], bl
mov dword [esi + 0x24], ebx
mov al, byte [esi + 0x21]
test al, al
je 0x10014b0c
movzx eax, word [esi + 0x28]
test ax, ax
jle 0x1001497b
dec eax
mov word [esi + 0x28], ax
movzx edi, word [esi + 0x28]
mov eax, edi
test ax, ax
js 0x10014afd
cwde
cdq
idiv dword [ebp - 0x58]
push 0x3c
mov eax, edx
mov dword [ebp - 0x18], 0xf
cdq
idiv ecx
mov dword [ebp - 0x1c], ebx
movzx ecx, ax
mov eax, edi
cwde
cdq
pop edi
idiv edi
mov byte [ebp - 0x2c], bl
movzx eax, dx
push 0xa
pop edx
push eax
push ecx
cmp cx, dx
mov dword [ebp - 4], 2
mov ecx, ebx
jae 0x10014a13
cmp ax, dx
jae 0x100149ef
mov dl, 4
mov dword [ebp - 0x38], 0x60213404
mov dword [ebp - 0x34], 0x6021343e
mov byte [ebp - 0x30], bl
xor byte [ebp + ecx - 0x37], dl
inc ecx
cmp ecx, 7
jae 0x100149ea
mov dl, byte [ebp - 0x38]
jmp 0x100149db
mov byte [ebp - 0x30], bl
jmp 0x10014a5b
mov dl, 0x7a
mov dword [ebp - 0x38], 0x1e5f4a7a
mov dword [ebp - 0x34], 0x1e5f40
xor byte [ebp + ecx - 0x37], dl
inc ecx
cmp ecx, 6
jae 0x10014a0e
mov dl, byte [ebp - 0x38]
jmp 0x100149ff
mov byte [ebp - 0x31], bl
jmp 0x10014a5b
cmp ax, dx
jae 0x10014a37
mov dl, 0x78
mov dword [ebp - 0x38], 0x421c5d78
mov dword [ebp - 0x34], 0x1c5d48
xor byte [ebp + ecx - 0x37], dl
inc ecx
cmp ecx, 6
jae 0x10014a0e
mov dl, byte [ebp - 0x38]
jmp 0x10014a28
mov dl, 0xe
mov dword [ebp - 0x38], 0x346a2b0e
mov word [ebp - 0x34], 0x6a2b
mov byte [ebp - 0x32], bl
xor byte [ebp + ecx - 0x37], dl
inc ecx
cmp ecx, 5
jae 0x10014a58
mov dl, byte [ebp - 0x38]
jmp 0x10014a49
mov byte [ebp - 0x32], bl
sub esp, 0x18
lea eax, [ebp - 0x37]
mov ecx, esp
push eax
call fcn.100040a5
lea eax, [ebp - 0x70]
push eax
call fcn.10003b8a
add esp, 0x24
lea ecx, [ebp - 0x2c]
push eax
call fcn.10006e48
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.10003f51
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
movaps xmm0, xmmword [0x100480a0]
mov edx, ebx
cmovae eax, dword [ebp - 0x2c]
push eax
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x44], 0x297f017a
mov word [ebp - 0x40], 7
mov cl, byte [ebp - 0x54]
xor byte [ebp + edx - 0x53], cl
inc edx
cmp edx, 0x14
jb 0x10014aaf
sub esp, 0x18
mov byte [ebp - 0x3f], bl
lea eax, [ebp - 0x53]
mov ecx, esp
push eax
call fcn.100040a5
lea eax, [ebp - 0x70]
push eax
call fcn.10003b8a
add esp, 0x20
mov byte [ebp - 4], 3
mov edx, eax
mov ecx, dword [esi + 0xc]
call fcn.1000b8e3
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.10003f51
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.10003f51
cmp word [esi + 0x28], bx
jg 0x10014b0c
xor eax, eax
mov byte [esi + 0x21], bl
mov word [esi + 0x28], ax
call fcn.1003903d
ret