Function at 0x40b880
Capabilities:
Copy file
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ed27
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.0040c728
add esp, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x40b8d1
push eax
call fcn.00402a10
jmp 0x40b8d3
xor eax, eax
mov byte [ebp - 4], 1
mov dword [0x45a378], eax
mov ecx, dword [eax]
call fcn.004190b0
mov dword [ebp - 4], ebx
jmp 0x40b8f7
mov eax, dword [ebp + 8]
mov esi, dword [eax - 0xc]
cmp dword [eax - 4], 1
jle 0x40b912
mov eax, esi
push eax
lea ecx, [ebp + 8]
push ecx
call fcn.00403e60
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.00411fe0
mov byte [ebp - 4], 4
mov ecx, dword [0x45a378]
push ecx
mov byte [ebp - 4], bl
call fcn.00421830
push ebx
push ecx
mov edx, esp
mov dword [ebp - 0x20], esp
push edx
mov ecx, str.FirstScanDone
call fcn.00411fe0
mov byte [ebp - 4], 5
mov eax, dword [0x45a378]
push eax
mov byte [ebp - 4], bl
call fcn.00421830
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push ecx
mov ecx, str.LastDriverFix
call fcn.00411fe0
mov byte [ebp - 4], 6
mov edx, dword [0x45a378]
push edx
mov byte [ebp - 4], bl
call fcn.00421830
push 0x68
lea eax, [ebp - 0x20]
push eax
call fcn.00409db0
mov esi, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040a290
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.00420dc0
mov esi, eax
mov bl, 9
mov byte [ebp - 4], bl
lea eax, [ebp - 0x14]
push eax
call fcn.0040a420
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.00405ab0
mov byte [ebp - 4], 8
lea edx, [ebp - 0x18]
push edx
call fcn.00405ab0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x1c]
push eax
call fcn.00405ab0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.0040d9c0
mov byte [ebp - 4], 0xb
cmp byte [ebp + 0xc], 0
je 0x40babe
lea ecx, [ebp - 0x68]
push ecx
call fcn.00405540
mov byte [ebp - 4], 0xc
push 0x27
lea edx, [ebp - 0x20]
push edx
call fcn.00409db0
mov esi, eax
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x50]
push eax
call fcn.00405540
mov bl, 0xe
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x38]
push ecx
call fcn.00405540
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 0x40ba8c
push eax
mov eax, esi
call fcn.00412c00
add esp, 4
mov byte [ebp - 4], bl
lea edx, [ebp - 0x38]
push edx
call fcn.0040f9d0
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x50]
push eax
call fcn.0040f9d0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x20]
call fcn.0040d9c0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x68]
push ecx
call fcn.0040f9d0
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040d9c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret