Function at 0x40add0
Capabilities:
Copy file
Set file attributes

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4253c0]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
push ebp
push esi
push edi
push 0x104
mov ebp, ecx
mov ecx, dword [ebp + 0x550]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push str.sysdir
mov ecx, ebp
call fcn.00401110
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40ae10
sub eax, edx
lea edx, [esp + 0x10]
push edx
mov ecx, ebp
mov esi, eax
call fcn.00401300
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40ae30
sub eax, edx
lea eax, [eax + esi + 2]
push eax
call fcn.0040b83d
add esp, 4
push str.sysdir
mov ecx, ebp
mov ebx, eax
call fcn.00401110
mov edx, ebx
mov cl, byte [eax]
mov byte [edx], cl
add eax, 1
add edx, 1
test cl, cl
jne 0x40ae58
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebp
call fcn.00401300
sub eax, 1
mov esi, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40ae77
mov edi, ebx
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x40ae87
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x10]
mov ecx, eax
push edx
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call fcn.0040b7cc
push 0xa
push 0x20
push 4
push 1
lea ecx, [esp + 0x28]
test eax, eax
push ecx
sete al
push str.Uninstaller___s__version__d._d._d._d_running_n
mov byte [ebp + 0x5e5], al
call fcn.00403da0
add esp, 0x20
push 0x20000a
push 0x10004
push ebx
mov ecx, ebp
call fcn.004041a0
test al, al
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileA]
push ebx
je 0x40af24
push str.Updating_old_file___s__n
call fcn.00403da0
add esp, 8
push 0x80
push ebx
call esi
push 0
push ebx
lea edx, [esp + 0x18]
push edx
call edi
test eax, eax
jne 0x40af31
push str.Error_updating_file
call fcn.00403da0
add esp, 4
jmp 0x40af31
push str.File___s__is_up_to_date_n
call fcn.00403da0
add esp, 8
push str.windir
mov ecx, ebp
call fcn.00401110
push eax
lea eax, [esp + 0x118]
push str._s_system32_nvuninst.exe
push eax
call fcn.0040bc71
add esp, 0xc
lea ecx, [esp + 0x114]
push ecx
lea edx, [esp + 0x14]
push edx
mov ecx, ebp
call fcn.00407d60
test eax, eax
je 0x40afb3
lea eax, [esp + 0x114]
push eax
push str.Updating_old_file___s__n
call fcn.00403da0
add esp, 8
push 0x80
lea ecx, [esp + 0x118]
push ecx
call esi
push 0
lea edx, [esp + 0x118]
push edx
lea eax, [esp + 0x18]
push eax
call edi
test eax, eax
jne 0x40afc8
push str.Error_updating_file
call fcn.00403da0
add esp, 4
jmp 0x40afc8
lea ecx, [esp + 0x114]
push ecx
push str.File___s__is_up_to_date_n
call fcn.00403da0
add esp, 8
push ebx
call fcn.0040b8a7
add esp, 4
mov ecx, ebp
call fcn.0040abe0
push str.Set_Current_Root_Key
mov ecx, ebp
mov dword [0x4268a0], ebp
call fcn.004025b0
push str.Set_Current_Reg_Key
mov ecx, ebp
call fcn.004025b0
push str.Set_Enum_Last_Reg_Key
mov ecx, ebp
call fcn.004025b0
push str.Set_Current_Reg_Name
mov ecx, ebp
call fcn.004025b0
push str.Set_Current_Reg_Value
mov ecx, ebp
call fcn.004025b0
push 0x41ee9c
push str.LeaveDriverStoreCache
mov ecx, ebp
call fcn.00401c90
mov ecx, dword [esp + 0x218]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040bc62
add esp, 0x20c
ret