Function at 0x4792d0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6051c7
mov eax, dword fs:[0]
push eax
sub esp, 0x87c
mov eax, dword [0x69def4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x884], ecx
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.005d4b40
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.005d4b40
add esp, 0x18
call fcn.0048beb0
test al, al
je 0x47934c
push eax
pop edx
pop edi
pop edi
push ebp
pop ecx
push ecx
push edi
push esp
push edi
push esi
push ebp
pop esi
pop ecx
pop esp
push esi
pop esp
push ecx
push esp
push eax
pop ecx
pop ecx
call fcn.0048c000
test al, al
je 0x479371
pop ebx
push ecx
pop edx
push ebp
push edx
pop edi
pop edi
pop esp
push ebp
pop esi
pop edx
pop ebp
pop esi
pop edx
push edi
pop ebp
push ebp
push edi
push ebp
pop edx
push ebp
push esi
pop esi
pop esi
pop ebp
push edx
push ebp
pop esp
call fcn.0048beb0
test al, al
je 0x479391
pop esi
push ebp
pop edx
pop edx
push ebp
push edi
pop eax
push ebp
pop edx
pop ecx
pop esp
push esp
pop edi
push esp
pop edx
push ebp
push esi
push edi
push edi
pop ebx
pop ebp
pop ebx
push esp
lea eax, [ebp - 0x628]
push eax
push str.d083f2
lea eax, [ebp - 0x860]
push 0x609b1c
push eax
call fcn.0042d8d0
mov eax, dword [ebp - 0x84c]
add esp, 0x10
cmp eax, 8
jb 0x4793cf
inc eax
lea ecx, [ebp - 0x860]
push eax
push dword [ebp - 0x860]
call fcn.004073f0
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4793e0
sub ecx, edx
sar ecx, 1
je 0x479403
mov ecx, dword [ebp - 0x884]
lea eax, [ebp - 0x628]
push eax
call fcn.0047b150
call fcn.0048c230
test al, al
je 0x47942b
push edi
push eax
push esp
pop edx
pop edx
pop edx
pop ebp
push ebp
pop ebp
push edx
pop ecx
push esp
push ebp
push ebp
push esi
pop esi
push ebx
push eax
pop ecx
pop esi
pop edx
push ebx
pop esp
pop esi
pop ebp
push ebp
pop esp
push ecx
pop edx
pop ebp
pop edi
call fcn.0048c1c0
test al, al
je 0x47944f
push ebx
pop ecx
push edi
pop ebx
push esi
pop ebx
pop ecx
push ecx
pop esi
pop edi
pop ecx
pop edx
push ebx
push esp
pop esi
pop esp
pop edx
push esp
pop ecx
pop edx
push ecx
push edi
push ecx
pop edx
push esi
pop esi
pop ebp
call fcn.0045c3e0
test eax, eax
je 0x479469
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 0x479472
sub ecx, edx
sar ecx, 1
je 0x479495
mov ecx, dword [ebp - 0x884]
lea eax, [ebp - 0x830]
push eax
call fcn.0047b150
call fcn.0048bc80
test al, al
je 0x4794af
push ebx
push edx
pop edi
pop esp
push esp
pop eax
push edx
pop edi
pop ebp
push esi
push edi
push edi
push edi
push ebp
pop esi
pop ebp
pop esi
call fcn.0048c460
test al, al
je 0x4794d5
push edx
pop esi
push esp
pop ebx
pop eax
push edi
push ebp
push eax
pop ebx
pop esp
push edi
push esp
pop edx
pop edx
push edi
push edx
push esi
pop ecx
pop eax
pop ebx
pop eax
push esp
pop edi
push ecx
pop esp
pop ebp
pop esp
pop ebp
push esi
call fcn.0048c540
test al, al
je 0x4794ef
pop edi
pop esi
push edx
push esp
pop eax
push esp
pop edx
push ebp
push edx
push edx
push edx
push edi
pop ebp
push esp
pop eax
pop esi
pop esp
lea eax, [ebp - 0x880]
mov dword [ebp - 0x880], 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 0x47951f
xor eax, eax
jmp 0x479c0b
call fcn.0048bd60
test al, al
je 0x479545
push edi
pop ecx
push esi
push ebx
push edi
push ebp
push ebp
push esp
pop eax
pop edi
pop ecx
pop ebp
pop ecx
pop esp
push esi
pop eax
pop ebp
push ebp
push ebp
push eax
pop edi
push edx
push eax
push eax
pop ebp
push ebx
pop edx
push ebp
pop esi
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x888], ebx
mov dword [ebp - 0x854], ebx
mov dword [ebp - 0x850], esi
mov dword [ebp - 0x84c], ebx
xor eax, eax
mov dword [ebp - 4], esi
push eax
push 0x6097e8
lea ecx, [ebp - 0x878]
mov dword [ebp - 0x864], 7
mov dword [ebp - 0x868], esi
mov word [ebp - 0x878], ax
call fcn.004072f0
push 0x206
lea eax, [ebp - 0x41e]
mov byte [ebp - 4], 1
push esi
push eax
call fcn.005d4b40
push 0x208
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.005d4b40
movups xmm0, xmmword [0x609b1c]
lea eax, [ebp - 0x420]
push eax
movups xmmword [ebp - 0x420], xmm0
call fcn.005df20f
lea ecx, [ebp - 0x420]
add esp, 0x1c
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4795e0
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jb 0x479aff
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea eax, [ebp - 0x218]
push 0x104
push eax
xor esi, esi
push esi
push dword [ebp - 0x880]
mov dword [ebp - 0x87c], esi
call edi
test eax, eax
jne 0x47976a
call fcn.0048c3f0
test al, al
je 0x47964c
push edi
pop esp
push esp
pop edi
push esi
pop edx
push ecx
pop edx
push esi
pop edx
push esi
push eax
push esp
pop ebx
pop ebp
push ebx
pop ebx
push edx
push esp
pop ebp
push ebp
push edi
push ebp
pop esi
push ebx
pop ebx
mov esi, dword [ebp - 0x87c]
call fcn.0048c230
test al, al
je 0x479666
pop ebp
push esi
pop eax
pop esp
push ecx
pop ebp
push ebx
pop ebp
pop ecx
pop edi
push edi
pop ecx
push ecx
pop eax
pop ebx
push esp
pop edx
call fcn.0048bd60
test al, al
je 0x479681
pop ecx
push esp
pop ebp
push esi
pop esp
pop eax
pop edi
push ebp
push esp
pop edi
push ecx
pop ecx
push edx
push ecx
pop ecx
push eax
push esp
push ecx
xor eax, eax
mov dword [ebp - 0x834], 7
mov dword [ebp - 0x838], 0
mov word [ebp - 0x848], ax
cmp word [ebp - 0x218], ax
jne 0x4796ab
xor ecx, ecx
jmp 0x4796c3
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4796b4
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x848]
call fcn.004072f0
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push eax
call fcn.005df20f
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005d671d
add esp, 0xc
test eax, eax
je 0x479712
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0x854]
call fcn.00420df0
mov eax, dword [ebp - 0x834]
mov byte [ebp - 4], 1
cmp eax, 8
jb 0x479734
inc eax
lea ecx, [ebp - 0x848]
push eax
push dword [ebp - 0x848]
call fcn.004073f0
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea eax, [ebp - 0x218]
push 0x104
push eax
inc esi
push esi
push dword [ebp - 0x880]
mov dword [ebp - 0x87c], esi
call edi
test eax, eax
je 0x479623
mov ebx, dword [ebp - 0x854]
mov dword [ebp - 0x888], ebx
mov ecx, dword [ebp - 0x884]
add ecx, 0x94
cmp dword [ecx + 0x14], 8
jb 0x47977e
mov ecx, dword [ecx]
lea edx, [ebp - 0x420]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x479784
lea eax, [ebp - 0x420]
push eax
call fcn.005df20f
lea ecx, [ebp - 0x420]
add esp, 4
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4797b0
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jb 0x479935
push 0x104
lea eax, [ebp - 0x218]
xor esi, esi
push eax
push esi
push dword [ebp - 0x880]
mov dword [ebp - 0x87c], esi
call edi
test eax, eax
jne 0x479935
nop dword [eax]
call fcn.0048c3f0
test al, al
je 0x479819
push edi
pop esp
push esp
pop edi
push esi
pop edx
push ecx
pop edx
push esi
pop edx
push esi
push eax
push esp
pop ebx
pop ebp
push ebx
pop ebx
push edx
push esp
pop ebp
push ebp
push edi
push ebp
pop esi
push ebx
pop ebx
mov esi, dword [ebp - 0x87c]
call fcn.0048c230
test al, al
je 0x479833
pop ebp
push esi
pop eax
pop esp
push ecx
pop ebp
push ebx
pop ebp
pop ecx
pop edi
push edi
pop ecx
push ecx
pop eax
pop ebx
push esp
pop edx
call fcn.0048bd60
test al, al
je 0x47984e
pop ecx
push esp
pop ebp
push esi
pop esp
pop eax
pop edi
push ebp
push esp
pop edi
push ecx
pop ecx
push edx
push ecx
pop ecx
push eax
push esp
push ecx
xor eax, eax
mov dword [ebp - 0x834], 7
mov dword [ebp - 0x838], 0
mov word [ebp - 0x848], ax
cmp word [ebp - 0x218], ax
jne 0x479878
xor ecx, ecx
jmp 0x479890
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479881
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x848]
call fcn.004072f0
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 3
push eax
call fcn.005df20f
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005d671d
add esp, 0xc
test eax, eax
je 0x4798df
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0x854]
call fcn.00420df0
mov eax, dword [ebp - 0x834]
mov byte [ebp - 4], 1
cmp eax, 8
jb 0x479901
inc eax
lea ecx, [ebp - 0x848]
push eax
push dword [ebp - 0x848]
call fcn.004073f0
push 0x104
lea eax, [ebp - 0x218]
inc esi
push eax
push esi
push dword [ebp - 0x880]
mov dword [ebp - 0x87c], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x4797f0
mov ebx, dword [ebp - 0x854]
mov dword [ebp - 0x888], ebx
push dword [ebp - 0x880]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, ebx
mov dword [ebp - 0x87c], esi
cmp ebx, dword [ebp - 0x850]
je 0x479ab0
call fcn.0048bcf0
test al, al
je 0x47997f
pop eax
push edx
push edi
push esp
push ebp
pop ebp
pop eax
push eax
pop esi
push esi
pop eax
pop esp
push esi
push esi
push eax
push esp
push eax
push eax
pop ecx
push edx
pop esi
push edx
pop esp
pop eax
push esi
push ebp
push edx
mov esi, dword [ebp - 0x87c]
call fcn.0048c230
test al, al
je 0x4799a0
pop esp
push ebx
pop esp
pop esp
pop esp
pop edi
pop eax
pop eax
push esi
push esi
pop eax
push esi
push ebx
push eax
push ebp
push ebp
push ebp
push edi
pop edi
pop ebp
pop esp
push ebx
push ebp
pop ebx
cmp dword [esi + 0x14], 8
jb 0x4799aa
mov edx, dword [esi]
jmp 0x4799ac
mov edx, esi
xor eax, eax
mov dword [ebp - 0x834], 7
mov dword [ebp - 0x838], 0
mov word [ebp - 0x848], ax
cmp word [edx], ax
jne 0x4799d2
xor ecx, ecx
jmp 0x4799e6
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4799d7
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x848]
call fcn.004072f0
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
mov ecx, dword [ebp - 0x884]
cmovae eax, dword [ebp - 0x848]
push eax
mov byte [ebp - 4], 4
call fcn.0047b150
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
push str.Delete_Svc
push 0xad
call fcn.00422f10
mov eax, dword [ebp - 0x834]
add esp, 0xc
mov byte [ebp - 4], 1
cmp eax, 8
jb 0x479a9b
mov ecx, dword [ebp - 0x848]
inc eax
cmp eax, 0x7fffffff
ja 0x479b18
add eax, eax
cmp eax, 0x1000
jb 0x479a92
test cl, 0x1f
jne 0x479b18
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x479b18
sub ecx, eax
cmp ecx, 4
jb 0x479b18
cmp ecx, 0x23
ja 0x479b18
mov ecx, eax
push ecx
call fcn.005cabb7
add esp, 4
add esi, 0x18
mov dword [ebp - 0x87c], esi
cmp esi, dword [ebp - 0x850]
jne 0x479955
call fcn.0048be40
test al, al
je 0x479ad8
pop esi
pop esi
pop eax
push edi
pop ebx
push edx
pop ebx
push edi
push edx
push ebp
pop esp
push esi
pop edx
push eax
pop ecx
pop eax
pop ebx
push edx
push ebp
pop edi
pop esi
push eax
push edi
pop esi
push esi
pop ebp
pop eax
push eax
push ebp
pop ebp
push ebp
call fcn.0048c540
test al, al
je 0x479af3
push edi
push esp
push esi
push esp
pop ecx
pop ecx
push esi
push ebp
push ebp
pop edi
pop edx
pop esp
push esp
push edi
pop esi
pop esi
pop esp
pop ebp
mov esi, dword [ebp - 0x850]
mov ebx, dword [ebp - 0x888]
mov eax, dword [ebp - 0x864]
cmp eax, 8
jb 0x479b61
mov ecx, dword [ebp - 0x878]
inc eax
cmp eax, 0x7fffffff
jbe 0x479b1d
call fcn.005d9211
add eax, eax
cmp eax, 0x1000
jb 0x479b58
test byte [ebp - 0x878], 0x1f
je 0x479b34
call fcn.005d9211
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x479b40
call fcn.005d9211
sub ecx, eax
cmp ecx, 4
jae 0x479b4c
call fcn.005d9211
cmp ecx, 0x23
jbe 0x479b56
call fcn.005d9211
mov ecx, eax
push ecx
call fcn.005cabb7
add esp, 4
xor eax, eax
mov dword [ebp - 0x864], 7
mov dword [ebp - 0x868], 0
mov word [ebp - 0x878], ax
test ebx, ebx
je 0x479c06
push dword [ebp - 0x87c]
lea eax, [ebp - 0x854]
push eax
push esi
push ebx
call fcn.004136c0
mov ecx, dword [ebp - 0x84c]
mov eax, 0x2aaaaaab
sub ecx, ebx
add esp, 0x10
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xaaaaaaa
jbe 0x479bc2
call fcn.005d9211
lea eax, [eax + eax*2]
shl eax, 3
cmp eax, 0x1000
jb 0x479bfd
test bl, 0x1f
je 0x479bd9
call fcn.005d9211
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x479be5
call fcn.005d9211
sub ebx, eax
cmp ebx, 4
jae 0x479bf1
call fcn.005d9211
cmp ebx, 0x23
jbe 0x479bfb
call fcn.005d9211
mov ebx, eax
push ebx
call fcn.005cabb7
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005cabbc
mov esp, ebp
pop ebp
ret