Function at 0x483ef0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov edi, eax
sub esp, 0x6c
mov dword [eax], 0x8b6e98
lea eax, [ebp - 0x34]
mov dword [ebp - 0x40], edx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], eax
lea eax, [ebp - 0x38]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x2c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x30]
mov dword [esp], edx
mov dword [esp + 0x10], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
sub esp, 0x30
test eax, eax
jne 0x484187
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
mov dword [esp + 4], 0
add dword [ebp - 0x34], 1
lea edx, [eax + 1]
lea eax, [eax + eax + 4]
mov dword [ebp - 0x3c], esi
mov dword [esp], eax
mov dword [ebp - 0x2c], edx
call fcn.004aa270
sub esp, 8
test esi, esi
jle 0x484124
xor ebx, ebx
lea esi, [ebp - 0x24]
jmp 0x48403c
movsx edx, byte [eax + 0xb]
lea ecx, [ebp - 0x28]
shr edx, 0x1f
mov dword [esp + 4], edx
mov eax, dword [eax + 4]
add eax, 1
mov dword [esp], eax
call fcn.004a5590
mov edx, dword [ebp - 0x28]
sub esp, 8
mov ecx, dword [edx + 0xc]
lea eax, [ebp - 0x20]
add edx, ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 0x10], 0
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
sub esp, 0x20
test eax, eax
je 0x484070
mov dword [esp + 4], str.QSettings:_RegEnumValue_failed
mov dword [esp], eax
call fcn.00720564
mov ecx, esi
call fcn.005b1050
add ebx, 1
cmp dword [ebp - 0x3c], ebx
je 0x484124
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], 0x880f80
mov edx, dword [eax + 4]
shr edx, 1
mov dword [ebp - 0x20], edx
mov edx, dword [eax]
cmp edx, 1
ja 0x483fb0
mov ecx, dword [eax + 0xc]
mov edx, eax
cmp ecx, 0x10
jne 0x483fb0
jmp 0x483fd5
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
mov dword [esp + 8], ecx
add eax, dword [eax + 0xc]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.005b01a0
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], edx
mov edx, dword [eax]
test edx, edx
je 0x484145
cmp edx, 0xffffffff
je 0x4840b1
lock sub dword [eax], 1
je 0x484145
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
test eax, eax
jne 0x4840d4
mov dword [esp], 1
mov dword [esp + 4], 0x745789
mov ecx, esi
call fcn.005b10d0
sub esp, 8
mov dword [esp], esi
mov ecx, edi
call fcn.00596d00
mov eax, dword [ebp - 0x24]
sub esp, 4
mov edx, dword [eax]
test edx, edx
je 0x484100
cmp edx, 0xffffffff
je 0x484030
lock sub dword [eax], 1
mov eax, dword [ebp - 0x24]
jne 0x484030
mov dword [esp + 8], 4
mov dword [esp + 4], 2
add ebx, 1
mov dword [esp], eax
call fcn.004a4c50
cmp dword [ebp - 0x3c], ebx
jne 0x48403c
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
test edx, edx
je 0x484165
cmp edx, 0xffffffff
je 0x48413b
lock sub dword [eax], 1
mov eax, dword [ebp - 0x28]
je 0x484165
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.004a4c50
jmp 0x4840b1
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 1
call fcn.004a4c50
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], str.QSettings:_RegQueryInfoKey___failed
mov dword [esp], eax
call fcn.00720564
jmp 0x48413b