Function at 0x4165e0
Capabilities:
Access peb ldr_data
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x438990
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x82c
push ebx
push esi
push edi
xor ebx, ebx
push 0x4b2c0c
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], ebx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov word [esp + 0x38], bx
xor eax, eax
mov ecx, 0x1ff
lea edi, [esp + 0x3a]
rep stosd dword es:[edi], eax
push 0x4b2c10
push 0x453458
push ecx
mov ecx, esp
mov dword [esp + 0x84c], 1
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], 0x400
stosw word es:[edi], ax
mov dword [esp + 0x24], esp
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_void_]
lea eax, [esp + 0x38]
push eax
call fcn.0042a230
add esp, 8
mov esi, eax
push str.SOFTWARE_
lea ecx, [esp + 0x40]
mov byte [esp + 0x84c], 2
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
push esi
push eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x854], 3
call fcn.00409b10
add esp, 0xc
push eax
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x850], 4
call fcn.00416510
add esp, 0xc
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x84c], 5
call fcn.00409b10
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x844], 6
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
lea ecx, [esp + 0x24]
mov byte [esp + 0x840], 0xc
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x28]
mov byte [esp + 0x840], 0xb
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x840], 0xa
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x34]
mov byte [esp + 0x840], 9
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov byte [esp + 0x840], 8
lea ecx, [esp + 0x2c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov esi, dword [sym.imp.QtCore4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const]
lea ecx, [esp + 0x10]
push ecx
push 1
push ebx
lea ecx, [esp + 0x20]
call esi
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x4167b3
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x3c]
push eax
push ebx
push ebx
mov ecx, 0x4b2c14
call esi
mov ecx, dword [esp + 0x20]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromUtf16_unsigned_short_int_const___int_]
add esp, 0xc
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x844], 0xd
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
lea ecx, [esp + 0x18]
mov byte [esp + 0x840], 8
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x848]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 1
mov byte [esp + 0x840], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0xc]
mov byte [esp + 0x840], bl
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0x838]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x838
ret