Function at 0x4fb5c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5864e6
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push esi
push edi
mov eax, dword [0x732480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
xor esi, esi
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], esi
mov edi, dword [ebp + 0xc]
push edi
push eax
call fcn.004faf40
add esp, 8
push 1
push 0xffffffffffffffff
push ecx
mov eax, esp
mov dword [ebp - 4], esi
mov ecx, 0x5c
mov word [eax], cx
mov ecx, edi
call fcn.0042b070
or esi, 1
cmp eax, 0xffffffff
jne 0x4fb629
mov dword [ebp - 0x18], 0x71f078
jmp 0x4fb636
inc eax
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042b110
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
mov dword [ebp - 0x2c], 0
mov eax, dword [eax + 0x5c]
or eax, 0x20019
push eax
push 0
call fcn.0042f930
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
or esi, 0xffffffff
test eax, eax
jne 0x4fb69d
mov edi, dword [ebp - 0x2c]
test edi, edi
je 0x4fb69d
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x30]
push eax
push 0
lea ecx, [ebp - 0x1c]
call fcn.0042f930
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4fb711
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp + 0x13], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
test eax, eax
je 0x4fb6c0
cmp eax, 0xffffffff
je 0x4fb6cf
mov eax, dword [ebp - 0x18]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4fb6cf
push 4
push 2
push dword [ebp - 0x18]
call fcn.00425140
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x4fb6ec
cmp eax, 0xffffffff
je 0x4fb6fb
mov ecx, dword [ebp - 0x1c]
lock xadd dword [ecx], esi
dec esi
setne cl
test cl, cl
jne 0x4fb6fb
push 4
push 2
push dword [ebp - 0x1c]
call fcn.00425140
add esp, 0xc
mov al, byte [ebp + 0x13]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 0x30]
cmp eax, 1
je 0x4fb72b
cmp eax, 2
je 0x4fb72b
cmp eax, 7
mov eax, dword [ebp - 0x10]
jne 0x4fb734
add eax, 4
jmp 0x4fb731
mov eax, dword [ebp - 0x10]
add eax, 2
mov dword [ebp - 0x10], eax
push 0
push eax
lea ecx, [ebp + 0xc]
call fcn.0043a1e0
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 2
mov ecx, dword [eax]
mov eax, dword [ebp + 0xc]
cmp ecx, 1
je 0x4fb754
test ecx, ecx
jne 0x4fb75a
cmp dword [eax + 0xc], 0x10
je 0x4fb771
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
inc ecx
shr eax, 0x1f
push eax
push ecx
lea ecx, [ebp + 0xc]
call fcn.0043b610
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
lea ecx, [ebp - 0x1c]
add esi, eax
call fcn.0042f930
lea ecx, [ebp - 0x10]
push ecx
push esi
push 0
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4fb7a3
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp + 0x13], 0
jmp 0x4fbaea
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xb
ja case.0x4fb7b6.6
movzx eax, byte [ecx + 0x4fbb40]
jmp dword [eax*4 + 0x4fbb28]
mov dword [ebp + 8], 0x71f078
cmp dword [ebp - 0x10], 0
mov byte [ebp - 4], 3
je 0x4fb7f7
mov eax, dword [ebp + 0xc]
push 0xffffffffffffffff
mov ecx, dword [eax + 0xc]
add ecx, eax
lea eax, [ebp - 0x28]
push ecx
push eax
call fcn.00435080
mov edx, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp + 8], ecx
lea ecx, [ebp - 0x28]
add esp, 0xc
mov dword [eax], edx
call fcn.00406190
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4fb834
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004ce2c0
mov ecx, dword [esi]
add esp, 8
mov edx, dword [esi + 4]
mov dword [ebp - 0x4c], ecx
movups xmm0, xmmword [eax]
mov ecx, dword [esi + 8]
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x5c]
movups xmmword [esi], xmm0
mov dword [ebp - 0x48], edx
movups xmm0, xmmword [ebp - 0x4c]
movups xmmword [eax], xmm0
call fcn.004a4350
lea ecx, [ebp + 8]
call fcn.00406190
jmp 0x4fbadd
mov dword [ebp - 0x28], 0x71f0d0
cmp dword [ebp - 0x10], 0
mov esi, edi
mov byte [ebp - 4], 4
je 0x4fb978
xor edx, edx
mov dword [ebp - 0x34], edi
mov edi, dword [ebp - 0x38]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
push 0xffffffffffffffff
mov ecx, dword [eax + 0xc]
lea ecx, [ecx + edx*2]
add ecx, eax
lea eax, [ebp - 0x24]
push ecx
push eax
call fcn.0042aa50
add esp, 0xc
mov ecx, dword [eax]
mov dword [eax], 0x71f078
mov eax, dword [ebp - 0x14]
or eax, 0xa
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], eax
test al, 4
je 0x4fb8c5
and eax, 0xfffffffb
mov dword [ebp - 0x14], eax
mov eax, dword [edi]
test eax, eax
je 0x4fb8b5
cmp eax, 0xffffffff
je 0x4fb8c2
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
setne al
test al, al
jne 0x4fb8c2
push 4
push 2
push edi
call fcn.00425140
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 4
test al, 2
je 0x4fb905
and eax, 0xfffffffd
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
test eax, eax
je 0x4fb8f6
cmp eax, 0xffffffff
je 0x4fb905
mov eax, dword [ebp - 0x24]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4fb905
push 4
push 2
push dword [ebp - 0x24]
call fcn.00425140
add esp, 0xc
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
inc ecx
mov byte [ebp - 4], 6
mov eax, dword [esi + 4]
add ecx, eax
mov dword [ebp + 8], ecx
test eax, eax
je 0x4fb969
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402cb0
mov ecx, dword [esi]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x4fb954
mov edx, dword [ebp + 8]
cmp ecx, 0xffffffff
je 0x4fb863
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne cl
test cl, cl
jne 0x4fb863
push 4
push 2
push eax
call fcn.00425140
mov edx, dword [ebp + 8]
add esp, 0xc
jmp 0x4fb863
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.00406190
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x4fb9b5
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004ce080
mov ecx, dword [edi]
add esp, 8
mov edx, dword [edi + 4]
mov dword [ebp - 0x4c], ecx
movups xmm0, xmmword [eax]
mov ecx, dword [edi + 8]
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x5c]
movups xmmword [edi], xmm0
mov dword [ebp - 0x48], edx
movups xmm0, xmmword [ebp - 0x4c]
movups xmmword [eax], xmm0
call fcn.004a4350
lea ecx, [ebp - 0x28]
call fcn.004021c0
jmp 0x4fbadf
mov dword [ebp + 8], 0x71f078
cmp dword [ebp - 0x10], 0
mov byte [ebp - 4], 7
je 0x4fb7f7
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 4]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ecx + 0xc]
add eax, ecx
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00435080
mov edx, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp + 8], ecx
lea ecx, [ebp - 0x34]
jmp 0x4fb7ed
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4fbadd
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
push dword [ecx + eax]
lea ecx, [ebp - 0x5c]
call fcn.004a4080
movups xmm0, xmmword [ebp - 0x5c]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x44], eax
movups xmmword [esi], xmm0
movups xmm0, xmmword [ebp - 0x4c]
movups xmmword [ebp - 0x5c], xmm0
jmp 0x4fbad8
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4fbadd
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
push dword [ecx + eax + 4]
push dword [ecx + eax]
lea ecx, [ebp - 0x4c]
call fcn.004a4140
mov eax, dword [esi]
movups xmm0, xmmword [ebp - 0x4c]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 8]
movups xmmword [esi], xmm0
jmp 0x4fbac7
movaps xmm0, xmmword [0x58bee0]
lea eax, [ebp - 0x60]
push ecx
push str.QSettings:_Unknown_data__d_type_in_Windows_registry
push eax
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0x58bebc
call fcn.00457020
mov edx, dword [ebp + 0x10]
add esp, 0xc
mov esi, edi
test edx, edx
je 0x4fbadf
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x44], 0x80000000
mov dword [ebp - 0x4c], 0
movups xmm0, xmmword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
mov eax, dword [edx + 8]
movups xmmword [edx], xmm0
mov dword [ebp - 0x58], ecx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x54], eax
movups xmm0, xmmword [ebp - 0x5c]
movups xmmword [ebp - 0x4c], xmm0
call fcn.004a4350
mov esi, edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp + 0x13], 1
mov eax, dword [ebp + 0xc]
or esi, 0xffffffff
mov eax, dword [eax]
test eax, eax
je 0x4fbb13
cmp eax, esi
je 0x4fb6a1
mov eax, dword [ebp + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4fb6a1
push 4
push 1
push dword [ebp + 0xc]
call fcn.00425140
add esp, 0xc
jmp 0x4fb6a1