Function at 0x4067c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
push ebx
mov ebx, ecx
push esi
push edi
or ecx, 0xffffffff
mov edi, str.SYSTEMCurrentControlSetServices_
xor eax, eax
lea edx, [ebp - 0x40c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [ebp - 0x40c]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx + 4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x40c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Parameters
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 8]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push 1
lea ecx, [ebp - 0x40c]
push 0
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edx, dword [ebx]
push 0
test eax, eax
push 0
push 0
jne 0x406a82
mov edi, 4
push 0xd3
push edi
mov ecx, ebx
call dword [edx + 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 4]
lea ecx, [ebx + 0xac]
push eax
mov eax, dword [ebp - 8]
lea edx, [ebp - 0xc]
push ecx
push edx
push 0
push str.Description
push eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0x50
call esi
lea ecx, [ebp - 4]
lea eax, [ebx + 0xfc]
push ecx
lea edx, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push edx
push 0
push str.Execute
push eax
mov dword [ebp - 4], 0x104
call esi
mov dl, byte [ebx + 0xfc]
xor ecx, ecx
test dl, dl
sete cl
lea edx, [ebp - 4]
mov dword [ebx + 0x2c0], ecx
lea eax, [ebx + 0x200]
push edx
mov edx, dword [ebp - 8]
lea ecx, [ebp - 0xc]
push eax
push ecx
push 0
push 0x41d024
push edx
mov dword [ebp - 4], 0x80
call esi
lea eax, [ebp - 4]
lea ecx, [ebx + 0x280]
push eax
mov eax, dword [ebp - 8]
lea edx, [ebp - 0xc]
push ecx
push edx
push 0
push str.InstallMode
push eax
mov dword [ebp - 4], edi
call esi
lea ecx, [ebp - 4]
lea edx, [ebx + 0x284]
push ecx
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0xc]
push edx
push eax
push 0
push str.DeclineLimit
push ecx
mov dword [ebp - 4], edi
call esi
lea edx, [ebp - 4]
lea eax, [ebx + 0x288]
push edx
lea ecx, [ebp - 0xc]
push eax
push ecx
push 0
mov dword [ebp - 4], edi
push str.DisplayMessage
mov edx, dword [ebp - 8]
push edx
call esi
lea eax, [ebp - 4]
lea ecx, [ebx + 0x28c]
push eax
mov eax, dword [ebp - 8]
lea edx, [ebp - 0xc]
push ecx
push edx
push 0
push str.RestartMode
push eax
mov dword [ebp - 4], edi
call esi
lea ecx, [ebp - 4]
lea edx, [ebx + 0x358]
push ecx
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0xc]
push edx
push eax
push 0
push str.ConditionalRestart
push ecx
mov dword [ebp - 4], edi
call esi
lea edx, [ebp - 4]
lea eax, [ebx + 0x290]
push edx
mov edx, dword [ebp - 8]
lea ecx, [ebp - 0xc]
push eax
push ecx
push 0
push str.AutoRestart
push edx
mov dword [ebp - 4], edi
call esi
lea eax, [ebp - 4]
lea ecx, [ebx + 0x298]
push eax
mov eax, dword [ebp - 8]
lea edx, [ebp - 0xc]
push ecx
push edx
push 0
push str.RemoveOnInstall
push eax
mov dword [ebp - 4], edi
call esi
lea ecx, [ebp - 4]
lea edx, [ebx + 0x2a4]
push ecx
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0xc]
push edx
push eax
push 0
push str.CheckInstall
push ecx
mov dword [ebp - 4], edi
call esi
lea edx, [ebp - 4]
lea eax, [ebx + 0x2ac]
push edx
mov edx, dword [ebp - 8]
lea ecx, [ebp - 0xc]
push eax
push ecx
push 0
push str.RecoverLimit
push edx
mov dword [ebp - 4], edi
call esi
neg eax
sbb eax, eax
mov dword [ebp - 4], edi
inc eax
mov dword [ebx + 0x2a8], eax
lea eax, [ebp - 4]
lea ecx, [ebx + 0x2b4]
push eax
mov eax, dword [ebp - 8]
lea edx, [ebp - 0xc]
push ecx
push edx
push 0
push str.VerifyClient
push eax
call esi
mov ecx, dword [ebp - 8]
mov dword [ebx + 0xa8], 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.Server
mov ecx, ebx
call fcn.004065d0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
push 0xd4
push 4
mov ecx, ebx
call dword [edx + 4]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret