Function at 0x405610
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45c158
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x472940]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
push esi
push 0x2001f
push esi
push esi
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
mov dword [esp + 0x58], esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x38], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
jne 0x40582b
mov eax, dword [ebp + 0xc]
mov edi, dword [esp + 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [esp + 0x20], esi
cmp eax, esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 0x1c], edi
je 0x4056ad
push eax
call esi
mov edx, dword [ebp + 0xc]
inc eax
push eax
push edx
push 1
push 0
push str.DisplayIcon
push edi
call ebx
push 0x468048
call esi
inc eax
push eax
push 0x468048
push 1
push 0
push str.DisplayName
push edi
call ebx
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4056e3
push eax
call esi
inc eax
push eax
mov eax, dword [ebp + 0x14]
push eax
push 1
push 0
push str.DisplayVersion
push edi
call ebx
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
push 0
push str.EstimatedSize
push edi
mov dword [esp + 0x2c], 0xee6
call ebx
push 0
call fcn.00443dd7
mov dword [esp + 0x2c], edx
add esp, 4
lea edx, [esp + 0x24]
push edx
lea esi, [esp + 0x1c]
mov dword [esp + 0x28], eax
call fcn.00404ef0
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 0x14], eax
test eax, eax
je 0x405744
push eax
call esi
inc eax
push eax
mov eax, dword [esp + 0x18]
push eax
push 1
push 0
push str.InstallDate
push edi
call ebx
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405764
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x405780
push eax
call esi
mov ecx, dword [ebp + 0x10]
inc eax
push eax
push ecx
push 1
push 0
push str.InstallLocation
push edi
call ebx
push 4
lea edx, [esp + 0x1c]
push edx
push 4
push 0
push str.NoModify
push edi
mov dword [esp + 0x30], 1
call ebx
push 4
lea eax, [esp + 0x1c]
push eax
push 4
push 0
push str.NoRepair
push edi
mov dword [esp + 0x30], 1
call ebx
push 0x4680b8
call esi
inc eax
push eax
push 0x4680b8
push 1
push 0
push str.Publisher
push edi
call ebx
mov eax, dword [ebp + 8]
test eax, eax
je 0x4057ec
push eax
call esi
mov ecx, dword [ebp + 8]
inc eax
push eax
push ecx
push 1
push 0
push str.UninstallString
push edi
call ebx
push str.http:__www.bianfeng.com
call esi
inc eax
push eax
push str.http:__www.bianfeng.com
push 1
push 0
push str.UrlInfoAbout
push edi
call ebx
test edi, edi
je 0x405811
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10