Function at 0x4017a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b77a0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4f9008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x68], vtable.LString.0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
mov dword [ebp - 0x4c], vtable.LString.0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], al
mov dword [ebp - 0x30], 0x200
mov dword [ebp - 0x2c], vtable.LString.0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 0x11
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
add dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count], 3
push str.SoftwareXNewLook
call fcn.00409940
push 0x2001f
push connect
push 1
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x74]
call sym.XNewLook.exe_public:_bool___thiscall_LRegEdit::OpenDir_class_LString_const___bool__struct_HKEY_____unsigned_long_int_
lea ecx, [ebp - 0x2c]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
xor eax, eax
mov dword [ebp - 0x2c], vtable.LString.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 0xb
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push str.InstallDate
call fcn.00409940
cmp byte [ebp - 0x70], 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x74], 0
je 0x4018d7
cmp dword [ebp + 0x20], 8
lea edx, [ebp + 0xc]
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp - 0x28]
cmovae edx, dword [ebp + 0xc]
cmp dword [ebp - 0x14], 8
cmovae ecx, dword [ebp - 0x28]
add eax, eax
push eax
push edx
push 1
push 0
push ecx
push dword [ebp - 0x6c]
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x2c]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
xor eax, eax
mov dword [ebp - 0x2c], vtable.LString.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 0x11
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push str.SoftwareXNewLook
call fcn.00409940
push 0x2001f
push connect
push 1
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x74]
call sym.XNewLook.exe_public:_bool___thiscall_LRegEdit::OpenDir_class_LString_const___bool__struct_HKEY_____unsigned_long_int_
lea ecx, [ebp - 0x2c]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
xor eax, eax
mov dword [ebp - 0x2c], vtable.LString.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 0xb
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push str.InstallDate
call fcn.00409940
cmp byte [ebp - 0x70], 0
mov dword [ebp - 0x74], 0
je 0x4019a8
cmp dword [ebp + 0x20], 8
lea edx, [ebp + 0xc]
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp - 0x28]
cmovae edx, dword [ebp + 0xc]
cmp dword [ebp - 0x14], 8
cmovae ecx, dword [ebp - 0x28]
add eax, eax
push eax
push edx
push 1
push 0
push ecx
push dword [ebp - 0x6c]
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x2c]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
mov al, byte [ebp - 0x70]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x74], 0
test al, al
je 0x4019ce
push dword [ebp - 0x6c]
call esi
xor al, al
mov byte [ebp - 0x70], al
mov dword [ebp - 0x74], 0
test al, al
je 0x4019e9
push dword [ebp - 0x6c]
call esi
mov dword [ebp - 0x74], 0
mov byte [ebp - 0x70], 0
lea ecx, [ebp - 0x4c]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x68]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp + 8]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00475880
mov esp, ebp
pop ebp
ret