Function at 0x10011940
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a729f
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x10221008]
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 edi, dword [ebp + 8]
lea ecx, [ebp - 0xa0]
push 0x21
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
push str.SYSTEMCurrentControlSet_services
mov dword [ebp - 0xe4], edi
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
call fcn.10004a70
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0xe8], 0
call fcn.100a0c20
mov byte [ebp - 4], 1
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xa0]
push eax
push ecx
lea ecx, [ebp - 0xe8]
call fcn.100a1660
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
je 0x10011e50
mov esi, dword [edi]
mov ecx, edi
push dword [esi + 4]
call fcn.10014390
mov eax, dword [edi]
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x1c]
mov dword [edi + 4], 0
cmp esi, dword [ebp - 0x18]
je 0x10011da8
xor ebx, ebx
cmp dword [esi + 0x10], ebx
je 0x10011bb0
push 0x21
xor eax, eax
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
lea ecx, [ebp - 0x88]
push str.SystemCurrentControlSet_services
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
call fcn.10004a70
mov byte [ebp - 4], 3
lea edx, [ebp - 0x88]
push esi
lea ecx, [ebp - 0xb8]
call fcn.10097e70
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xd8]
cmp dword [ebp - 0xa4], 8
lea eax, [ebp - 0xb8]
push ecx
cmovae eax, dword [ebp - 0xb8]
push eax
push 0x80000002
mov dword [ebp - 0xd8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x10011af9
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb8]
call fcn.10004a00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.10004a00
jmp 0x10011bb0
push 0x40
mov dword [ebp - 0x58], 0
mov dword [ebp - 0xd4], 0x40
call fcn.1018bdcd
push dword [ebp - 0xd4]
mov edi, eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
lea eax, [ebp - 0xd4]
push eax
push edi
lea eax, [ebp - 0x58]
push eax
push 0
push str.Type
push dword [ebp - 0xd8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10011b72
mov eax, dword [ebp - 0xd4]
test eax, eax
je 0x10011b72
mov dword [ebp - 0x20], 0
cmp eax, 4
jbe 0x10011b61
mov ebx, dword [edi]
jmp 0x10011b72
push eax
lea eax, [ebp - 0x20]
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ebx, dword [ebp - 0x20]
add esp, 0xc
mov eax, dword [ebp - 0xd8]
test eax, eax
je 0x10011b83
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.1018bacf
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb8]
call fcn.10004a00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.10004a00
mov edi, dword [ebp - 0xe4]
test bl, 3
je 0x10011d9c
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 5
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
mov byte [ebp - 4], 6
cmp dword [esi + 0x10], eax
je 0x10011d1e
push 0x21
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], eax
push str.SystemCurrentControlSet_services
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
call fcn.10004a70
mov byte [ebp - 4], 7
lea edx, [ebp - 0x3c]
push esi
lea ecx, [ebp - 0xd0]
call fcn.10097e70
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xdc]
cmp dword [ebp - 0xbc], 8
lea eax, [ebp - 0xd0]
push ecx
cmovae eax, dword [ebp - 0xd0]
push eax
push 0x80000002
mov dword [ebp - 0xdc], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x10011d03
push 0x400
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xe0], 0x400
call fcn.1018bdcd
push dword [ebp - 0xe0]
mov edi, eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
lea eax, [ebp - 0xe0]
push eax
push edi
lea eax, [ebp - 0x24]
push eax
push 0
push str.ImagePath
push dword [ebp - 0xdc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10011ce9
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011cd0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x70]
call fcn.10004a70
mov eax, dword [ebp - 0xdc]
test eax, eax
je 0x10011cfa
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.1018bacf
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xd0]
call fcn.10004a00
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.10004a00
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x70]
call fcn.10030260
test al, al
je 0x10011d7e
cmp dword [ebp - 0x44], 0
je 0x10011d7e
lea eax, [ebp - 0x54]
push eax
call fcn.100121b0
test al, al
je 0x10011d7e
lea ecx, [ebp - 0x54]
call fcn.1009f300
push dword [ebp - 0x24]
mov edi, dword [ebp - 0xe4]
lea eax, [ebp - 0x54]
push eax
push ecx
lea eax, [ebp - 0xf0]
mov ecx, edi
push eax
call fcn.100151f0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x54]
call fcn.10004a00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.10004a00
jmp 0x10011d9c
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x54]
call fcn.10004a00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.10004a00
mov edi, dword [ebp - 0xe4]
add esi, 0x18
cmp esi, dword [ebp - 0x18]
jne 0x10011a52
cmp dword [0x10227688], 0
je 0x10011e50
push 0
mov ecx, 0x10227688
call fcn.100c1510
mov eax, dword [0x10227688]
cmp byte [eax + 0x54], 0
je 0x10011e50
cmp dword [eax + 0x58], 4
jb 0x10011e50
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x3c]
push dword [edi + 4]
push 0x101e8e44
push eax
call fcn.100c2310
add esp, 0xc
lea eax, [ebp - 0x3c]
mov ecx, 0x10227688
push 0x227
push str.RC::RCDvrInterceptStat::ScanSystemInstDvrSvc
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_sddefencelogic_srcdrivermonitor_rcdvrinterceptstat.cpp
push eax
push 4
call fcn.100c1e70
test bl, bl
je 0x10011e44
lea eax, [ebp - 0x3c]
mov ecx, 0x10227688
push eax
call fcn.100c2190
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.10004a00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.10008860
mov byte [ebp - 4], 0
push 8
push dword [ebp - 0xe8]
call fcn.1018b735
add esp, 8
mov dword [ebp - 0xe8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.10004a00
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.1018b6f4
mov esp, ebp
pop ebp
ret 4