Function at 0x4841c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov edi, eax
sub esp, 0x7c
mov dword [eax], 0x8b6e98
lea eax, [ebp - 0x38]
mov dword [ebp - 0x50], edx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], eax
lea eax, [ebp - 0x3c]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x30]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x34]
mov dword [esp], edx
mov dword [esp + 0x10], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
sub esp, 0x30
test eax, eax
jne 0x4844e2
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x3c]
lea ecx, [ebp - 0x2c]
mov dword [esp + 4], 0
add dword [ebp - 0x30], 1
lea edx, [eax + 1]
lea eax, [eax + eax + 4]
mov dword [ebp - 0x4c], ebx
mov dword [esp], eax
mov dword [ebp - 0x38], edx
call fcn.004aa270
sub esp, 8
test ebx, ebx
jle 0x484436
xor ebx, ebx
jmp 0x48431c
movsx edx, byte [eax + 0xb]
lea ecx, [ebp - 0x2c]
lea esi, [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 - 0x2c]
sub esp, 8
mov ecx, dword [edx + 0xc]
lea eax, [ebp - 0x24]
add edx, ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
lea esi, [ebp - 0x28]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x50]
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_RegEnumValueW]
sub esp, 0x20
test eax, eax
je 0x484350
mov dword [esp + 4], str.QSettings:_RegEnumValue_failed
mov dword [esp], eax
lea esi, [ebp - 0x28]
call fcn.00720564
lea ecx, [ebp - 0x28]
call fcn.005b1050
lea esi, [esi]
add ebx, 1
cmp dword [ebp - 0x4c], ebx
je 0x484436
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], 0x880f80
mov edx, dword [eax + 4]
shr edx, 1
mov dword [ebp - 0x24], edx
mov edx, dword [eax]
cmp edx, 1
ja 0x484280
mov ecx, dword [eax + 0xc]
mov edx, eax
cmp ecx, 0x10
jne 0x484280
jmp 0x4842a8
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
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 - 0x28]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], edx
mov edx, dword [eax]
test edx, edx
je 0x484460
cmp edx, 0xffffffff
je 0x484391
lock sub dword [eax], 1
je 0x484460
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
test eax, eax
jne 0x4843b7
lea esi, [ebp - 0x28]
mov dword [esp], 1
mov dword [esp + 4], 0x745789
mov ecx, esi
call fcn.005b10d0
sub esp, 8
mov eax, dword [edi]
mov eax, dword [eax]
cmp eax, 1
jbe 0x484480
mov dword [esp + 4], 1
mov dword [esp], 0x7fffffff
mov ecx, edi
lea esi, [ebp - 0x28]
call fcn.00596bc0
mov edx, dword [ebp - 0x28]
sub esp, 8
mov dword [eax], edx
mov eax, dword [edx]
add eax, 1
cmp eax, 1
ja 0x4844a1
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
test edx, edx
je 0x484412
cmp edx, 0xffffffff
je 0x484310
lock sub dword [eax], 1
mov eax, dword [ebp - 0x28]
jne 0x484310
mov dword [esp + 8], 4
mov dword [esp + 4], 2
add ebx, 1
mov dword [esp], eax
call fcn.004a4c50
cmp dword [ebp - 0x4c], ebx
jne 0x48431c
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
test edx, edx
je 0x4844c0
cmp edx, 0xffffffff
je 0x484451
lock sub dword [eax], 1
mov eax, dword [ebp - 0x2c]
je 0x4844c0
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.004a4c50
jmp 0x484391
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], edx
mov eax, dword [edx]
add eax, 1
cmp eax, 1
ja 0x4844b0
mov ecx, edi
call fcn.005dcbf0
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
jmp 0x4843f3
lock add dword [edx], 1
jmp 0x4843f3
lock add dword [edx], 1
jmp 0x484490
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 0x484451