Function at 0x4788f0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x604c47
mov eax, dword fs:[0]
push eax
sub esp, 0x87c
mov eax, dword [0x69cef4]
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.005d4520
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.005d4520
add esp, 0x18
call fcn.0048b890
test al, al
je 0x47896c
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.0048b9e0
test al, al
je 0x478991
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.0048b890
test al, al
je 0x4789b1
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 0x608b1c
push eax
call fcn.0042d6e0
mov eax, dword [ebp - 0x84c]
add esp, 0x10
cmp eax, 8
jb 0x4789ef
inc eax
lea ecx, [ebp - 0x860]
push eax
push dword [ebp - 0x860]
call fcn.00407380
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x478a00
sub ecx, edx
sar ecx, 1
je 0x478a23
mov ecx, dword [ebp - 0x884]
lea eax, [ebp - 0x628]
push eax
call fcn.0047a770
call fcn.0048bc10
test al, al
je 0x478a4b
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.0048bba0
test al, al
je 0x478a6f
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.0045c010
test eax, eax
je 0x478a89
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 0x478a92
sub ecx, edx
sar ecx, 1
je 0x478ab5
mov ecx, dword [ebp - 0x884]
lea eax, [ebp - 0x830]
push eax
call fcn.0047a770
call fcn.0048b660
test al, al
je 0x478acf
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.0048be40
test al, al
je 0x478af5
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.0048bf20
test al, al
je 0x478b0f
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 0x478b3f
xor eax, eax
jmp 0x47922b
call fcn.0048b740
test al, al
je 0x478b65
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 0x6087e8
lea ecx, [ebp - 0x878]
mov dword [ebp - 0x864], 7
mov dword [ebp - 0x868], esi
mov word [ebp - 0x878], ax
call fcn.00407280
push 0x206
lea eax, [ebp - 0x41e]
mov byte [ebp - 4], 1
push esi
push eax
call fcn.005d4520
push 0x208
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.005d4520
movups xmm0, xmmword [0x608b1c]
lea eax, [ebp - 0x420]
push eax
movups xmmword [ebp - 0x420], xmm0
call fcn.005dec0f
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 0x478c00
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jb 0x47911f
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 0x478d8a
call fcn.0048bdd0
test al, al
je 0x478c6c
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.0048bc10
test al, al
je 0x478c86
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.0048b740
test al, al
je 0x478ca1
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 0x478ccb
xor ecx, ecx
jmp 0x478ce3
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x478cd4
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x848]
call fcn.00407280
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push eax
call fcn.005dec0f
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005d611d
add esp, 0xc
test eax, eax
je 0x478d32
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0x854]
call fcn.00420cb0
mov eax, dword [ebp - 0x834]
mov byte [ebp - 4], 1
cmp eax, 8
jb 0x478d54
inc eax
lea ecx, [ebp - 0x848]
push eax
push dword [ebp - 0x848]
call fcn.00407380
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 0x478c43
mov ebx, dword [ebp - 0x854]
mov dword [ebp - 0x888], ebx
mov ecx, dword [ebp - 0x884]
add ecx, 0x94
cmp dword [ecx + 0x14], 8
jb 0x478d9e
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 0x478da4
lea eax, [ebp - 0x420]
push eax
call fcn.005dec0f
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 0x478dd0
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jb 0x478f55
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 0x478f55
nop dword [eax]
call fcn.0048bdd0
test al, al
je 0x478e39
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.0048bc10
test al, al
je 0x478e53
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.0048b740
test al, al
je 0x478e6e
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 0x478e98
xor ecx, ecx
jmp 0x478eb0
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x478ea1
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x848]
call fcn.00407280
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 3
push eax
call fcn.005dec0f
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005d611d
add esp, 0xc
test eax, eax
je 0x478eff
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0x854]
call fcn.00420cb0
mov eax, dword [ebp - 0x834]
mov byte [ebp - 4], 1
cmp eax, 8
jb 0x478f21
inc eax
lea ecx, [ebp - 0x848]
push eax
push dword [ebp - 0x848]
call fcn.00407380
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 0x478e10
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 0x4790d0
call fcn.0048b6d0
test al, al
je 0x478f9f
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.0048bc10
test al, al
je 0x478fc0
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 0x478fca
mov edx, dword [esi]
jmp 0x478fcc
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 0x478ff2
xor ecx, ecx
jmp 0x479006
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x478ff7
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x848]
call fcn.00407280
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.0047a770
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
push str.Delete_Svc
push 0xad
call fcn.00422dc0
mov eax, dword [ebp - 0x834]
add esp, 0xc
mov byte [ebp - 4], 1
cmp eax, 8
jb 0x4790bb
mov ecx, dword [ebp - 0x848]
inc eax
cmp eax, 0x7fffffff
ja 0x479138
add eax, eax
cmp eax, 0x1000
jb 0x4790b2
test cl, 0x1f
jne 0x479138
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x479138
sub ecx, eax
cmp ecx, 4
jb 0x479138
cmp ecx, 0x23
ja 0x479138
mov ecx, eax
push ecx
call fcn.005ca597
add esp, 4
add esi, 0x18
mov dword [ebp - 0x87c], esi
cmp esi, dword [ebp - 0x850]
jne 0x478f75
call fcn.0048b820
test al, al
je 0x4790f8
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.0048bf20
test al, al
je 0x479113
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 0x479181
mov ecx, dword [ebp - 0x878]
inc eax
cmp eax, 0x7fffffff
jbe 0x47913d
call fcn.005d8c11
add eax, eax
cmp eax, 0x1000
jb 0x479178
test byte [ebp - 0x878], 0x1f
je 0x479154
call fcn.005d8c11
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x479160
call fcn.005d8c11
sub ecx, eax
cmp ecx, 4
jae 0x47916c
call fcn.005d8c11
cmp ecx, 0x23
jbe 0x479176
call fcn.005d8c11
mov ecx, eax
push ecx
call fcn.005ca597
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 0x479226
push dword [ebp - 0x87c]
lea eax, [ebp - 0x854]
push eax
push esi
push ebx
call fcn.004135d0
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 0x4791e2
call fcn.005d8c11
lea eax, [eax + eax*2]
shl eax, 3
cmp eax, 0x1000
jb 0x47921d
test bl, 0x1f
je 0x4791f9
call fcn.005d8c11
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x479205
call fcn.005d8c11
sub ebx, eax
cmp ebx, 4
jae 0x479211
call fcn.005d8c11
cmp ebx, 0x23
jbe 0x47921b
call fcn.005d8c11
mov ebx, eax
push ebx
call fcn.005ca597
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.005ca59c
mov esp, ebp
pop ebp
ret