Function at 0x45eeec
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040404c
mov eax, dword [ebp - 8]
call fcn.0040404c
xor eax, eax
push ebp
push 0x45f10b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x45ef25
cmp dword [ebp - 8], 0
jne 0x45ef2c
xor edi, edi
jmp 0x45f0f0
mov eax, dword [ebp - 8]
call fcn.00403e98
sub eax, 1
jno 0x45ef3e
call fcn.00402df0
mov dword [ebp - 0x3c], eax
mov eax, 9
call fcn.00408978
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.0040405c
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.0045eaf8
mov eax, dword [ebp - 8]
call fcn.0040405c
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.0045eaf8
mov dword [ebp - 0x20], 0x3fffffff
mov dword [ebp - 0x1c], 0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 0x14]
cdq
call fcn.0040615b
jno 0x45ef9a
call fcn.00402df0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x18]
cdq
call fcn.0040615b
jno 0x45efb9
call fcn.00402df0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov esi, dword [ebp - 0x3c]
test esi, esi
jl 0x45f076
inc esi
xor ebx, ebx
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 0
push 3
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.00405fcb
jno 0x45efe9
call fcn.00402df0
add eax, dword [ebp - 0x30]
adc edx, dword [ebp - 0x2c]
jno 0x45eff6
call fcn.00402df0
call fcn.0040615b
jno 0x45f002
call fcn.00402df0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
add eax, dword [ebp - 0x30]
adc edx, dword [ebp - 0x2c]
jno 0x45f021
call fcn.00402df0
add eax, 0x21
adc edx, 0
jno 0x45f02e
call fcn.00402df0
call fcn.0040615b
jno 0x45f03a
call fcn.00402df0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
fild qword [ebp - 0x28]
fild qword [ebp - 0x20]
fdivp st(1)
fstp qword [ebp - 0x38]
wait
fld qword [ebp - 0x38]
fmul dword [0x45f11c]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0045ec90
add eax, 0x40
jno 0x45f06b
call fcn.00402df0
mov byte [edi + ebx], al
inc ebx
dec esi
jne 0x45efcd
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 0
push 3
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.00405fcb
jno 0x45f092
call fcn.00402df0
add eax, dword [ebp - 0x30]
adc edx, dword [ebp - 0x2c]
jno 0x45f09f
call fcn.00402df0
call fcn.0040615b
jno 0x45f0ab
call fcn.00402df0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
fild qword [ebp - 0x28]
fild qword [ebp - 0x20]
fdivp st(1)
fstp qword [ebp - 0x38]
wait
fld qword [ebp - 0x38]
fmul dword [0x45f11c]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0045ec90
mov esi, dword [ebp - 0x3c]
test esi, esi
jl 0x45f0e8
inc esi
xor ebx, ebx
mov dl, byte [edi + ebx]
xor dl, al
mov byte [edi + ebx], dl
inc ebx
dec esi
jne 0x45f0dc
mov eax, dword [ebp - 0x3c]
mov byte [edi + eax + 1], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f112
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403c3c
ret