Function at 0x401900
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x405748
mov eax, dword fs:[0]
push eax
sub esp, 0x85c
mov eax, dword [0x40b0f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x850], ecx
push 0x20
lea ecx, [ebp - 0x839]
call fcn.00401014
push ecx
mov ecx, esp
mov dword [ebp - 0x838], esp
movzx eax, byte [eax]
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push 0
mov ecx, dword [ebp - 0x850]
add ecx, 0x10
push ecx
lea edx, [ebp - 0x418]
push edx
push str.SOFTWAREEaseUS_1
lea ecx, [ebp - 0x834]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
mov dword [ebp - 0x854], eax
mov eax, dword [ebp - 0x854]
mov dword [ebp - 0x858], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x858]
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QString::arg_class_QString_const___int__class_QChar_]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x834]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
xor ecx, ecx
mov word [ebp - 0x414], cx
push 0x3fe
push 0
lea edx, [ebp - 0x412]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x418]
call dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QString::toWCharArray_wchar_t__const]
lea ecx, [ebp - 0x41c]
push ecx
lea edx, [ebp - 0x414]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x401b69
mov dword [ebp - 0x420], 0
xor eax, eax
mov word [ebp - 0x82c], ax
push 0x3fe
push 0
lea ecx, [ebp - 0x82a]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0x42c], 0x200
mov dword [ebp - 0x830], 1
lea edx, [ebp - 0x42c]
push edx
lea eax, [ebp - 0x82c]
push eax
lea ecx, [ebp - 0x830]
push ecx
push 0
push str.AppName
mov edx, dword [ebp - 0x41c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0
je 0x401a8a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x418]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x401b84
push 0x20
lea ecx, [ebp - 0x845]
call fcn.00401014
push ecx
mov ecx, esp
mov dword [ebp - 0x844], esp
movzx eax, byte [eax]
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x82c]
push ecx
lea edx, [ebp - 0x84c]
push edx
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_]
add esp, 0xc
mov dword [ebp - 0x85c], eax
mov eax, dword [ebp - 0x85c]
mov dword [ebp - 0x860], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x860]
push ecx
lea edx, [ebp - 0x424]
push edx
push str.__1_
lea ecx, [ebp - 0x840]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
mov dword [ebp - 0x864], eax
mov eax, dword [ebp - 0x864]
mov dword [ebp - 0x868], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x868]
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QString::arg_class_QString_const___int__class_QChar_]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x840]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x84c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x424]
push ecx
call dword [sym.imp.Qt5Core.dll_public:_static_bool___cdecl_QProcess::startDetached_class_QString_const__]
add esp, 4
mov edx, dword [ebp - 0x41c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x424]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x418]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
xor eax, eax
jne 0x401931
call dword [sym.imp.Qt5Core.dll_public:_static_class_QCoreApplication____cdecl_QCoreApplication::instance_void_]
call dword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QCoreApplication::quit_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040376c
mov esp, ebp
pop ebp
ret 8