Function at 0x51d890
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59794c
mov eax, dword fs:[0]
push eax
sub esp, 0x40c
mov eax, dword [0x612678]
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 - 0x400], ebx
mov dword [ebp - 0x414], 1
call fcn.0055cad0
add esp, 0xc
mov dword [ebp - 0x410], 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 - 0x3f4], eax
test eax, eax
jne 0x51dd51
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x414]
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 - 0x3f4], esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x51de87
sub esp, 0x68
mov edi, esp
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x400], esp
push str.Amazon::SystemInfo::getMachineGUID
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_char_const__]
push ecx
mov dword [ebp - 0x404], esp
mov esi, esp
push 0xffffffffffffffff
push 0x59e6a0
mov dword [ebp - 4], 0
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
push 0x1d2
push ecx
mov dword [ebp - 0x408], esp
mov esi, esp
push 0xffffffffffffffff
push str.SystemInfoWin
mov byte [ebp - 4], 1
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
push 3
sub esp, 0x10
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x40c], esp
push dword [ebp - 0x3f4]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_int_]
push ecx
mov dword [ebp - 0x3f4], esp
mov esi, esp
push 0xffffffffffffffff
push str.errorCode
mov byte [ebp - 4], 3
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
mov dword [esi], eax
add esp, 4
mov byte [ebp - 4], 4
mov dword [ebp - 0x3f8], esp
mov esi, esp
push 0xffffffffffffffff
push str.initialReadOfMachineGUIDRegistryFailed
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
push 0
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 5
call fcn.005130e0
mov byte [ebp - 4], 6
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.005158f0
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00515040
mov ecx, eax
call fcn.00515020
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.00515840
mov ecx, eax
call fcn.00515030
mov byte [ebp - 4], 0xa
mov ecx, eax
call fcn.00515040
push eax
mov ecx, edi
call fcn.00429600
lea ecx, [ebp - 0x280]
call fcn.00429560
lea ecx, [ebp - 0x280]
call fcn.00516570
lea ecx, [ebp - 0x178]
mov dword [ebp - 4], 0xffffffff
call fcn.005133a0
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 - 0x3f4], eax
test eax, eax
jne 0x51dc04
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x414]
push eax
push 0
push str.MachineGuid
push dword [ebp - 0x3fc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x3f4], eax
test eax, eax
je 0x51dd40
mov eax, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_char_const__]
sub esp, 0x68
mov edi, esp
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x3f8], esp
push str.Amazon::SystemInfo::getMachineGUID
call eax
push ecx
mov dword [ebp - 0x40c], esp
mov esi, esp
push 0xffffffffffffffff
push 0x59e6a0
mov dword [ebp - 4], 0xb
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
push 0x1dd
push ecx
mov dword [ebp - 0x408], esp
mov esi, esp
push 0xffffffffffffffff
push str.SystemInfoWin
mov byte [ebp - 4], 0xc
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 eax, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_int_]
push 4
sub esp, 0x10
mov byte [ebp - 4], 0xd
mov ecx, esp
mov dword [ebp - 0x404], esp
push dword [ebp - 0x3f4]
call eax
push ecx
mov dword [ebp - 0x400], esp
mov esi, esp
push 0xffffffffffffffff
push str.errorCode
mov byte [ebp - 4], 0xe
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
mov dword [esi], eax
add esp, 4
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x3f4], esp
mov esi, esp
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
push 0
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0x10
call fcn.005130e0
mov byte [ebp - 4], 0x11
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.005158f0
mov ecx, eax
mov byte [ebp - 4], 0x13
call fcn.00515040
mov ecx, eax
call fcn.00515020
mov ecx, eax
mov byte [ebp - 4], 0x14
call fcn.00515840
mov ecx, eax
call fcn.00515030
mov byte [ebp - 4], 0x15
jmp 0x51dd09
mov eax, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_char_const__]
sub esp, 0x68
mov edi, esp
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x3f8], esp
push str.Amazon::SystemInfo::getMachineGUID
call eax
push ecx
mov dword [ebp - 0x40c], esp
mov esi, esp
push 0xffffffffffffffff
push 0x59e6a0
mov dword [ebp - 4], 0x16
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
push 0x1e3
push ecx
mov dword [ebp - 0x408], esp
mov esi, esp
push 0xffffffffffffffff
push str.SystemInfoWin
mov byte [ebp - 4], 0x17
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 eax, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_int_]
push 4
sub esp, 0x10
mov byte [ebp - 4], 0x18
mov ecx, esp
mov dword [ebp - 0x404], esp
push dword [ebp - 0x3f4]
call eax
push ecx
mov dword [ebp - 0x400], esp
mov esi, esp
push 0xffffffffffffffff
push str.errorCode
mov byte [ebp - 4], 0x19
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
mov dword [esi], eax
add esp, 4
mov byte [ebp - 4], 0x1a
mov dword [ebp - 0x3f4], esp
mov esi, esp
push 0xffffffffffffffff
push str.openOfMachineGUIDRegistryFailed
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
push 0
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0x1b
call fcn.005130e0
mov byte [ebp - 4], 0x1c
mov ecx, eax
mov byte [ebp - 4], 0x1d
call fcn.005158f0
mov ecx, eax
mov byte [ebp - 4], 0x1e
call fcn.00515040
mov ecx, eax
call fcn.00515020
mov ecx, eax
mov byte [ebp - 4], 0x1f
call fcn.00515840
mov ecx, eax
call fcn.00515030
mov byte [ebp - 4], 0x20
mov ecx, eax
call fcn.00515040
push eax
mov ecx, edi
call fcn.00429600
lea ecx, [ebp - 0x280]
call fcn.00429560
lea ecx, [ebp - 0x280]
call fcn.00516570
lea ecx, [ebp - 0x178]
mov dword [ebp - 4], 0xffffffff
call fcn.005133a0
push dword [ebp - 0x3fc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x51de87
sub esp, 0x68
mov ebx, esp
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x3f8], esp
push str.Amazon::SystemInfo::getMachineGUID
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_char_const__]
mov edi, dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
push ecx
mov dword [ebp - 0x40c], esp
mov esi, esp
push 0xffffffffffffffff
push 0x59e6a0
mov dword [ebp - 4], 0x21
call edi
add esp, 8
mov dword [esi], eax
push 0x1ed
push ecx
mov dword [ebp - 0x408], esp
mov esi, esp
push 0xffffffffffffffff
push str.SystemInfoWin
mov byte [ebp - 4], 0x22
call edi
add esp, 8
mov dword [esi], eax
push 3
sub esp, 0x10
mov byte [ebp - 4], 0x23
mov ecx, esp
mov dword [ebp - 0x404], esp
push dword [ebp - 0x3f4]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_int_]
push ecx
mov dword [ebp - 0x3f4], esp
mov esi, esp
push 0xffffffffffffffff
push str.errorCode
mov byte [ebp - 4], 0x24
call edi
mov dword [esi], eax
add esp, 4
mov byte [ebp - 4], 0x25
mov dword [ebp - 0x418], esp
mov esi, esp
push 0xffffffffffffffff
push str.initialOpenOfMachineGUIDRegistryFailed
call edi
add esp, 8
mov dword [esi], eax
push 0
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 0x26
call fcn.005130e0
mov byte [ebp - 4], 0x27
mov ecx, eax
mov byte [ebp - 4], 0x28
call fcn.005158f0
mov ecx, eax
mov byte [ebp - 4], 0x29
call fcn.00515040
mov ecx, eax
call fcn.00515020
mov ecx, eax
mov byte [ebp - 4], 0x2a
call fcn.00515840
mov ecx, eax
call fcn.00515030
mov byte [ebp - 4], 0x2b
mov ecx, eax
call fcn.00515040
push eax
mov ecx, ebx
call fcn.00429600
lea ecx, [ebp - 0x3f0]
call fcn.00429560
lea ecx, [ebp - 0x3f0]
call fcn.00516570
lea ecx, [ebp - 0x2e8]
mov dword [ebp - 4], 0xffffffff
call fcn.005133a0
mov ebx, dword [ebp - 0x400]
lea ecx, [ebp - 0x110]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [ebx], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x51dea1
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
mov ecx, ebx
call fcn.004243e0
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.00556510
mov esp, ebp
pop ebp
ret