Function at 0x45f36c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
xor edi, edi
mov eax, dword [esi + 8]
cmp eax, 0x1d
ja case.0x45f38c.0
mov al, byte [eax + 0x45f393]
jmp dword [eax*4 + 0x45f3b1]
mov edx, dword [ebp + 0xc]
push edx
push esi
call fcn.0045ec74
add esp, 8
xor eax, eax
jmp 0x45f614
mov edx, dword [ebp + 0xc]
xor eax, eax
mov ecx, edx
lea edx, [esi + 0x1ec]
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x48]
mov bl, byte [edx]
inc eax
mov byte [ecx], bl
inc ecx
mov ebx, dword [ebp - 4]
mov bl, byte [ebx]
mov byte [edx], bl
inc edx
inc dword [ebp - 4]
cmp eax, 0x10
jl 0x45f3f0
mov eax, dword [ebp + 0xc]
push eax
push esi
call fcn.0045ec74
mov edx, dword [ebp + 0xc]
add esp, 8
mov ecx, edx
lea edx, [ebp - 0x48]
xor eax, eax
mov bl, byte [edx]
inc eax
xor byte [ecx], bl
mov byte [edx], 0
inc edx
inc ecx
cmp eax, 0x10
jl 0x45f41d
xor eax, eax
jmp 0x45f614
mov ebx, dword [esi + 8]
xor eax, eax
dec ebx
lea edx, [esi + 0x1ec]
mov dword [ebp - 8], edx
cmp ebx, eax
jle 0x45f459
mov ecx, dword [ebp - 8]
inc eax
shl edi, 8
movsx edx, byte [ecx]
inc dword [ebp - 8]
or edi, edx
cmp ebx, eax
jg 0x45f446
xor eax, eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x10], ecx
lea edx, [esi + 0x1ec]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0xc]
mov dl, byte [ecx]
mov ecx, dword [ebp - 0x10]
mov byte [ecx], dl
inc eax
inc dword [ebp - 0x10]
inc dword [ebp - 0xc]
cmp eax, 0x10
jl 0x45f46a
mov eax, ebx
cmp eax, 0x10
lea edx, [esi + eax + 0x1ec]
mov dword [ebp - 0x14], edx
jge 0x45f4aa
mov edx, dword [ebp - 0x14]
mov ecx, eax
sub ecx, ebx
inc eax
mov dl, byte [edx]
mov byte [esi + ecx + 0x1ec], dl
inc dword [ebp - 0x14]
cmp eax, 0x10
jl 0x45f491
lea eax, [ebp - 0x48]
push eax
push esi
call fcn.0045e830
lea edx, [ebp - 0x48]
mov ecx, esi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
add esp, 8
xor eax, eax
cmp ebx, eax
mov edx, dword [ebp + 0xc]
jle 0x45f4f5
mov ecx, 0x10
sub ecx, ebx
mov esi, dword [ebp - 0x18]
lea ecx, [esi + ecx + 0x1ec]
push ecx
mov cl, byte [edx]
pop esi
mov byte [esi], cl
mov ecx, dword [ebp - 0x1c]
mov cl, byte [ecx]
xor byte [edx], cl
inc eax
inc dword [ebp - 0x1c]
inc dword [ebp - 0x18]
inc edx
cmp ebx, eax
jg 0x45f4cb
mov eax, edi
jmp 0x45f614
mov ebx, dword [esi + 8]
lea eax, [esi + 0x1ec]
push eax
push esi
add ebx, 0xfffffff3
call fcn.0045e830
mov edx, dword [ebp + 0xc]
add esp, 8
mov ecx, edx
xor eax, eax
cmp ebx, eax
mov dword [ebp - 0x20], ecx
lea edx, [esi + 0x1ec]
jle 0x45f536
mov cl, byte [edx]
mov esi, dword [ebp - 0x20]
xor byte [esi], cl
inc eax
inc dword [ebp - 0x20]
inc edx
cmp ebx, eax
jg 0x45f526
xor eax, eax
jmp 0x45f614
mov ebx, dword [esi + 8]
xor eax, eax
add ebx, 0xfffffff7
lea edx, [esi + 0x1ec]
mov dword [ebp - 0x24], edx
cmp ebx, eax
jle 0x45f565
mov ecx, dword [ebp - 0x24]
inc eax
shl edi, 8
movsx edx, byte [ecx]
inc dword [ebp - 0x24]
or edi, edx
cmp ebx, eax
jg 0x45f552
xor eax, eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x2c], ecx
lea edx, [esi + 0x1ec]
mov dword [ebp - 0x28], edx
mov ecx, dword [ebp - 0x28]
mov dl, byte [ecx]
mov ecx, dword [ebp - 0x2c]
mov byte [ecx], dl
inc eax
inc dword [ebp - 0x2c]
inc dword [ebp - 0x28]
cmp eax, 0x10
jl 0x45f576
mov eax, ebx
cmp eax, 0x10
lea edx, [esi + eax + 0x1ec]
mov dword [ebp - 0x30], edx
jge 0x45f5b6
mov edx, dword [ebp - 0x30]
mov ecx, eax
sub ecx, ebx
inc eax
mov dl, byte [edx]
mov byte [esi + ecx + 0x1ec], dl
inc dword [ebp - 0x30]
cmp eax, 0x10
jl 0x45f59d
lea eax, [ebp - 0x48]
push eax
push esi
call fcn.0045e830
mov edx, esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], ecx
add esp, 8
xor eax, eax
cmp ebx, eax
mov edx, dword [ebp + 0xc]
jle 0x45f60e
mov ecx, 0x10
sub ecx, ebx
mov esi, dword [ebp - 0x34]
mov cl, byte [esi + ecx]
xor cl, byte [edx]
push ecx
mov ecx, 0x10
sub ecx, ebx
mov esi, dword [ebp - 0x38]
lea esi, [esi + ecx + 0x1ec]
pop ecx
mov byte [esi], cl
mov ecx, dword [ebp - 0x34]
mov cl, byte [ecx]
xor byte [edx], cl
inc eax
inc dword [ebp - 0x38]
inc dword [ebp - 0x34]
inc edx
cmp ebx, eax
jg 0x45f5d7
mov eax, edi
jmp 0x45f614
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret