Function at 0x100614c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
push ebx
mov ebx, eax
movzx eax, byte [ebx]
inc ebx
push ebp
inc ebx
push esi
mov esi, ecx
movzx ecx, byte [ebx - 1]
shl ecx, 0x10
inc ebx
push edi
mov edi, edx
movzx edx, byte [ebx - 1]
shl eax, 0x18
or eax, ecx
movzx ecx, byte [ebx]
shl edx, 8
mov ebp, dword [esp + 0x30]
or eax, edx
inc ebx
movzx edx, byte [ebx + 1]
or eax, ecx
movzx ecx, byte [ebx]
inc ebx
shl edx, 0x10
shl ecx, 0x18
or ecx, edx
movzx edx, byte [ebx + 1]
inc ebx
shl edx, 8
inc ebx
or ecx, edx
movzx edx, byte [ebx]
or ecx, edx
sub ebx, 7
cmp dword [esp + 0x38], 0
je 0x100616e7
add esi, 0xfffffff8
mov dword [esp + 0x38], ecx
js 0x10061602
lea ecx, [esi + 8]
shr ecx, 3
mov dword [esp + 0x1c], ecx
neg ecx
lea ecx, [esi + ecx*8]
mov dword [esp + 0x18], ecx
movzx ecx, byte [edi]
movzx edx, byte [edi + 1]
inc edi
shl edx, 0x10
inc edi
shl ecx, 0x18
or ecx, edx
movzx edx, byte [edi]
shl edx, 8
or ecx, edx
movzx edx, byte [edi + 1]
inc edi
movzx esi, byte [edi + 1]
inc edi
or ecx, edx
movzx edx, byte [edi + 1]
inc edi
shl esi, 0x18
shl edx, 0x10
or esi, edx
movzx edx, byte [edi + 1]
inc edi
shl edx, 8
or esi, edx
movzx edx, byte [edi + 1]
inc edi
or esi, edx
xor esi, dword [esp + 0x38]
xor ecx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x28], esi
lea esi, [esp + 0x24]
inc edi
mov dword [esp + 0x24], ecx
call fcn.10060c60
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, ecx
shr eax, 0x18
mov byte [ebp], al
inc ebp
mov eax, ecx
shr eax, 0x10
mov byte [ebp], al
inc ebp
mov eax, ecx
shr eax, 8
mov byte [ebp], al
mov byte [ebp + 1], cl
inc ebp
mov dword [esp + 0x14], ecx
inc ebp
mov ecx, edx
shr ecx, 0x18
mov byte [ebp], cl
inc ebp
mov eax, edx
shr eax, 0x10
mov byte [ebp], al
mov eax, dword [esp + 0x14]
inc ebp
mov ecx, edx
shr ecx, 8
mov byte [ebp], cl
inc ebp
mov byte [ebp], dl
inc ebp
sub dword [esp + 0x1c], 1
mov dword [esp + 0x38], edx
jne 0x10061540
mov esi, dword [esp + 0x18]
mov ecx, edx
cmp esi, 0xfffffff8
je 0x100618c0
lea edi, [edi + esi + 8]
add esi, 7
xor edx, edx
mov dword [esp + 0x38], 0
cmp esi, 7
ja case.default.0x10061621
jmp dword [esi*4 + 0x10061900]
movzx edx, byte [edi - 1]
dec edi
mov dword [esp + 0x38], edx
movzx edx, byte [edi - 1]
dec edi
shl edx, 8
or dword [esp + 0x38], edx
movzx edx, byte [edi - 1]
dec edi
shl edx, 0x10
or dword [esp + 0x38], edx
movzx edx, byte [edi - 1]
dec edi
shl edx, 0x18
or dword [esp + 0x38], edx
movzx edx, byte [edi - 1]
dec edi
movzx esi, byte [edi - 1]
dec edi
shl esi, 8
or edx, esi
movzx esi, byte [edi - 1]
dec edi
shl esi, 0x10
or edx, esi
movzx esi, byte [edi - 1]
shl esi, 0x18
or edx, esi
xor edx, eax
mov eax, dword [esp + 0x38]
xor eax, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
lea esi, [esp + 0x24]
mov dword [esp + 0x24], edx
call fcn.10060c60
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, esi
shr edx, 0x18
mov byte [ebp], dl
inc ebp
mov edx, esi
shr edx, 0x10
mov byte [ebp], dl
inc ebp
mov edx, esi
shr edx, 8
mov byte [ebp], dl
movzx edx, byte [esp + 0x24]
mov byte [ebp + 1], dl
inc ebp
inc ebp
mov edx, ecx
shr edx, 0x18
mov byte [ebp], dl
inc ebp
mov edx, ecx
shr edx, 0x10
mov byte [ebp], dl
inc ebp
mov edx, ecx
shr edx, 8
mov byte [ebp], dl
movzx edx, cl
mov eax, esi
mov byte [ebp + 1], dl
jmp 0x100618c0
lea edx, [esi - 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
test edx, edx
jl 0x100617e7
lea eax, [edx + 8]
shr eax, 3
mov dword [esp + 0x20], eax
neg eax
lea eax, [edx + eax*8]
mov dword [esp + 0x18], eax
movzx ecx, byte [edi]
movzx edx, byte [edi + 1]
inc edi
movzx eax, byte [edi + 1]
inc edi
shl edx, 0x10
inc edi
shl ecx, 0x18
or ecx, edx
movzx edx, byte [edi]
shl eax, 8
or ecx, eax
or ecx, edx
movzx edx, byte [edi + 1]
inc edi
movzx eax, byte [edi + 1]
inc edi
shl eax, 0x10
shl edx, 0x18
or edx, eax
movzx eax, byte [edi + 1]
inc edi
shl eax, 8
or edx, eax
movzx eax, byte [edi + 1]
inc edi
or edx, eax
mov eax, dword [esp + 0x34]
lea esi, [esp + 0x24]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x38], edx
inc edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
call fcn.10061090
mov ecx, dword [esp + 0x10]
xor ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
xor edx, dword [esp + 0x28]
mov eax, ecx
shr eax, 0x18
mov byte [ebp], al
inc ebp
mov eax, ecx
shr eax, 0x10
mov byte [ebp], al
inc ebp
mov eax, ecx
shr eax, 8
mov byte [ebp], al
mov byte [ebp + 1], cl
inc ebp
inc ebp
mov ecx, edx
shr ecx, 0x18
mov byte [ebp], cl
inc ebp
mov eax, edx
shr eax, 0x10
mov byte [ebp], al
mov eax, dword [esp + 0x38]
inc ebp
mov ecx, edx
shr ecx, 8
mov byte [ebp], cl
inc ebp
mov byte [ebp], dl
mov edx, dword [esp + 0x1c]
inc ebp
sub dword [esp + 0x20], 1
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
jne 0x10061711
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp edx, 0xfffffff8
je 0x100618c0
movzx eax, byte [edi]
movzx ecx, byte [edi + 1]
inc edi
movzx edx, byte [edi + 1]
inc edi
shl ecx, 0x10
shl eax, 0x18
or eax, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or eax, edx
inc edi
or eax, ecx
movzx ecx, byte [edi + 1]
inc edi
movzx edx, byte [edi + 1]
inc edi
movzx esi, byte [edi + 2]
shl edx, 0x10
shl ecx, 0x18
or ecx, edx
movzx edx, byte [edi + 1]
inc edi
shl edx, 8
or edx, esi
or ecx, edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
lea esi, [esp + 0x24]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x28], ecx
call fcn.10061090
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
xor eax, dword [esp + 0x24]
xor ecx, dword [esp + 0x28]
lea ebp, [edx + ebp + 8]
add edx, 7
cmp edx, 7
ja case.default.0x10061870
jmp dword [edx*4 + 0x10061920]
dec ebp
mov byte [ebp], cl
dec ebp
mov edx, ecx
shr edx, 8
mov byte [ebp], dl
dec ebp
mov edx, ecx
shr edx, 0x10
mov byte [ebp], dl
dec ebp
shr ecx, 0x18
mov byte [ebp], cl
dec ebp
mov byte [ebp], al
dec ebp
mov ecx, eax
shr ecx, 8
mov byte [ebp], cl
dec ebp
mov edx, eax
shr edx, 0x10
mov byte [ebp], dl
shr eax, 0x18
mov byte [ebp - 1], al
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov edx, eax
shr edx, 0x18
mov byte [ebx], dl
inc ebx
mov edx, eax
shr edx, 0x10
mov byte [ebx], dl
mov edx, eax
inc ebx
shr edx, 8
mov byte [ebx], dl
mov byte [ebx + 1], al
inc ebx
inc ebx
mov eax, ecx
shr eax, 0x18
mov byte [ebx], al
inc ebx
mov edx, ecx
shr edx, 0x10
mov byte [ebx], dl
inc ebx
pop edi
mov eax, ecx
pop esi
shr eax, 8
mov byte [ebx], al
pop ebp
mov byte [ebx + 1], cl
pop ebx
add esp, 0x1c
ret