Function at 0x60bef0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
xor ebx, ebx
and esp, 0xfffffff0
sub esp, 0x40
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
mov eax, dword [esi + 0x170]
add ecx, dword [esi + 0x38]
adc ebx, dword [esi + 0x3c]
mov edi, dword [esi + 0x160]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x174]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x164]
mov dword [esp + 0x24], eax
mov eax, 0xffffffe0
cmp eax, ecx
mov eax, 0xf
sbb eax, ebx
jb 0x60c5c5
mov dword [esi + 0x38], ecx
mov eax, dword [esi + 0x168]
mov ecx, dword [esi + 0x16c]
mov dword [esi + 0x3c], ebx
mov dword [esp + 0x2c], eax
test ecx, ecx
je 0x60c372
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x60c599
movdqu xmm1, xmmword [esi + 0x40]
mov dword [esp + 0x2c], 0x10
pxor xmm0, xmm0
mov dword [esi + 0x16c], 0
mov eax, dword [esi + 0xc]
movups xmmword [esi + 0x178], xmm1
bswap eax
movups xmmword [esi + 0x40], xmm0
mov dword [esp + 0x28], eax
mov eax, 1
cmp dword [ebp + 0x14], 0xf
jbe 0x60bfdf
test al, al
je 0x60bfdf
mov dword [ebp + 0xc], edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
lea eax, [esi + 0x178]
mov dword [esp + 8], eax
lea eax, [esi + 0x60]
mov dword [esp + 4], eax
lea eax, [esi + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
call eax
mov dword [esp + 0x2c], 0
mov edx, dword [ebp + 0xc]
cmp dword [ebp + 0x14], 0xbff
jbe 0x60c0d2
lea eax, [edx + 0xc00]
mov dword [esp + 0x3c], eax
lea eax, [esi + 0x60]
mov dword [esp + 0x1c], eax
lea eax, [esi + 0x40]
mov dword [esp + 0x20], eax
lea eax, [esi + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], 0xc00
lea ebx, [eax - 0xc00]
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
call eax
mov ecx, dword [esp + 0x28]
mov edi, dword [ebp + 0x10]
mov eax, esi
mov esi, ecx
lea esi, [esi]
mov ecx, dword [esp + 0x34]
mov dword [esp], eax
add esi, 1
add ebx, 0x10
add edi, 0x10
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x38]
call eax
mov eax, dword [ebp + 8]
mov edx, esi
mov ecx, dword [esp + 0x3c]
bswap edx
mov dword [eax + 0xc], edx
mov edx, dword [ebx - 0x10]
xor edx, dword [eax + 0x10]
mov dword [edi - 0x10], edx
mov edx, dword [ebx - 0xc]
xor edx, dword [eax + 0x14]
mov dword [edi - 0xc], edx
mov edx, dword [ebx - 8]
xor edx, dword [eax + 0x18]
mov dword [edi - 8], edx
mov edx, dword [ebx - 4]
xor edx, dword [eax + 0x1c]
mov dword [edi - 4], edx
mov edx, ecx
cmp ebx, ecx
jne 0x60c048
add dword [ebp + 0x10], 0xc00
mov esi, eax
add dword [esp + 0x28], 0xc0
sub dword [ebp + 0x14], 0xc00
add dword [esp + 0x3c], 0xc00
cmp dword [ebp + 0x14], 0xbff
ja 0x60c00b
mov eax, dword [ebp + 0x14]
and eax, 0xfffffff0
je 0x60c1a2
mov dword [esp + 0xc], eax
lea eax, [esi + 0x60]
mov dword [esp + 8], edx
mov dword [ebp + 0xc], edx
mov dword [esp + 4], eax
lea eax, [esi + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
call eax
mov eax, dword [ebp + 0x14]
mov ebx, dword [esp + 0x28]
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
sub eax, 0x10
add ebx, 1
shr eax, 4
mov dword [esp + 0x3c], eax
add eax, ebx
mov dword [esp + 0x28], eax
lea eax, [esi + 0x10]
mov dword [esp + 0x30], eax
mov eax, ebx
mov ebx, ecx
mov ecx, eax
jmp 0x60c12e
add ecx, 1
mov eax, dword [esp + 0x34]
mov dword [esp + 0x24], ecx
add edi, 0x10
add ebx, 0x10
mov dword [esp], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
call eax
mov ecx, dword [esp + 0x24]
mov eax, ecx
bswap eax
mov dword [esi + 0xc], eax
mov eax, dword [ebx - 0x10]
xor eax, dword [esi + 0x10]
mov dword [edi - 0x10], eax
mov eax, dword [ebx - 0xc]
xor eax, dword [esi + 0x14]
mov dword [edi - 0xc], eax
mov eax, dword [ebx - 8]
xor eax, dword [esi + 0x18]
mov dword [edi - 8], eax
mov eax, dword [ebx - 4]
xor eax, dword [esi + 0x1c]
mov dword [edi - 4], eax
mov eax, dword [esp + 0x28]
cmp ecx, eax
jne 0x60c12b
mov eax, dword [esp + 0x3c]
and dword [ebp + 0x14], 0xf
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x28], ecx
add eax, 1
shl eax, 4
add dword [ebp + 0x10], eax
add edx, eax
mov ebx, dword [ebp + 0x14]
mov dword [ebp + 0xc], edx
test ebx, ebx
je 0x60c35e
mov edi, dword [esp + 0x34]
lea eax, [esi + 0x10]
mov dword [esp], esi
mov dword [esp + 0x34], eax
mov dword [esp + 8], edi
mov edi, dword [esp + 0x38]
mov dword [esp + 4], eax
call edi
mov edi, dword [esp + 0x28]
mov edx, dword [ebp + 0xc]
add edi, 1
mov eax, edi
mov edi, dword [ebp + 0x14]
bswap eax
sub edi, 1
mov dword [esi + 0xc], eax
cmp edi, 2
jbe 0x60c5cf
mov eax, dword [esp + 0x2c]
lea ebx, [edx + 1]
mov dword [esp + 0x3c], ebx
lea ecx, [esi + eax + 0x17c]
lea ebx, [esi + eax + 0x178]
mov dword [esp + 0x38], ecx
lea ecx, [esi + eax + 0x179]
mov eax, dword [ebp + 0x10]
sub eax, ecx
lea ecx, [esi + 0x11]
cmp eax, 2
mov eax, dword [ebp + 0x10]
seta byte [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x38]
cmp eax, 2
seta al
and al, byte [esp + 0x30]
mov byte [esp + 0x30], al
lea eax, [esi + 0x14]
cmp ebx, eax
setae al
cmp dword [esp + 0x34], ecx
setae cl
or eax, ecx
and al, byte [esp + 0x30]
mov ecx, dword [esp + 0x3c]
mov byte [esp + 0x34], al
mov eax, dword [ebp + 0x10]
sub eax, ecx
cmp eax, 2
seta cl
test byte [esp + 0x34], cl
je 0x60c3f0
mov eax, dword [esp + 0x3c]
mov ecx, ebx
sub ecx, eax
cmp ecx, 2
jbe 0x60c3f0
movd xmm0, dword [edx]
mov eax, dword [ebp + 0x14]
movd dword [ebx], xmm0
movd xmm2, dword [esi + 0x10]
mov ebx, dword [ebp + 0x10]
shr eax, 2
pxor xmm0, xmm2
movd dword [ebx], xmm0
cmp eax, 1
je 0x60c2d7
movd xmm0, dword [edx + 4]
mov ecx, ebx
mov ebx, dword [esp + 0x38]
movd dword [ebx], xmm0
movd xmm3, dword [esi + 0x14]
pxor xmm0, xmm3
movd dword [ecx + 4], xmm0
cmp eax, 3
jne 0x60c2d7
movd xmm0, dword [edx + 8]
movd dword [ebx + 4], xmm0
movd xmm4, dword [esi + 0x18]
pxor xmm0, xmm4
movd dword [ecx + 8], xmm0
mov eax, dword [ebp + 0x14]
mov ebx, dword [esp + 0x2c]
and eax, 0xfffffffc
sub edi, eax
add ebx, eax
mov dword [esp + 0x3c], edi
test byte [ebp + 0x14], 3
je 0x60c357
lea ecx, [ebx + 1]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x38], ecx
movzx ecx, byte [edx + eax]
mov byte [esi + ebx + 0x178], cl
xor cl, byte [esi + eax + 0x10]
mov byte [edi + eax], cl
mov ecx, dword [esp + 0x3c]
lea edi, [eax + 1]
mov dword [esp + 0x34], edi
test ecx, ecx
je 0x60c357
movzx ecx, byte [edx + eax + 1]
mov edi, dword [esp + 0x38]
add ebx, 2
mov byte [esi + edi + 0x178], cl
mov edi, dword [esp + 0x34]
xor cl, byte [esi + edi + 0x10]
mov edi, dword [ebp + 0x10]
cmp dword [esp + 0x3c], 1
mov byte [edi + eax + 1], cl
je 0x60c357
movzx edx, byte [edx + eax + 2]
mov byte [esi + ebx + 0x178], dl
xor dl, byte [esi + eax + 0x12]
mov byte [edi + eax + 2], dl
mov edi, dword [ebp + 0x14]
add dword [esp + 0x2c], edi
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x168], eax
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, eax
mov eax, dword [esi + 0xc]
bswap eax
mov dword [esp + 0x28], eax
mov eax, ebx
and eax, 0xf
je 0x60c5b7
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x60c35e
mov edi, dword [ebp + 0x10]
jmp 0x60c39f
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x60c3d6
movzx ecx, byte [edx]
add ebx, 1
add edi, 1
add edx, 1
sub dword [ebp + 0x14], 1
mov byte [esi + ebx + 0x177], cl
xor cl, byte [esi + eax + 0x10]
add eax, 1
mov byte [edi - 1], cl
and eax, 0xf
jne 0x60c398
mov dword [esp + 0x2c], ebx
mov dword [ebp + 0x10], edi
mov dword [ebp + 0xc], edx
mov eax, ebx
jmp 0x60bfb3
mov dword [esp + 0x2c], ebx
mov dword [ebp + 0x10], edi
test eax, eax
je 0x60c3cc
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x168], eax
jmp 0x60c368
mov ebx, dword [esp + 0x2c]
movzx eax, byte [edx]
lea edi, [ebx + 1]
mov byte [esi + ebx + 0x178], al
mov ebx, dword [ebp + 0x10]
xor al, byte [esi + 0x10]
mov byte [ebx], al
mov eax, dword [ebp + 0x14]
lea ecx, [eax - 2]
mov eax, dword [esp + 0x2c]
lea ebx, [eax + 2]
movzx eax, byte [edx + 1]
mov byte [esi + edi + 0x178], al
mov edi, dword [ebp + 0x10]
xor al, byte [esi + 0x11]
mov byte [edi + 1], al
test ecx, ecx
je 0x60c357
movzx ecx, byte [edx + 2]
mov edi, dword [esp + 0x2c]
mov byte [esi + ebx + 0x178], cl
mov ebx, dword [ebp + 0x10]
xor cl, byte [esi + 0x12]
cmp dword [ebp + 0x14], 3
mov byte [ebx + 2], cl
je 0x60c357
movzx ecx, byte [edx + 3]
mov byte [esi + edi + 0x17b], cl
xor cl, byte [esi + 0x13]
cmp dword [ebp + 0x14], 4
mov byte [ebx + 3], cl
je 0x60c357
movzx eax, byte [edx + 4]
mov byte [esi + edi + 0x17c], al
xor al, byte [esi + 0x14]
cmp dword [ebp + 0x14], 5
mov byte [ebx + 4], al
je 0x60c357
movzx eax, byte [edx + 5]
mov byte [esi + edi + 0x17d], al
xor al, byte [esi + 0x15]
cmp dword [ebp + 0x14], 6
mov byte [ebx + 5], al
je 0x60c357
movzx eax, byte [edx + 6]
mov byte [esi + edi + 0x17e], al
xor al, byte [esi + 0x16]
cmp dword [ebp + 0x14], 7
mov byte [ebx + 6], al
je 0x60c357
movzx eax, byte [edx + 7]
mov byte [esi + edi + 0x17f], al
xor al, byte [esi + 0x17]
cmp dword [ebp + 0x14], 8
mov byte [ebx + 7], al
je 0x60c357
movzx eax, byte [edx + 8]
mov byte [esi + edi + 0x180], al
xor al, byte [esi + 0x18]
cmp dword [ebp + 0x14], 9
mov byte [ebx + 8], al
je 0x60c357
movzx eax, byte [edx + 9]
mov byte [esi + edi + 0x181], al
xor al, byte [esi + 0x19]
cmp dword [ebp + 0x14], 0xa
mov byte [ebx + 9], al
je 0x60c357
movzx eax, byte [edx + 0xa]
mov byte [esi + edi + 0x182], al
xor al, byte [esi + 0x1a]
cmp dword [ebp + 0x14], 0xb
mov byte [ebx + 0xa], al
je 0x60c357
movzx eax, byte [edx + 0xb]
mov byte [esi + edi + 0x183], al
xor al, byte [esi + 0x1b]
cmp dword [ebp + 0x14], 0xc
mov byte [ebx + 0xb], al
je 0x60c357
movzx eax, byte [edx + 0xc]
mov byte [esi + edi + 0x184], al
xor al, byte [esi + 0x1c]
cmp dword [ebp + 0x14], 0xd
mov byte [ebx + 0xc], al
je 0x60c357
movzx eax, byte [edx + 0xd]
lea ebx, [edi + 0xe]
mov byte [esi + edi + 0x185], al
mov edi, dword [ebp + 0x10]
xor al, byte [esi + 0x1d]
cmp dword [ebp + 0x14], 0xe
mov byte [edi + 0xd], al
je 0x60c357
movzx eax, byte [edx + 0xe]
mov byte [esi + ebx + 0x178], al
xor al, byte [esi + 0x1e]
mov byte [edi + 0xe], al
jmp 0x60c357
lea eax, [esi + 0x60]
mov dword [esp + 4], eax
lea eax, [esi + 0x40]
mov dword [esp], eax
call edi
mov dword [esi + 0x16c], 0
jmp 0x60c368
mov edi, dword [esp + 0x2c]
test edi, edi
setne al
jmp 0x60bfa2
mov eax, 0xffffffff
jmp 0x60c36a
movzx eax, byte [edx]
mov ebx, dword [esp + 0x2c]
mov byte [esi + ebx + 0x178], al
mov ebx, dword [ebp + 0x10]
xor al, byte [esi + 0x10]
mov byte [ebx], al
test edi, edi
je 0x60c357
mov eax, dword [esp + 0x2c]
lea edi, [eax + 1]
mov eax, dword [ebp + 0x14]
lea ecx, [eax - 2]
jmp 0x60c40f