Function at 0x10153930
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x24
call fcn.10228380
push ebp
mov ebp, dword [esp + 0x38]
xor ecx, ecx
push esi
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 0x174]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x178]
mov dword [esp + 0x14], eax
mov eax, ebp
add eax, dword [esi + 0x38]
adc ecx, dword [esi + 0x3c]
cmp ecx, 0xf
ja 0x10153c80
jb 0x10153976
cmp eax, 0xffffffe0
ja 0x10153c80
cmp dword [esi + 0x170], 0
lea edx, [esi + 0x40]
mov dword [esi + 0x3c], ecx
mov ecx, dword [esi + 0x16c]
push ebx
mov dword [esi + 0x38], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
je 0x101539f6
test ebp, ebp
jne 0x101539ba
lea eax, [esi + 0x60]
push eax
mov eax, dword [esi + 0x168]
push edx
call eax
add esp, 8
mov dword [esi + 0x170], ebp
xor eax, eax
pop ebx
pop esi
pop ebp
add esp, 0x24
ret
movups xmm0, xmmword [edx]
lea ebx, [esi + 0x17c]
mov ecx, 0x10
mov dword [esp + 0x10], ecx
movups xmmword [ebx], xmm0
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x170], 0
jmp 0x10153a00
lea ebx, [esi + 0x17c]
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0xc]
mov edx, ecx
bswap eax
and edx, 0xf
mov dword [esp + 0x2c], ebx
push edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], edx
je 0x10153a8a
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x40]
test ebp, ebp
je 0x10153a5a
mov al, byte [edx + esi + 0x10]
lea ebp, [esi + 0x17c]
xor al, byte [edi]
inc edx
mov dword [esp + 0x14], ebp
inc edi
mov ebp, dword [esp + 0x44]
mov byte [ebx], al
dec ebp
mov byte [esi + ecx + 0x17c], al
inc ebx
inc ecx
mov dword [esp + 0x44], ebp
and edx, 0xf
mov dword [esp + 0x2c], edx
jne 0x10153a25
jmp 0x10153a6a
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
test edx, edx
jne 0x10153c70
push ecx
push dword [esp + 0x18]
lea edx, [esi + 0x60]
lea eax, [esi + 0x40]
push edx
push eax
mov eax, dword [esi + 0x164]
call eax
add esp, 0x10
xor ecx, ecx
mov dword [esp + 0x14], ecx
jmp 0x10153a8e
mov ebx, dword [esp + 0x40]
lea edx, [esi + 0x60]
cmp ebp, 0x10
jb 0x10153aba
test ecx, ecx
je 0x10153aba
push ecx
lea eax, [esi + 0x17c]
push eax
mov eax, dword [esi + 0x164]
push edx
push dword [esp + 0x24]
call eax
add esp, 0x10
mov dword [esp + 0x14], 0
cmp ebp, 0xc00
jb 0x10153b75
mov eax, 0xaaaaaaab
lea ecx, [esi + 0x10]
mul ebp
shr edx, 0xb
mov dword [esp + 0x28], edx
nop word [eax + eax]
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x24], 0xc0
nop dword [eax]
push dword [esp + 0x1c]
push ecx
push esi
call dword [esp + 0x2c]
inc ebp
lea ecx, [esi + 0x10]
mov eax, ebp
add esp, 0xc
bswap eax
mov dword [esi + 0xc], eax
mov eax, dword [ecx]
xor eax, dword [edi]
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 + 0x24], 1
jne 0x10153af0
push 0xc00
lea eax, [ebx - 0xc00]
mov dword [esp + 0x14], ebp
push eax
lea eax, [esi + 0x60]
push eax
push dword [esp + 0x24]
mov eax, dword [esi + 0x164]
call eax
mov ebp, dword [esp + 0x54]
lea ecx, [esi + 0x10]
sub ebp, 0xc00
add esp, 0x10
sub dword [esp + 0x28], 1
mov dword [esp + 0x44], ebp
jne 0x10153ae0
mov ecx, ebp
and ecx, 0xfffffff0
mov dword [esp + 0x28], ecx
je 0x10153c01
cmp ebp, 0x10
jb 0x10153be8
mov eax, ebp
lea ecx, [esi + 0x10]
shr eax, 4
mov dword [esp + 0x44], eax
push dword [esp + 0x1c]
push ecx
push esi
call dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
lea ecx, [esi + 0x10]
inc eax
add esp, 0xc
mov dword [esp + 0x10], eax
sub ebp, 0x10
bswap eax
mov dword [esi + 0xc], eax
mov eax, dword [ecx]
xor eax, dword [edi]
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 + 0x44], 1
jne 0x10153b95
mov ecx, dword [esp + 0x28]
push ecx
mov eax, ebx
sub eax, ecx
push eax
lea eax, [esi + 0x60]
push eax
push dword [esp + 0x24]
mov eax, dword [esi + 0x164]
call eax
add esp, 0x10
test ebp, ebp
je 0x10153c6c
push dword [esp + 0x1c]
lea eax, [esi + 0x10]
push eax
push esi
call dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x14]
inc eax
bswap eax
mov dword [esi + 0xc], eax
add esi, 0x10
mov eax, dword [esp + 0x2c]
lea edx, [eax + ebx]
add eax, esi
mov esi, dword [esp + 0x30]
sub edi, ebx
mov dword [esp + 0x44], eax
mov ebx, eax
nop dword [eax + eax]
mov al, byte [edi + edx]
lea ebx, [ebx + 1]
xor al, byte [ebx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
mov byte [esi + ecx], al
inc ecx
sub ebp, 1
jne 0x10153c40
mov esi, dword [esp + 0x38]
xor eax, eax
pop edi
pop ebx
mov dword [esi + 0x16c], ecx
pop esi
pop ebp
add esp, 0x24
ret
mov ecx, dword [esp + 0x14]
pop edi
pop ebx
mov dword [esi + 0x16c], ecx
xor eax, eax
pop esi
pop ebp
add esp, 0x24
ret
pop esi
or eax, 0xffffffff
pop ebp
add esp, 0x24
ret