Function at 0x40c9e0
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.00436f70
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 0x40cce0
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 0x40caa2
push 0x24d4
call fcn.0042d9ac
add esp, 4
test eax, eax
je 0x40ca9b
mov esi, eax
call fcn.00411390
mov esi, dword [ebp - 0x218]
jmp 0x40ca9d
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.00403de0
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 0x40cb18
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.0042dec6
add esp, 8
test eax, eax
js 0x40ccf2
cmp eax, dword [esi - 8]
jg 0x40ccf2
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 0x40cbaf
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.0042dec6
add esp, 8
test eax, eax
js 0x40ccf2
cmp eax, dword [esi - 8]
jg 0x40ccf2
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 0x40cc27
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.0042dec6
add esp, 8
test eax, eax
js 0x40ccf2
cmp eax, dword [esi - 8]
jg 0x40ccf2
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 4], ebx
jle 0x40cc80
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.0042dec6
add esp, 8
pop edi
test eax, eax
js 0x40ccf2
cmp eax, dword [esi - 8]
jg 0x40ccf2
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 0x40cce0
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.0042cf67
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00403050
int3