Function at 0x10149ac0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1c
call fcn.10063940
push ebx
mov ebx, dword [esp + 0x24]
xor ecx, ecx
push edi
mov edi, dword [esp + 0x34]
mov eax, dword [ebx + 0x174]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x164]
mov dword [esp + 0x18], eax
mov eax, edi
add eax, dword [ebx + 0x38]
adc ecx, dword [ebx + 0x3c]
cmp ecx, 0xf
ja 0x10149dc3
jb 0x10149b06
cmp eax, 0xffffffe0
ja 0x10149dc3
cmp dword [ebx + 0x16c], 0
mov edx, dword [ebx + 0x168]
mov dword [ebx + 0x3c], ecx
lea ecx, [ebx + 0x40]
push ebp
push esi
mov dword [ebx + 0x38], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
je 0x10149d1c
test edi, edi
jne 0x10149b50
lea eax, [ebx + 0x60]
push eax
mov eax, dword [ebx + 0x160]
push ecx
call eax
add esp, 8
mov dword [ebx + 0x16c], edi
xor eax, eax
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x1c
ret
movups xmm0, xmmword [ecx]
lea eax, [ebx + 0x178]
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], eax
mov edx, 0x10
movups xmmword [eax], xmm0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
mov eax, dword [ebx + 0xc]
bswap eax
mov dword [esp + 0x10], edx
mov dword [ebx + 0x16c], 0
mov dword [esp + 0x3c], eax
mov esi, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], eax
cmp edi, 0x10
jb 0x10149be1
mov dword [esp + 0x30], eax
test edx, edx
je 0x10149be1
push edx
push dword [esp + 0x28]
lea ecx, [ebx + 0x60]
push ecx
push eax
call dword [esp + 0x30]
mov eax, dword [esp + 0x28]
add esp, 0x10
mov dword [esp + 0x10], 0
mov dword [esp + 0x30], eax
cmp edi, 0xc00
jb 0x10149c54
mov dword [esp + 0x30], eax
mov eax, 0xaaaaaaab
mul edi
shr edx, 0xb
mov dword [esp + 0x24], edx
nop dword [eax + eax]
push ebx
push dword [esp + 0x2c]
push 0xc0
push esi
push ebp
call dword [esp + 0x54]
mov eax, dword [esp + 0x50]
add eax, 0xc0
mov dword [esp + 0x50], eax
bswap eax
push 0xc00
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x60]
push esi
push eax
push dword [esp + 0x50]
call dword [esp + 0x44]
add esp, 0x24
add esi, 0xc00
add ebp, 0xc00
sub edi, 0xc00
sub dword [esp + 0x24], 1
jne 0x10149c00
mov dword [esp + 0x1c], esi
mov eax, edi
and eax, 0xfffffff0
mov dword [esp + 0x24], eax
je 0x10149ca3
push ebx
push dword [esp + 0x2c]
mov esi, eax
shr esi, 4
push esi
push dword [esp + 0x28]
push ebp
call dword [esp + 0x54]
mov eax, dword [esp + 0x50]
add eax, esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x50], eax
bswap eax
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x38]
add ebp, eax
push eax
sub edi, eax
lea eax, [ebx + 0x60]
push esi
push eax
push dword [esp + 0x50]
call dword [esp + 0x44]
add esp, 0x24
add esi, dword [esp + 0x24]
test edi, edi
je 0x10149d08
push dword [esp + 0x28]
lea eax, [ebx + 0x10]
push eax
mov eax, dword [ebx + 0x170]
push ebx
call eax
mov eax, dword [esp + 0x48]
sub ebp, esi
mov edx, dword [esp + 0x1c]
inc eax
bswap eax
mov dword [ebx + 0xc], eax
add edx, 0x178
mov eax, dword [esp + 0x20]
add esp, 0xc
add edx, ebx
lea ecx, [eax + esi]
add eax, 0x10
add eax, ebx
add dword [esp + 0x10], edi
mov dword [esp + 0x30], eax
mov esi, eax
nop dword [eax]
mov al, byte [ecx + ebp]
lea edx, [edx + 1]
xor al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
mov byte [edx - 1], al
sub edi, 1
jne 0x10149cf0
mov edx, dword [esp + 0x10]
pop esi
pop ebp
pop edi
mov dword [ebx + 0x168], edx
xor eax, eax
pop ebx
add esp, 0x1c
ret
lea eax, [ebx + 0x178]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], eax
mov ecx, edx
mov eax, dword [ebx + 0xc]
and ecx, 0xf
bswap eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x14], ecx
je 0x10149b9f
mov esi, dword [esp + 0x38]
lea eax, [ebx + 0x178]
mov ebp, dword [esp + 0x34]
add eax, edx
mov dword [esp + 0x18], eax
test edi, edi
je 0x10149d0c
mov al, byte [ecx + ebx + 0x10]
inc edx
xor al, byte [ebp]
inc ecx
mov ebx, dword [esp + 0x18]
inc ebp
inc dword [esp + 0x18]
dec edi
mov byte [esi], al
inc esi
and ecx, 0xf
mov dword [esp + 0x1c], esi
mov byte [ebx], al
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
jne 0x10149d56
push edx
lea edx, [ebx + 0x178]
lea eax, [ebx + 0x178]
push edx
lea ecx, [ebx + 0x60]
mov dword [esp + 0x2c], eax
lea eax, [ebx + 0x40]
push ecx
push eax
mov dword [esp + 0x28], eax
call dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
add esp, 0x10
mov eax, dword [esp + 0x3c]
xor edx, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x3c], eax
jmp 0x10149bab
pop edi
or eax, 0xffffffff
pop ebx
add esp, 0x1c
ret