Function at 0x101532f0
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 0x1015362c
jb 0x10153336
cmp eax, 0xffffffe0
ja 0x1015362c
cmp dword [esi + 0x170], 0
mov edx, dword [esi + 0x16c]
mov dword [esi + 0x3c], ecx
lea ecx, [esi + 0x40]
push ebx
mov dword [esi + 0x38], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
je 0x101533b6
test ebp, ebp
jne 0x1015337a
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 ebx
pop esi
pop ebp
add esp, 0x24
ret
movups xmm0, xmmword [ecx]
lea ebx, [esi + 0x17c]
mov edx, 0x10
mov dword [esp + 0x10], edx
movups xmmword [ebx], 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 0x101533c0
lea ebx, [esi + 0x17c]
mov dword [esp + 0x14], ecx
mov eax, dword [esi + 0xc]
bswap eax
mov dword [esp + 0xc], eax
mov eax, edx
and eax, 0xf
mov dword [esp + 0x2c], ebx
push edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
je 0x10153451
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x40]
test ebp, ebp
je 0x10153424
mov cl, byte [edi]
lea ebp, [esi + 0x17c]
mov byte [esi + edx + 0x17c], cl
inc edi
mov al, byte [eax + esi + 0x10]
inc edx
xor al, cl
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x44]
mov byte [ebx], al
dec ebp
mov eax, dword [esp + 0x24]
inc ebx
inc eax
mov dword [esp + 0x44], ebp
and eax, 0xf
mov dword [esp + 0x24], eax
jne 0x101533e5
mov ecx, dword [esp + 0x14]
jmp 0x10153430
mov ecx, dword [esp + 0x14]
test eax, eax
jne 0x1015361c
push edx
push ecx
lea ecx, [esi + 0x60]
lea eax, [esi + 0x40]
push ecx
push eax
mov eax, dword [esi + 0x164]
call eax
mov ecx, dword [esp + 0x28]
add esp, 0x10
xor edx, edx
mov dword [esp + 0x14], edx
jmp 0x10153455
mov ebx, dword [esp + 0x40]
cmp ebp, 0x10
jb 0x1015347e
test edx, edx
je 0x1015347e
push edx
lea eax, [esi + 0x17c]
push eax
lea eax, [esi + 0x60]
push eax
mov eax, dword [esi + 0x164]
push ecx
call eax
add esp, 0x10
mov dword [esp + 0x14], 0
cmp ebp, 0xc00
jb 0x10153529
mov eax, 0xaaaaaaab
mul ebp
shr edx, 0xb
mov dword [esp + 0x2c], edx
nop dword [eax + eax]
push 0xc00
push edi
lea eax, [esi + 0x60]
push eax
push dword [esp + 0x24]
mov eax, dword [esi + 0x164]
call eax
mov ebp, dword [esp + 0x20]
add esp, 0x10
mov dword [esp + 0x28], 0xc0
push dword [esp + 0x1c]
lea eax, [esi + 0x10]
push eax
push esi
call dword [esp + 0x2c]
inc ebp
add esp, 0xc
mov eax, ebp
bswap eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x10]
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 + 0x28], 1
jne 0x101534c5
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x44]
sub ebp, 0xc00
sub dword [esp + 0x2c], 1
mov dword [esp + 0x44], ebp
jne 0x101534a0
mov eax, ebp
and eax, 0xfffffff0
je 0x101535a5
push eax
push edi
lea eax, [esi + 0x60]
push eax
push dword [esp + 0x24]
mov eax, dword [esi + 0x164]
call eax
add esp, 0x10
cmp ebp, 0x10
jb 0x101535a5
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 0x10153556
test ebp, ebp
je 0x10153618
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 + 0x24]
inc eax
mov edx, dword [esp + 0x14]
bswap eax
mov dword [esi + 0xc], eax
lea eax, [ecx + ebx]
mov dword [esp + 0x2c], eax
lea eax, [esi + 0x10]
mov esi, dword [esp + 0x2c]
add eax, ecx
sub edi, ebx
mov dword [esp + 0x44], eax
mov ebx, dword [esp + 0x30]
mov cl, byte [edi + esi]
lea esi, [esi + 1]
mov byte [ebx + edx], cl
inc edx
mov al, byte [eax]
xor al, cl
mov byte [esi - 1], al
mov eax, dword [esp + 0x44]
inc eax
mov dword [esp + 0x44], eax
sub ebp, 1
jne 0x101535e5
mov esi, dword [esp + 0x38]
xor eax, eax
pop edi
pop ebx
mov dword [esi + 0x16c], edx
pop esi
pop ebp
add esp, 0x24
ret
mov edx, dword [esp + 0x14]
pop edi
pop ebx
mov dword [esi + 0x16c], edx
xor eax, eax
pop esi
pop ebp
add esp, 0x24
ret
pop esi
or eax, 0xffffffff
pop ebp
add esp, 0x24
ret