Function at 0x40c9c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4fa2a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20a]
push edx
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], esi
mov word [ebp - 0x20c], cx
call fcn.00436fe0
push esi
push str.__s_
mov eax, 0x104
lea ebx, [ebp - 0x20c]
call fcn.00403230
add esp, 0x14
lea eax, [ebp - 0x214]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallNeoCell
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x40ccc0
mov edx, dword [0x4fb44c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4fb44c
call eax
add eax, 0x10
mov dword [ebp - 0x210], eax
mov eax, dword [0x4ff104]
test eax, eax
jne 0x40ca82
push 0x24d8
call fcn.0042d9bc
add esp, 4
test eax, eax
je 0x40ca7b
mov esi, eax
call fcn.00411420
mov esi, dword [ebp - 0x218]
jmp 0x40ca7d
xor eax, eax
mov dword [0x4ff104], eax
push edi
add eax, 0x410
push eax
push str._s_resdesk.ico
lea edi, [ebp - 0x210]
call fcn.00403dd0
mov ecx, dword [ebp - 0x214]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add esp, 8
push 0x104
push 0x4d4de0
push 1
push 0
push str.DisplayName
push ecx
call edi
mov edx, dword [ebp - 0x214]
push 0x104
push esi
push 1
push 0
push str.UninstallString
push edx
call edi
mov esi, dword [ebp - 0x210]
cmp dword [esi - 4], 1
jle 0x40caf8
mov eax, dword [esi - 0xc]
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.00403650
mov esi, dword [ebp - 0x210]
mov edx, dword [ebp - 0x214]
push 0x104
push esi
push 1
push 0
push str.DisplayIcon
push edx
call edi
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0042ded6
add esp, 8
test eax, eax
js 0x40ccd2
cmp eax, dword [esi - 8]
jg 0x40ccd2
mov edx, dword [ebp - 0x21c]
push 0x104
add edx, 0x1040
push edx
push 1
xor ecx, ecx
mov dword [esi - 0xc], eax
push ecx
mov word [esi + eax*2], cx
mov eax, dword [ebp - 0x214]
push str.DisplayVersion
push eax
call edi
push 0x4d4b10
lea ecx, [ebp - 0x210]
push ecx
xor ebx, ebx
call fcn.00403540
mov esi, dword [ebp - 0x210]
cmp dword [esi - 4], 1
jle 0x40cb8f
mov edx, dword [esi - 0xc]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.00403650
mov esi, dword [ebp - 0x210]
mov ecx, dword [ebp - 0x214]
push 0x104
push esi
push 1
push 0
push str.Publisher
push ecx
call edi
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0042ded6
add esp, 8
test eax, eax
js 0x40ccd2
cmp eax, dword [esi - 8]
jg 0x40ccd2
mov dword [esi - 0xc], eax
xor edx, edx
mov word [esi + eax*2], dx
push 0x4d4b10
lea eax, [ebp - 0x210]
push eax
xor ebx, ebx
call fcn.00403540
mov esi, dword [ebp - 0x210]
mov ebx, 1
cmp dword [esi - 4], ebx
jle 0x40cc07
mov ecx, dword [esi - 0xc]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.00403650
mov esi, dword [ebp - 0x210]
mov eax, dword [ebp - 0x214]
push 0x104
push esi
push ebx
push 0
push str.URLInfoAbout
push eax
call edi
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0042ded6
add esp, 8
test eax, eax
js 0x40ccd2
cmp eax, dword [esi - 8]
jg 0x40ccd2
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 4], ebx
jle 0x40cc60
mov edx, dword [esi - 0xc]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.00403650
mov esi, dword [ebp - 0x210]
mov ecx, dword [ebp - 0x214]
push 0x104
push esi
push ebx
push 0
push str.URLUpdateInfo
push ecx
call edi
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0042ded6
add esp, 8
pop edi
test eax, eax
js 0x40ccd2
cmp eax, dword [esi - 8]
jg 0x40ccd2
mov dword [esi - 0xc], eax
xor edx, edx
mov word [esi + eax*2], dx
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ccc0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042cf77
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00403050
int3