Function at 0x618bb0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x14
call fcn.00482d80
push ebx
mov ebx, dword [esp + 0x28]
xor ecx, ecx
push esi
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 0x174]
mov dword [esp + 0x14], eax
mov eax, ebx
add eax, dword [esi + 0x38]
adc ecx, dword [esi + 0x3c]
cmp ecx, 0xf
ja 0x618ec2
jb 0x618bec
cmp eax, 0xffffffe0
ja 0x618ec2
cmp dword [esi + 0x16c], 0
push ebp
mov ebp, dword [esi + 0x168]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
mov dword [esp + 0x14], ebp
je 0x618c63
test ebx, ebx
jne 0x618c29
lea eax, [esi + 0x60]
push eax
lea eax, [esi + 0x40]
push eax
call fcn.00619de0
add esp, 8
mov dword [esi + 0x16c], ebx
xor eax, eax
pop ebp
pop esi
pop ebx
add esp, 0x14
ret
movups xmm0, xmmword [esi + 0x40]
mov ebp, 0x10
mov dword [esp + 0x14], ebp
movups xmmword [esi + 0x178], xmm0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x16c], 0
movzx ecx, byte [esi + 0xc]
movzx eax, byte [esi + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xf]
shl ecx, 8
or ecx, eax
mov eax, ebp
push edi
mov edi, dword [esp + 0x2c]
and eax, 0xf
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], edi
je 0x618cfb
mov edx, dword [esp + 0x30]
mov dword [esp + 0x34], edx
test ebx, ebx
je 0x618cd3
mov cl, byte [edi]
dec ebx
mov byte [esi + ebp + 0x178], cl
inc edi
mov al, byte [eax + esi + 0x10]
inc ebp
xor al, cl
mov dword [esp + 0x10], edi
mov byte [edx], al
inc edx
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x34], edx
and eax, 0xf
mov dword [esp + 0x20], eax
jne 0x618ca2
jmp 0x618cdb
test eax, eax
jne 0x618eb2
push ebp
lea eax, [esi + 0x178]
push eax
lea eax, [esi + 0x60]
push eax
lea eax, [esi + 0x40]
push eax
call fcn.00619ba0
add esp, 0x10
xor ebp, ebp
mov dword [esp + 0x18], ebp
jmp 0x618d03
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], eax
cmp ebx, 0x10
jb 0x618d2a
test ebp, ebp
je 0x618d2a
push ebp
lea eax, [esi + 0x178]
push eax
lea eax, [esi + 0x60]
push eax
lea eax, [esi + 0x40]
push eax
call fcn.00619ba0
add esp, 0x10
xor ebp, ebp
mov dword [esp + 0x18], ebp
cmp ebx, 0xc00
jb 0x618dc4
mov ebp, dword [esp + 0x34]
lea ecx, [esi + 0x60]
mov eax, 0xaaaaaaab
mul ebx
shr edx, 0xb
mov dword [esp + 0x10], edx
nop dword [eax + eax]
push 0xc00
push edi
push ecx
lea eax, [esi + 0x40]
push eax
call fcn.00619ba0
push esi
push dword [esp + 0x30]
push 0xc0
push ebp
push edi
call dword [esp + 0x5c]
mov ecx, dword [esp + 0x38]
add esp, 0x24
add ecx, 0xc0
add ebp, 0xc00
mov eax, ecx
mov dword [esp + 0x14], ecx
shr eax, 0x18
add edi, 0xc00
mov byte [esi + 0xc], al
sub ebx, 0xc00
mov eax, ecx
mov byte [esi + 0xf], cl
shr eax, 0x10
mov byte [esi + 0xd], al
mov eax, ecx
shr eax, 8
lea ecx, [esi + 0x60]
sub dword [esp + 0x10], 1
mov byte [esi + 0xe], al
jne 0x618d50
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x10], edi
mov eax, ebx
and eax, 0xfffffff0
mov dword [esp + 0x18], eax
je 0x618e30
push eax
push dword [esp + 0x14]
mov edi, eax
lea eax, [esi + 0x60]
push eax
lea eax, [esi + 0x40]
shr edi, 4
push eax
call fcn.00619ba0
push esi
push dword [esp + 0x30]
push edi
push dword [esp + 0x50]
push dword [esp + 0x30]
call dword [esp + 0x5c]
mov ecx, dword [esp + 0x38]
add esp, 0x24
add ecx, edi
mov edi, dword [esp + 0x10]
mov eax, ecx
mov dword [esp + 0x14], ecx
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 [esp + 0x18]
add edi, eax
add dword [esp + 0x34], eax
sub ebx, eax
mov byte [esi + 0xf], cl
test ebx, ebx
je 0x618eb2
push dword [esp + 0x1c]
lea eax, [esi + 0x10]
push eax
mov eax, dword [esi + 0x170]
push esi
call eax
mov ecx, dword [esp + 0x20]
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
mov ecx, dword [esp + 0x20]
shr eax, 8
mov byte [esi + 0xe], al
mov eax, dword [esp + 0x34]
lea edx, [ecx + eax]
add ecx, 0x10
add ecx, esi
sub edi, eax
lea eax, [esi + 0x178]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], eax
mov esi, ecx
nop word [eax + eax]
mov cl, byte [edi + edx]
lea esi, [esi + 1]
mov byte [eax + ebp], cl
lea edx, [edx + 1]
mov al, byte [esi - 1]
inc ebp
xor al, cl
mov byte [edx - 1], al
mov eax, dword [esp + 0x20]
sub ebx, 1
jne 0x618e90
mov esi, dword [esp + 0x28]
pop edi
mov dword [esi + 0x168], ebp
xor eax, eax
pop ebp
pop esi
pop ebx
add esp, 0x14
ret
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x14
ret