Function at 0x1000b769
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x100183ac
call fcn.10011b90
sub esp, 0x140
push ebx
push esi
push edi
push 7
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x47]
mov byte [ebp - 0x48], bl
mov dword [ebp - 0x28], 0x20
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x20]
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push eax
push 1
push ebx
push str.SOFTWARECNNICCdnClientInstallInfo
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x1000b81f
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x48]
push eax
push ebx
push ebx
push str.KwPid
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x1000b7e0
push str.cnnic
push 0x10026b0c
call fcn.100127fa
pop ecx
pop ecx
jmp 0x1000b814
xor esi, esi
cmp byte [ebp - 0x48], bl
je 0x1000b814
mov dword [ebp - 0x10], 0x10026b0c
cmp dword [ebp - 0x10], 0x10026b4c
jge 0x1000b814
lea eax, [ebp + esi - 0x48]
push 1
push eax
push dword [ebp - 0x10]
call fcn.10011cb0
add dword [ebp - 0x10], 2
add esp, 0xc
inc esi
cmp byte [ebp + esi - 0x48], bl
jne 0x1000b7ee
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000b830
push str.cnnic
push 0x10026b0c
call fcn.100127fa
pop ecx
pop ecx
push 0x1001953c
push 0x10026b4c
call fcn.100127fa
push 0x10019500
push 0x10026a8c
call fcn.100127fa
add esp, 0x10
cmp dword [ebp + 8], ebx
je 0x1000b869
push dword [ebp + 8]
call fcn.10012048
cmp eax, 3
pop ecx
ja 0x1000b869
push dword [ebp + 8]
jmp 0x1000b86e
push 0x10019554
push 0x10026b8c
call fcn.100127fa
pop ecx
mov dword [ebp - 0x1c], 1
pop ecx
mov dword [ebp - 0x18], ebx
mov esi, 0xf003f
lea ecx, [ebp - 0x18]
push esi
push str.SOFTWARECNNICCdnClientRunAct
push edi
mov dword [ebp - 4], ebx
call fcn.10009eda
cmp eax, ebx
jne 0x1000b8d5
lea eax, [ebp + 8]
mov dword [ebp - 0x10], ebx
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push str.RedBurgee
mov dword [ebp + 8], 4
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [ebp - 0x18], ebx
je 0x1000b8d5
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], ebx
mov dword [ebp + 8], ebx
mov dword [ebp - 0x14], ebx
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push edi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.10009eda
test eax, eax
jne 0x1000b94a
push 0x40
lea edi, [ebp - 0x14b]
pop ecx
mov byte [ebp - 0x14c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x104
push eax
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push str.CnsMin
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000b939
mov dword [ebp + 8], 1
cmp dword [ebp - 0x14], ebx
je 0x1000b94a
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x1c], ebx
jne 0x1000b95b
cmp dword [ebp + 8], 1
mov dword [0x1001e398], ebx
je 0x1000b965
mov dword [0x1001e398], 1
cmp dword [ebp - 0x14], ebx
je 0x1000b976
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x18], ebx
pop edi
pop esi
pop ebx
je 0x1000b987
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
push 1
pop eax
mov dword fs:[0], ecx
leave
ret 4