Function at 0x424ee0
Capabilities:
Query or enumerate registry value
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573c28
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x5f63b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x6b972f], 0
jne 0x425004
lea eax, [ebp - 0x10]
push eax
push 1
push 0
push str.CLSID8c3eda3f_f182_4617_a352_00b48a8e49f2InprocServer32
push SysReAllocString
mov byte [0x6b972f], 1
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x424f99
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push str.Parameter3
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x424f8a
cmp dword [ebp - 0x14], 4
jne 0x424f8a
mov eax, dword [ebp - 0x18]
mov dword [0x5f10a0], eax
test eax, eax
jne 0x424f94
mov dword [0x5f10a0], 1
push dword [ebp - 0x10]
call esi
lea eax, [ebp - 0x10]
push eax
push 1
push 0
push str.SoftwareNeroNero_11SharedAdvrCntr
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x425004
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push str.LastVarState
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x424fff
cmp dword [ebp - 0x18], 4
jne 0x424fff
movzx eax, byte [0x6b970c]
mov ecx, 1
cmp dword [ebp - 0x14], ecx
cmove eax, ecx
mov byte [0x6b970c], al
push dword [ebp - 0x10]
call esi
push 0x6b96f4
mov dword [ebp - 0x1c], 0x6b96f4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [section..shared], 0
mov esi, eax
jne 0x4250bc
test esi, 0x7f000
je 0x425052
cmp byte [0x6b970c], 0
jne 0x425052
cmp dword [0x5f10a0], 2
je 0x425052
cmp byte [ebp + 0x10], 0
je 0x425065
cmp word [0x6b94e8], 0
jne 0x425082
call fcn.00424bd0
test eax, eax
jns 0x425082
push 0x6b96f4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 4
push 0x100000
push 0xffffffffffffffff
push 0
push 0x424e10
mov dword [section..shared], 1
call fcn.0042b950
test eax, eax
je 0x4250bc
mov dword [eax + 0x28], 0
mov dword [0x6b9710], eax
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x6b96f4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [0x6b970c], 0
mov dword [ebp - 0x1c], 0
je 0x4250dc
call fcn.00425140
cmp dword [section..shared], 0xffffffff
jne 0x42511c
cmp byte [ebp + 0xc], 0
je 0x42511c
mov eax, dword [0x6b9730]
cmp esi, eax
jb 0x4250fd
add eax, 0x3a98
cmp esi, eax
jbe 0x42511c
mov dword [0x6b9730], esi
mov esi, dword [ebp + 8]
push esi
call fcn.004251d0
add esp, 4
test al, al
jne 0x42511c
push esi
call fcn.00425260
add esp, 4
mov eax, dword [section..shared]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret