Function at 0x4337b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c163
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x5555ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x428], esi
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00492110
add esp, 0xc
lea eax, [ebp - 0x218]
push str.SmartWriter.exe
push dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
call fcn.00404f50
mov ecx, eax
test ecx, ecx
je 0x433ca4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x434], eax
lea edi, [ebp - 0x218]
mov dword [ebp - 4], 0
shr edi, 0x10
test edi, edi
jne 0x433858
lea eax, [ebp - 0x218]
movzx eax, ax
lea ecx, [ebp - 0x434]
push eax
call fcn.0041b910
jmp 0x433883
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433861
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x434]
call fcn.00405710
or ebx, 0xffffffff
mov dword [ebp - 4], 1
cmp dword [esi + 0x10], 0
je 0x433c66
mov ecx, dword [0x55a468]
test ecx, ecx
jne 0x433900
push 0x552d84
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x55a468], 0
jne 0x4338ef
push 0x98
call fcn.0042dc90
add esp, 4
mov dword [ebp - 0x42c], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x4338d9
mov ecx, eax
call fcn.004126e0
jmp 0x4338db
xor eax, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x42c]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x55a468], eax
push 0x552d84
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x55a468]
call fcn.00418690
test al, al
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallSmartWriterLenovo
mov eax, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallSmartWriter
cmove esi, eax
mov eax, dword [ebp - 0x434]
mov dword [ebp - 0x438], esi
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.DisplayIcon
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.00404f50
mov ecx, eax
test ecx, ecx
je 0x433cae
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x430], eax
mov eax, 0x51ddf4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x430]
test eax, 0xffff0000
jne 0x433978
movzx eax, ax
push eax
call fcn.0041b910
jmp 0x433984
push 3
push 0x51ddf4
call fcn.00405710
mov eax, dword [ebp - 0x430]
mov byte [ebp - 4], 4
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.DisplayName
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.00404f50
mov ecx, eax
test ecx, ecx
je 0x433cb8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x42c], eax
mov byte [ebp - 4], 5
call fcn.00404f50
mov ecx, eax
test ecx, ecx
je 0x433cc2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 6
test edi, edi
jne 0x433a05
lea eax, [ebp - 0x218]
movzx esi, ax
lea ecx, [ebp - 0x424]
push esi
call fcn.0041b910
jmp 0x433a3b
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433a10
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x424]
call fcn.00405710
lea eax, [ebp - 0x218]
movzx esi, ax
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.004140f0
mov edx, dword [ebp - 0x424]
add esp, 8
mov byte [ebp - 4], 5
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x433a76
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x42c]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.DisplayVersion
push dword [ebp - 0x438]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
call fcn.00404f50
mov ecx, eax
test ecx, ecx
je 0x433ccc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 8
test edi, edi
jne 0x433adb
push esi
lea ecx, [ebp - 0x424]
call fcn.0041b910
jmp 0x433b06
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433ae4
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x424]
call fcn.00405710
mov edi, dword [ebp - 0x424]
mov byte [ebp - 4], 9
mov eax, dword [edi - 0xc]
add eax, eax
push eax
push edi
push 1
push str.InstallLocation
push dword [ebp - 0x438]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00492110
mov eax, dword [ebp - 0x428]
add esp, 0xc
push str.uninst.exe
push dword [eax]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
call fcn.00404f50
mov ecx, eax
test ecx, ecx
je 0x433cd6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 0xa
test eax, 0xffff0000
jne 0x433b9e
movzx eax, ax
lea ecx, [ebp - 0x428]
push eax
call fcn.0041b910
jmp 0x433bc9
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433ba7
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.00405710
mov esi, dword [ebp - 0x428]
mov byte [ebp - 4], 9
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push 1
push str.UninstallString
push dword [ebp - 0x438]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x433c09
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x433c24
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x42c]
mov eax, ebx
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x433c45
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x430]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x433c66
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x434]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x433c88
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00463518
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404300
push 0x80004005
call fcn.00404300
push 0x80004005
call fcn.00404300
push 0x80004005
call fcn.00404300
push 0x80004005
call fcn.00404300
push 0x80004005
call fcn.00404300
int3