Function at 0x468490
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x492f86
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b30f0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3c]
xor ebx, ebx
cmp dword [eax], ebx
jne 0x46870f
mov dword [eax], 1
lea eax, [esp + 0x24]
push eax
xor edi, edi
call fcn.00468730
mov dword [esp + 0x34], ebx
mov eax, dword [eax]
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
push eax
call dword [0x496334]
mov esi, eax
mov dword [esp + 0x34], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.004011b0
cmp esi, 0xffffffff
je 0x46870f
push ebx
push esi
call dword [0x496338]
mov ebp, eax
cmp ebp, 0x32000
jae 0x46854a
lea ecx, [ebp + 1]
push ecx
call fcn.0046edb7
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x46854a
push ebx
lea edx, [esp + 0x24]
push edx
push ebp
push edi
push esi
mov dword [esp + 0x34], ebx
call dword [0x49633c]
test eax, eax
je 0x46854a
mov byte [edi + ebp], bl
push esi
call dword [0x496340]
cmp edi, ebx
je 0x46870f
cmp ebp, ebx
je 0x46870f
xor eax, eax
mov dl, 0x23
cmp ebp, ebx
jbe 0x46857f
lea esp, [esp]
xor byte [eax + edi], dl
mov cl, byte [eax + edi]
inc cl
inc eax
add dl, cl
cmp eax, ebp
jb 0x468570
lea eax, [esp + 0x28]
push eax
call fcn.004687b0
mov dword [esp + 0x34], 1
mov esi, dword [esp + 0x28]
call fcn.0041aea0
test eax, eax
je 0x4686fe
mov ecx, dword [esp + 0x28]
push ecx
call dword [0x496324]
cmp eax, ebx
je 0x4686fe
push str.CreateObject
push eax
call dword [0x496320]
mov esi, eax
cmp esi, ebx
je 0x4686fe
lea edx, [esp + 0x20]
push edx
call fcn.004273c0
mov byte [esp + 0x34], 2
lea eax, [esp + 0x20]
push eax
push 0x49c9a8
call esi
cmp eax, ebx
jl 0x4686ef
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push ebp
push edi
push eax
mov eax, dword [ecx + 0x90]
call eax
cmp eax, ebx
jl 0x4686ef
cmp word [esp + 0x14], 0xffff
jne 0x4686ef
lea ecx, [esp + 0x1c]
push ecx
call fcn.004273c0
mov byte [esp + 0x34], 3
mov edi, dword [esp + 0x20]
mov eax, 0x4988d0
lea esi, [esp + 0x24]
call fcn.004529f0
mov byte [esp + 0x34], 4
mov eax, dword [eax]
mov edx, dword [edi]
mov edx, dword [edx + 0x68]
lea ecx, [esp + 0x1c]
push ecx
push eax
push edi
call edx
mov esi, eax
mov byte [esp + 0x34], 3
mov eax, dword [esp + 0x24]
push eax
call dword [0x4963ac]
cmp esi, ebx
jl 0x4686e0
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4686e0
lea edx, [esp + 0x24]
mov dword [esp + 0x24], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
xor esi, esi
cmp dword [esp + 0x24], ebx
jle 0x4686e0
mov bl, 5
jmp 0x468690
lea ecx, [esp + 0x18]
push ecx
call fcn.004273c0
mov byte [esp + 0x34], bl
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push esi
push eax
call edx
test eax, eax
jl 0x4686ca
cmp dword [esp + 0x18], 0
je 0x4686ca
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.00468830
mov byte [esp + 0x34], 3
lea edx, [esp + 0x18]
push edx
call fcn.0041e8b0
inc esi
cmp esi, dword [esp + 0x24]
jl 0x468690
mov byte [esp + 0x34], 2
lea eax, [esp + 0x1c]
push eax
call fcn.0041e8b0
mov byte [esp + 0x34], 1
lea ecx, [esp + 0x20]
push ecx
call fcn.0041e8b0
mov dword [esp + 0x34], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.004011b0
mov eax, 1
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4