Function at 0x426ea0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5d2b
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x4e54fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa4], ecx
mov eax, dword [ecx]
mov edx, dword [ebp + 8]
mov dword [ebp - 0xa8], edx
cmp byte [eax], 0
je 0x426f32
mov esi, dword [ecx + 4]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount64]
call edi
sub eax, dword [esi]
mov ecx, dword [ebp - 0xa4]
sbb edx, dword [esi + 4]
mov ecx, dword [ecx + 8]
test edx, edx
jb 0x426f26
ja 0x426f06
cmp eax, dword [ecx]
jbe 0x426f26
mov eax, dword [ebp - 0xa4]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x4273bb
mov eax, dword [ecx]
call dword [eax + 8]
call edi
mov dword [esi], eax
mov dword [esi + 4], edx
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xa8]
mov al, byte [0x4ff5ad]
nop
test al, al
je 0x426f43
xor al, al
jmp 0x42739e
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov eax, dword [ecx + 0x10]
lea ecx, [ebp - 0x28]
push 1
push edx
push dword [eax]
call fcn.0040f7a0
test eax, eax
jne 0x42738e
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x1c], 4
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push str.Start
push esi
call edi
test eax, eax
jne 0x427391
cmp dword [ebp - 0x14], 4
jne 0x427391
mov eax, dword [ebp - 0x4c]
cmp eax, 2
je 0x426fd4
cmp eax, 3
je 0x426fd4
cmp eax, 4
jne 0x427391
cmp eax, 4
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x50]
setne byte [ebp - 0x9d]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push str.Type
push esi
call edi
test eax, eax
jne 0x427391
cmp dword [ebp - 0x18], 4
jne 0x427391
cmp dword [ebp - 0x50], 0x10
jb 0x427391
call fcn.00420e60
test al, al
je 0x42702a
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x30], xmm0
call fcn.00405980
add esp, 4
mov esi, dword [ebp - 0xa8]
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x30]
mov ecx, edi
push esi
call fcn.004026c0
push esi
lea ecx, [edi + 0xb4]
call fcn.004026c0
xorps xmm0, xmm0
mov dword [ebp - 0x5c], 0
xor eax, eax
mov dword [ebp - 0x58], 7
movups xmmword [ebp - 0x6c], xmm0
mov word [ebp - 0x6c], ax
movups xmmword [ebp - 0x9c], xmm0
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], 7
mov word [ebp - 0x9c], ax
mov byte [ebp - 0x9e], al
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 4
push eax
mov edx, str.ServiceDll
call fcn.0041be10
add esp, 4
cmp dword [ebp - 0x5c], 0
jne 0x427127
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
push 1
push str.Parameters
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x28]
call fcn.0040f7a0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x427118
lea eax, [ebp - 0x6c]
mov edx, str.ServiceDll
push eax
lea ecx, [ebp - 0x3c]
call fcn.0041be10
mov eax, dword [ebp - 0x3c]
add esp, 4
mov byte [ebp - 4], 4
test eax, eax
je 0x427127
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x9c]
mov edx, str.ImagePath
push eax
lea ecx, [ebp - 0x28]
call fcn.0041be10
add esp, 4
test al, al
je 0x427361
lea eax, [ebp - 0x9c]
push eax
call fcn.00421440
add esp, 4
cmp dword [ebp - 0x5c], 0
je 0x42729e
lea eax, [ebp - 0x6c]
push eax
call fcn.00421440
add esp, 4
lea eax, [ebp - 0x6c]
lea ecx, [edi + 0x48]
push eax
call fcn.00404ef0
lea eax, [ebp - 0x9c]
push eax
lea ecx, [edi + 0x60]
call fcn.00404ef0
cmp byte [0x4e5ff4], 0
je 0x4272c9
lea edx, [edi + 0x60]
lea ecx, [ebp - 0x48]
call fcn.0041fda0
xorps xmm0, xmm0
mov dword [ebp - 0x74], 0
xor eax, eax
mov dword [ebp - 0x70], 7
movups xmmword [ebp - 0x84], xmm0
mov word [ebp - 0x84], ax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x84]
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
push ecx
cmovae eax, dword [ebp - 0x48]
push eax
call fcn.0040c4e0
add esp, 8
test al, al
je 0x42727b
cmp dword [ebp - 0x70], 8
lea ecx, [ebp - 0x84]
mov eax, dword [ebp - 0x74]
cmovae ecx, dword [ebp - 0x84]
mov dword [ebp - 0x1c], ecx
cmp eax, 0x11
jb 0x42727b
add eax, 0xfffffff0
lea edx, [ecx + eax*2]
mov eax, ecx
mov dword [ebp - 0x14], edx
nop dword [eax]
sub edx, eax
mov esi, 0
sar edx, 1
je 0x427232
cmp word [eax], 0x4d
je 0x427230
cmp edx, 1
je 0x427232
add eax, 2
dec edx
cmp word [eax], 0x4d
jne 0x427221
mov esi, eax
mov eax, esi
test eax, eax
je 0x42727b
mov esi, str.Microsoft_Windows
mov ecx, eax
sub ecx, esi
mov edi, 0x11
mov dword [ebp - 0x18], ecx
nop dword [eax]
movzx edx, word [esi + ecx]
movzx ecx, word [esi]
cmp dx, cx
jne 0x427269
add esi, 2
sub edi, 1
je 0x427271
mov ecx, dword [ebp - 0x18]
jmp 0x427250
mov edx, dword [ebp - 0x14]
add eax, 2
jmp 0x427210
sub eax, dword [ebp - 0x1c]
sar eax, 1
cmp eax, 0xffffffff
jne 0x427282
mov byte [ebp - 0x9e], 1
lea ecx, [ebp - 0x84]
call fcn.00402b30
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.00402b30
mov edi, dword [ebp - 0x30]
jmp 0x4272c9
lea eax, [ebp - 0x9c]
push eax
lea ecx, [edi + 0x60]
call fcn.00404ef0
lea edx, [edi + 0x60]
lea ecx, [ebp - 0x48]
call fcn.0041fda0
push eax
lea ecx, [edi + 0x48]
call fcn.00404ef0
lea ecx, [ebp - 0x48]
call fcn.00402b30
movzx ecx, byte [ebp - 0x9d]
mov edx, 0x40000
xor ecx, 1
mov byte [ebp - 0x9d], 0
add ecx, ecx
mov eax, 0x8000
cmp dword [ebp - 0x5c], 0
cmove eax, edx
sub esp, 8
or ecx, eax
lea eax, [ebp - 0x30]
mov dword [edi + 0xd0], ecx
mov ecx, esp
push eax
call fcn.00404e90
mov dl, byte [ebp - 0x9d]
xor ecx, ecx
call fcn.0041bea0
add esp, 8
cmp byte [ebp - 0x9e], 0
je 0x427341
lea esi, [edi + 0x30]
push esi
lea eax, [ebp - 0x48]
push str._SvcHost_not_Verified_
push eax
call fcn.004157c0
add esp, 0xc
mov ecx, esi
push eax
call fcn.00404ef0
lea ecx, [ebp - 0x48]
call fcn.00402b30
mov ecx, dword [ebp - 0xa8]
lea edx, [edi + 0x18]
call fcn.00422250
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax + 0x14]
call fcn.00404d60
lea ecx, [ebp - 0x9c]
call fcn.00402b30
lea ecx, [ebp - 0x6c]
call fcn.00402b30
lea ecx, [ebp - 0x30]
call fcn.00404e60
call fcn.00420e60
test al, al
je 0x42738e
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x42739c
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047df69
mov esp, ebp
pop ebp
ret 8
call fcn.0047c562
int3