Function at 0x4050f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x86c
mov eax, dword [0x4954f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x86c]
mov dword [ebp - 0x86c], 0
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallXXPic
mov esi, ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x84c], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x405451
cmp dword [ebp - 0x86c], eax
je 0x405451
lea eax, [esi + 0x38]
push eax
lea ecx, [ebp - 0x868]
call fcn.00406820
cmp dword [ebp - 0x854], 8
lea ecx, [ebp - 0x868]
mov eax, dword [ebp - 0x858]
cmovae ecx, dword [ebp - 0x868]
add eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
push ecx
push 1
push 0
push str.InstallLocation
push dword [ebp - 0x86c]
call esi
push 0x20a
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0044b130
add esp, 0xc
lea eax, [ebp - 0x868]
cmp dword [ebp - 0x854], 8
cmovae eax, dword [ebp - 0x868]
push eax
push str._sUnInstall.exe
push 0xffffffffffffffff
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004015b0
lea ecx, [ebp - 0x218]
add esp, 0x14
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4051d4
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push str.UninstallString
push dword [ebp - 0x86c]
call esi
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405210
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push str.DisplayIcon
push dword [ebp - 0x86c]
call esi
push 0x20a
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.0044b130
add esp, 0xc
lea eax, [ebp - 0x428]
push 0x4882e4
push 0x4882f0
push 0xffffffffffffffff
push 0x104
push eax
call fcn.004015b0
lea ecx, [ebp - 0x428]
add esp, 0x14
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405280
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x428]
push eax
push 1
push 0
push str.DisplayName
push dword [ebp - 0x86c]
call esi
push 0x20a
lea eax, [ebp - 0x638]
push 0
push eax
call fcn.0044b130
add esp, 0xc
lea eax, [ebp - 0x638]
push str.Nanjing_BaiZeyou_Network_Technology_Co._Ltd.
push 0x4882f0
push 0xffffffffffffffff
push 0x104
push eax
call fcn.004015b0
lea ecx, [ebp - 0x638]
add esp, 0x14
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4052f0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x638]
push eax
push 1
push 0
push str.Publisher
push dword [ebp - 0x86c]
call esi
push 0x20a
lea eax, [ebp - 0x848]
push 0
push eax
call fcn.0044b130
add esp, 0xc
lea eax, [ebp - 0x848]
push str.11.1.9.1
push 0x4882f0
push 0xffffffffffffffff
push 0x104
push eax
call fcn.004015b0
lea ecx, [ebp - 0x848]
add esp, 0x14
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405360
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x848]
push eax
push 1
push 0
push str.DisplayVersion
push dword [ebp - 0x86c]
call esi
push 0
call fcn.00452eca
add esp, 4
mov dword [ebp - 0x850], eax
lea eax, [ebp - 0x850]
push 4
push eax
push 4
push 0
push str.InstallTime
push dword [ebp - 0x86c]
call esi
push dword [ebp - 0x86c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x86c]
push eax
push str.SoftwareXXPic
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x405415
mov eax, dword [ebp - 0x84c]
push 4
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x84c], eax
lea eax, [ebp - 0x84c]
push eax
push 4
push 0
push str.SvcState
push dword [ebp - 0x86c]
call esi
push dword [ebp - 0x86c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x854]
cmp edx, 8
jb 0x405451
mov ecx, dword [ebp - 0x868]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405447
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405460
push edx
push ecx
call fcn.00444954
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00444204
mov esp, ebp
pop ebp
ret
call fcn.004538a3
int3