Function at 0x45a430
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7104
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push esi
push edi
mov esi, ecx
mov edi, edx
mov dword [ebp - 0x10], esi
mov dword [edi + 0x14], 0
movzx eax, word [esi]
mov ecx, eax
cmp eax, 0x15
ja case.0x45a470.6
movzx eax, byte [eax + 0x45a8f4]
jmp dword [eax*4 + 0x45a8c8]
mov dword [edi + 8], 0
mov dword [edi], 0x4cee98
mov dword [edi + 4], 0
push dword [esi + 8]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ecx, eax
mov dword [ebp - 0x10], eax
test ecx, ecx
je 0x45a51a
cmp byte [ebp + 8], 0
mov eax, dword [esi + 8]
mov dword [ebp - 0x18], eax
jne 0x45a5d6
cmp ecx, 0xffffffff
jne 0x45a4c9
mov ecx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45a4b7
sub ecx, edx
sar ecx, 1
mov dword [ebp - 0x10], ecx
lea eax, [ecx*2 + 2]
push eax
mov dword [ebp - 0x14], eax
call fcn.0049f4bd
mov ecx, eax
add esp, 4
mov dword [edi + 0x14], ecx
test ecx, ecx
je 0x45a524
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x18]
mov dword [edi + 8], 0
push ecx
mov dword [edi + 4], eax
mov dword [edi], ecx
call fcn.0049cfe0
add esp, 0xc
push esi
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 8], 0
jne 0x45a8b8
push esi
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov dword [edi + 8], 1
mov eax, dword [esi + 8]
cdq
mov dword [edi], eax
mov dword [edi + 4], edx
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov dword [edi + 8], 2
movsd xmm0, qword [esi + 8]
movsd qword [edi], xmm0
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov dword [edi + 8], 2
movss xmm0, dword [esi + 8]
cvtps2pd xmm0, xmm0
movsd qword [edi], xmm0
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov dword [edi + 8], 1
cmp word [esi + 8], 0
je 0x45a5c8
mov eax, 1
xor ecx, ecx
mov dword [edi], eax
mov dword [edi + 4], ecx
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov dword [edi], eax
mov dword [edi + 4], ecx
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 8]
test ecx, ecx
je case.0x45a470.9
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
push 0x4b88c4
push ecx
call dword [eax]
test eax, eax
js 0x45a6d4
cmp byte [ebp + 8], 0
jne 0x45a61b
mov eax, dword [esi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0x2c
call fcn.0049baa6
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0
mov ecx, esi
mov eax, dword [ebp - 0x18]
push 0x4cee98
mov dword [ebp - 0x1c], eax
call fcn.004053e0
mov byte [ebp - 4], 1
mov dword [esi + 0x18], 2
mov ecx, dword [0x4e9da8]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x45a661
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x45a66e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x14]
mov dword [esi + 0xc], eax
mov byte [ebp - 4], 2
lea edx, [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
push edx
mov dword [esi], vtable.ComEnum.0
mov dword [esi + 0x24], ecx
mov byte [esi + 0x28], 0
mov eax, dword [ecx]
push 0x4da120
push ecx
call dword [eax]
test eax, eax
js 0x45a8af
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x1c]
push edx
push 0x4da100
push 0x4be570
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x45a6c6
mov eax, dword [ebp - 0x1c]
mov byte [esi + 0x28], 1
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x45a8af
mov eax, dword [esi + 8]
lea edx, [ebp - 0x20]
push edx
push 0x4be580
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js case.0x45a470.9
cmp byte [ebp + 8], 0
jne 0x45a6f8
mov eax, dword [esi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0x18
call fcn.0049baa6
mov ecx, eax
add esp, 4
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x20]
cdq
mov dword [ecx + 4], 1
mov dword [ecx], vtable.ComObject.0
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 9
mov dword [edi], ecx
jmp 0x45a8b1
mov ecx, dword [esi + 8]
test ecx, ecx
je case.0x45a470.0
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
push 0x4be570
push ecx
call dword [eax]
test eax, eax
js 0x45a77b
cmp byte [ebp + 8], 0
mov eax, dword [ebp - 0x20]
mov dword [edi], eax
mov dword [edi + 8], 5
jne 0x45a8b8
mov eax, dword [esi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 8], 0
je 0x45a78a
mov eax, dword [esi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
push 0x18
call fcn.0049baa6
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
mov eax, dword [eax + 8]
cdq
mov dword [esi + 8], eax
xor eax, eax
jmp 0x45a890
mov dword [edi + 8], 0
mov dword [edi], 0x4cee98
mov dword [edi + 4], 0
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x14
push 0
push esi
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [edi + 8], 1
mov dword [edi], eax
mov dword [edi + 4], ecx
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 8], 0x80020004
jne case.0x45a470.6
mov dword [edi + 8], 3
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, 0x2000
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
cmp cx, ax
jae 0x45a86c
push 8
push 0
push esi
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
js 0x45a86c
push 0
mov edx, edi
lea ecx, [ebp - 0x40]
call fcn.0045a430
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x18
call fcn.0049baa6
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
mov eax, dword [eax + 8]
cdq
mov dword [esi + 8], eax
mov al, byte [ebp + 8]
xor al, 1
movzx eax, al
mov word [esi + 0x16], ax
mov word [esi + 0x14], cx
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], edx
mov dword [esi], vtable.ComObject.0
mov dword [esi + 4], 1
mov dword [edi], esi
mov dword [edi + 8], 5
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret