Function at 0x102063c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov ebx, dword [esp + 0x48]
movzx ecx, byte [ebx]
movzx eax, byte [ebx + 1]
inc ebx
movzx edx, byte [ebx + 1]
inc ebx
shl edx, 0x10
inc ebx
shl eax, 8
or ecx, eax
movzx eax, byte [ebx]
or ecx, edx
inc ebx
movzx edx, byte [ebx + 1]
inc ebx
shl edx, 8
shl eax, 0x18
or ecx, eax
movzx eax, byte [ebx - 1]
or eax, edx
movzx edx, byte [ebx + 1]
inc ebx
shl edx, 0x10
or eax, edx
movzx edx, byte [ebx + 1]
inc ebx
shl edx, 0x18
or eax, edx
inc ebx
movzx edx, byte [ebx + 1]
inc ebx
shl edx, 8
movzx esi, byte [ebx - 1]
or esi, edx
movzx edx, byte [ebx + 1]
inc ebx
shl edx, 0x10
or esi, edx
movzx edx, byte [ebx + 1]
inc ebx
shl edx, 0x18
or esi, edx
inc ebx
movzx edx, byte [ebx + 1]
mov dword [esp + 0x14], esi
movzx esi, byte [ebx]
inc ebx
shl edx, 8
or esi, edx
movzx edx, byte [ebx + 1]
inc ebx
shl edx, 0x10
or esi, edx
movzx edx, byte [ebx + 1]
inc ebx
shl edx, 0x18
or esi, edx
mov edx, dword [esp + 0x44]
inc ebx
add edx, 0xfffffff0
mov edi, dword [esp + 0x40]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], eax
js 0x102065f1
lea eax, [edx + 0x10]
shr eax, 4
mov dword [esp + 0x44], eax
neg eax
shl eax, 4
add edx, eax
mov dword [esp + 0x20], edx
mov edi, edi
movzx eax, byte [edi]
movzx ecx, byte [edi + 1]
inc edi
movzx edx, byte [edi + 1]
inc edi
shl ecx, 8
or eax, ecx
movzx ecx, byte [edi + 1]
inc edi
movzx ebp, byte [edi + 1]
shl edx, 0x10
or eax, edx
inc edi
movzx edx, byte [edi + 1]
inc edi
shl ecx, 0x18
or eax, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or ebp, edx
inc edi
movzx edx, byte [edi + 1]
inc edi
shl ecx, 0x10
or ebp, ecx
movzx ecx, byte [edi + 1]
shl edx, 0x18
or ebp, edx
inc edi
movzx edx, byte [edi + 1]
inc edi
shl edx, 8
or ecx, edx
movzx edx, byte [edi + 1]
inc edi
shl edx, 0x10
or ecx, edx
movzx edx, byte [edi + 1]
xor eax, dword [esp + 0x1c]
inc edi
shl edx, 0x18
or ecx, edx
mov dword [esp + 0x48], ecx
movzx ecx, byte [edi + 1]
inc edi
movzx edx, byte [edi + 1]
xor ebp, dword [esp + 0x10]
inc edi
shl edx, 8
or ecx, edx
movzx edx, byte [edi + 1]
inc edi
shl edx, 0x10
or ecx, edx
movzx edx, byte [edi + 1]
inc edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x48]
xor eax, dword [esp + 0x14]
shl edx, 0x18
or ecx, edx
xor ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x38]
push eax
push ecx
inc edi
mov dword [esp + 0x30], ebp
call fcn.10204370
mov eax, dword [esp + 0x2c]
mov byte [esi], al
mov edx, eax
inc esi
shr edx, 8
mov ecx, eax
add esp, 8
mov byte [esi], dl
mov dword [esp + 0x1c], ecx
inc esi
inc esi
mov edx, eax
shr edx, 0x10
mov byte [esi - 1], dl
inc esi
shr eax, 0x18
mov byte [esi - 1], al
mov eax, dword [esp + 0x28]
mov byte [esi], al
inc esi
mov edx, eax
shr edx, 8
mov byte [esi], dl
inc esi
mov edx, eax
shr edx, 0x10
mov byte [esi], dl
inc esi
mov dword [esp + 0x10], eax
shr eax, 0x18
mov byte [esi], al
mov eax, dword [esp + 0x2c]
mov byte [esi + 1], al
inc esi
inc esi
mov edx, eax
shr edx, 8
mov byte [esi], dl
inc esi
mov edx, eax
shr edx, 0x10
mov byte [esi], dl
inc esi
mov dword [esp + 0x14], eax
shr eax, 0x18
mov byte [esi], al
mov eax, dword [esp + 0x30]
inc esi
mov byte [esi], al
inc esi
mov edx, eax
shr edx, 8
mov byte [esi], dl
inc esi
mov edx, eax
shr edx, 0x10
mov byte [esi], dl
inc esi
mov dword [esp + 0x18], eax
shr eax, 0x18
mov byte [esi], al
inc esi
sub dword [esp + 0x44], 1
jne 0x10206490
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
cmp edx, 0xfffffff0
je 0x102067d0
lea edi, [edi + edx + 0x10]
xor ebp, ebp
add edx, 0xf
xor eax, eax
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
cmp edx, 0xf
ja case.default.0x10206616
jmp dword [edx*4 + 0x1020684c]
movzx eax, byte [edi - 1]
dec edi
movzx edx, byte [edi - 1]
dec edi
shl edx, 0x10
shl eax, 0x18
or eax, edx
movzx edx, byte [edi - 1]
dec edi
shl edx, 8
or eax, edx
jmp 0x10206669
movzx edx, byte [edi - 1]
mov eax, dword [esp + 0x44]
dec edi
shl edx, 0x10
or eax, edx
movzx edx, byte [edi - 1]
dec edi
shl edx, 8
or eax, edx
jmp 0x10206669
movzx edx, byte [edi - 1]
mov eax, dword [esp + 0x44]
dec edi
shl edx, 8
or eax, edx
jmp 0x10206669
mov eax, dword [esp + 0x44]
movzx edx, byte [edi - 1]
dec edi
or eax, edx
mov dword [esp + 0x44], eax
movzx eax, byte [edi - 1]
dec edi
movzx edx, byte [edi - 1]
dec edi
shl edx, 0x10
shl eax, 0x18
or eax, edx
movzx edx, byte [edi - 1]
dec edi
shl edx, 8
or eax, edx
jmp 0x102066c0
movzx edx, byte [edi - 1]
mov eax, dword [esp + 0x48]
dec edi
shl edx, 0x10
or eax, edx
movzx edx, byte [edi - 1]
dec edi
shl edx, 8
or eax, edx
jmp 0x102066c0
movzx edx, byte [edi - 1]
mov eax, dword [esp + 0x48]
dec edi
shl edx, 8
or eax, edx
jmp 0x102066c0
mov eax, dword [esp + 0x48]
movzx edx, byte [edi - 1]
dec edi
or eax, edx
mov dword [esp + 0x48], eax
movzx ebp, byte [edi - 1]
dec edi
shl ebp, 0x18
movzx eax, byte [edi - 1]
dec edi
shl eax, 0x10
or ebp, eax
movzx edx, byte [edi - 1]
dec edi
shl edx, 8
or ebp, edx
movzx eax, byte [edi - 1]
dec edi
or ebp, eax
movzx eax, byte [edi - 1]
dec edi
shl eax, 0x18
movzx edx, byte [edi - 1]
dec edi
shl edx, 0x10
or eax, edx
movzx edx, byte [edi - 1]
dec edi
shl edx, 8
or eax, edx
movzx edx, byte [edi - 1]
or eax, edx
xor ebp, dword [esp + 0x10]
xor eax, ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x48]
xor eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
xor eax, dword [esp + 0x18]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.10204370
mov eax, dword [esp + 0x2c]
mov byte [esi], al
inc esi
mov edx, eax
shr edx, 8
mov byte [esi], dl
inc esi
mov edx, eax
shr edx, 0x10
mov byte [esi], dl
inc esi
mov ecx, eax
shr eax, 0x18
mov byte [esi], al
mov eax, dword [esp + 0x30]
mov byte [esi + 1], al
inc esi
inc esi
mov edx, eax
shr edx, 8
mov byte [esi], dl
inc esi
mov edx, eax
shr edx, 0x10
mov byte [esi], dl
inc esi
mov dword [esp + 0x18], eax
shr eax, 0x18
mov byte [esi], al
mov eax, dword [esp + 0x34]
mov byte [esi + 1], al
inc esi
inc esi
mov edx, eax
shr edx, 8
mov byte [esi], dl
mov edx, eax
inc esi
shr edx, 0x10
mov byte [esi], dl
mov dword [esp + 0x1c], eax
inc esi
shr eax, 0x18
mov byte [esi], al
mov eax, dword [esp + 0x38]
mov byte [esi + 1], al
inc esi
mov edx, eax
shr edx, 8
inc esi
mov byte [esi], dl
mov edx, eax
inc esi
mov dword [esp + 0x20], eax
shr edx, 0x10
add esp, 8
shr eax, 0x18
mov byte [esi], dl
mov byte [esi + 1], al
mov eax, dword [esp + 0x10]
mov byte [ebx - 0x10], cl
sub ebx, 0x10
inc ebx
mov edx, ecx
shr edx, 8
mov byte [ebx], dl
inc ebx
inc ebx
mov edx, ecx
shr edx, 0x10
mov byte [ebx - 1], dl
inc ebx
shr ecx, 0x18
mov byte [ebx - 1], cl
mov byte [ebx], al
inc ebx
mov ecx, eax
inc ebx
shr ecx, 8
mov byte [ebx - 1], cl
mov edx, eax
inc ebx
shr edx, 0x10
mov byte [ebx - 1], dl
shr eax, 0x18
mov byte [ebx], al
mov eax, dword [esp + 0x14]
mov byte [ebx + 1], al
inc ebx
inc ebx
mov ecx, eax
shr ecx, 8
mov byte [ebx], cl
inc ebx
mov edx, eax
shr edx, 0x10
mov byte [ebx], dl
inc ebx
shr eax, 0x18
mov byte [ebx], al
mov eax, dword [esp + 0x18]
inc ebx
mov byte [ebx], al
inc ebx
mov ecx, eax
shr ecx, 8
mov byte [ebx], cl
pop edi
inc ebx
mov edx, eax
shr edx, 0x10
pop esi
mov byte [ebx], dl
shr eax, 0x18
pop ebp
mov byte [ebx + 1], al
pop ebx
add esp, 0x24
ret