Function at 0x46dde8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov dl, 1
mov eax, dword [0x41c200]
call fcn.004220a0
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
call fcn.004062e8
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.004062e8
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00422670
mov ecx, dword [ebp - 4]
pop edx
call fcn.0041dc30
mov dl, 6
mov eax, dword [ebp - 0xc]
call fcn.00423680
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
sar eax, 1
jns 0x46de91
adc eax, 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x20]
dec eax
test eax, eax
jl 0x46df98
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x58], eax
fild dword [ebp - 0x58]
fild dword [ebp - 0x10]
fdivrp st(1)
fmul dword [0x46dfbc]
call fcn.00402cb0
mov ecx, eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
call fcn.0046d03c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jge 0x46df13
fild dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, eax
mov dword [ebp - 0x58], eax
fild dword [ebp - 0x58]
fdivp st(1)
fmul dword [0x46dfbc]
call fcn.00402cb0
mov ecx, eax
mov edx, 0xffffff
mov eax, dword [ebp - 0x14]
call fcn.0046d03c
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.004227e0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov esi, eax
dec esi
test esi, esi
jl 0x46df8c
inc esi
xor edi, edi
mov eax, dword [ebp - 0x20]
sub eax, edi
cdq
xor eax, edx
sub eax, edx
add eax, eax
add eax, 0x64
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
mov ecx, 0xff
xor edx, edx
call fcn.00455848
mov ecx, dword [ebp - 0x1c]
mov edx, 0xffffff
mov eax, dword [ebp - 0x14]
call fcn.0046d03c
mov ebx, eax
mov eax, ebx
call fcn.00406ec0
push eax
mov eax, ebx
call fcn.00406ebc
push eax
mov eax, ebx
call fcn.00406eb8
mov edx, eax
lea eax, [ebp - 0x18]
pop ecx
call fcn.0046e458
inc edi
dec esi
jne 0x46df33
inc dword [ebp - 0x10]
dec dword [ebp - 0x24]
jne 0x46deb0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.0041dcb8
lea eax, [ebp - 0xc]
call fcn.0040d688
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8