Function at 0x403380
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea eax, [ebp - 0x54]
sub esp, 0x9c
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x50], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp + 4], str.SYSTEMCurrentControlSetServicesAdvCanDev
mov dword [esp], 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x50]
sub esp, 0x14
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x54]
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [ebp - 0x50]
sub esp, 0x30
test eax, eax
je 0x4035c0
xor edi, edi
lea ebx, [ebp - 0x2c]
jmp 0x403464
cmp edx, 0xffffffff
je 0x40344f
lock sub dword [eax], 1
je 0x4035e1
mov ecx, dword [ebp - 0x5c]
call dword [method.QVariant.QVariant__]
add edi, 1
cmp dword [ebp - 0x50], edi
jbe 0x4035c0
lea eax, [ebp - 0x4c]
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x4c], 0x14
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
sub esp, 0x20
mov dword [esp + 4], 0x43f30c
mov dword [esp], ebx
call sub.msvcrt.dll_strstr
test eax, eax
je 0x403458
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], 0
mov edx, ebx
and eax, 0xc0000000
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x35], pe_nt_image_headers32
mov ecx, dword [edx]
add edx, 4
lea eax, [ecx - 0x1010101]
not ecx
and eax, ecx
and eax, 0x80808080
je 0x4034fb
mov ecx, eax
mov dword [esp], ebx
shr ecx, 0x10
test eax, 0x8080
cmove eax, ecx
lea ecx, [edx + 2]
cmove edx, ecx
mov ecx, eax
add cl, al
sbb edx, 3
sub edx, ebx
mov dword [esp + 4], edx
call dword [method.QString.fromAscii_helper_char_const__int_]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x64], eax
mov ecx, eax
call dword [method.QComboBox.count___const]
lea esi, [ebp - 0x44]
mov dword [ebp - 0x60], eax
mov ecx, esi
call dword [0x451570]
lea eax, [ebp - 0x40]
mov dword [esp + 4], esi
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x5c], eax
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x68], eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call dword [method.QComboBox.insertItem_int__QIcon_const__QString_const__QVariant_const_]
sub esp, 0x10
mov ecx, esi
call dword [method.QIcon.QIcon__]
mov eax, dword [ebp - 0x48]
mov edx, dword [eax]
test edx, edx
jne 0x403440
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x40344f
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x48]
jmp 0x40359e