Function at 0x50b980
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5686b1
mov eax, dword fs:[0]
push eax
sub esp, 0x3fc
mov eax, dword [0x5d21e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x110]
push 0x100
push 0
push eax
mov dword [ebp - 0x408], ebx
mov dword [ebp - 0x3f8], ebx
mov dword [ebp - 0x404], 1
call fcn.00534a40
add esp, 0xc
mov dword [ebp - 0x400], 0x100
lea eax, [ebp - 0x3fc]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftCryptography
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x3f8], eax
test eax, eax
jne 0x50bdb8
lea eax, [ebp - 0x400]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x404]
push eax
push 0
push str.MachineGuid
push dword [ebp - 0x3fc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x3fc]
mov esi, eax
mov dword [ebp - 0x3f8], esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x50becb
push 0
lea ecx, [ebp - 0x178]
call fcn.00502d30
mov edi, eax
mov ebx, dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
push ecx
mov esi, esp
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push str.initialReadOfMachineGUIDRegistryFailed
call ebx
add esp, 8
mov dword [esi], eax
mov ecx, edi
call fcn.00505810
sub esp, 0x10
mov edi, eax
mov ecx, esp
mov dword [ebp - 0x3f4], esp
push dword [ebp - 0x3f8]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_int_]
push ecx
mov esi, esp
mov byte [ebp - 4], 1
push 0xffffffffffffffff
push str.errorCode
call ebx
add esp, 8
mov dword [esi], eax
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00504e80
push 3
mov ecx, eax
call fcn.00504e60
push ecx
mov esi, esp
mov edi, eax
push 0xffffffffffffffff
push str.SystemInfoWin
call ebx
add esp, 8
mov dword [esi], eax
mov ecx, edi
call fcn.00505760
push 0x216
mov ecx, eax
call fcn.00504e70
sub esp, 0x68
mov edi, eax
mov ebx, esp
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x3f4], esp
push str.Amazon::SystemInfo::getMachineGUID
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_char_const__]
push ecx
mov esi, esp
mov byte [ebp - 4], 2
push 0xffffffffffffffff
push 0x56e5f8
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esi], eax
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00504e80
push eax
mov ecx, ebx
call fcn.00425d30
lea ecx, [ebp - 0x280]
call fcn.00425bf0
lea ecx, [ebp - 0x280]
call fcn.005066c0
lea ecx, [ebp - 0x178]
mov dword [ebp - 4], 0xffffffff
call fcn.00502f90
lea eax, [ebp - 0x3fc]
push eax
push 0x101
push 0
push str.SOFTWAREMicrosoftCryptography
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x3f8], eax
test eax, eax
jne 0x50bc98
lea eax, [ebp - 0x400]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x404]
push eax
push 0
push str.MachineGuid
push dword [ebp - 0x3fc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
test ebx, ebx
je 0x50bda7
push 0
lea ecx, [ebp - 0x178]
call fcn.00502d30
mov edi, eax
push ecx
mov esi, esp
mov dword [ebp - 4], 3
push 0xffffffffffffffff
push str.readOfMachineGUIDRegistryFailed
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esi], eax
mov ecx, edi
call fcn.00505810
sub esp, 0x10
mov edi, eax
mov eax, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_int_]
mov ecx, esp
mov dword [ebp - 0x3f4], esp
push ebx
call eax
mov ebx, dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
push ecx
mov esi, esp
mov byte [ebp - 4], 4
push 0xffffffffffffffff
push str.errorCode
call ebx
add esp, 8
mov dword [esi], eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00504e80
push 4
mov ecx, eax
call fcn.00504e60
push ecx
mov esi, esp
mov edi, eax
push 0xffffffffffffffff
push str.SystemInfoWin
call ebx
add esp, 8
mov dword [esi], eax
mov ecx, edi
call fcn.00505760
push 0x221
mov ecx, eax
call fcn.00504e70
sub esp, 0x68
mov edi, eax
mov eax, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_char_const__]
mov ebx, esp
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x3f4], esp
push str.Amazon::SystemInfo::getMachineGUID
call eax
push ecx
mov esi, esp
mov byte [ebp - 4], 5
push 0xffffffffffffffff
push 0x56e5f8
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
mov dword [esi], eax
mov byte [ebp - 4], 3
jmp 0x50bd6d
push 0
lea ecx, [ebp - 0x178]
call fcn.00502d30
mov edi, eax
mov ebx, dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
push ecx
mov esi, esp
mov dword [ebp - 4], 6
push 0xffffffffffffffff
push str.openOfMachineGUIDRegistryFailed
call ebx
add esp, 8
mov dword [esi], eax
mov ecx, edi
call fcn.00505810
sub esp, 0x10
mov edi, eax
mov eax, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_int_]
mov ecx, esp
mov dword [ebp - 0x3f4], esp
push dword [ebp - 0x3f8]
call eax
push ecx
mov esi, esp
mov byte [ebp - 4], 7
push 0xffffffffffffffff
push str.errorCode
call ebx
add esp, 8
mov dword [esi], eax
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.00504e80
push 4
mov ecx, eax
call fcn.00504e60
push ecx
mov esi, esp
mov edi, eax
push 0xffffffffffffffff
push str.SystemInfoWin
call ebx
add esp, 8
mov dword [esi], eax
mov ecx, edi
call fcn.00505760
push 0x227
mov ecx, eax
call fcn.00504e70
sub esp, 0x68
mov edi, eax
mov eax, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_char_const__]
mov ebx, esp
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x3f4], esp
push str.Amazon::SystemInfo::getMachineGUID
call eax
push ecx
mov esi, esp
mov byte [ebp - 4], 8
push 0xffffffffffffffff
push 0x56e5f8
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
mov dword [esi], eax
mov byte [ebp - 4], 6
add esp, 8
mov ecx, edi
call fcn.00504e80
push eax
mov ecx, ebx
call fcn.00425d30
lea ecx, [ebp - 0x280]
call fcn.00425bf0
lea ecx, [ebp - 0x280]
call fcn.005066c0
lea ecx, [ebp - 0x178]
mov dword [ebp - 4], 0xffffffff
call fcn.00502f90
push dword [ebp - 0x3fc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x50bec5
push 0
lea ecx, [ebp - 0x2e8]
call fcn.00502d30
mov edi, eax
mov ebx, dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
push ecx
mov esi, esp
mov dword [ebp - 4], 9
push 0xffffffffffffffff
push str.initialOpenOfMachineGUIDRegistryFailed
call ebx
add esp, 8
mov dword [esi], eax
mov ecx, edi
call fcn.00505810
sub esp, 0x10
mov edi, eax
mov ecx, esp
mov dword [ebp - 0x3f4], esp
push dword [ebp - 0x3f8]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_int_]
push ecx
mov esi, esp
mov byte [ebp - 4], 0xa
push 0xffffffffffffffff
push str.errorCode
call ebx
add esp, 8
mov dword [esi], eax
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.00504e80
push 3
mov ecx, eax
call fcn.00504e60
push ecx
mov esi, esp
mov edi, eax
push 0xffffffffffffffff
push str.SystemInfoWin
call ebx
add esp, 8
mov dword [esi], eax
mov ecx, edi
call fcn.00505760
push 0x231
mov ecx, eax
call fcn.00504e70
sub esp, 0x68
mov edi, eax
mov ebx, esp
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x3f4], esp
push str.Amazon::SystemInfo::getMachineGUID
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_char_const__]
push ecx
mov esi, esp
mov byte [ebp - 4], 0xb
push 0xffffffffffffffff
push 0x56e5f8
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esi], eax
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.00504e80
push eax
mov ecx, ebx
call fcn.00425d30
lea ecx, [ebp - 0x3f0]
call fcn.00425bf0
lea ecx, [ebp - 0x3f0]
call fcn.005066c0
lea ecx, [ebp - 0x2e8]
mov dword [ebp - 4], 0xffffffff
call fcn.00502f90
mov ebx, dword [ebp - 0x408]
lea ecx, [ebp - 0x110]
mov dword [ebx], 0
mov dword [ebx + 0x10], 0
lea edx, [ecx + 1]
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x50bef0
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
mov ecx, ebx
call fcn.00423620
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005329db
mov esp, ebp
pop ebp
ret