Function at 0x100cc168
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0x25c
mov eax, 0x100ef86b
call fcn.100d38cc
mov esi, ecx
mov edx, dword [0x101b3e20]
xor ebx, ebx
push 4
pop edi
test edx, edx
jne 0x100cc2dd
mov edi, 0x200
mov dword [ebp - 0x224], ebx
push edi
lea eax, [ebp - 0x210]
mov dword [ebp - 0x220], ebx
push ebx
push eax
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x268], ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x214], edi
lea eax, [ebp - 0x268]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100cc2cc
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
push ebx
push ebx
push str.svcVersion
push dword [ebp - 0x268]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100cc251
cmp dword [ebp - 0x214], ebx
jbe 0x100cc2c0
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x224]
push eax
push 0x101b3e20
lea eax, [ebp - 0x210]
push str._d._d._d._d
push eax
call fcn.10042e1e
add esp, 0x18
cmp eax, 4
je 0x100cc2c0
mov dword [0x101b3e20], ebx
jmp 0x100cc2c0
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
push ebx
push ebx
push str.Version
push dword [ebp - 0x268]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100cc2c0
cmp dword [ebp - 0x214], ebx
jbe 0x100cc2c0
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x224]
push eax
push 0x101b3e20
lea eax, [ebp - 0x210]
push str._d._d._d._d
push eax
call fcn.10042e1e
mov ecx, dword [0x101b3e20]
xor edx, edx
add esp, 0x18
cmp eax, 4
cmovne ecx, edx
mov dword [0x101b3e20], ecx
push dword [ebp - 0x268]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [0x101b3e20]
test edx, edx
je 0x100cc4b6
push 4
pop edi
cmp edx, 7
jbe 0x100cc4b6
cmp byte [0x101b3e24], bl
jne 0x100cc4b6
cmp edx, 0xa
mov dword [ebp - 0x230], ebx
mov ecx, 0x2711
mov eax, 0x2af9
cmove eax, ecx
add ecx, 0xfffffffe
cmp edx, 9
push 7
cmove eax, ecx
mov ecx, 0x22b8
cmp edx, 8
cmove eax, ecx
mov dword [ebp - 0x218], eax
xor eax, eax
pop ecx
mov dword [ebp - 0x22c], ecx
mov word [ebp - 0x240], ax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x24c], ecx
mov word [ebp - 0x260], ax
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 1
push eax
mov ecx, esi
call fcn.10042e1e
test al, al
je 0x100cc377
lea eax, [ebp - 0x240]
mov ecx, esi
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.100cbc88
jmp 0x100cc387
push str.ngl_workflow.exe
lea ecx, [ebp - 0x240]
call fcn.10042e1e
push ebx
lea eax, [ebp - 0x264]
mov dword [ebp - 0x264], ebx
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push str.SOFTWAREMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x100cc495
cmp dword [ebp - 0x22c], 8
lea ecx, [ebp - 0x244]
push ecx
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x228], ebx
push ecx
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x244], edi
push ecx
lea eax, [ebp - 0x240]
mov dword [ebp - 0x248], edi
cmovae eax, dword [ebp - 0x240]
push ebx
push eax
push dword [ebp - 0x264]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x100cc435
cmp dword [ebp - 0x22c], 8
lea ecx, [ebp - 0x218]
push edi
push ecx
push edi
lea eax, [ebp - 0x240]
cmovae eax, dword [ebp - 0x240]
push ebx
push eax
push dword [ebp - 0x264]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x100cc489
jmp 0x100cc476
test eax, eax
jne 0x100cc489
mov eax, dword [ebp - 0x228]
cmp eax, dword [ebp - 0x218]
je 0x100cc482
cmp dword [ebp - 0x22c], 8
lea ecx, [ebp - 0x218]
push edi
push ecx
push edi
lea eax, [ebp - 0x240]
cmovae eax, dword [ebp - 0x240]
push ebx
push eax
push dword [ebp - 0x264]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x100cc482
push dword [ebp - 0x264]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov byte [0x101b3e24], 1
push dword [ebp - 0x264]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 2
call fcn.10042e1e
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], 3
call fcn.10042e1e
call fcn.100d3876
ret