Function at 0x10154e50
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x2c
call fcn.101ebae0
push ebp
mov ebp, dword [esp + 0x40]
xor ecx, ecx
push esi
mov esi, dword [esp + 0x38]
mov eax, dword [esi + 0x174]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x178]
mov dword [esp + 0x28], eax
mov eax, ebp
add eax, dword [esi + 0x38]
adc ecx, dword [esi + 0x3c]
cmp ecx, 0xf
ja 0x1015528e
jb 0x10154e96
cmp eax, 0xffffffe0
ja 0x1015528e
cmp dword [esi + 0x170], 0
mov edx, dword [esi + 0x16c]
mov dword [esi + 0x3c], ecx
lea ecx, [esi + 0x40]
mov dword [esi + 0x38], eax
mov dword [esp + 0x38], edx
mov dword [esp + 8], ecx
je 0x10154f11
test ebp, ebp
jne 0x10154ed8
lea eax, [esi + 0x60]
push eax
mov eax, dword [esi + 0x168]
push ecx
call eax
add esp, 8
mov dword [esi + 0x170], ebp
xor eax, eax
pop esi
pop ebp
add esp, 0x2c
ret
movups xmm0, xmmword [ecx]
mov dword [esp + 0x38], 0x10
movups xmmword [esi + 0x17c], xmm0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x170], 0
jmp 0x10154f15
mov dword [esp + 8], ecx
movzx ecx, byte [esi + 0xc]
lea edx, [esi + 0xc]
shl ecx, 8
lea eax, [esi + 0xd]
mov dword [esp + 0x18], eax
movzx eax, byte [eax]
or ecx, eax
mov dword [esp + 0x14], edx
movzx eax, byte [esi + 0xe]
push ebx
lea ebx, [esi + 0xe]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x20], ebx
movzx eax, byte [esi + 0xf]
mov ebx, dword [esp + 0x44]
push edi
lea edi, [esi + 0xf]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x18], ecx
mov ecx, eax
and ecx, 0xf
mov dword [esp + 0x2c], ecx
je 0x1015500c
lea edx, [esi + 0x17c]
add edx, eax
test ebp, ebp
je 0x10154ffc
mov al, byte [ecx + esi + 0x10]
dec ebp
xor al, byte [edi]
inc ecx
mov byte [ebx], al
inc edi
mov byte [edx], al
inc ebx
mov eax, dword [esp + 0x40]
inc edx
inc eax
and ecx, 0xf
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], ecx
jne 0x10154f78
push eax
lea edx, [esi + 0x17c]
lea ecx, [esi + 0x60]
push edx
lea eax, [esi + 0x60]
mov dword [esp + 0x1c], ecx
lea ecx, [esi + 0x40]
push eax
mov eax, dword [esi + 0x164]
push ecx
mov dword [esp + 0x20], ecx
call eax
lea eax, [esi + 0xc]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x2c], eax
lea ecx, [esi + 0x60]
lea eax, [esi + 0xd]
xor edx, edx
mov dword [esp + 0x30], eax
add esp, 0x10
lea eax, [esi + 0xe]
mov dword [esp + 0x40], edx
mov dword [esp + 0x24], eax
lea eax, [esi + 0xf]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x2c], eax
xor eax, eax
jmp 0x10155013
pop edi
pop ebx
mov dword [esi + 0x16c], eax
xor eax, eax
pop esi
pop ebp
add esp, 0x2c
ret
lea ecx, [esi + 0x60]
mov dword [esp + 0x14], ecx
cmp ebp, 0x10
jb 0x1015503c
test eax, eax
je 0x1015503c
push eax
lea eax, [esi + 0x17c]
push eax
mov eax, dword [esi + 0x164]
push ecx
push dword [esp + 0x1c]
call eax
add esp, 0x10
mov dword [esp + 0x40], 0
cmp ebp, 0xc00
jb 0x1015512d
lea eax, [esi + 0x60]
mov dword [esp + 0x14], eax
lea ecx, [esi + 0x10]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, 0xaaaaaaab
mul ebp
shr edx, 0xb
mov dword [esp + 0x28], edx
nop dword [eax + eax]
mov ebp, 0xc0
push dword [esp + 0x30]
push ecx
push esi
call dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
add esp, 0xc
inc ecx
mov eax, ecx
mov byte [esi + 0xf], cl
shr eax, 0x18
mov byte [esi + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0xd], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0xe], al
mov eax, dword [esi + 0x10]
xor eax, dword [edi]
mov dword [esp + 0x18], ecx
lea ecx, [esi + 0x10]
mov dword [ebx], eax
mov eax, dword [edi + 4]
xor eax, dword [esi + 0x14]
mov dword [ebx + 4], eax
mov eax, dword [edi + 8]
xor eax, dword [esi + 0x18]
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
add edi, 0x10
xor eax, dword [esi + 0x1c]
mov dword [ebx + 0xc], eax
add ebx, 0x10
sub ebp, 1
jne 0x10155075
push 0xc00
lea eax, [ebx - 0xc00]
push eax
push dword [esp + 0x1c]
mov eax, dword [esi + 0x164]
push dword [esp + 0x1c]
call eax
mov ebp, dword [esp + 0x5c]
lea ecx, [esi + 0x10]
sub ebp, 0xc00
add esp, 0x10
sub dword [esp + 0x28], 1
mov dword [esp + 0x4c], ebp
jne 0x10155070
lea eax, [esi + 0xc]
mov dword [esp + 0x1c], eax
lea eax, [esi + 0xd]
mov dword [esp + 0x20], eax
lea eax, [esi + 0xe]
mov dword [esp + 0x24], eax
lea eax, [esi + 0xf]
mov dword [esp + 0x28], eax
mov ecx, ebp
and ecx, 0xfffffff0
mov dword [esp + 0x38], ecx
je 0x101551fe
cmp ebp, 0x10
jb 0x101551c9
mov eax, ebp
lea ecx, [esi + 0x10]
shr eax, 4
mov dword [esp + 0x4c], eax
push dword [esp + 0x30]
push ecx
push esi
call dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
add esp, 0xc
inc ecx
sub ebp, 0x10
mov eax, ecx
mov byte [esi + 0xf], cl
shr eax, 0x18
mov byte [esi + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0xd], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0xe], al
mov eax, dword [esi + 0x10]
xor eax, dword [edi]
mov dword [esp + 0x18], ecx
lea ecx, [esi + 0x10]
mov dword [ebx], eax
mov eax, dword [edi + 4]
xor eax, dword [esi + 0x14]
mov dword [ebx + 4], eax
mov eax, dword [edi + 8]
xor eax, dword [esi + 0x18]
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
add edi, 0x10
xor eax, dword [esi + 0x1c]
mov dword [ebx + 0xc], eax
add ebx, 0x10
sub dword [esp + 0x4c], 1
jne 0x10155151
mov ecx, dword [esp + 0x38]
lea eax, [esi + 0x60]
mov dword [esp + 0x14], eax
lea eax, [esi + 0x40]
mov dword [esp + 0x10], eax
push ecx
mov eax, ebx
sub eax, ecx
push eax
push dword [esp + 0x1c]
mov eax, dword [esi + 0x164]
push dword [esp + 0x1c]
call eax
lea eax, [esi + 0xc]
add esp, 0x10
mov dword [esp + 0x1c], eax
lea eax, [esi + 0xd]
mov dword [esp + 0x20], eax
lea eax, [esi + 0xe]
mov dword [esp + 0x24], eax
lea eax, [esi + 0xf]
mov dword [esp + 0x28], eax
test ebp, ebp
je 0x1015527a
push dword [esp + 0x30]
lea eax, [esi + 0x10]
push eax
push esi
call dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
sub edi, ebx
mov edx, dword [esp + 0x28]
inc ecx
mov eax, ecx
add esp, 0xc
shr eax, 0x18
mov byte [edx], al
mov eax, ecx
mov edx, dword [esp + 0x20]
shr eax, 0x10
mov byte [edx], al
mov eax, ecx
mov edx, dword [esp + 0x24]
shr eax, 8
mov byte [edx], al
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x40]
add edx, 0x17c
add edx, esi
mov byte [eax], cl
mov eax, dword [esp + 0x2c]
lea ecx, [eax + ebx]
add eax, 0x10
add eax, esi
add dword [esp + 0x40], ebp
mov dword [esp + 0x4c], eax
mov ebx, eax
mov al, byte [ecx + edi]
lea edx, [edx + 1]
xor al, byte [ebx]
lea ebx, [ebx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
mov byte [edx - 1], al
sub ebp, 1
jne 0x10155262
mov edx, dword [esp + 0x40]
xor eax, eax
pop edi
pop ebx
mov dword [esi + 0x16c], edx
pop esi
pop ebp
add esp, 0x2c
ret
pop esi
or eax, 0xffffffff
pop ebp
add esp, 0x2c
ret