Function at 0x578b80
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x3c
push ebx
mov ebx, 0x70f0d4
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.00578a90
push 1
push 0xffffffffffffffff
push ecx
mov eax, esp
mov edx, 0x5c
mov ecx, esi
mov word [eax], dx
call fcn.005007f0
cmp eax, 0xffffffff
jne 0x578bd5
mov dword [esp + 0x14], ebx
mov eax, ebx
mov ecx, 1
lock xadd dword [eax], ecx
jmp 0x578be3
inc eax
push eax
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.00500840
lea eax, [esp + 0x20]
push eax
push 0x20019
push 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], 0
call fcn.00500ec0
mov ecx, dword [esp + 0x5c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x578c24
mov esi, dword [esp + 0x4c]
mov dword [esi], ebx
mov edx, 1
lock xadd dword [ebx], edx
jmp 0x578f30
lea eax, [esp + 0x28]
push eax
push 0
lea ecx, [esp + 0x3c]
push ecx
push 0
lea ecx, [esp + 0x28]
call fcn.00500ec0
mov edx, dword [esp + 0x30]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
push edx
call esi
test eax, eax
je 0x578cc2
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 0x578c81
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004ff160
add esp, 4
mov edx, dword [esp + 0x18]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x578c9b
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004ff160
add esp, 4
mov edx, dword [esp + 0x10]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x578f7e
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004ff160
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.004fcab0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov eax, dword [esp + 0xc]
cmp ecx, 1
jne 0x578ce9
lea edx, [eax + 0x10]
cmp dword [eax + 0xc], edx
je 0x578cfa
mov eax, dword [eax + 8]
push eax
lea ecx, [esp + 0x10]
call fcn.004fcb80
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.00500ec0
mov edx, dword [esp + 0x30]
push eax
push edx
call esi
test eax, eax
je 0x578d59
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 0x578c67
mov ecx, dword [esp + 0xc]
push ecx
call fcn.005057e0
add esp, 4
jmp 0x578c67
mov eax, dword [esp + 0x34]
cmp eax, 7
ja case.0x578d66.6
jmp dword [eax*4 + 0x578f88]
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0xc]
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00502070
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
call fcn.004fc970
lea ecx, [esp + 0x38]
call fcn.00401110
jmp 0x578ef8
mov dword [esp + 0x24], 0x70f094
mov ecx, 0x70f094
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.00502070
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 8]
add esp, 0xc
lea esi, [eax + 1]
test eax, eax
je 0x578e28
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x28]
call fcn.004022e0
mov edx, dword [esp + 0x1c]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x578dff
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004ff160
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.00502070
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 8]
add esp, 0xc
lea esi, [esi + eax + 1]
test eax, eax
jne 0x578dd7
lea ecx, [esp + 0x1c]
call fcn.00401110
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x40], 0x6dc53c
call fcn.004fff00
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.0055b0c0
add esp, 0xc
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x14]
call fcn.004fc970
lea ecx, [esp + 0x2c]
call fcn.00401110
lea ecx, [esp + 0x30]
call fcn.00401110
lea ecx, [esp + 0x24]
call fcn.00401200
jmp 0x578ef8
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.00502070
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
call fcn.004fc970
lea ecx, [esp + 0x40]
call fcn.00401110
jmp 0x578ef8
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.00503760
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
call fcn.004fc970
lea ecx, [esp + 0x44]
call fcn.00401110
jmp 0x578ef8
push eax
push str.QSettings:_unknown_data__u_type_in_windows_registry
call fcn.004f8770
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 0x578f30
mov edx, dword [esp + 0xc]
push edx
call fcn.005057e0
add esp, 4
mov eax, dword [esp + 0x14]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x578f4a
mov edx, dword [esp + 0x14]
push edx
call fcn.004ff160
add esp, 4
mov eax, dword [esp + 0x18]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x578f64
mov edx, dword [esp + 0x18]
push edx
call fcn.004ff160
add esp, 4
mov eax, dword [esp + 0x10]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x578f7e
mov edx, dword [esp + 0x10]
push edx
call fcn.004ff160
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x3c
ret