Function at 0x45f0c8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
xor edi, edi
mov eax, dword [esi + 8]
cmp eax, 0x1d
ja case.0x45f0e8.0
mov al, byte [eax + 0x45f0ef]
jmp dword [eax*4 + 0x45f10d]
mov edx, dword [ebp + 0xc]
push edx
push esi
call fcn.0045e830
add esp, 8
xor eax, eax
jmp 0x45f362
xor eax, eax
mov edx, dword [ebp + 0xc]
mov ecx, edx
lea edx, [esi + 0x1ec]
mov bl, byte [edx]
xor byte [ecx], bl
inc eax
inc ecx
inc edx
cmp eax, 0x10
jl 0x45f146
mov eax, dword [ebp + 0xc]
push eax
push esi
call fcn.0045e830
add esp, 8
xor eax, eax
lea ecx, [esi + 0x1ec]
mov edx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc eax
inc ecx
inc edx
cmp eax, 0x10
jl 0x45f16a
xor eax, eax
jmp 0x45f362
mov ebx, dword [esi + 8]
xor eax, eax
dec ebx
lea edx, [esi + 0x1ec]
mov dword [ebp - 4], edx
cmp ebx, eax
jle 0x45f1a3
mov ecx, dword [ebp - 4]
inc eax
shl edi, 8
movsx edx, byte [ecx]
inc dword [ebp - 4]
or edi, edx
cmp ebx, eax
jg 0x45f190
xor eax, eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0xc], ecx
lea edx, [esi + 0x1ec]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
mov dl, byte [ecx]
mov ecx, dword [ebp - 0xc]
mov byte [ecx], dl
inc eax
inc dword [ebp - 0xc]
inc dword [ebp - 8]
cmp eax, 0x10
jl 0x45f1b4
mov eax, ebx
cmp eax, 0x10
lea edx, [esi + eax + 0x1ec]
mov dword [ebp - 0x10], edx
jge 0x45f1f4
mov edx, dword [ebp - 0x10]
mov ecx, eax
sub ecx, ebx
inc eax
mov dl, byte [edx]
mov byte [esi + ecx + 0x1ec], dl
inc dword [ebp - 0x10]
cmp eax, 0x10
jl 0x45f1db
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.0045e830
mov edx, esi
add esp, 8
mov dword [ebp - 0x18], edx
xor eax, eax
mov ecx, dword [ebp + 0xc]
cmp ebx, eax
mov edx, ecx
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x14], ecx
jle 0x45f241
mov ecx, dword [ebp - 0x14]
mov cl, byte [ecx]
xor byte [edx], cl
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
inc eax
inc dword [ebp - 0x18]
inc edx
inc dword [ebp - 0x14]
cmp ebx, eax
jg 0x45f217
mov eax, edi
jmp 0x45f362
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 - 0x1c], ecx
lea edx, [esi + 0x1ec]
jle 0x45f282
mov cl, byte [edx]
mov esi, dword [ebp - 0x1c]
xor byte [esi], cl
inc eax
inc dword [ebp - 0x1c]
inc edx
cmp ebx, eax
jg 0x45f272
xor eax, eax
jmp 0x45f362
mov ebx, dword [esi + 8]
xor eax, eax
add ebx, 0xfffffff7
lea edx, [esi + 0x1ec]
mov dword [ebp - 0x20], edx
cmp ebx, eax
jle 0x45f2b1
mov ecx, dword [ebp - 0x20]
inc eax
shl edi, 8
movsx edx, byte [ecx]
inc dword [ebp - 0x20]
or edi, edx
cmp ebx, eax
jg 0x45f29e
xor eax, eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x28], ecx
lea edx, [esi + 0x1ec]
mov dword [ebp - 0x24], edx
mov ecx, dword [ebp - 0x24]
mov dl, byte [ecx]
mov ecx, dword [ebp - 0x28]
mov byte [ecx], dl
inc eax
inc dword [ebp - 0x28]
inc dword [ebp - 0x24]
cmp eax, 0x10
jl 0x45f2c2
mov eax, ebx
cmp eax, 0x10
lea edx, [esi + eax + 0x1ec]
mov dword [ebp - 0x2c], edx
jge 0x45f302
mov edx, dword [ebp - 0x2c]
mov ecx, eax
sub ecx, ebx
inc eax
mov dl, byte [edx]
mov byte [esi + ecx + 0x1ec], dl
inc dword [ebp - 0x2c]
cmp eax, 0x10
jl 0x45f2e9
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.0045e830
mov edx, esi
add esp, 8
mov dword [ebp - 0x34], edx
xor eax, eax
mov ecx, dword [ebp + 0xc]
cmp ebx, eax
mov edx, ecx
mov dword [ebp - 0x30], edx
lea edx, [ebp - 0x44]
jle 0x45f35c
mov cl, byte [edx]
mov esi, dword [ebp - 0x30]
xor byte [esi], cl
mov ecx, 0x10
sub ecx, ebx
mov cl, byte [edx + ecx]
mov esi, dword [ebp - 0x30]
xor cl, byte [esi]
push ecx
mov ecx, 0x10
sub ecx, ebx
mov esi, dword [ebp - 0x34]
lea esi, [esi + ecx + 0x1ec]
pop ecx
mov byte [esi], cl
inc eax
inc dword [ebp - 0x34]
inc dword [ebp - 0x30]
inc edx
cmp ebx, eax
jg 0x45f325
mov eax, edi
jmp 0x45f362
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret