Function at 0x405f70
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x210]
sub esp, 0x210
push 0xffffffffffffffff
push 0x45b8b0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x473ff0]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [ebp - 4], esi
mov edx, dword [0x469a48]
mov eax, dword [str.SOFTWARE_]
mov edi, ecx
mov ecx, dword [0x469a44]
push 0x1f6
mov dword [ebp + 8], edx
mov dword [ebp], eax
mov eax, dword [0x469a4c]
mov dword [ebp + 4], ecx
mov ecx, dword [0x469a50]
lea edx, [ebp + 0x14]
push esi
push edx
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x14], esi
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], ecx
call fcn.00445b20
lea eax, [ebp]
add esp, 0xc
add eax, 0xfffffffe
lea ecx, [ecx]
mov cx, word [eax + 2]
add eax, 2
cmp cx, si
jne 0x406000
mov ecx, dword [0x4698c4]
mov edx, dword [0x4698c8]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov dword [eax], ecx
mov ecx, dword [0x4698cc]
mov dword [eax + 4], edx
mov dx, word [0x4698d0]
mov dword [eax + 8], ecx
mov word [eax + 0xc], dx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
je 0x40605f
push 0x46f87c
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], 0x469a54
call fcn.0044562b
cmp dword [edi + 0x438], 8
mov ecx, dword [edi + 0x434]
jb 0x406076
mov eax, dword [edi + 0x424]
jmp 0x40607c
lea eax, [edi + 0x424]
mov edx, dword [ebp - 0x14]
add ecx, ecx
push ecx
push eax
push 1
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push str.path
push edx
call esi
mov eax, dword [ebp - 0x14]
push 0xa
push str.2.0.0
push 1
push 0
push str.version
push eax
call esi
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x105
lea edx, [ebp]
push 0
push edx
call fcn.00445b20
push 0x4698c4
lea eax, [ebp]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
je 0x406111
push 0x46f87c
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x469a54
call fcn.0044562b
mov eax, 0x406109
ret
push 0x105
lea ecx, [ebp]
push 0
push ecx
call fcn.00445b20
mov ebx, 8
add esp, 0xc
cmp dword [edi + 0x438], ebx
jb 0x406139
mov eax, dword [edi + 0x424]
jmp 0x40613f
lea eax, [edi + 0x424]
push eax
lea edx, [ebp]
push str._sSaveMoneyAssist.exe
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp]
add esp, 0xc
lea edx, [eax + 2]
jmp 0x406160
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406160
sub eax, edx
mov edx, dword [ebp - 0x14]
sar eax, 1
add eax, eax
push eax
lea ecx, [ebp]
push ecx
push 1
push 0
push str.DisplayIcon
push edx
call esi
mov eax, dword [ebp - 0x14]
push 0xc
push 0x4698c4
push 1
push 0
push str.DisplayName
push eax
call esi
mov ecx, dword [ebp - 0x14]
push 0xa
push str.2.0.0
push 1
push 0
push str.DisplayVersion
push ecx
call esi
mov edx, dword [ebp - 0x14]
push 0xc
push 0x4698c4
push 1
push 0
push 0x469b80
push edx
call esi
push 0x105
lea eax, [ebp]
push 0
push eax
call fcn.00445b20
add esp, 0xc
cmp dword [edi + 0x438], ebx
jb 0x4061ea
mov edi, dword [edi + 0x424]
jmp 0x4061f0
add edi, 0x424
push str.UnInstall.exe
push edi
lea ecx, [ebp]
push str._s_s
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp]
add esp, 0x10
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406210
mov ecx, dword [ebp - 0x14]
sub eax, edx
sar eax, 1
lea edx, [eax + eax]
push edx
lea eax, [ebp]
push eax
push 1
push 0
push str.UninstallString
push ecx
call esi
mov edx, dword [ebp - 0x14]
push 0x32
push str.http:__www.p2pzhongzi.com
push 1
push 0
push str.URLInfoAbout
push edx
call esi
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.004437f0
add ebp, 0x210
mov esp, ebp
pop ebp
ret