Function at 0x408380
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x154
mov eax, dword [0x42f00c]
xor eax, esp
mov dword [esp + 0x150], eax
push ebx
mov ebx, ecx
mov edx, 0x42b5cc
mov ecx, dword [0x4305fc]
push esi
push edi
mov dword [esp + 0x14], ebx
call fcn.0040cae0
mov esi, eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx eax, word [esp + 0x2e]
push eax
movzx eax, word [esp + 0x2e]
push eax
movzx eax, word [esp + 0x30]
push eax
push str._04d_02d_02d
call fcn.0040d750
mov ecx, esi
mov edi, eax
call fcn.0040ca40
mov ecx, dword [0x4305fc]
mov edx, 0x42c34c
mov dword [esp + 0x28], eax
call fcn.0040cae0
mov esi, eax
push esi
push 0x42b1b4
call fcn.0040d750
push esi
mov dword [esp + 0x3c], eax
call fcn.00413186
mov eax, dword [esp + 0x40]
add esp, 0x1c
test eax, eax
je 0x408435
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x408424
sub edx, esi
sar edx, 1
jmp 0x408437
xor edx, edx
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea ecx, [edx*2 + 2]
push ecx
push eax
push 1
push str.DisplayIcon
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallRepairPartner
push ebx
call esi
push 0x1c
push 0x42b25c
push 1
push str.DisplayName
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallRepairPartner
push dword [esp + 0x28]
test eax, eax
sete bl
call esi
push 0x12
push 0x42b290
push 1
push str.DisplayVersion
test eax, eax
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallRepairPartner
push dword [esp + 0x28]
sete bh
and bh, bl
call esi
test eax, eax
push pe_nt_image_headers32
sete al
and bh, al
lea eax, [esp + 0x40]
push 0
push eax
call fcn.00410300
add esp, 0xc
mov dword [esp + 0x38], 0x11c
mov dword [esp + 0x3c], 6
push 3
push 2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
push 2
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
jne 0x4084ff
push 0x2e
push str.RepairPartner_1.1.0.39
push 1
push str.DisplayName
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallRepairPartner
push dword [esp + 0x28]
call esi
test eax, eax
sete al
and bh, al
mov ecx, dword [0x4305fc]
call fcn.00408230
shr eax, 0xa
push 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 4
push str.EstimatedSize
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallRepairPartner
push dword [esp + 0x28]
call esi
test eax, eax
sete al
and bh, al
test edi, edi
je 0x408551
mov ecx, edi
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408540
sub ecx, edx
sar ecx, 1
jmp 0x408553
xor ecx, ecx
lea eax, [ecx*2 + 2]
push eax
push edi
push 1
push str.InstallDate
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallRepairPartner
push dword [esp + 0x28]
call esi
mov esi, dword [esp + 0x18]
test eax, eax
sete al
and bh, al
mov byte [esp + 0x13], bh
test esi, esi
je 0x408597
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408586
sub ecx, edx
sar ecx, 1
jmp 0x408599
xor ecx, ecx
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push str.InstallLocation
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallRepairPartner
push dword [esp + 0x28]
call ebx
push 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
push eax
push 4
push str.NoModify
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallRepairPartner
push dword [esp + 0x28]
mov dword [esp + 0x30], 1
call ebx
push 4
mov ebx, eax
mov dword [esp + 0x1c], 1
lea eax, [esp + 0x1c]
push eax
push 4
push str.NoRepair
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallRepairPartner
push dword [esp + 0x28]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
push 0x1c
sete cl
test ebx, ebx
mov bl, byte [esp + 0x17]
sete al
push 0x42b25c
and cl, al
cmp dword [esp + 0x24], 0
push 1
push str.Publisher
sete al
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallRepairPartner
push dword [esp + 0x28]
and cl, al
and bl, cl
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
sete al
and bl, al
mov eax, dword [esp + 0x20]
test eax, eax
je 0x40866a
mov edx, eax
lea ecx, [edx + 2]
mov dword [esp + 0x18], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x408657
sub edx, dword [esp + 0x18]
sar edx, 1
jmp 0x40866c
xor edx, edx
lea ecx, [edx*2 + 2]
push ecx
push eax
push 1
push str.UninstallString
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallRepairPartner
push dword [esp + 0x28]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0x48
push str.http:__www.repairpartnerreader.org_
push 1
push str.URLInfoAbout
test eax, eax
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallRepairPartner
push dword [esp + 0x28]
sete al
and bl, al
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0x5a
push str.http:__www.repairpartnerreader.org_news.html
push 1
test eax, eax
push str.URLUpdateInfo
sete al
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallRepairPartner
push dword [esp + 0x28]
and bl, al
mov byte [esp + 0x2b], bl
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ebx, eax
mov eax, dword [esp + 0x20]
push eax
call fcn.00413186
add esp, 4
push esi
call fcn.00413186
add esp, 4
push edi
call fcn.00413186
mov esi, dword [esp + 0x28]
add esp, 4
push esi
call fcn.00413186
mov ecx, dword [esp + 0x160]
add esp, 4
test ebx, ebx
sete al
and al, byte [esp + 0x13]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040e41c
mov esp, ebp
pop ebp
ret