Function at 0x42e980
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ce927
mov eax, dword fs:[0]
push eax
sub esp, 0x874
mov eax, dword [0x667d00]
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.005a26c0
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.005a26c0
lea eax, [ebp - 0x628]
push eax
push str.bd5ca
lea eax, [ebp - 0x860]
push 0x5d4e18
push eax
call fcn.0045452f
mov edx, dword [ebp - 0x84c]
add esp, 0x28
cmp edx, 8
jb 0x42ea3b
mov ecx, dword [ebp - 0x860]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ea31
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f05a
push edx
push ecx
call fcn.0059ce4e
add esp, 8
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ea44
sub ecx, edx
sar ecx, 1
je 0x42ea63
lea eax, [ebp - 0x628]
mov ecx, esi
push eax
call fcn.0042fe90
call fcn.00419280
test eax, eax
je 0x42ea7d
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 0x42ea86
sub ecx, edx
sar ecx, 1
je 0x42eaa5
lea eax, [ebp - 0x830]
mov ecx, esi
push eax
call fcn.0042fe90
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 0x42ead5
xor eax, eax
jmp 0x42f03f
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 0x6568d8
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.004032c0
push 0x1f0
lea eax, [ebp - 0x408]
mov byte [ebp - 4], 1
push edi
push eax
call fcn.005a26c0
push 0x208
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.005a26c0
movups xmm0, xmmword [0x5d4e18]
lea eax, [ebp - 0x420]
push eax
movups xmmword [ebp - 0x420], xmm0
movq xmm0, qword [0x5d4e28]
movq qword [ebp - 0x410], xmm0
call fcn.005b0112
lea ecx, [ebp - 0x420]
add esp, 0x1c
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42eb82
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jb 0x42efa2
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 0x42ece3
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 0x42ebe6
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x848]
call fcn.004032c0
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push eax
call fcn.005b0112
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005a2ba7
add esp, 0xc
test eax, eax
je 0x42ec71
lea eax, [ebp - 0x848]
push eax
cmp dword [ebp - 0x86c], edi
je 0x42ec53
mov ecx, edi
call fcn.00403da0
add edi, 0x18
mov dword [ebp - 0x874], edi
jmp 0x42ec71
push edi
lea ecx, [ebp - 0x878]
call fcn.00403ab0
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 0x42ecb5
mov ecx, dword [ebp - 0x848]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ecab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f05a
push edx
push ecx
call fcn.0059ce4e
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 0x42ebc0
mov eax, dword [ebp - 0x878]
mov dword [ebp - 0x868], eax
mov ecx, dword [ebp - 0x880]
add ecx, 0x94
cmp dword [ecx + 0x14], 8
jb 0x42ecf7
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 0x42ed00
lea eax, [ebp - 0x420]
push eax
call fcn.005b0112
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 0x42ed30
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jb 0x42ee93
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 0x42ee93
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 0x42ed96
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x848]
call fcn.004032c0
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 3
push eax
call fcn.005b0112
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005a2ba7
add esp, 0xc
test eax, eax
je 0x42ee21
lea eax, [ebp - 0x848]
push eax
cmp dword [ebp - 0x86c], edi
je 0x42ee03
mov ecx, edi
call fcn.00403da0
add edi, 0x18
mov dword [ebp - 0x874], edi
jmp 0x42ee21
push edi
lea ecx, [ebp - 0x878]
call fcn.00403ab0
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 0x42ee65
mov ecx, dword [ebp - 0x848]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ee5b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f05a
push edx
push ecx
call fcn.0059ce4e
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 0x42ed70
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 0x42ef9c
nop dword [eax]
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x42eeba
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 0x42eee2
sub ecx, dword [ebp - 0x87c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x848]
call fcn.004032c0
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.0042fe90
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
push str.Delete_Svc
push 0xad
call fcn.0043f58a
mov edx, dword [ebp - 0x834]
add esp, 0xc
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x42ef91
mov ecx, dword [ebp - 0x848]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ef87
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f05a
push edx
push ecx
call fcn.0059ce4e
add esp, 8
add esi, 0x18
cmp esi, edi
jne 0x42eeb0
mov esi, dword [ebp - 0x868]
mov edx, dword [ebp - 0x84c]
cmp edx, 8
jb 0x42efe2
mov ecx, dword [ebp - 0x860]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42efd8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f05f
push edx
push ecx
call fcn.0059ce4e
add esp, 8
test esi, esi
je 0x42f03a
lea eax, [ebp - 0x878]
push eax
push edi
push esi
call fcn.00403a40
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 0x42f030
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f064
push ecx
push esi
call fcn.0059ce4e
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.0059d38a
mov esp, ebp
pop ebp
ret
call fcn.005a5c79
call fcn.005a5c79
call fcn.005a5c79
int3