Function at 0x436590
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dbfb7
mov eax, dword fs:[0]
push eax
sub esp, 0x87c
mov eax, dword [0x66f33c]
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 esi, ecx
mov dword [ebp - 0x888], esi
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.0047be90
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.0047be90
add esp, 0x18
call fcn.00454a62
test al, al
je 0x43660b
push ecx
push ebp
push eax
pop esp
pop ecx
push edx
pop esp
pop ebp
pop ecx
push esp
push ebx
push edx
pop edi
pop esp
pop ebp
pop edx
push edx
push ecx
pop ecx
lea eax, [ebp - 0x628]
push eax
push str.94fc06
lea eax, [ebp - 0x860]
push 0x5e28c4
push eax
call fcn.004724b2
mov eax, dword [ebp - 0x84c]
add esp, 0x10
cmp eax, 8
jb 0x436649
inc eax
lea ecx, [ebp - 0x860]
push eax
push dword [ebp - 0x860]
call fcn.00403100
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436652
sub ecx, edx
sar ecx, 1
je 0x436671
lea eax, [ebp - 0x628]
mov ecx, esi
push eax
call fcn.00438120
call fcn.00454543
test al, al
je 0x43669d
pop ebp
push ebx
push edx
pop esp
push edi
push eax
pop edx
pop edi
pop edi
push edi
pop esp
pop ebp
pop ebp
push edx
push edi
pop eax
pop eax
push ebp
push ebp
pop edi
push esp
pop ebp
pop esi
pop eax
pop eax
push ebp
pop ebx
push ebx
pop ebp
mov esi, dword [ebp - 0x888]
call fcn.0045483a
test al, al
je 0x4366ba
pop ebp
push ecx
pop eax
push ebp
push ecx
push edx
push esp
pop ebx
push ebp
push ebx
pop esp
push ebp
pop eax
push esi
pop ebp
push ebx
push edi
pop ebx
pop eax
pop edi
call fcn.0041af90
test eax, eax
je 0x4366d4
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]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4366e0
sub ecx, edx
sar ecx, 1
je 0x4366ff
lea eax, [ebp - 0x830]
mov ecx, esi
push eax
call fcn.00438120
call fcn.004546e1
test al, al
je 0x436725
push ecx
push esi
pop eax
pop eax
pop esi
pop ecx
push eax
push edx
pop edx
push ebp
pop esp
push ebx
pop edi
push ebx
pop ebp
push edi
push ecx
pop eax
push eax
pop ebx
push edx
push ebp
push edi
push ecx
pop edi
push ecx
push esp
pop eax
pop esi
lea eax, [ebp - 0x880]
mov dword [ebp - 0x880], 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 0x436755
xor eax, eax
jmp 0x436e33
call fcn.004547b0
test al, al
je 0x43676e
pop eax
push esi
pop eax
pop esp
pop edx
pop ebp
pop ebx
push edi
push edx
push edi
pop edx
push edx
push ebp
push eax
push ebp
push edx
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x884], ebx
mov dword [ebp - 0x854], ebx
mov dword [ebp - 0x850], edi
mov dword [ebp - 0x84c], ebx
xor eax, eax
mov dword [ebp - 4], edi
push eax
push 0x5e266c
lea ecx, [ebp - 0x878]
mov dword [ebp - 0x864], 7
mov dword [ebp - 0x868], edi
mov word [ebp - 0x878], ax
call fcn.00403000
push 0x206
lea eax, [ebp - 0x41e]
mov byte [ebp - 4], 1
push edi
push eax
call fcn.0047be90
push 0x208
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.0047be90
movups xmm0, xmmword [0x5e28c4]
mov eax, dword [0x5e28e4]
mov dword [ebp - 0x400], eax
mov ax, word [0x5e28e8]
movups xmmword [ebp - 0x420], xmm0
mov word [ebp - 0x3fc], ax
lea eax, [ebp - 0x420]
movups xmm0, xmmword [0x5e28d4]
push eax
movups xmmword [ebp - 0x410], xmm0
call fcn.00488add
lea ecx, [ebp - 0x420]
add esp, 0x1c
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436830
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jb 0x436d27
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 0x4369c6
call fcn.004546e1
test al, al
je 0x436894
push esp
pop esp
pop ecx
pop eax
pop ecx
push esi
pop esp
push edx
push esi
pop ecx
pop eax
pop ebp
pop edx
push edx
pop esi
push ebx
pop edx
pop ecx
mov esi, dword [ebp - 0x87c]
call fcn.004546e1
test al, al
je 0x4368bd
push ecx
push ebx
pop ecx
pop eax
pop eax
push ebp
push ebp
push ebp
push eax
pop eax
push ebx
pop ecx
pop ebx
pop edx
pop edx
pop edi
push edx
push edx
push eax
push eax
push edi
push ecx
pop ebx
pop eax
pop ebp
pop ecx
push eax
pop ecx
pop esp
push eax
pop esp
pop edi
call fcn.0045483a
test al, al
je 0x4368d9
pop ebx
pop ecx
push eax
pop edx
push edx
push edx
pop edx
pop eax
pop ecx
push esp
push esi
pop ecx
pop edi
push ecx
push ebx
push esp
push esp
push ebx
pop ebp
xor eax, eax
mov dword [ebp - 0x834], 7
mov dword [ebp - 0x838], 0
mov word [ebp - 0x848], ax
cmp word [ebp - 0x218], ax
jne 0x436903
xor ecx, ecx
jmp 0x43691f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436910
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x848]
call fcn.00403000
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push eax
call fcn.00488add
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0047c280
add esp, 0xc
test eax, eax
je 0x43696e
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0x854]
call fcn.00427bb0
mov eax, dword [ebp - 0x834]
mov byte [ebp - 4], 1
cmp eax, 8
jb 0x436990
inc eax
lea ecx, [ebp - 0x848]
push eax
push dword [ebp - 0x848]
call fcn.00403100
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 0x436873
mov ebx, dword [ebp - 0x854]
mov dword [ebp - 0x884], ebx
mov ecx, dword [ebp - 0x888]
add ecx, 0x94
cmp dword [ecx + 0x14], 8
jb 0x4369da
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 0x4369e0
lea eax, [ebp - 0x420]
push eax
call fcn.00488add
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 0x436a10
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jb 0x436ba4
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 0x436ba4
nop dword [eax]
call fcn.004546e1
test al, al
je 0x436a71
push esp
pop esp
pop ecx
pop eax
pop ecx
push esi
pop esp
push edx
push esi
pop ecx
pop eax
pop ebp
pop edx
push edx
pop esi
push ebx
pop edx
pop ecx
mov esi, dword [ebp - 0x87c]
call fcn.004546e1
test al, al
je 0x436a9a
push ecx
push ebx
pop ecx
pop eax
pop eax
push ebp
push ebp
push ebp
push eax
pop eax
push ebx
pop ecx
pop ebx
pop edx
pop edx
pop edi
push edx
push edx
push eax
push eax
push edi
push ecx
pop ebx
pop eax
pop ebp
pop ecx
push eax
pop ecx
pop esp
push eax
pop esp
pop edi
call fcn.0045483a
test al, al
je 0x436ab6
pop ebx
pop ecx
push eax
pop edx
push edx
push edx
pop edx
pop eax
pop ecx
push esp
push esi
pop ecx
pop edi
push ecx
push ebx
push esp
push esp
push ebx
pop ebp
xor eax, eax
mov dword [ebp - 0x834], 7
mov dword [ebp - 0x838], 0
mov word [ebp - 0x848], ax
cmp word [ebp - 0x218], ax
jne 0x436ae0
xor ecx, ecx
jmp 0x436aff
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436af0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x848]
call fcn.00403000
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 3
push eax
call fcn.00488add
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0047c280
add esp, 0xc
test eax, eax
je 0x436b4e
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0x854]
call fcn.00427bb0
mov eax, dword [ebp - 0x834]
mov byte [ebp - 4], 1
cmp eax, 8
jb 0x436b70
inc eax
lea ecx, [ebp - 0x848]
push eax
push dword [ebp - 0x848]
call fcn.00403100
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 0x436a50
mov ebx, dword [ebp - 0x854]
mov dword [ebp - 0x884], ebx
push dword [ebp - 0x880]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x850]
mov dword [ebp - 0x87c], ebx
cmp dword [ebp - 0x884], edi
je 0x436d01
call fcn.004543ea
test al, al
je 0x436be1
push edi
pop esi
push ebx
push esi
push ebx
pop eax
push esi
push esp
push ebp
push edi
pop esi
push ebx
pop esp
pop esi
pop ebp
push esp
call fcn.00454726
test al, al
je 0x436c06
push ebp
push ebx
push ebp
pop ebx
pop esi
push edi
pop edi
push edx
pop edi
pop eax
push edi
pop ebp
pop esp
pop esp
push edi
pop ecx
mov ebx, dword [ebp - 0x87c]
mov edi, dword [ebp - 0x850]
cmp dword [ebx + 0x14], 8
jb 0x436c10
mov edx, dword [ebx]
jmp 0x436c12
mov edx, ebx
xor eax, eax
mov dword [ebp - 0x834], 7
mov dword [ebp - 0x838], 0
mov word [ebp - 0x848], ax
cmp word [edx], ax
jne 0x436c38
xor ecx, ecx
jmp 0x436c4f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436c40
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x848]
call fcn.00403000
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
mov ecx, dword [ebp - 0x888]
cmovae eax, dword [ebp - 0x848]
push eax
mov byte [ebp - 4], 4
call fcn.00438120
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
push str.Delete_Svc
push 0xad
call fcn.0045bdc5
mov eax, dword [ebp - 0x834]
add esp, 0xc
mov byte [ebp - 4], 1
cmp eax, 8
jb 0x436cf0
mov ecx, dword [ebp - 0x848]
inc eax
cmp eax, 0x7fffffff
ja 0x436d40
add eax, eax
cmp eax, 0x1000
jb 0x436ce7
test cl, 0x1f
jne 0x436d40
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x436d40
sub ecx, eax
cmp ecx, 4
jb 0x436d40
cmp ecx, 0x23
ja 0x436d40
mov ecx, eax
push ecx
call fcn.00451371
add esp, 4
add ebx, 0x18
mov dword [ebp - 0x87c], ebx
cmp ebx, edi
jne 0x436bc8
call fcn.004544b9
test al, al
je 0x436d21
push eax
push edx
pop ecx
pop esp
pop ecx
pop ebx
push ecx
push esi
push edi
push edi
pop esi
pop ebx
pop ebx
pop edi
pop ebp
push ecx
pop esp
mov edi, dword [ebp - 0x850]
mov ebx, dword [ebp - 0x884]
mov eax, dword [ebp - 0x864]
cmp eax, 8
jb 0x436d89
mov ecx, dword [ebp - 0x878]
inc eax
cmp eax, 0x7fffffff
jbe 0x436d45
call fcn.0047e982
add eax, eax
cmp eax, 0x1000
jb 0x436d80
test byte [ebp - 0x878], 0x1f
je 0x436d5c
call fcn.0047e982
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x436d68
call fcn.0047e982
sub ecx, eax
cmp ecx, 4
jae 0x436d74
call fcn.0047e982
cmp ecx, 0x23
jbe 0x436d7e
call fcn.0047e982
mov ecx, eax
push ecx
call fcn.00451371
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 0x436e2e
push dword [ebp - 0x87c]
lea eax, [ebp - 0x854]
push eax
push edi
push ebx
call fcn.00405520
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 0x436dea
call fcn.0047e982
lea eax, [eax + eax*2]
shl eax, 3
cmp eax, 0x1000
jb 0x436e25
test bl, 0x1f
je 0x436e01
call fcn.0047e982
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x436e0d
call fcn.0047e982
sub ebx, eax
cmp ebx, 4
jae 0x436e19
call fcn.0047e982
cmp ebx, 0x23
jbe 0x436e23
call fcn.0047e982
mov ebx, eax
push ebx
call fcn.00451371
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.0045132d
mov esp, ebp
pop ebp
ret