Function at 0x42e720
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ce407
mov eax, dword fs:[0]
push eax
sub esp, 0x874
mov eax, dword [0x667ce0]
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.005a2240
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.005a2240
lea eax, [ebp - 0x628]
push eax
push str.bd5ca
lea eax, [ebp - 0x860]
push 0x5d4e0c
push eax
call fcn.00454101
mov edx, dword [ebp - 0x84c]
add esp, 0x28
cmp edx, 8
jb 0x42e7db
mov ecx, dword [ebp - 0x860]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e7d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42edfa
push edx
push ecx
call fcn.0059c9cd
add esp, 8
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e7e4
sub ecx, edx
sar ecx, 1
je 0x42e803
lea eax, [ebp - 0x628]
mov ecx, esi
push eax
call fcn.0042fc00
call fcn.00418e60
test eax, eax
je 0x42e81d
mov edx, dword [eax]
lea ecx, [ebp - 0x830]
push ecx
mov ecx, eax
call dword [edx + 0x12c]
lea ecx, [ebp - 0x830]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e826
sub ecx, edx
sar ecx, 1
je 0x42e845
lea eax, [ebp - 0x830]
mov ecx, esi
push eax
call fcn.0042fc00
lea eax, [ebp - 0x864]
mov dword [ebp - 0x864], 0
push eax
push 9
push 0
push str.SYSTEMCurrentControlSet_services_
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42e875
xor eax, eax
jmp 0x42eddf
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 0x656858
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.005a2240
push 0x208
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.005a2240
movups xmm0, xmmword [0x5d4e0c]
lea eax, [ebp - 0x420]
push eax
movups xmmword [ebp - 0x420], xmm0
movq xmm0, qword [0x5d4e1c]
movq qword [ebp - 0x410], xmm0
call fcn.005afc92
lea ecx, [ebp - 0x420]
add esp, 0x1c
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e922
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jb 0x42ed42
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 0x42ea83
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 0x42e986
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.005afc92
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005a2727
add esp, 0xc
test eax, eax
je 0x42ea11
lea eax, [ebp - 0x848]
push eax
cmp dword [ebp - 0x86c], edi
je 0x42e9f3
mov ecx, edi
call fcn.00403d20
add edi, 0x18
mov dword [ebp - 0x874], edi
jmp 0x42ea11
push edi
lea ecx, [ebp - 0x878]
call fcn.00403a30
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 0x42ea55
mov ecx, dword [ebp - 0x848]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ea4b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42edfa
push edx
push ecx
call fcn.0059c9cd
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 0x42e960
mov eax, dword [ebp - 0x878]
mov dword [ebp - 0x868], eax
mov ecx, dword [ebp - 0x880]
add ecx, 0x94
cmp dword [ecx + 0x14], 8
jb 0x42ea97
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 0x42eaa0
lea eax, [ebp - 0x420]
push eax
call fcn.005afc92
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 0x42ead0
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jb 0x42ec33
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 0x42ec33
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 0x42eb36
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.005afc92
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005a2727
add esp, 0xc
test eax, eax
je 0x42ebc1
lea eax, [ebp - 0x848]
push eax
cmp dword [ebp - 0x86c], edi
je 0x42eba3
mov ecx, edi
call fcn.00403d20
add edi, 0x18
mov dword [ebp - 0x874], edi
jmp 0x42ebc1
push edi
lea ecx, [ebp - 0x878]
call fcn.00403a30
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 0x42ec05
mov ecx, dword [ebp - 0x848]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ebfb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42edfa
push edx
push ecx
call fcn.0059c9cd
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 0x42eb10
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 0x42ed3c
nop dword [eax]
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x42ec5a
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 0x42ec82
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.0042fc00
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
push str.Delete_Svc
push 0xad
call fcn.0043f1dd
mov edx, dword [ebp - 0x834]
add esp, 0xc
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x42ed31
mov ecx, dword [ebp - 0x848]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ed27
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42edfa
push edx
push ecx
call fcn.0059c9cd
add esp, 8
add esi, 0x18
cmp esi, edi
jne 0x42ec50
mov esi, dword [ebp - 0x868]
mov edx, dword [ebp - 0x84c]
cmp edx, 8
jb 0x42ed82
mov ecx, dword [ebp - 0x860]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ed78
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42edff
push edx
push ecx
call fcn.0059c9cd
add esp, 8
test esi, esi
je 0x42edda
lea eax, [ebp - 0x878]
push eax
push edi
push esi
call fcn.004039c0
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 0x42edd0
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ee04
push ecx
push esi
call fcn.0059c9cd
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.0059cf09
mov esp, ebp
pop ebp
ret
call fcn.005a57f9
call fcn.005a57f9
call fcn.005a57f9
int3