Function at 0x45b6ec
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403f1c
mov eax, dword [ebp - 8]
call fcn.00403f1c
xor eax, eax
push ebp
push 0x45b949
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x45b722
cmp dword [ebp - 8], 0
jne 0x45b72c
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x45b92e
mov eax, dword [ebp - 8]
call fcn.00403d68
sub eax, 1
jno 0x45b73e
call fcn.00402d84
mov dword [ebp - 0x4c], eax
mov eax, 9
call fcn.00408a50
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.00403f2c
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0045b218
mov eax, dword [ebp - 8]
call fcn.00403f2c
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.0045b218
mov dword [ebp - 0x28], 0x3fffffff
mov dword [ebp - 0x24], 0
push dword [ebp - 0x24]
push dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x18]
cdq
call fcn.004061bf
jno 0x45b79b
call fcn.00402d84
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
push dword [ebp - 0x24]
push dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x1c]
cdq
call fcn.004061bf
jno 0x45b7ba
call fcn.00402d84
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x4c]
test eax, eax
jl 0x45b889
inc eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x44], 0
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push 0
push 3
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
call fcn.0040602f
jno 0x45b7f2
call fcn.00402d84
add eax, dword [ebp - 0x38]
adc edx, dword [ebp - 0x34]
jno 0x45b7ff
call fcn.00402d84
call fcn.004061bf
jno 0x45b80b
call fcn.00402d84
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
push dword [ebp - 0x24]
push dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
add eax, dword [ebp - 0x38]
adc edx, dword [ebp - 0x34]
jno 0x45b82a
call fcn.00402d84
add eax, 0x21
adc edx, 0
jno 0x45b837
call fcn.00402d84
call fcn.004061bf
jno 0x45b843
call fcn.00402d84
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
fild qword [ebp - 0x30]
fild qword [ebp - 0x28]
fdivp st(1)
fstp qword [ebp - 0x40]
wait
fld qword [ebp - 0x40]
fmul dword [0x45b958]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0045b41c
add eax, 0x40
jno 0x45b874
call fcn.00402d84
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x44]
mov byte [edx + ecx], al
inc dword [ebp - 0x44]
dec dword [ebp - 0x50]
jne 0x45b7d6
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push 0
push 3
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
call fcn.0040602f
jno 0x45b8a5
call fcn.00402d84
add eax, dword [ebp - 0x38]
adc edx, dword [ebp - 0x34]
jno 0x45b8b2
call fcn.00402d84
call fcn.004061bf
jno 0x45b8be
call fcn.00402d84
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
fild qword [ebp - 0x30]
fild qword [ebp - 0x28]
fdivp st(1)
fstp qword [ebp - 0x40]
wait
fld qword [ebp - 0x40]
fmul dword [0x45b958]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0045b41c
cmp eax, 0xff
jbe 0x45b8f1
call fcn.00402d7c
mov byte [ebp - 0x45], al
mov eax, dword [ebp - 0x4c]
test eax, eax
jl 0x45b923
inc eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x44]
mov al, byte [eax + edx]
xor al, byte [ebp - 0x45]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x44]
mov byte [edx + ecx], al
inc dword [ebp - 0x44]
dec dword [ebp - 0x50]
jne 0x45b906
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x4c]
mov byte [eax + edx + 1], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b950
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403b0c
ret