Function at 0x491318
Capabilities:
Copy file
Delete file
Set registry value

Disassembly:
push 0x68
mov eax, 0x52a9c2
call fcn.00505874
xor esi, esi
inc esi
mov dword [ebp - 4], esi
mov byte [ebp - 4], 2
push 4
call fcn.004650cd
pop ecx
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 3
xor ebx, ebx
cmp eax, ebx
je 0x49134b
push eax
call fcn.004c3f46
jmp 0x49134d
xor eax, eax
mov byte [ebp - 4], 2
mov dword [0x583a70], eax
push dword [eax]
call fcn.004a871c
pop ecx
mov dword [ebp - 4], esi
jmp 0x491372
push 0x6f
lea eax, [ebp - 0x20]
push eax
call fcn.0042e388
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 0xc]
mov edi, dword [eax]
lea eax, [ecx + ecx]
push eax
lea esi, [ebp + 8]
call fcn.00490693
push eax
push 1
push str.DisplayIcon
push edi
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.0047510a
push ebx
push ecx
mov eax, esp
mov dword [ebp - 0x24], esp
push eax
mov ecx, str.NotifUpdate
call fcn.004ed4a8
mov byte [ebp - 4], 6
push dword [0x583a70]
mov byte [ebp - 4], 1
call fcn.00486172
push ebx
push ecx
mov eax, esp
mov dword [ebp - 0x24], esp
push eax
mov ecx, str.FirstScanDone
call fcn.004ed4a8
mov byte [ebp - 4], 7
push dword [0x583a70]
mov byte [ebp - 4], 1
call fcn.00486172
push ebx
push ecx
mov eax, esp
mov dword [ebp - 0x24], esp
push eax
mov ecx, str.LastDriverFix
call fcn.004ed4a8
mov byte [ebp - 4], 8
push dword [0x583a70]
mov byte [ebp - 4], 1
call fcn.00486172
push 0x68
lea eax, [ebp - 0x24]
push eax
call fcn.0042e388
mov edi, eax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.004d1f40
pop ecx
mov byte [ebp - 4], 0xa
push dword [edi]
lea ecx, [ebp - 0x18]
push ecx
mov esi, eax
call fcn.004af1d2
mov esi, eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x20]
push eax
call fcn.004d5b00
add esp, 0xc
mov byte [ebp - 4], 0xc
mov esi, dword [esi]
mov eax, dword [eax]
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x20]
push eax
call fcn.0044675c
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x18]
push eax
call fcn.0044675c
mov byte [ebp - 4], 9
lea eax, [ebp - 0x14]
push eax
call fcn.0044675c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.0047510a
mov byte [ebp - 4], 0xd
cmp byte [ebp + 0xc], bl
je 0x49153d
lea eax, [ebp - 0x74]
push eax
call fcn.004d4dff
mov byte [ebp - 4], 0xe
push 0x27
lea eax, [ebp - 0x24]
push eax
call fcn.0042e388
mov esi, eax
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x5c]
push eax
call fcn.004d4dff
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x44]
push eax
call fcn.004d4dff
mov byte [ebp - 4], 0x11
mov esi, dword [esi]
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, ebx
je 0x49150a
push eax
push esi
call fcn.0047121e
pop ecx
pop ecx
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x44]
push eax
call fcn.0049a575
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x5c]
push eax
call fcn.0049a575
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x24]
call fcn.0047510a
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x74]
push eax
call fcn.0049a575
mov dword [ebp - 4], 1
jmp 0x491555
mov byte [ebp - 4], 0x13
cmp byte [0x583aac], bl
je 0x4916c4
push ebx
push 0x96
lea eax, [ebp - 0x2c]
push eax
call fcn.00411c73
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x2c], ebx
je 0x491586
cmp dword [ebp - 0x28], ebx
je 0x491586
xor eax, eax
jmp 0x491589
xor eax, eax
inc eax
cmp al, bl
jne 0x4916ba
lea eax, [ebp - 0x18]
push eax
call fcn.004634f7
mov byte [ebp - 4], 0x15
push 0x97
lea eax, [ebp - 0x24]
push eax
call fcn.0042e388
mov esi, eax
mov byte [ebp - 4], 0x16
call fcn.00503762
cdq
push 0x63
pop ecx
idiv ecx
inc edx
mov eax, dword [esi]
push edx
push eax
lea eax, [ebp - 0x18]
call fcn.004c2d60
pop ecx
pop ecx
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x24]
call fcn.0047510a
push ecx
mov eax, esp
mov dword [ebp - 0x24], esp
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.004e4e7e
mov byte [ebp - 4], 0x17
mov byte [ebp - 4], 0x15
lea ebx, [ebp - 0x14]
call fcn.0046e025
mov byte [ebp - 4], 0x18
mov eax, esp
mov dword [ebp - 0x24], esp
mov ecx, ebx
push ecx
push eax
call fcn.004e4e7e
mov byte [ebp - 4], 0x19
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0x18
call fcn.00421fb8
pop ecx
pop ecx
lea eax, [ebp - 0x20]
push eax
call fcn.004634f7
mov byte [ebp - 4], 0x1a
push 0x98
lea eax, [ebp - 0x24]
push eax
call fcn.0042e388
mov byte [ebp - 4], 0x1b
mov eax, dword [eax]
push dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x20]
call fcn.004c2d60
pop ecx
pop ecx
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x24]
call fcn.0047510a
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
call fcn.0048f108
pop ecx
and dword [ebp - 0x1c], 0
mov edi, 0x3e8
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x1c], 0xa
jae 0x491694
lea ebx, [ebp - 0x18]
call fcn.00475054
push edi
test al, al
jne 0x4916cd
call esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x20]
call fcn.0047510a
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x14]
call fcn.0047510a
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x18]
call fcn.0047510a
xor ebx, ebx
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], 1
jmp 0x4916e3
call esi
inc dword [ebp - 0x1c]
jmp 0x491676
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.0047510a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.0047510a
call fcn.00505919
ret