Function at 0x60b7a0
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 0x60beb9
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 0x60b99f
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x60be8d
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 0x60b88f
test al, al
je 0x60b88f
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 0x60ba0a
lea eax, [edx + 0xc00]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x20], eax
lea eax, [esi + 0x60]
mov dword [esp + 0x14], eax
lea eax, [esi + 0x40]
mov dword [esp + 0x18], eax
lea eax, [esi + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
lea ebx, [eax - 0xc00]
mov eax, esi
mov esi, ecx
lea esi, cs:[esi]
nop
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
cmp ebx, ecx
jne 0x60b8e0
mov esi, eax
mov eax, dword [esp + 0x20]
add dword [ebp + 0x10], 0xc00
add dword [esp + 0x28], 0xc0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], 0xc00
mov dword [esp], eax
mov eax, dword [esp + 0x24]
call eax
sub dword [ebp + 0x14], 0xc00
mov edx, dword [esp + 0x1c]
add dword [esp + 0x3c], 0xc00
cmp dword [ebp + 0x14], 0xbff
jbe 0x60ba0a
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x20], eax
mov edi, eax
jmp 0x60b8c5
mov ebx, eax
mov eax, dword [esi + 0xc]
bswap eax
mov dword [esp + 0x28], eax
mov eax, ebx
and eax, 0xf
je 0x60beab
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x60bc93
mov edi, dword [ebp + 0x10]
jmp 0x60b9d3
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x60bca7
movzx ecx, byte [edx]
add edi, 1
xor cl, byte [esi + eax + 0x10]
add ebx, 1
add eax, 1
mov byte [edi - 1], cl
add edx, 1
sub dword [ebp + 0x14], 1
mov byte [esi + ebx + 0x177], cl
and eax, 0xf
jne 0x60b9c8
mov dword [esp + 0x2c], ebx
mov dword [ebp + 0x10], edi
mov dword [ebp + 0xc], edx
mov eax, ebx
jmp 0x60b863
mov eax, dword [ebp + 0x14]
and eax, 0xfffffff0
mov dword [esp + 0x20], eax
je 0x60bae6
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x28]
mov dword [ebp + 0xc], edx
mov ebx, edx
mov edi, dword [ebp + 0x10]
sub eax, 0x10
add ecx, 1
shr eax, 4
mov dword [esp + 0x3c], eax
add eax, ecx
mov dword [esp + 0x28], eax
lea eax, [esi + 0x10]
mov dword [esp + 0x30], eax
jmp 0x60ba48
add ecx, 1
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], 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 + 0x1c]
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 0x60ba45
mov eax, dword [esp + 0x3c]
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x28], ecx
mov edi, dword [esp + 0x20]
and dword [ebp + 0x14], 0xf
add eax, 1
shl eax, 4
add dword [ebp + 0x10], eax
add edx, eax
mov dword [ebp + 0xc], edx
mov dword [esp + 0xc], edi
mov eax, dword [ebp + 0x10]
sub eax, edi
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 edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0xc], edx
test eax, eax
je 0x60bc93
mov eax, dword [esp + 0x34]
mov dword [esp], esi
mov dword [esp + 8], eax
lea eax, [esi + 0x10]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
call eax
mov eax, dword [esp + 0x28]
mov edx, dword [ebp + 0xc]
add eax, 1
bswap eax
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x14]
lea edi, [eax - 1]
cmp edi, 2
jbe 0x60bec3
mov ebx, dword [esp + 0x2c]
lea eax, [edx + 1]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x10]
lea ecx, [esi + ebx + 0x178]
mov dword [esp + 0x3c], ecx
lea ecx, [esi + 0x11]
sub eax, ecx
mov ecx, ebx
mov ebx, dword [ebp + 0x10]
cmp eax, 2
seta al
add ecx, 0x167
cmp ecx, 2
seta cl
and eax, ecx
mov ecx, dword [esp + 0x38]
sub ebx, ecx
cmp ebx, 2
mov ebx, dword [ebp + 0x10]
seta cl
and eax, ecx
lea ecx, [ebx + 1]
mov ebx, dword [esp + 0x3c]
mov byte [esp + 0x34], al
sub ebx, ecx
cmp ebx, 2
seta al
test byte [esp + 0x34], al
je 0x60bcc2
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
sub ebx, ecx
cmp ebx, 2
jbe 0x60bcc2
movd xmm0, dword [edx]
movd xmm2, dword [esi + 0x10]
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov ecx, dword [esp + 0x3c]
pxor xmm0, xmm2
shr eax, 2
movd dword [ebx], xmm0
movd dword [ecx], xmm0
cmp eax, 1
je 0x60bc04
movd xmm0, dword [edx + 4]
movd xmm3, dword [esi + 0x14]
mov ebx, dword [ebp + 0x10]
pxor xmm0, xmm3
movd dword [ebx + 4], xmm0
movd dword [ecx + 4], xmm0
cmp eax, 3
jne 0x60bc04
movd xmm0, dword [edx + 8]
movd xmm4, dword [esi + 0x18]
mov eax, dword [ebp + 0x10]
pxor xmm0, xmm4
movd dword [eax + 8], xmm0
movd dword [ecx + 8], xmm0
mov eax, dword [ebp + 0x14]
mov ebx, dword [esp + 0x2c]
and eax, 0xfffffffc
add ebx, eax
sub edi, eax
mov dword [esp + 0x3c], ebx
test byte [ebp + 0x14], 3
je 0x60bc8c
mov ebx, dword [ebp + 0x10]
movzx ecx, byte [edx + eax]
xor cl, byte [esi + eax + 0x10]
mov byte [ebx + eax], cl
mov ebx, dword [esp + 0x3c]
add ebx, 1
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x3c]
mov byte [esi + ebx + 0x178], cl
test edi, edi
je 0x60bc8c
movzx ebx, byte [edx + eax + 1]
xor bl, byte [esi + eax + 0x11]
mov ecx, ebx
mov ebx, dword [ebp + 0x10]
mov byte [ebx + eax + 1], cl
mov ebx, dword [esp + 0x3c]
add ebx, 2
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x38]
mov byte [esi + ebx + 0x178], cl
cmp edi, 1
je 0x60bc8c
mov edi, dword [ebp + 0x10]
movzx edx, byte [edx + eax + 2]
xor dl, byte [esi + eax + 0x12]
mov byte [edi + eax + 2], dl
mov eax, dword [esp + 0x3c]
mov byte [esi + eax + 0x178], 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 dword [esp + 0x2c], ebx
mov dword [ebp + 0x10], edi
test eax, eax
je 0x60ba00
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x168], eax
jmp 0x60bc9d
mov edi, dword [ebp + 0x10]
movzx eax, byte [esi + 0x10]
xor al, byte [edx]
mov byte [edi], al
mov edi, dword [esp + 0x2c]
mov byte [esi + edi + 0x178], al
mov eax, dword [ebp + 0x14]
lea ebx, [edi + 1]
lea ecx, [eax - 2]
mov edi, dword [ebp + 0x10]
movzx eax, byte [edx + 1]
xor al, byte [esi + 0x11]
mov byte [edi + 1], al
mov edi, dword [esp + 0x2c]
mov byte [esi + ebx + 0x178], al
add edi, 2
test ecx, ecx
je 0x60bc8c
mov eax, dword [ebp + 0x10]
mov ebx, dword [esp + 0x2c]
movzx ecx, byte [edx + 2]
xor cl, byte [esi + 0x12]
cmp dword [ebp + 0x14], 3
mov byte [eax + 2], cl
lea eax, [ebx + 3]
mov byte [esi + edi + 0x178], cl
je 0x60bc8c
mov edi, dword [ebp + 0x10]
movzx ecx, byte [edx + 3]
xor cl, byte [esi + 0x13]
cmp dword [ebp + 0x14], 4
mov byte [edi + 3], cl
mov edi, ebx
mov byte [esi + eax + 0x178], cl
je 0x60bc8c
mov ecx, dword [ebp + 0x10]
movzx eax, byte [edx + 4]
xor al, byte [esi + 0x14]
cmp dword [ebp + 0x14], 5
mov byte [ecx + 4], al
mov byte [esi + ebx + 0x17c], al
je 0x60bc8c
mov ebx, dword [ebp + 0x10]
movzx eax, byte [edx + 5]
xor al, byte [esi + 0x15]
cmp dword [ebp + 0x14], 6
mov byte [ebx + 5], al
mov byte [esi + edi + 0x17d], al
je 0x60bc8c
mov ecx, dword [ebp + 0x10]
movzx eax, byte [edx + 6]
xor al, byte [esi + 0x16]
cmp dword [ebp + 0x14], 7
mov byte [ecx + 6], al
mov byte [esi + edi + 0x17e], al
je 0x60bc8c
mov ebx, dword [ebp + 0x10]
movzx eax, byte [edx + 7]
xor al, byte [esi + 0x17]
cmp dword [ebp + 0x14], 8
mov byte [ebx + 7], al
mov byte [esi + edi + 0x17f], al
je 0x60bc8c
mov ecx, dword [ebp + 0x10]
movzx eax, byte [edx + 8]
xor al, byte [esi + 0x18]
cmp dword [ebp + 0x14], 9
mov byte [ecx + 8], al
mov byte [esi + edi + 0x180], al
je 0x60bc8c
mov ebx, dword [ebp + 0x10]
movzx eax, byte [edx + 9]
xor al, byte [esi + 0x19]
cmp dword [ebp + 0x14], 0xa
mov byte [ebx + 9], al
mov byte [esi + edi + 0x181], al
je 0x60bc8c
mov ecx, dword [ebp + 0x10]
movzx eax, byte [edx + 0xa]
xor al, byte [esi + 0x1a]
cmp dword [ebp + 0x14], 0xb
mov byte [ecx + 0xa], al
mov byte [esi + edi + 0x182], al
je 0x60bc8c
mov ebx, dword [ebp + 0x10]
movzx eax, byte [edx + 0xb]
xor al, byte [esi + 0x1b]
cmp dword [ebp + 0x14], 0xc
mov byte [ebx + 0xb], al
mov byte [esi + edi + 0x183], al
je 0x60bc8c
mov ecx, dword [ebp + 0x10]
movzx eax, byte [edx + 0xc]
xor al, byte [esi + 0x1c]
cmp dword [ebp + 0x14], 0xd
mov byte [ecx + 0xc], al
mov byte [esi + edi + 0x184], al
je 0x60bc8c
mov ebx, dword [ebp + 0x10]
movzx eax, byte [edx + 0xd]
xor al, byte [esi + 0x1d]
cmp dword [ebp + 0x14], 0xe
mov byte [ebx + 0xd], al
lea ebx, [edi + 0xe]
mov byte [esi + edi + 0x185], al
je 0x60bc8c
mov edi, dword [ebp + 0x10]
movzx eax, byte [edx + 0xe]
xor al, byte [esi + 0x1e]
mov byte [edi + 0xe], al
mov byte [esi + ebx + 0x178], al
jmp 0x60bc8c
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 0x60bc9d
mov ecx, dword [esp + 0x2c]
test ecx, ecx
setne al
jmp 0x60b852
mov eax, 0xffffffff
jmp 0x60bc9f
mov ebx, dword [ebp + 0x10]
movzx eax, byte [edx]
xor al, byte [esi + 0x10]
mov byte [ebx], al
mov ebx, dword [esp + 0x2c]
mov byte [esi + ebx + 0x178], al
test edi, edi
je 0x60bc8c
mov eax, dword [ebp + 0x14]
lea ebx, [ebx + 1]
lea ecx, [eax - 2]
jmp 0x60bce1