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

Disassembly:
push 0x25c
mov eax, 0x100e660a
call fcn.100c745c
mov esi, ecx
mov edx, dword [0x10170734]
xor ebx, ebx
push 4
pop edi
test edx, edx
jne 0x100bfc58
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 0x100bfc47
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 0x100bfbcc
cmp dword [ebp - 0x214], ebx
jbe 0x100bfc3b
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x224]
push eax
push 0x10170734
lea eax, [ebp - 0x210]
push str._d._d._d._d
push eax
call fcn.10061b32
add esp, 0x18
cmp eax, 4
je 0x100bfc3b
mov dword [0x10170734], ebx
jmp 0x100bfc3b
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 0x100bfc3b
cmp dword [ebp - 0x214], ebx
jbe 0x100bfc3b
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x224]
push eax
push 0x10170734
lea eax, [ebp - 0x210]
push str._d._d._d._d
push eax
call fcn.10061b32
mov ecx, dword [0x10170734]
xor edx, edx
add esp, 0x18
cmp eax, 4
cmovne ecx, edx
mov dword [0x10170734], ecx
push dword [ebp - 0x268]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [0x10170734]
test edx, edx
je 0x100bfe69
push 4
pop edi
cmp edx, 7
jbe 0x100bfe69
cmp byte [0x10170738], bl
jne 0x100bfe69
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.10061b32
test al, al
je 0x100bfcf2
lea eax, [ebp - 0x240]
mov ecx, esi
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.10061b32
jmp 0x100bfd02
push str.ngl_workflow.exe
lea ecx, [ebp - 0x240]
call fcn.10061b32
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 SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x100bfe10
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 0x100bfdb0
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 0x100bfe04
jmp 0x100bfdf1
test eax, eax
jne 0x100bfe04
mov eax, dword [ebp - 0x228]
cmp eax, dword [ebp - 0x218]
je 0x100bfdfd
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 0x100bfdfd
push dword [ebp - 0x264]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov byte [0x10170738], 1
push dword [ebp - 0x264]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x24c]
cmp eax, 8
jb 0x100bfe30
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x260]
call fcn.10061b32
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x250], ebx
mov word [ebp - 0x260], ax
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x24c], 7
cmp eax, 8
jb 0x100bfe69
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x240]
call fcn.10061b32
pop ecx
pop ecx
call fcn.100c7406
ret