Function at 0x401500
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7738
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x4f9008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x78], 0
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 - 4], eax
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], 1
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], 2
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 7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push str.Channel
call fcn.00409940
mov byte [ebp - 4], 0
cmp byte [ebp - 0x70], 0
mov dword [ebp - 0x74], 0
je 0x401643
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x80], 4
push ecx
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x7c], 4
push ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
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 esi, dword [ebp - 0x78]
test esi, esi
je 0x40167c
mov al, byte [ebp - 0x70]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x74], 0
test al, al
je 0x40174e
push dword [ebp - 0x6c]
call edi
mov esi, dword [ebp - 0x78]
xor al, al
mov byte [ebp - 0x70], al
jmp 0x40174e
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], 4
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], 5
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 7
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push str.Channel
call fcn.00409940
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x74]
call sym.XNewLook.exe_public:_bool___thiscall_LRegEdit::GetDWORD_class_LString_const___unsigned_long_int__
lea ecx, [ebp - 0x2c]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
mov al, byte [ebp - 0x70]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x74], 0
test al, al
je 0x40173e
push dword [ebp - 0x6c]
call edi
xor al, al
mov byte [ebp - 0x70], al
mov esi, dword [ebp - 0x78]
mov ecx, 0x63
test esi, esi
cmove esi, ecx
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], 0
test al, al
je 0x401769
push dword [ebp - 0x6c]
call edi
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_
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00475880
mov esp, ebp
pop ebp
ret