Function at 0x416e00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x445664]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x1c], eax
mov dword [eax], esi
mov eax, dword [0x448364]
push edi
mov ebx, ecx
cmp eax, 3
ja case.default.0x416e2d
jmp dword [eax*4 + 0x4170dc]
mov esi, dword [ebp + 8]
sub ebx, esi
mov edi, 0x10
mov edi, edi
lea eax, [ebx + esi]
push eax
mov ecx, esi
call fcn.00416260
add esp, 4
add esi, 0x10
dec edi
jne 0x416e40
mov ecx, dword [ebp - 0x1c]
pop edi
pop esi
mov dword [ecx], 0x100
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418fcb
mov esp, ebp
pop ebp
ret
mov eax, dword [0x44836c]
sub eax, ebx
mov dword [ebp - 0x28], eax
mov eax, ebx
lea edx, [ebp - 0x14]
sub eax, edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
shl esi, 4
lea ecx, [ebp - 0x14]
lea edi, [esi + eax]
push ecx
mov ecx, edi
mov dword [ebp - 0x24], esi
call fcn.00416260
add esp, 4
xor eax, eax
cmp dword [ebp - 0x18], 0
jne 0x416eeb
mov esi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
lea ecx, [ebp + eax - 0x14]
add esi, ecx
mov dl, byte [esi + edx]
xor dl, byte [ecx]
mov byte [esi], dl
mov esi, dword [0x44836c]
mov dl, byte [esi + eax + 1]
xor dl, byte [ecx + 1]
mov byte [ebx + eax + 1], dl
mov dl, byte [esi + eax + 2]
xor dl, byte [ecx + 2]
mov byte [ebx + eax + 2], dl
mov dl, byte [esi + eax + 3]
xor dl, byte [ecx + 3]
mov esi, dword [ebp - 0x24]
mov byte [ebx + eax + 3], dl
jmp 0x416f1d
mov dl, byte [edi + eax - 0x10]
xor dl, byte [ebp + eax - 0x14]
lea ecx, [esi + ebx]
mov byte [ecx + eax], dl
mov dl, byte [edi + eax - 0xf]
xor dl, byte [ebp + eax - 0x13]
mov byte [ecx + eax + 1], dl
mov dl, byte [edi + eax - 0xe]
xor dl, byte [ebp + eax - 0x12]
mov byte [ecx + eax + 2], dl
mov dl, byte [edi + eax - 0xd]
xor dl, byte [ebp + eax - 0x11]
mov byte [ecx + eax + 3], dl
add eax, 4
cmp eax, 0x10
jb 0x416ea6
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp eax, 0x10
jb 0x416e87
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
mov dword [eax], 0x100
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418fcb
mov esp, ebp
pop ebp
ret
xor edi, edi
mov dword [ebp - 0x18], edi
jmp 0x416f5b
mov edi, dword [ebp - 0x18]
test edi, edi
jne 0x416f76
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [0x44836c]
lea edx, [edi + 0x10]
call fcn.00416670
mov esi, dword [ebp + 8]
jmp 0x416f8f
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x14]
mov eax, edi
add eax, eax
push edx
lea ecx, [esi + eax*8 - 0x10]
mov edx, 0x10
call fcn.00416670
add esp, 4
test eax, eax
jne 0x4170ca
mov edx, edi
add edx, edx
mov edi, esi
lea ecx, [ebx + edx*8]
sub edi, ebx
lea esi, [esi + edx*8 + 2]
lea esp, [esp]
movzx edx, byte [ecx + edi]
xor dl, byte [ebp + eax - 0x14]
add eax, 4
mov byte [ecx], dl
movzx edx, byte [esi + eax - 5]
xor dl, byte [ebp + eax - 0x17]
add ecx, 4
mov byte [ecx - 3], dl
movzx edx, byte [esi + eax - 4]
xor dl, byte [ebp + eax - 0x16]
mov byte [ecx - 2], dl
movzx edx, byte [esi + eax - 3]
xor dl, byte [ebp + eax - 0x15]
mov byte [ecx - 1], dl
cmp eax, 0x10
jb 0x416fb0
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp eax, 0x10
jb 0x416f58
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
mov dword [eax], 0x100
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418fcb
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x18], esi
jmp 0x417023
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
test esi, esi
jne 0x417033
push ecx
mov ecx, dword [0x44836c]
jmp 0x417037
lea edx, [ebp - 0x14]
push edx
mov edx, 0x10
call fcn.00416670
add esp, 4
test eax, eax
jne 0x4170ca
mov edx, esi
mov esi, dword [ebp + 8]
add edx, edx
mov edi, esi
lea ecx, [ebx + edx*8]
sub edi, ebx
lea esi, [esi + edx*8 + 2]
mov edi, edi
movzx edx, byte [ecx + edi]
xor dl, byte [ebp + eax - 0x14]
add eax, 4
mov byte [ecx], dl
movzx edx, byte [esi + eax - 5]
xor dl, byte [ebp + eax - 0x17]
add ecx, 4
mov byte [ecx - 3], dl
movzx edx, byte [esi + eax - 4]
xor dl, byte [ebp + eax - 0x16]
mov byte [ecx - 2], dl
movzx edx, byte [esi + eax - 3]
xor dl, byte [ebp + eax - 0x15]
mov byte [ecx - 1], dl
cmp eax, 0x10
jb 0x417060
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp eax, 0x10
jb 0x417020
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
mov dword [eax], 0x100
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418fcb
mov esp, ebp
pop ebp
ret
mov eax, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418fcb
mov esp, ebp
pop ebp
ret