Function at 0x537a00
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x3c
push ebx
mov ebx, 0x6c30d4
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.00537910
push 1
push 0xffffffffffffffff
push ecx
mov eax, esp
mov edx, 0x5c
mov ecx, esi
mov word [eax], dx
call fcn.004bf590
cmp eax, 0xffffffff
jne 0x537a55
mov dword [esp + 0x14], ebx
mov eax, ebx
mov ecx, 1
lock xadd dword [eax], ecx
jmp 0x537a63
inc eax
push eax
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.004bf5e0
lea eax, [esp + 0x20]
push eax
push 0x20019
push 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], 0
call fcn.004bfc60
mov ecx, dword [esp + 0x5c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x537aa4
mov esi, dword [esp + 0x4c]
mov dword [esi], ebx
mov edx, 1
lock xadd dword [ebx], edx
jmp 0x537db0
lea eax, [esp + 0x28]
push eax
push 0
lea ecx, [esp + 0x3c]
push ecx
push 0
lea ecx, [esp + 0x28]
call fcn.004bfc60
mov edx, dword [esp + 0x30]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
push edx
call esi
test eax, eax
je 0x537b42
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 0x537b01
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004bdf50
add esp, 4
mov edx, dword [esp + 0x18]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x537b1b
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004bdf50
add esp, 4
mov edx, dword [esp + 0x10]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x537dfe
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004bdf50
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.004bb8a0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov eax, dword [esp + 0xc]
cmp ecx, 1
jne 0x537b69
lea edx, [eax + 0x10]
cmp dword [eax + 0xc], edx
je 0x537b7a
mov eax, dword [eax + 8]
push eax
lea ecx, [esp + 0x10]
call fcn.004bb970
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.004bfc60
mov edx, dword [esp + 0x30]
push eax
push edx
call esi
test eax, eax
je 0x537bd9
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 0x537ae7
mov ecx, dword [esp + 0xc]
push ecx
call fcn.004c45d0
add esp, 4
jmp 0x537ae7
mov eax, dword [esp + 0x34]
cmp eax, 7
ja case.0x537be6.6
jmp dword [eax*4 + 0x537e08]
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0xc]
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x40]
push eax
call fcn.004c0e60
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
call fcn.004bb760
lea ecx, [esp + 0x38]
call fcn.004010b0
jmp 0x537d78
mov dword [esp + 0x24], 0x6c3094
mov ecx, 0x6c3094
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.004c0e60
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 8]
add esp, 0xc
lea esi, [eax + 1]
test eax, eax
je 0x537ca8
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x28]
call fcn.00401d91
mov edx, dword [esp + 0x1c]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x537c7f
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004bdf50
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.004c0e60
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 8]
add esp, 0xc
lea esi, [esi + eax + 1]
test eax, eax
jne 0x537c57
lea ecx, [esp + 0x1c]
call fcn.004010b0
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x40], 0x695ec8
call fcn.004becf0
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.00519cf0
add esp, 0xc
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x14]
call fcn.004bb760
lea ecx, [esp + 0x2c]
call fcn.004010b0
lea ecx, [esp + 0x30]
call fcn.004010b0
lea ecx, [esp + 0x24]
call fcn.00401113
jmp 0x537d78
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.004c0e60
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
call fcn.004bb760
lea ecx, [esp + 0x40]
call fcn.004010b0
jmp 0x537d78
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.004c2550
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
call fcn.004bb760
lea ecx, [esp + 0x44]
call fcn.004010b0
jmp 0x537d78
push eax
push str.QSettings:_unknown_data__u_type_in_windows_registry
call fcn.004b7590
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 0x537db0
mov edx, dword [esp + 0xc]
push edx
call fcn.004c45d0
add esp, 4
mov eax, dword [esp + 0x14]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x537dca
mov edx, dword [esp + 0x14]
push edx
call fcn.004bdf50
add esp, 4
mov eax, dword [esp + 0x18]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x537de4
mov edx, dword [esp + 0x18]
push edx
call fcn.004bdf50
add esp, 4
mov eax, dword [esp + 0x10]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x537dfe
mov edx, dword [esp + 0x10]
push edx
call fcn.004bdf50
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x3c
ret