Function at 0x42e600
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ce2d7
mov eax, dword fs:[0]
push eax
sub esp, 0x874
mov eax, dword [0x664340]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x880], esi
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.0046cf80
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.0046cf80
lea eax, [ebp - 0x628]
push eax
push str.bd5ca
lea eax, [ebp - 0x860]
push 0x5d4df4
push eax
call fcn.0046532d
mov edx, dword [ebp - 0x84c]
add esp, 0x28
cmp edx, 8
jb 0x42e6bb
mov ecx, dword [ebp - 0x860]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e6b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ecda
push edx
push ecx
call fcn.0044a315
add esp, 8
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e6c4
sub ecx, edx
sar ecx, 1
je 0x42e6e3
lea eax, [ebp - 0x628]
mov ecx, esi
push eax
call fcn.0042fae0
call fcn.00418eb0
test eax, eax
je 0x42e6fd
mov edx, dword [eax]
lea ecx, [ebp - 0x830]
push ecx
mov ecx, eax
call dword [edx + 0x128]
lea ecx, [ebp - 0x830]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e706
sub ecx, edx
sar ecx, 1
je 0x42e725
lea eax, [ebp - 0x830]
mov ecx, esi
push eax
call fcn.0042fae0
lea eax, [ebp - 0x864]
mov dword [ebp - 0x864], 0
push eax
push 9
push 0
push str.SYSTEMCurrentControlSet_services_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42e755
xor eax, eax
jmp 0x42ecbf
xor esi, esi
xor eax, eax
xor edi, edi
mov dword [ebp - 0x868], esi
mov dword [ebp - 0x878], esi
mov dword [ebp - 0x874], edi
mov dword [ebp - 0x86c], eax
mov dword [ebp - 0x870], eax
push eax
push 0x6568a4
lea ecx, [ebp - 0x860]
mov dword [ebp - 4], eax
mov dword [ebp - 0x850], eax
mov dword [ebp - 0x84c], 7
mov word [ebp - 0x860], ax
call fcn.00403240
push 0x1f0
lea eax, [ebp - 0x408]
mov byte [ebp - 4], 1
push edi
push eax
call fcn.0046cf80
push 0x208
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.0046cf80
movups xmm0, xmmword [0x5d4df4]
lea eax, [ebp - 0x420]
push eax
movups xmmword [ebp - 0x420], xmm0
movq xmm0, qword [0x5d4e04]
movq qword [ebp - 0x410], xmm0
call fcn.0047a632
lea ecx, [ebp - 0x420]
add esp, 0x1c
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e802
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jb 0x42ec22
push 0x104
lea eax, [ebp - 0x218]
xor esi, esi
push eax
push esi
push dword [ebp - 0x864]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x42e963
nop dword [eax]
xor eax, eax
mov dword [ebp - 0x838], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x834], 7
mov word [ebp - 0x848], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e866
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x848]
call fcn.00403240
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push eax
call fcn.0047a632
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0046d467
add esp, 0xc
test eax, eax
je 0x42e8f1
lea eax, [ebp - 0x848]
push eax
cmp dword [ebp - 0x86c], edi
je 0x42e8d3
mov ecx, edi
call fcn.00403ce0
add edi, 0x18
mov dword [ebp - 0x874], edi
jmp 0x42e8f1
push edi
lea ecx, [ebp - 0x878]
call fcn.004039f0
mov eax, dword [ebp - 0x870]
mov edi, dword [ebp - 0x874]
mov dword [ebp - 0x86c], eax
mov edx, dword [ebp - 0x834]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x42e935
mov ecx, dword [ebp - 0x848]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e92b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ecda
push edx
push ecx
call fcn.0044a315
add esp, 8
push 0x104
lea eax, [ebp - 0x218]
inc esi
push eax
push esi
push dword [ebp - 0x864]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x42e840
mov eax, dword [ebp - 0x878]
mov dword [ebp - 0x868], eax
mov ecx, dword [ebp - 0x880]
add ecx, 0x94
cmp dword [ecx + 0x14], 8
jb 0x42e977
mov ecx, dword [ecx]
lea edx, [ebp - 0x420]
sub edx, ecx
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x42e980
lea eax, [ebp - 0x420]
push eax
call fcn.0047a632
lea ecx, [ebp - 0x420]
add esp, 4
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e9b0
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jb 0x42eb13
push 0x104
lea eax, [ebp - 0x218]
xor esi, esi
push eax
push esi
push dword [ebp - 0x864]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x42eb13
nop dword [eax + eax]
xor eax, eax
mov dword [ebp - 0x838], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x834], 7
mov word [ebp - 0x848], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ea16
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x848]
call fcn.00403240
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 3
push eax
call fcn.0047a632
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0046d467
add esp, 0xc
test eax, eax
je 0x42eaa1
lea eax, [ebp - 0x848]
push eax
cmp dword [ebp - 0x86c], edi
je 0x42ea83
mov ecx, edi
call fcn.00403ce0
add edi, 0x18
mov dword [ebp - 0x874], edi
jmp 0x42eaa1
push edi
lea ecx, [ebp - 0x878]
call fcn.004039f0
mov eax, dword [ebp - 0x870]
mov edi, dword [ebp - 0x874]
mov dword [ebp - 0x86c], eax
mov edx, dword [ebp - 0x834]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x42eae5
mov ecx, dword [ebp - 0x848]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42eadb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ecda
push edx
push ecx
call fcn.0044a315
add esp, 8
push 0x104
lea eax, [ebp - 0x218]
inc esi
push eax
push esi
push dword [ebp - 0x864]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x42e9f0
mov eax, dword [ebp - 0x878]
mov dword [ebp - 0x868], eax
push dword [ebp - 0x864]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x868]
cmp esi, edi
je 0x42ec1c
nop dword [eax]
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x42eb3a
mov edx, dword [esi]
mov ecx, edx
mov dword [ebp - 0x838], 0
xor eax, eax
mov dword [ebp - 0x834], 7
mov word [ebp - 0x848], ax
lea eax, [ecx + 2]
mov dword [ebp - 0x87c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42eb62
sub ecx, dword [ebp - 0x87c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x848]
call fcn.00403240
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
mov ecx, dword [ebp - 0x880]
cmovae eax, dword [ebp - 0x848]
push eax
mov byte [ebp - 4], 4
call fcn.0042fae0
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
push str.Delete_Svc
push 0xad
call fcn.00451635
mov edx, dword [ebp - 0x834]
add esp, 0xc
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x42ec11
mov ecx, dword [ebp - 0x848]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ec07
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ecda
push edx
push ecx
call fcn.0044a315
add esp, 8
add esi, 0x18
cmp esi, edi
jne 0x42eb30
mov esi, dword [ebp - 0x868]
mov edx, dword [ebp - 0x84c]
cmp edx, 8
jb 0x42ec62
mov ecx, dword [ebp - 0x860]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ec58
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ecdf
push edx
push ecx
call fcn.0044a315
add esp, 8
test esi, esi
je 0x42ecba
lea eax, [ebp - 0x878]
push eax
push edi
push esi
call fcn.00403980
mov ecx, dword [ebp - 0x86c]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 0xc
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x42ecb0
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ece4
push ecx
push esi
call fcn.0044a315
add esp, 8
mov eax, 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.0044a851
mov esp, ebp
pop ebp
ret
call fcn.00470179
call fcn.00470179
call fcn.00470179
int3