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

Disassembly:
push 0x25c
mov eax, 0x1013b564
call fcn.101108dc
mov esi, ecx
mov edx, dword [0x101e8488]
xor ebx, ebx
push 4
pop edi
test edx, edx
jne 0x10100a32
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 0x10100a21
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 0x101009a6
cmp dword [ebp - 0x214], ebx
jbe 0x10100a15
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x224]
push eax
push 0x101e8488
lea eax, [ebp - 0x210]
push str._d._d._d._d
push eax
call fcn.10063887
add esp, 0x18
cmp eax, 4
je 0x10100a15
mov dword [0x101e8488], ebx
jmp 0x10100a15
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 0x10100a15
cmp dword [ebp - 0x214], ebx
jbe 0x10100a15
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x224]
push eax
push 0x101e8488
lea eax, [ebp - 0x210]
push str._d._d._d._d
push eax
call fcn.10063887
mov ecx, dword [0x101e8488]
xor edx, edx
add esp, 0x18
cmp eax, 4
cmovne ecx, edx
mov dword [0x101e8488], ecx
push dword [ebp - 0x268]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [0x101e8488]
test edx, edx
je 0x10100c43
push 4
pop edi
cmp edx, 7
jbe 0x10100c43
cmp byte [0x101e848c], bl
jne 0x10100c43
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.10063887
test al, al
je 0x10100acc
lea eax, [ebp - 0x240]
mov ecx, esi
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.10063887
jmp 0x10100adc
push str.ngl_workflow.exe
lea ecx, [ebp - 0x240]
call fcn.10063887
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 0x10100bea
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 0x10100b8a
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 0x10100bde
jmp 0x10100bcb
test eax, eax
jne 0x10100bde
mov eax, dword [ebp - 0x228]
cmp eax, dword [ebp - 0x218]
je 0x10100bd7
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 0x10100bd7
push dword [ebp - 0x264]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov byte [0x101e848c], 1
push dword [ebp - 0x264]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x24c]
cmp eax, 8
jb 0x10100c0a
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x260]
call fcn.10063887
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 0x10100c43
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x240]
call fcn.10063887
pop ecx
pop ecx
call fcn.10110886
ret