Function at 0x402450
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x40396e
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x6c]
mov ebp, dword [eax + 8]
inc ebp
xor ecx, ecx
mov eax, ebp
mov edx, 2
mul edx
seto cl
mov dword [esp + 0x5c], 1
mov ebx, 0x7d0
neg ecx
or ecx, eax
push ecx
call fcn.00402df4
mov edi, eax
mov dword [esp + 0x34], edi
xor ecx, ecx
mov eax, ebx
mov edx, 2
mul edx
seto cl
mov byte [esp + 0x60], 2
neg ecx
or ecx, eax
push ecx
call fcn.00402df4
mov esi, eax
add esp, 8
mov dword [esp + 0x2c], esi
lea ecx, [esp + 0x34]
xor eax, eax
push ecx
lea ecx, [esp + 0x70]
mov byte [esp + 0x60], 3
mov word [edi], ax
call dword [sym.imp.QtCore4.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_QString::toStdWString_void_]
cmp dword [eax + 0x14], 8
jb 0x40251c
mov eax, dword [eax]
push eax
push ebp
push edi
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
add esp, 0xc
cmp dword [esp + 0x48], 8
jb 0x40253c
mov edx, dword [esp + 0x34]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x1c]
push ecx
push esi
xor eax, eax
lea edx, [esp + 0x30]
push edx
push eax
mov dword [esp + 0x2c], 0x7d0
mov word [esi], ax
mov eax, dword [esp + 0x24]
push edi
push eax
call ebp
cmp eax, 0xea
jne 0x4025c8
lea ebx, [ebx]
add ebx, 0x1000
xor ecx, ecx
mov eax, ebx
mov edx, 2
mul edx
seto cl
mov dword [esp + 0x1c], ebx
neg ecx
or ecx, eax
push ecx
call fcn.00402df4
add esp, 4
cmp esi, eax
je 0x4025a8
push esi
mov esi, eax
mov dword [esp + 0x30], esi
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
lea ecx, [esp + 0x1c]
push ecx
push esi
xor eax, eax
lea edx, [esp + 0x30]
push edx
push eax
mov word [esi], ax
mov eax, dword [esp + 0x24]
push edi
push eax
call ebp
cmp eax, 0xea
je 0x402570
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4025d2
mov dword [ecx], eax
mov eax, dword [esp + 0x28]
cmp eax, 4
jne 0x402682
mov ebx, dword [esi]
mov byte [esp + 0x14], 0x30
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push 0xffffffffffffffff
push 0x405308
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esp + 0x14], eax
lea edx, [esp + 0x18]
push edx
push 0x10
push 8
push ebx
mov ebx, dword [esp + 0x34]
push ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 4
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::arg_unsigned_long_int__int__int__class_QChar_const__]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 1
mov byte [esp + 0x5c], 3
or ecx, 0xffffffff
lock xadd dword [eax], ecx
mov ebp, dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
jne 0x402651
mov edx, dword [esp + 0x14]
push edx
call ebp
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
mov eax, dword [esp + 0x74]
add esp, 8
mov byte [esp + 0x5c], 0
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x402780
mov edx, dword [esp + 0x6c]
push edx
call ebp
jmp 0x40277d
cmp eax, 3
jne 0x402738
mov eax, dword [esp + 0x1c]
push eax
push esi
lea ecx, [esp + 0x20]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::constructor_char_const___int_]
lea ecx, [esp + 0x14]
push ecx
mov bl, 5
mov ecx, eax
mov byte [esp + 0x60], bl
call dword [sym.imp.QtCore4.dll_public:_class_QByteArray___thiscall_QByteArray::toHex_void_]
mov ebp, dword [esp + 0x24]
push eax
mov ecx, ebp
mov byte [esp + 0x60], 6
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QByteArray_const__]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x20], 1
mov byte [esp + 0x5c], bl
or eax, 0xffffffff
lock xadd dword [edx], eax
mov ebx, dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
jne 0x4026e9
mov ecx, dword [esp + 0x14]
push ecx
call ebx
add esp, 4
mov edx, dword [esp + 0x18]
mov byte [esp + 0x5c], 3
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x402705
mov ecx, dword [esp + 0x18]
push ecx
call ebx
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
mov edx, dword [esp + 0x74]
add esp, 8
mov byte [esp + 0x5c], 0
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x402734
mov ecx, dword [esp + 0x6c]
push ecx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
mov eax, ebp
jmp 0x402782
mov ebx, dword [esp + 0x24]
push 0xffffffffffffffff
push esi
push ebx
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_unsigned_short_int_const___int_]
push esi
mov dword [esp + 0x30], 1
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
mov edx, dword [esp + 0x80]
add esp, 0x14
mov byte [esp + 0x5c], 0
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x402780
mov ecx, dword [esp + 0x6c]
push ecx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.00402e06
add esp, 0x4c
ret