Function at 0x100860b0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2ba4
call fcn.101f99e0
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2b9c], ecx
mov ecx, dword [ebp + 0xc]
push ecx
mov dword [ebp - 0x2b8c], ecx
lea ecx, [ebp - 0x2b80]
push eax
mov dword [ebp - 0x2b90], eax
mov dword [ebp - 0x2b80], 0
mov dword [ebp - 0x2b7c], 0
mov dword [ebp - 0x2b78], 0xffffffff
call fcn.10058810
test eax, eax
jne 0x10086d63
push 0x410
push eax
lea eax, [ebp - 0x824]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
xor eax, eax
push ebx
push esi
push edi
mov ebx, dword [ebp - 0x2b78]
mov dword [ebp - 0x2b70], eax
mov dword [ebp - 0x2b6c], 0x208
cmp ebx, 0xffffffff
je 0x100861d9
cmp eax, ebx
jb 0x100861d9
cmp dword [ebp - 0x2b80], 0
je 0x100861d9
mov edi, eax
sub edi, ebx
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x10086179
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x3d
call fcn.10003680
add esp, 4
test eax, eax
je 0x100861b1
lea ecx, [ebp - 0x2b88]
push ecx
push 0
push 0
push 0
lea ecx, [ebp - 0x2b6c]
push ecx
lea ecx, [ebp - 0x824]
push ecx
mov ecx, dword [ebp - 0x2b80]
push edi
push ecx
call eax
jmp 0x1008630e
mov ecx, dword [ebp - 0x2b80]
lea eax, [ebp - 0x2b88]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x2b6c]
push eax
lea eax, [ebp - 0x824]
push eax
push edi
push ecx
jmp 0x10086308
or ebx, 0xffffffff
mov edi, 0x103
mov dword [ebp - 0x2b78], ebx
mov ebx, dword [ebp - 0x2b7c]
test ebx, ebx
je 0x10086286
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x1008620b
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x3d
call fcn.10003680
add esp, 4
test eax, eax
je 0x1008623f
lea ecx, [ebp - 0x2b88]
push ecx
push 0
push 0
push 0
lea ecx, [ebp - 0x2b6c]
push ecx
lea ecx, [ebp - 0x824]
push ecx
push dword [ebp - 0x2b70]
push ebx
call eax
jmp 0x10086267
lea eax, [ebp - 0x2b88]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x2b6c]
push eax
lea eax, [ebp - 0x824]
push eax
push dword [ebp - 0x2b70]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
test esi, esi
je 0x10086274
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp edi, 0x103
jne 0x1008631b
mov eax, dword [ebp - 0x2b70]
mov ebx, dword [ebp - 0x2b80]
test ebx, ebx
je 0x1008631b
mov dword [ebp - 0x2b78], eax
mov dword [ebp - 0x2b6c], 0x208
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x100862ba
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x3d
call fcn.10003680
add esp, 4
test eax, eax
je 0x100862ea
lea ecx, [ebp - 0x2b88]
push ecx
push 0
push 0
push 0
lea ecx, [ebp - 0x2b6c]
push ecx
lea ecx, [ebp - 0x824]
push ecx
push 0
push ebx
call eax
jmp 0x1008630e
lea eax, [ebp - 0x2b88]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x2b6c]
push eax
lea eax, [ebp - 0x824]
push eax
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
test esi, esi
je 0x1008631b
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
jne 0x10086d60
push 0x410
lea eax, [ebp - 0xc34]
push edi
push eax
call sub.msvcrt.dll_memset
push 0x410
lea eax, [ebp - 0x414]
push edi
push eax
call sub.msvcrt.dll_memset
push 0x410
lea eax, [ebp - 0x124c]
push edi
push eax
call sub.msvcrt.dll_memset
push 0x410
lea eax, [ebp - 0x165c]
push edi
push eax
call sub.msvcrt.dll_memset
push 0x410
lea eax, [ebp - 0x1a6c]
push edi
push eax
call sub.msvcrt.dll_memset
push 0x410
lea eax, [ebp - 0x1e7c]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0x48
lea eax, [ebp - 0x824]
push eax
push dword [ebp - 0x2b8c]
lea eax, [ebp - 0xc34]
push 0x102040c0
push 0x40f
push eax
call fcn.100269c0
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x2b64]
mov esi, dword [ebp - 0x2b90]
add esp, 0x14
mov dword [ebp - 0x2b60], 1
mov dword [ebp - 0x2b64], 0x410
push edi
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x2b60]
push eax
push str.Exec
lea eax, [ebp - 0xc34]
push eax
push esi
call fcn.100585c0
mov eax, dword [ebp - 0x2b60]
cmp eax, 1
je 0x1008641b
cmp eax, 2
je 0x1008641b
cmp eax, 7
je 0x1008641b
xor eax, eax
mov word [ebp - 0x414], ax
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea eax, [ebp - 0x414]
push 0x10202940
push eax
call ebx
test eax, eax
jne 0x1008648d
push edi
lea eax, [ebp - 0x2b64]
mov dword [ebp - 0x2b60], 1
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x2b64], 0x410
push eax
lea eax, [ebp - 0x2b60]
push eax
push str.Script
lea eax, [ebp - 0xc34]
push eax
push esi
call fcn.100585c0
mov eax, dword [ebp - 0x2b60]
cmp eax, 1
je 0x1008648d
cmp eax, 2
je 0x1008648d
cmp eax, 7
je 0x1008648d
xor eax, eax
mov word [ebp - 0x414], ax
push 0x10202940
lea eax, [ebp - 0x414]
push eax
call ebx
test eax, eax
jne 0x1008654c
push 0x410
push eax
lea eax, [ebp - 0x1a6c]
mov dword [ebp - 0x2b60], 1
push eax
mov dword [ebp - 0x2b64], 0x410
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x2b64]
push edi
push eax
lea eax, [ebp - 0x1a6c]
push eax
lea eax, [ebp - 0x2b60]
push eax
push str.BandCLSID
lea eax, [ebp - 0xc34]
push eax
push esi
call fcn.100585c0
test eax, eax
jne 0x1008654c
mov eax, dword [ebp - 0x2b60]
cmp eax, 1
je 0x1008650d
cmp eax, 2
je 0x1008650d
cmp eax, 7
jne 0x1008654c
lea eax, [ebp - 0x1a6c]
push eax
lea ecx, [ebp - 0x2b5c]
call fcn.1009cdd0
cmp dword [ebp - 0x1f28], 0
je 0x10086541
push 0x208
lea eax, [ebp - 0x2b58]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
lea ecx, [ebp - 0x2b5c]
call fcn.1009d010
push 0x10202940
lea eax, [ebp - 0x414]
push eax
call ebx
test eax, eax
jne 0x1008660b
push 0x410
push eax
lea eax, [ebp - 0x1a6c]
mov dword [ebp - 0x2b60], 1
push eax
mov dword [ebp - 0x2b64], 0x410
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x2b64]
push edi
push eax
lea eax, [ebp - 0x1a6c]
push eax
lea eax, [ebp - 0x2b60]
push eax
push str.ClsidExtension
lea eax, [ebp - 0xc34]
push eax
push esi
call fcn.100585c0
test eax, eax
jne 0x1008660b
mov eax, dword [ebp - 0x2b60]
cmp eax, 1
je 0x100865cc
cmp eax, 2
je 0x100865cc
cmp eax, 7
jne 0x1008660b
lea eax, [ebp - 0x1a6c]
push eax
lea ecx, [ebp - 0x2b5c]
call fcn.1009cdd0
cmp dword [ebp - 0x1f28], 0
je 0x10086600
push 0x208
lea eax, [ebp - 0x2b58]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
lea ecx, [ebp - 0x2b5c]
call fcn.1009d010
push edi
lea eax, [ebp - 0x2b64]
mov dword [ebp - 0x2b60], 1
push eax
lea eax, [ebp - 0x1e7c]
mov dword [ebp - 0x2b64], 0x410
push eax
lea eax, [ebp - 0x2b60]
push eax
push str.Icon
lea eax, [ebp - 0xc34]
push eax
push esi
call fcn.100585c0
push 0x410
lea eax, [ebp - 0x124c]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x410
lea eax, [ebp - 0x165c]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
mov dword [ebp - 0x2b60], 1
lea eax, [ebp - 0x2b64]
mov dword [ebp - 0x2b64], 0x410
push edi
push eax
lea eax, [ebp - 0x124c]
push eax
lea eax, [ebp - 0x2b60]
push eax
push str.ButtonText
lea eax, [ebp - 0xc34]
push eax
push esi
call fcn.100585c0
mov eax, dword [ebp - 0x2b60]
cmp eax, 1
je 0x100866ca
cmp eax, 2
je 0x100866ca
cmp eax, 7
je 0x100866ca
xor eax, eax
mov word [ebp - 0x124c], ax
push edi
lea eax, [ebp - 0x2b64]
mov dword [ebp - 0x2b60], 1
push eax
lea eax, [ebp - 0x165c]
mov dword [ebp - 0x2b64], 0x410
push eax
lea eax, [ebp - 0x2b60]
push eax
push str.MenuText
lea eax, [ebp - 0xc34]
push eax
push esi
call fcn.100585c0
mov eax, dword [ebp - 0x2b60]
cmp eax, 1
je 0x10086724
cmp eax, 2
je 0x10086724
cmp eax, 7
je 0x10086724
xor eax, eax
mov word [ebp - 0x165c], ax
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp - 0x165c]
push eax
call esi
test eax, eax
jne 0x10086755
lea eax, [ebp - 0x414]
push eax
call esi
test eax, eax
jne 0x10086755
lea eax, [ebp - 0x124c]
push eax
call esi
test eax, eax
je 0x10086d54
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x2b68]
push 0x10202940
mov dword [ebp - 0x2b68], eax
call fcn.10023e80
test al, al
jne 0x10086790
push 0
push 0x10202940
lea ecx, [ebp - 0x2b68]
call fcn.10003740
lea eax, [ebp - 0x124c]
push eax
call esi
test eax, eax
je 0x100867b9
lea eax, [ebp - 0x124c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100867a6
lea ecx, [ebp - 0x124c]
jmp 0x10086801
lea eax, [ebp - 0x165c]
push eax
call esi
test eax, eax
je 0x100867e3
lea eax, [ebp - 0x165c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100867d0
lea ecx, [ebp - 0x165c]
jmp 0x10086801
lea eax, [ebp - 0x824]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100867f0
lea ecx, [ebp - 0x824]
sub eax, edx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x2b68]
call fcn.10003740
mov esi, dword [ebp - 0x2b68]
cmp dword [esi - 0xc], 0
je 0x10086864
cmp word [esi], 0x40
jne 0x10086864
lea eax, [ebp - 0x2b94]
push esi
push eax
call fcn.100095e0
add esp, 8
lea ecx, [ebp - 0x2b68]
push eax
call fcn.10002790
mov edx, dword [ebp - 0x2b94]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1008685e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x2b68]
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x1eac]
push eax
call fcn.100987c0
lea eax, [ebp - 0x1e94]
push esi
push eax
call fcn.100987c0
mov eax, dword [0x1025be28]
add esp, 0x10
cmp dword [eax - 0xc], 0
jne 0x1008692b
push 0x208
lea eax, [ebp - 0xe3c]
mov dword [ebp - 0x2b98], 7
push 0
push eax
call sub.msvcrt.dll_memset
push 0x20119
push 0x208
lea eax, [ebp - 0xe3c]
push eax
lea eax, [ebp - 0x2b98]
push eax
push 0x1020acf4
push str.SYSTEMSetup
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10176930
lea ecx, [ebp - 0xe3c]
add esp, 0x28
lea edx, [ecx + 2]
jmp 0x100868f0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100868f0
sub ecx, edx
lea eax, [ebp - 0xe3c]
sar ecx, 1
push ecx
push eax
mov ecx, 0x1025be28
call fcn.10003740
push 0xa
push 0xa
mov ecx, 0x1025be28
call fcn.10086e10
mov ecx, eax
call fcn.10086d90
mov eax, dword [0x1025be28]
add eax, 0xfffffff0
push eax
call fcn.10002a60
add eax, 0x10
lea ebx, [ebp - 0x1e94]
add esp, 4
mov dword [ebp - 0x2b68], eax
cmp dword [ebp - 0x1e80], 8
jb 0x10086955
mov ebx, dword [ebp - 0x1e94]
cmp dword [ebp - 0x1e98], 8
lea edi, [ebp - 0x1eac]
jb 0x1008696a
mov edi, dword [ebp - 0x1eac]
xor eax, eax
mov dword [ebp - 0x1eb4], 0
mov word [ebp - 0x1ec4], ax
lea ecx, [ebp - 0x1ec4]
mov eax, dword [ebp - 0x1e84]
add eax, dword [ebp - 0x1e9c]
push eax
mov dword [ebp - 0x1eb0], 7
call fcn.1002d6e0
cmp dword [ebp - 0x1e98], 8
lea eax, [ebp - 0x1eac]
jb 0x100869b4
mov eax, dword [ebp - 0x1eac]
push dword [ebp - 0x1e9c]
lea ecx, [ebp - 0x1ec4]
push eax
call fcn.10006d70
cmp dword [ebp - 0x1e80], 8
lea eax, [ebp - 0x1e94]
jb 0x100869db
mov eax, dword [ebp - 0x1e94]
push dword [ebp - 0x1e84]
lea ecx, [ebp - 0x1ec4]
push eax
call fcn.10006d70
push dword [ebp - 0x2b68]
lea eax, [ebp - 0x1f24]
push ebx
push edi
push 0xe
push 0xe
push str._type_:_d__rule_group_id_:__d___t_t_t_t_t_t_t_t_t_t__plugin_name_:_class_id_:__s___name_:__s___t_t_t_t_t_t_t_t_t_t__exts_:__key_:_sys_clonetag___value_:__s__
push eax
call fcn.10098240
mov edi, eax
lea eax, [ebp - 0x1ec4]
push eax
lea eax, [ebp - 0x1f0c]
push 0x10
push eax
call fcn.10091ab0
mov edx, eax
add esp, 0x28
mov ecx, dword [edx]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x1ef4], ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 0x1ef0], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x1eec], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x1ee0], eax
mov dword [ebp - 0x1ee8], ecx
mov ecx, dword [edx + 0x10]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov eax, dword [edi]
mov dword [ebp - 0x1edc], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x1ed8], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x1ed4], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x1ed0], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x1ecc], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x1ec8], eax
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea eax, [ebp - 0x1ef4]
mov dword [ebp - 0x1ee4], ecx
mov ecx, dword [ebp - 0x2b9c]
push eax
call fcn.1001d7b0
mov ecx, dword [ebp - 0x2b9c]
push eax
add eax, 0x10
push eax
push 0
lea eax, [ebp - 0x2ba4]
push eax
call fcn.1001f180
mov edx, dword [ebp - 0x1ec8]
cmp edx, 8
jb 0x10086b1f
mov ecx, dword [ebp - 0x1edc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10086b15
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10086d7e
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov edx, dword [ebp - 0x1ee0]
cmp edx, 0x10
jb 0x10086b59
mov ecx, dword [ebp - 0x1ef4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10086b4f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10086d7e
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov edx, dword [ebp - 0x1ef8]
cmp edx, 0x10
jb 0x10086b93
mov ecx, dword [ebp - 0x1f0c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10086b89
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10086d7e
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov edx, dword [ebp - 0x1eb0]
mov dword [ebp - 0x1efc], 0
mov dword [ebp - 0x1ef8], 0xf
mov byte [ebp - 0x1f0c], 0
cmp edx, 8
jb 0x10086bee
mov ecx, dword [ebp - 0x1ec4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10086be4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10086d7e
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov edx, dword [ebp - 0x1f10]
xor eax, eax
mov dword [ebp - 0x1eb4], 0
mov dword [ebp - 0x1eb0], 7
mov word [ebp - 0x1ec4], ax
cmp edx, 8
jb 0x10086c4b
mov ecx, dword [ebp - 0x1f24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10086c41
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10086d7e
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov edx, dword [ebp - 0x2b68]
xor eax, eax
mov word [ebp - 0x1f24], ax
add edx, 0xfffffff0
mov dword [ebp - 0x1f14], 0
or eax, 0xffffffff
mov dword [ebp - 0x1f10], 7
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10086c86
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1e80]
cmp edx, 8
jb 0x10086cc6
mov ecx, dword [ebp - 0x1e94]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10086cbc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10086d7e
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov edx, dword [ebp - 0x1e98]
xor eax, eax
mov dword [ebp - 0x1e84], 0
mov dword [ebp - 0x1e80], 7
mov word [ebp - 0x1e94], ax
cmp edx, 8
jb 0x10086d1f
mov ecx, dword [ebp - 0x1eac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10086d15
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10086d7e
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
xor eax, eax
mov dword [ebp - 0x1e9c], 0
mov word [ebp - 0x1eac], ax
add esi, 0xfffffff0
mov dword [ebp - 0x1e98], 7
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10086d54
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2b70]
inc eax
jmp 0x1008612f
pop edi
pop esi
pop ebx
lea ecx, [ebp - 0x2b80]
call fcn.10008220
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101f99c6
mov esp, ebp
pop ebp
ret 0xc
call fcn.101e6c40
int3