Function at 0x45acf0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x14
call fcn.00437980
push esi
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 0x174]
mov eax, dword [esi + 0x170]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xc], eax
xor eax, eax
add ecx, dword [esi + 0x38]
adc eax, dword [esi + 0x3c]
cmp eax, 0xf
ja 0x45afbc
jb 0x45ad33
cmp ecx, 0xffffffe0
ja 0x45afbc
cmp dword [esi + 0x16c], 0
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
je 0x45ad5c
lea edx, [esi + 0x60]
push edx
lea eax, [esi + 0x40]
push eax
call fcn.0045a600
add esp, 8
mov dword [esi + 0x16c], 0
movzx ecx, byte [esi + 0xd]
movzx edx, byte [esi + 0xe]
movzx eax, byte [esi + 0xf]
push ebx
movzx ebx, byte [esi + 0xc]
shl ebx, 8
or ebx, ecx
shl ebx, 8
or ebx, edx
push ebp
mov ebp, dword [esi + 0x168]
shl ebx, 8
or ebx, eax
push edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x28], ebp
test ebp, ebp
je 0x45add9
cmp dword [esp + 0x34], 0
je 0x45adbd
mov al, byte [esi + ebp + 0x10]
mov ecx, dword [esp + 0x2c]
xor al, byte [ecx]
dec dword [esp + 0x34]
mov byte [edi], al
xor byte [esi + ebp + 0x40], al
inc ecx
inc ebp
inc edi
and ebp, 0xf
mov dword [esp + 0x2c], ecx
jne 0x45ad90
mov dword [esp + 0x28], ebp
jmp 0x45adc9
mov dword [esp + 0x28], ebp
test ebp, ebp
jne 0x45afac
lea ecx, [esi + 0x60]
push ecx
lea edx, [esi + 0x40]
push edx
call fcn.0045a600
add esp, 8
mov ecx, dword [esp + 0x34]
cmp ecx, 0xc00
jb 0x45ae9e
mov eax, 0xaaaaaaab
mul ecx
shr edx, 0xb
lea ebp, [esi + 0x10]
mov dword [esp + 0x20], edx
lea ebx, [ebx]
mov dword [esp + 0x1c], 0xc0
mov eax, dword [esp + 0x14]
push eax
push ebp
push esi
call dword [esp + 0x24]
inc ebx
mov edx, ebx
shr edx, 0x10
mov eax, ebx
shr eax, 8
mov byte [esi + 0xd], dl
mov edx, dword [esp + 0x38]
mov ecx, ebx
shr ecx, 0x18
mov byte [esi + 0xe], al
add esp, 0xc
xor eax, eax
sub edx, edi
mov byte [esi + 0xc], cl
mov byte [esi + 0xf], bl
mov ecx, edi
mov dword [esp + 0x10], edx
jmp 0x45ae46
mov edx, dword [esp + 0x10]
mov edx, dword [edx + ecx]
xor edx, dword [eax + ebp]
add eax, 4
mov dword [ecx], edx
add ecx, 4
cmp eax, 0x10
jb 0x45ae42
add dword [esp + 0x2c], 0x10
add edi, 0x10
sub dword [esp + 0x1c], 1
jne 0x45ae08
push 0xc00
lea eax, [esi + 0x60]
push eax
lea eax, [esi + 0x40]
lea ecx, [edi - 0xc00]
push eax
call fcn.0045a780
sub dword [esp + 0x40], 0xc00
add esp, 0xc
sub dword [esp + 0x20], 1
jne 0x45ae00
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
mov eax, ecx
and eax, 0xfffffff0
je 0x45af54
mov dword [esp + 0x1c], eax
cmp ecx, 0x10
jb 0x45af3b
shr ecx, 4
mov dword [esp + 0x20], ecx
lea ecx, [ecx]
mov eax, dword [esp + 0x14]
push eax
lea eax, [esi + 0x10]
push eax
push esi
call dword [esp + 0x24]
inc ebx
mov edx, ebx
shr edx, 0x10
mov eax, ebx
shr eax, 8
mov ecx, ebx
shr ecx, 0x18
mov byte [esi + 0xd], dl
mov edx, dword [esp + 0x38]
mov byte [esi + 0xe], al
add esp, 0xc
mov byte [esi + 0xc], cl
xor eax, eax
mov ecx, edi
sub edx, edi
mov byte [esi + 0xf], bl
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], edx
jmp 0x45af05
mov edx, dword [esp + 0x10]
mov edx, dword [ecx + edx]
xor edx, dword [esi + eax + 0x10]
mov ecx, dword [esp + 0x28]
mov dword [ecx], edx
add eax, 4
add ecx, 4
mov dword [esp + 0x28], ecx
cmp eax, 0x10
jb 0x45af01
mov eax, 0x10
add dword [esp + 0x2c], eax
sub dword [esp + 0x34], eax
add edi, eax
sub dword [esp + 0x20], 1
jne 0x45aec0
mov eax, dword [esp + 0x1c]
push eax
mov ecx, edi
sub ecx, eax
lea eax, [esi + 0x60]
push eax
lea edx, [esi + 0x40]
push edx
call fcn.0045a780
mov ecx, dword [esp + 0x40]
add esp, 0xc
test ecx, ecx
je 0x45afac
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esi + 0x10]
push ecx
push esi
call dword [esp + 0x24]
inc ebx
mov edx, ebx
shr edx, 0x18
mov ecx, ebx
shr ecx, 8
mov byte [esi + 0xc], dl
mov edx, dword [esp + 0x38]
mov eax, ebx
shr eax, 0x10
add esp, 0xc
mov byte [esi + 0xe], cl
mov byte [esi + 0xd], al
mov byte [esi + 0xf], bl
lea ecx, [edi + ebp]
sub edx, edi
mov edi, edi
mov al, byte [esi + ebp + 0x10]
xor al, byte [ecx + edx]
mov edi, dword [esp + 0x34]
mov byte [ecx], al
xor byte [esi + ebp + 0x40], al
dec edi
inc ebp
inc ecx
mov dword [esp + 0x34], edi
test edi, edi
jne 0x45af90
pop edi
mov dword [esi + 0x168], ebp
pop ebp
pop ebx
xor eax, eax
pop esi
add esp, 0x14
ret
or eax, 0xffffffff
pop esi
add esp, 0x14
ret