Function at 0x1014e640
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4c
call fcn.100657e0
mov eax, dword [0x10240114]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x54]
push ebx
push ebp
mov ebp, dword [esp + 0x60]
push esi
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
mov al, byte [esi]
lea ebx, [esi + 0x20]
mov edx, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
mov byte [esp + 0xf], al
lea eax, [esi + 0x10]
test byte [esp + 0xf], 0x40
push edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
jne 0x1014e6ae
push ecx
push eax
push esi
call edx
mov eax, dword [ebx + 4]
add esp, 0xc
add dword [ebx], 1
adc eax, 0
mov dword [ebx + 4], eax
movzx eax, byte [esp + 0x13]
mov edx, 0xf
and eax, 7
xor ecx, ecx
sub edx, eax
mov byte [esi], al
mov dword [esp + 0x44], edx
cmp edx, 0xf
jae 0x1014e6e6
nop word [eax + eax]
movzx eax, byte [esi + edx]
or ecx, eax
mov byte [esi + edx], 0
inc edx
shl ecx, 8
cmp edx, 0xf
jb 0x1014e6d0
lea ebx, [esi + 0x20]
movzx eax, byte [esi + 0xf]
mov edi, dword [esp + 0x6c]
or ecx, eax
mov byte [esi + 0xf], 1
cmp ecx, edi
je 0x1014e70e
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.100645b9
add esp, 0x4c
ret
lea eax, [edi + 0xf]
or eax, 8
shr eax, 3
add dword [ebx], eax
adc dword [ebx + 4], 0
cmp dword [ebx + 4], 0x20000000
jb 0x1014e745
ja 0x1014e72d
cmp dword [ebx], 0
jbe 0x1014e745
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.100645b9
add esp, 0x4c
ret
mov ebx, edi
shr ebx, 4
test ebx, ebx
je 0x1014e784
lea eax, [esi + 0x10]
push eax
push esi
push dword [esp + 0x24]
push ebx
push ebp
push dword [esp + 0x28]
call dword [esp + 0x30]
shl ebx, 4
add esp, 0x18
add dword [esp + 0x14], ebx
add ebp, ebx
mov dword [esp + 0x28], ebp
sub edi, ebx
je 0x1014e784
shr ebx, 4
push ebx
push esi
call fcn.1014ea90
add esp, 8
jmp 0x1014e78c
test edi, edi
je 0x1014e903
test edi, edi
je 0x1014e96f
mov edx, dword [esp + 0x14]
lea ecx, [esi + 0x10]
mov ebx, edi
nop dword [eax]
mov al, byte [edx]
lea edx, [edx + 1]
xor byte [ecx], al
lea ecx, [ecx + 1]
sub ebx, 1
jne 0x1014e7a0
mov ebx, dword [esp + 0x1c]
lea eax, [esi + 0x10]
push ebx
push eax
push eax
call dword [esp + 0x2c]
push ebx
lea eax, [esp + 0x58]
push eax
push esi
call dword [esp + 0x38]
mov ebx, dword [esp + 0x2c]
add esp, 0x18
xor edx, edx
mov dword [esp + 0x18], edi
cmp edi, 0x40
jb 0x1014e8dc
lea eax, [esp + edi + 0x47]
cmp ebp, eax
ja 0x1014e7fb
lea eax, [ebp - 1]
mov dword [esp + 0x18], edi
lea ecx, [esp + 0x48]
add eax, edi
cmp eax, ecx
jae 0x1014e8dc
mov ecx, dword [esp + 0x14]
lea eax, [ecx - 1]
add eax, edi
cmp ebp, eax
ja 0x1014e81b
lea eax, [ebp - 1]
mov dword [esp + 0x18], edi
add eax, edi
mov ebx, ecx
cmp eax, ecx
jae 0x1014e8dc
mov ebx, ecx
mov dword [esp + 0x40], ecx
sub ebx, ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x2c], ebx
mov eax, edi
lea ebx, [esp + 0x48]
and eax, 0xffffffc0
sub ebx, ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], ebx
lea eax, [ecx + 0x30]
mov ecx, dword [esp + 0x2c]
lea ebx, [esp + 0x58]
mov esi, dword [esp + 0x30]
sub ebx, ebp
mov dword [esp + 0x34], ebx
lea ebx, [esp + 0x68]
mov dword [esp + 0x14], eax
sub ebx, ebp
mov edi, dword [esp + 0x14]
lea eax, [ebp + 0x10]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x38], ebx
nop dword [eax]
movups xmm0, xmmword [edi - 0x30]
lea edi, [edi + 0x40]
movups xmm1, xmmword [esp + edx + 0x48]
add edx, 0x40
lea eax, [eax + 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [ecx + eax - 0x40]
movups xmmword [eax - 0x50], xmm1
movups xmm1, xmmword [esi + eax - 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [edi - 0x50]
movups xmmword [eax - 0x40], xmm1
movups xmm1, xmmword [eax + ebp - 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [edi - 0x40]
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [eax + ebx - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp edx, dword [esp + 0x24]
jb 0x1014e870
mov esi, dword [esp + 0x3c]
mov eax, edx
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x24], edx
cmp eax, dword [esp + 0x18]
jae 0x1014e903
lea eax, [esp + 0x48]
mov edi, ebp
mov ebp, dword [esp + 0x18]
sub ebx, eax
sub edi, eax
nop word [eax + eax]
lea ecx, [esp + 0x48]
add ecx, edx
inc edx
mov al, byte [ecx + ebx]
xor al, byte [ecx]
mov byte [ecx + edi], al
cmp edx, ebp
jb 0x1014e8f0
mov ebp, dword [esp + 0x1c]
lea ebx, [esi + 0x10]
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x44]
cmp ecx, 0x10
jae 0x1014e92d
mov eax, 0x10
sub eax, ecx
push eax
lea eax, [ecx + esi]
push 0
push eax
call fcn.1007d020
add esp, 0xc
push ebp
lea eax, [esp + 0x4c]
push eax
push esi
call edi
mov eax, dword [esp + 0x54]
add esp, 0xc
xor dword [ebx], eax
mov eax, dword [esp + 0x4c]
xor dword [ebx + 4], eax
mov eax, dword [esp + 0x50]
xor dword [esi + 0x18], eax
mov eax, dword [esp + 0x54]
xor dword [esi + 0x1c], eax
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x58]
pop edi
mov byte [esi], al
xor eax, eax
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100645b9
add esp, 0x4c
ret
mov ebp, dword [esp + 0x1c]
lea ebx, [esi + 0x10]
mov edi, dword [esp + 0x20]
push ebp
push ebx
push ebx
call edi
push ebp
lea eax, [esp + 0x58]
push eax
push esi
call edi
add esp, 0x18
jmp 0x1014e90e