Function at 0x101806d
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x448
mov eax, dword [0x10255b8]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x448], eax
mov eax, dword [ebp + 0xc]
push eax
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x20c]
xor edi, edi
push eax
mov esi, ecx
mov dword [ebp - 0x440], 1
mov dword [ebp - 0x42c], edi
mov dword [ebp - 0x428], edi
call fcn.01008874
test eax, eax
jl 0x10182e0
push 0x1006e24
push ebx
lea eax, [ebp - 0x20c]
push eax
call fcn.01009b3d
test eax, eax
jl 0x10182e0
push str.KillbitList
push ebx
lea eax, [ebp - 0x20c]
push eax
call fcn.01009b3d
test eax, eax
jl 0x10182e0
lea eax, [ebp - 0x42c]
push eax
push 0x20019
push edi
lea eax, [ebp - 0x20c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10182ae
push esi
push dword [ebp - 0x42c]
lea edi, [ebp - 0x430]
call fcn.01017f41
test eax, eax
jl 0x10182ae
test byte [ebp - 0x42f], 4
jne 0x101814e
and dword [ebp - 0x440], 0
jmp 0x10182ae
lea eax, [ebp - 0x428]
push eax
push esi
call dword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
jl 0x10182ae
and dword [ebp - 0x434], 0
and dword [ebp - 0x43c], 0
and dword [ebp - 0x438], 0
lea eax, [ebp - 0x20c]
push eax
push ebx
lea eax, [ebp - 0x414]
push eax
mov dword [ebp - 0x444], 0x4e
call fcn.01008874
test eax, eax
jl 0x10182ae
push 0x1006e24
push ebx
lea eax, [ebp - 0x414]
push eax
call fcn.01009b3d
test eax, eax
jl 0x10182ae
push dword [ebp - 0x428]
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.01009b3d
test eax, eax
jl 0x10182ae
lea eax, [ebp - 0x438]
push eax
push 1
push 0
lea eax, [ebp - 0x414]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10182ae
lea eax, [ebp - 0x444]
push eax
push dword [ebp - 0x428]
lea eax, [ebp - 0x43c]
push eax
push 0
push 0x1006e04
push dword [ebp - 0x438]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, dword [ebp - 0x43c]
push dword [ebp - 0x438]
dec esi
neg esi
sbb esi, esi
and esi, 0xd
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10182ae
mov esi, 0x1006f44
lea edi, [ebp - 0x424]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x424]
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 0x428]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jl 0x10182ae
lea eax, [ebp - 0x424]
push eax
push dword [ebp - 0x42c]
lea edi, [ebp - 0x430]
call fcn.01017f41
test eax, eax
jl 0x1018289
test byte [ebp - 0x42f], 4
je 0x101829e
inc dword [ebp - 0x434]
cmp dword [ebp - 0x434], 0xa
jl 0x101816b
jmp 0x10182ae
mov edi, dword [ebp - 0x448]
lea esi, [ebp - 0x424]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x42c], 0
je 0x10182c3
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x428], 0
je 0x10182d8
push dword [ebp - 0x428]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 0x440]
jmp 0x10182e3
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0101874a
leave
ret 8