Function at 0x442310
Capabilities:
Query or enumerate registry key
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ea159
mov eax, dword fs:[0]
push eax
sub esp, 0x484
mov eax, dword [0x57af80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x47c], esi
mov dword [ebp - 0x44c], eax
mov dword [ebp - 0x478], eax
test esi, esi
jne 0x44236f
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x41c]
push 0x540fb0
push eax
call sub.MSVCR120.dll__CxxThrowException
lea eax, [ebp - 0x41c]
mov ecx, esi
push eax
call fcn.00423840
mov ecx, eax
mov dword [ebp - 4], 0
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QString::isEmpty_void_const]
lea ecx, [ebp - 0x41c]
mov byte [ebp - 0x471], al
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp byte [ebp - 0x471], 0
jne 0x442eaa
lea eax, [ebp - 0x490]
mov ecx, esi
push eax
call fcn.00423840
push eax
lea eax, [ebp - 0x430]
mov dword [ebp - 4], 1
push 0x5054a4
push eax
call fcn.0041abe0
add esp, 0xc
lea ecx, [ebp - 0x490]
mov byte [ebp - 4], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x430]
call dword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.MSVCR120.dll_wcscpy_s]
mov eax, dword [esi]
push 0
push 0x5dc
push 0x1bd
push dword [eax + 0x18]
mov byte [ebp - 0x471], 0
call fcn.00440c30
add esp, 0x1c
cmp eax, 0xffffffff
je 0x442857
push eax
mov byte [ebp - 0x471], 1
call dword [sym.imp.WS2_32.dll_closesocket]
xor al, al
mov dword [ebp - 0x45c], 0
mov byte [ebp - 0x472], al
lea eax, [ebp - 0x45c]
push eax
push reloc.WS2_32.dll_closesocket
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
test eax, eax
jne 0x442880
cmp dword [ebp - 0x45c], eax
je 0x442880
push ecx
mov ecx, esp
push str.Windows
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
mov ecx, esi
call fcn.004422a0
xor esi, esi
jmp 0x4424c0
mov edi, 0x53
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x416]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x460], 0x100
lea eax, [ebp - 0x460]
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x418]
push eax
push esi
push dword [ebp - 0x45c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
inc esi
mov dword [ebp - 0x478], esi
test eax, eax
jne 0x442839
cmp di, word [ebp - 0x418]
jne 0x4424c5
mov eax, dword [ebp - 0x460]
cmp eax, 8
jbe 0x4424c5
cmp word [ebp + eax*2 - 0x41a], 0x73
je 0x4424c5
lea eax, [ebp - 0x420]
mov dword [ebp - 0x420], 0
push eax
lea eax, [ebp - 0x418]
push eax
call sub.ADVAPI32.dll_ConvertStringSidToSidW
xor eax, eax
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x466], eax
xorps xmm0, xmm0
mov word [ebp - 0x462], ax
xor esi, esi
lea eax, [ebp - 0x218]
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x464], eax
mov ax, word [ebp - 0x460]
mov word [ebp - 0x468], ax
mov eax, 0x104
mov word [ebp - 0x466], ax
movdqu xmmword [ebp - 0x444], xmm0
mov dword [ebp - 0x454], 0
jmp 0x4425c0
lea eax, [ebp - 0x454]
push eax
push 0x800
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x468]
push eax
call sub.ADVAPI32.dll_LsaOpenPolicy
mov edi, eax
cmp edi, 0xc0020017
jne 0x4425f7
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 3
jl 0x4425c0
mov eax, dword [ebp - 0x454]
test eax, eax
je 0x442809
lea ecx, [ebp - 0x458]
mov dword [ebp - 0x450], 0
push ecx
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x458], 0
push ecx
lea ecx, [ebp - 0x420]
push ecx
push 1
push eax
call sub.ADVAPI32.dll_LsaLookupSids
mov eax, dword [ebp - 0x450]
test eax, eax
je 0x4427fe
mov ecx, dword [ebp - 0x458]
test ecx, ecx
je 0x4427fe
cmp dword [ecx], 1
jne 0x4427ed
lea ecx, [ebp - 0x428]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov ecx, dword [ebp - 0x450]
mov byte [ebp - 4], 4
cmp dword [ecx], 0
je 0x4426bb
mov ecx, dword [ecx + 4]
movzx eax, word [ecx]
shr eax, 1
push eax
push dword [ecx + 4]
lea eax, [ebp - 0x488]
push eax
call fcn.0043c570
add esp, 0xc
lea ecx, [ebp - 0x428]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [ebp - 0x488]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push 0x50688c
lea ecx, [ebp - 0x428]
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_char_const__]
mov ecx, dword [ebp - 0x458]
movzx eax, word [ecx + 4]
shr eax, 1
push eax
push dword [ecx + 8]
lea eax, [ebp - 0x480]
push eax
call fcn.0043c570
push eax
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x41c]
push eax
call fcn.00403a80
add esp, 0x18
lea ecx, [ebp - 0x480]
mov byte [ebp - 4], 7
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [ebp - 0x47c]
lea eax, [ebp - 0x484]
push eax
call fcn.0042dfd0
mov ecx, eax
mov byte [ebp - 4], 8
call dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QString::count_void_const]
lea ecx, [ebp - 0x484]
mov byte [ebp - 4], 7
mov esi, eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
test esi, esi
je 0x4427ac
mov ecx, dword [ebp - 0x47c]
lea eax, [ebp - 0x424]
push eax
mov byte [ebp - 0x472], 1
call fcn.0042dfd0
push 0x50557c
push eax
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 9
push eax
call fcn.0040f700
add esp, 8
mov byte [ebp - 4], 0xa
mov ecx, esp
lea edx, [ebp - 0x41c]
push edx
push eax
push ecx
call fcn.00403a80
mov ecx, dword [ebp - 0x47c]
add esp, 0xc
call fcn.00442ed0
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 9
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 7
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x4427c7
push ecx
lea eax, [ebp - 0x41c]
mov ecx, esp
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov ecx, dword [ebp - 0x47c]
call fcn.00442ed0
lea ecx, [ebp - 0x41c]
mov byte [ebp - 4], 4
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [ebp - 0x450]
push eax
call sub.ADVAPI32.dll_LsaFreeMemory
push dword [ebp - 0x458]
call sub.ADVAPI32.dll_LsaFreeMemory
push dword [ebp - 0x454]
call sub.ADVAPI32.dll_LsaClose
push dword [ebp - 0x420]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x454], 0
mov esi, dword [ebp - 0x478]
jne 0x4424c0
cmp edi, 0xc0020017
mov edi, 0x53
je 0x4424c5
push dword [ebp - 0x45c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0x472]
mov esi, dword [ebp - 0x47c]
test al, al
jne 0x4428af
jmp 0x442880
mov eax, dword [esi]
push 0
push 0x5dc
push 0x87
push dword [eax + 0x18]
call fcn.00440c30
add esp, 0x10
cmp eax, 0xffffffff
je 0x442e97
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
lea eax, [ebp - 0x424]
mov ecx, esi
push eax
call fcn.0042dfd0
mov ecx, 1
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x44c], ecx
mov dword [ebp - 0x478], ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QString::isEmpty_void_const]
test al, al
je 0x4428b8
mov byte [ebp - 0x472], 1
jmp 0x4428bf
mov byte [ebp - 0x472], 0
mov eax, dword [ebp - 0x44c]
mov dword [ebp - 4], 3
test al, 1
je 0x4428e5
and eax, 0xfffffffe
lea ecx, [ebp - 0x424]
mov dword [ebp - 0x44c], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp byte [ebp - 0x472], 0
je 0x442b4e
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea eax, [ebp - 0x458]
mov dword [ebp - 0x458], 0
push eax
push 0x532ed8
push 5
push 0
push 0x533184
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp dword [ebp - 0x458], 0
je 0x442b48
push 0xffffffffffffffff
lea eax, [ebp - 0x218]
mov dword [ebp - 0x454], 0
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.0043c570
push str._rootcimv2
push eax
lea eax, [ebp - 0x41c]
mov byte [ebp - 4], 0xd
push eax
call fcn.0040f700
add esp, 0x18
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 0xf
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x41c]
call dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QString::length_void_const]
push eax
lea ecx, [ebp - 0x41c]
call dword [sym.imp.Qt5Core.dll_public:_class_QChar_const____thiscall_QString::unicode_void_const]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov ecx, dword [ebp - 0x458]
lea edi, [ebp - 0x454]
push edi
push 0
push 0
mov edx, dword [ecx]
push 0x80
push 0
push 0
push 0
push eax
push ecx
mov dword [ebp - 0x480], eax
call dword [edx + 0xc]
mov eax, dword [ebp - 0x454]
test eax, eax
je 0x442b20
mov edi, dword [sym.imp.ole32.dll_CoSetProxyBlanket]
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call edi
mov eax, dword [ebp - 0x454]
lea edx, [ebp - 0x45c]
push edx
push 0
push 0x30
push str.SELECT__FROM_Win32_ComputerSystem
mov dword [ebp - 0x45c], 0
mov ecx, dword [eax]
push 0x507c98
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x45c]
test eax, eax
je 0x442b14
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call edi
mov eax, dword [ebp - 0x45c]
lea edx, [ebp - 0x42c]
push edx
lea edx, [ebp - 0x420]
mov dword [ebp - 0x420], 0
push edx
push 1
mov dword [ebp - 0x42c], 0
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
mov ecx, dword [ebp - 0x420]
test ecx, ecx
je 0x442b08
push 0
push 0
xor eax, eax
lea edx, [ebp - 0x470]
push edx
xorps xmm0, xmm0
mov word [ebp - 0x470], ax
push 0
movq qword [ebp - 0x46e], xmm0
mov dword [ebp - 0x466], eax
mov word [ebp - 0x462], ax
mov eax, dword [ecx]
push str.UserName
push ecx
call dword [eax + 0x10]
mov eax, dword [ebp - 0x468]
test eax, eax
je 0x442afc
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x484]
push eax
call fcn.0043c570
add esp, 8
mov byte [ebp - 4], 0x10
mov ecx, esp
push 0x505a70
push eax
push ecx
call fcn.0040f700
add esp, 0xc
mov ecx, esi
call fcn.00442ed0
lea ecx, [ebp - 0x484]
mov byte [ebp - 4], 0xf
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [ebp - 0x470]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x420]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x45c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x454]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [ebp - 0x480]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x458]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [ebp - 0x41c]
mov byte [ebp - 4], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp byte [ebp - 0x471], 0
je 0x442b91
lea eax, [ebp - 0x424]
mov ecx, esi
push eax
call fcn.0042dfd0
mov ecx, dword [ebp - 0x44c]
or ecx, 2
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x44c], ecx
mov dword [ebp - 0x478], ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QString::isEmpty_void_const]
mov byte [ebp - 0x471], 1
test al, al
jne 0x442b98
mov byte [ebp - 0x471], 0
mov ecx, dword [ebp - 0x44c]
mov dword [ebp - 4], 3
test cl, 2
je 0x442bb6
lea ecx, [ebp - 0x424]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp byte [ebp - 0x471], 0
je 0x442e97
lea eax, [ebp - 0x424]
mov dword [ebp - 0x44c], 0
push eax
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x420], 0
push eax
lea eax, [ebp - 0x420]
mov dword [ebp - 0x42c], 0
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x44c]
mov dword [ebp - 0x424], 0
push eax
push 1
lea eax, [ebp - 0x218]
push eax
call sub.NETAPI32.dll_NetWkstaUserEnum
test eax, eax
je 0x442c26
cmp eax, 0xea
jne 0x442e87
mov eax, dword [ebp - 0x44c]
test eax, eax
je 0x442e97
mov ecx, dword [ebp - 0x420]
test ecx, ecx
je 0x442e8d
mov edi, dword [sym.imp.Qt5Core.dll_struct_QMapDataBase_const_QMapDataBase::shared_null]
mov dword [ebp - 0x41c], edi
mov edi, dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QString::endsWith_class_QString_const___enum_Qt::CaseSensitivity_const]
xor esi, esi
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x460], 0
push 0xffffffffffffffff
push dword [esi + eax]
lea eax, [ebp - 0x450]
push eax
call fcn.0043c570
add esp, 0xc
push 0x507eec
lea ecx, [ebp - 0x478]
mov byte [ebp - 4], 0x13
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
push 1
lea eax, [ebp - 0x478]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x450]
call edi
test al, al
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x478]
sete byte [ebp - 0x471]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp byte [ebp - 0x471], 0
je 0x442d71
mov eax, dword [ebp - 0x44c]
mov eax, dword [esi + eax + 4]
test eax, eax
je 0x442d59
cmp word [eax], 0
je 0x442d59
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x488]
push eax
call fcn.0043c570
push 0x50688c
push eax
lea eax, [ebp - 0x480]
mov byte [ebp - 4], 0x15
push eax
call fcn.0040f700
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 0x16
push ecx
push eax
lea eax, [ebp - 0x484]
push eax
call fcn.00403a80
add esp, 0x24
lea ecx, [ebp - 0x450]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
lea ecx, [ebp - 0x484]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x480]
mov byte [ebp - 4], 0x15
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x488]
mov byte [ebp - 4], 0x13
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x41c]
call fcn.00403a30
mov dword [eax], 1
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 0x12
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [ebp - 0x460]
add esi, 0x10
inc eax
mov dword [ebp - 0x460], eax
cmp eax, dword [ebp - 0x420]
jae 0x442da4
mov eax, dword [ebp - 0x44c]
jmp 0x442c64
mov edi, dword [ebp - 0x41c]
lea ecx, [ebp - 0x428]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
cmp dword [edi + 0xc], 0
mov byte [ebp - 4], 0x17
je 0x442dc5
mov esi, dword [edi + 0x14]
jmp 0x442dc8
lea esi, [edi + 8]
add edi, 8
cmp esi, edi
je 0x442e0f
nop
lea ecx, [ebp - 0x428]
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QString::isEmpty_void_const]
test al, al
jne 0x442df1
push 0x50557c
lea ecx, [ebp - 0x428]
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_char_const__]
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x428]
call dword [0x502e64]
mov ecx, esi
call dword [sym.imp.Qt5Core.dll_public:_struct_QMapNodeBase_const____thiscall_QMapNodeBase::nextNode_void_const]
mov esi, eax
cmp esi, edi
jne 0x442dd0
push 0x505a70
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x478]
push eax
call fcn.0040f700
add esp, 0xc
mov esi, dword [ebp - 0x47c]
mov byte [ebp - 4], 0x18
mov eax, dword [esi]
test eax, eax
je 0x442e46
cmp dword [eax], 1
je 0x442e46
mov ecx, esi
call fcn.0041ba10
mov ecx, dword [esi]
lea eax, [ebp - 0x478]
push eax
add ecx, 0x54
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
lea ecx, [ebp - 0x478]
mov byte [ebp - 4], 0x17
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x12
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x41c]
mov byte [ebp - 4], 3
call fcn.004039b0
mov eax, dword [ebp - 0x44c]
test eax, eax
je 0x442e97
push eax
call sub.NETAPI32.dll_NetApiBufferFree
lea ecx, [ebp - 0x430]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004df262
mov esp, ebp
pop ebp
ret