Function at 0x4f94b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x3c
push ebx
mov ebx, 0x6510b4
push esi
push edi
mov dword [esp + 0x10], ebx
mov eax, ebx
mov ecx, 1
lock xadd dword [eax], ecx
mov esi, dword [esp + 0x54]
mov eax, esi
lea edi, [esp + 0x18]
call fcn.004f93c0
push 1
push 0xffffffffffffffff
push ecx
mov eax, esp
mov edx, 0x5c
mov ecx, esi
mov word [eax], dx
call fcn.004811d0
cmp eax, 0xffffffff
jne 0x4f9505
mov dword [esp + 0x14], ebx
mov eax, ebx
mov ecx, 1
lock xadd dword [eax], ecx
jmp 0x4f9513
inc eax
push eax
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.00481220
lea eax, [esp + 0x20]
push eax
push 0x20019
push 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], 0
call fcn.004818a0
mov ecx, dword [esp + 0x5c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4f9554
mov esi, dword [esp + 0x4c]
mov dword [esi], ebx
mov edx, 1
lock xadd dword [ebx], edx
jmp 0x4f9860
lea eax, [esp + 0x28]
push eax
push 0
lea ecx, [esp + 0x3c]
push ecx
push 0
lea ecx, [esp + 0x28]
call fcn.004818a0
mov edx, dword [esp + 0x30]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
push edx
call esi
test eax, eax
je 0x4f95f2
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x4c]
mov dword [esi], ebx
mov ecx, 1
lock xadd dword [ebx], ecx
mov edx, dword [esp + 0x14]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4f95b1
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0047fb60
add esp, 4
mov edx, dword [esp + 0x18]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4f95cb
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0047fb60
add esp, 4
mov edx, dword [esp + 0x10]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4f98ae
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0047fb60
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x3c
ret
mov edx, dword [esp + 0x28]
push 0
push edx
lea ecx, [esp + 0x14]
call fcn.0047d4b0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov eax, dword [esp + 0xc]
cmp ecx, 1
jne 0x4f9619
lea edx, [eax + 0x10]
cmp dword [eax + 0xc], edx
je 0x4f962a
mov eax, dword [eax + 8]
push eax
lea ecx, [esp + 0x10]
call fcn.0047d580
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0x28]
push ecx
push eax
push 0
push 0
lea ecx, [esp + 0x28]
call fcn.004818a0
mov edx, dword [esp + 0x30]
push eax
push edx
call esi
test eax, eax
je 0x4f9689
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x4c]
mov dword [esi], ebx
mov ecx, 1
lock xadd dword [ebx], ecx
mov edx, dword [esp + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4f9597
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00486210
add esp, 4
jmp 0x4f9597
mov eax, dword [esp + 0x34]
cmp eax, 7
ja case.0x4f9696.6
jmp dword [eax*4 + 0x4f98b8]
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0xc]
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00482aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
call fcn.0047fb70
lea ecx, [esp + 0x38]
call fcn.00497990
jmp 0x4f9828
mov dword [esp + 0x24], 0x651074
mov ecx, 0x651074
mov edx, 1
lock xadd dword [ecx], edx
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0xc]
push 0xffffffffffffffff
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00482aa0
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 8]
add esp, 0xc
lea esi, [eax + 1]
test eax, eax
je 0x4f9758
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x28]
call fcn.00402b80
mov edx, dword [esp + 0x1c]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4f972f
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0047fb60
add esp, 4
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0xc]
push 0xffffffffffffffff
lea ecx, [eax + esi*2]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00482aa0
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 8]
add esp, 0xc
lea esi, [esi + eax + 1]
test eax, eax
jne 0x4f9707
lea ecx, [esp + 0x1c]
call fcn.00497990
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x40], 0x5aaaf8
call fcn.00480940
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.004db8c0
add esp, 0xc
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x14]
call fcn.0047fb70
lea ecx, [esp + 0x2c]
call fcn.00497990
lea ecx, [esp + 0x30]
call fcn.00497990
lea ecx, [esp + 0x24]
call fcn.00401340
jmp 0x4f9828
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
cdq
sub eax, edx
sar eax, 1
push eax
push ecx
lea eax, [esp + 0x48]
push eax
call fcn.00482aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
call fcn.0047fb70
lea ecx, [esp + 0x40]
call fcn.00497990
jmp 0x4f9828
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
push 0xa
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00484190
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
call fcn.0047fb70
lea ecx, [esp + 0x44]
call fcn.00497990
jmp 0x4f9828
push eax
push str.QSettings:_unknown_data__u_type_in_windows_registry
call fcn.00479080
add esp, 8
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x4c]
mov dword [esi], eax
mov edx, 1
lock xadd dword [eax], edx
mov eax, dword [esp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4f9860
mov edx, dword [esp + 0xc]
push edx
call fcn.00486210
add esp, 4
mov eax, dword [esp + 0x14]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4f987a
mov edx, dword [esp + 0x14]
push edx
call fcn.0047fb60
add esp, 4
mov eax, dword [esp + 0x18]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4f9894
mov edx, dword [esp + 0x18]
push edx
call fcn.0047fb60
add esp, 4
mov eax, dword [esp + 0x10]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4f98ae
mov edx, dword [esp + 0x10]
push edx
call fcn.0047fb60
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x3c
ret