Function at 0x404220
Capabilities:
Copy file
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ec57
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x455d50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
push 4
call fcn.00404664
add esp, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x404271
push eax
call fcn.0040c140
jmp 0x404273
xor eax, eax
mov byte [ebp - 4], 1
mov dword [0x45a378], eax
mov ecx, dword [eax]
call fcn.0041bbb0
mov dword [ebp - 4], ebx
jmp 0x404297
mov eax, dword [ebp + 8]
mov esi, dword [eax - 0xc]
cmp dword [eax - 4], 1
jle 0x4042b2
mov eax, esi
push eax
lea ecx, [ebp + 8]
push ecx
call fcn.00415df0
mov eax, dword [ebp + 8]
lea edx, [esi + esi]
push edx
push eax
push 1
push str.DisplayIcon
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallAdvanced_System_Repair_Pro
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push ebx
push ecx
mov eax, esp
mov dword [ebp - 0x20], esp
push eax
mov ecx, str.NotifUpdate
call fcn.00422f00
mov byte [ebp - 4], 4
mov ecx, dword [0x45a378]
push ecx
mov byte [ebp - 4], bl
call fcn.00409ff0
push ebx
push ecx
mov edx, esp
mov dword [ebp - 0x20], esp
push edx
mov ecx, str.FirstScanDone
call fcn.00422f00
mov byte [ebp - 4], 5
mov eax, dword [0x45a378]
push eax
mov byte [ebp - 4], bl
call fcn.00409ff0
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push ecx
mov ecx, str.LastDriverFix
call fcn.00422f00
mov byte [ebp - 4], 6
mov edx, dword [0x45a378]
push edx
mov byte [ebp - 4], bl
call fcn.00409ff0
push 0x68
lea eax, [ebp - 0x20]
push eax
call fcn.004046e0
mov esi, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00405290
add esp, 4
mov byte [ebp - 4], 8
mov esi, dword [esi]
push eax
lea edx, [ebp - 0x18]
push edx
mov ebx, esi
call fcn.0041a990
mov esi, eax
mov bl, 9
mov byte [ebp - 4], bl
lea eax, [ebp - 0x14]
push eax
call fcn.0041ec80
add esp, 0xc
mov byte [ebp - 4], 0xa
mov esi, dword [esi]
mov eax, dword [eax]
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
push ecx
call fcn.0041bd90
mov byte [ebp - 4], 8
lea edx, [ebp - 0x18]
push edx
call fcn.0041bd90
mov byte [ebp - 4], 7
lea eax, [ebp - 0x1c]
push eax
call fcn.0041bd90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.0040c520
mov byte [ebp - 4], 0xb
cmp byte [ebp + 0xc], 0
je 0x40445e
lea ecx, [ebp - 0x68]
push ecx
call fcn.0040ffe0
mov byte [ebp - 4], 0xc
push 0x27
lea edx, [ebp - 0x20]
push edx
call fcn.004046e0
mov esi, eax
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x50]
push eax
call fcn.0040ffe0
mov bl, 0xe
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x38]
push ecx
call fcn.0040ffe0
mov byte [ebp - 4], 0xf
mov esi, dword [esi]
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test eax, eax
je 0x40442c
push eax
mov eax, esi
call fcn.0041b160
add esp, 4
mov byte [ebp - 4], bl
lea edx, [ebp - 0x38]
push edx
call fcn.00402310
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x50]
push eax
call fcn.00402310
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x20]
call fcn.0040c520
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x68]
push ecx
call fcn.00402310
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040c520
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret