Function at 0x1000d845
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x100183d0
call fcn.10011b90
sub esp, 0x20
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x14]
mov edi, 0xf003f
push eax
push edi
push ebx
push str.SOFTWARECNNICCdnClientConsole
push SysReAllocString
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x1000d932
lea ecx, [ebp - 0x10]
call fcn.1000da43
mov ecx, dword [ebp - 0x14]
cmp eax, ebx
mov dword [ebp - 0x10], ecx
jne 0x1000d932
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], ebx
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push str.EnableIdn
push ecx
mov dword [ebp - 0x24], 4
call esi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
push str.EnableKw
mov dword [ebp - 0x28], ebx
push dword [ebp - 0x10]
mov dword [ebp - 0x24], 4
call esi
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x24], eax
jne 0x1000d8fc
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov dword [edx + 0x10], ecx
cmp eax, ebx
jne 0x1000d91a
cmp dword [ebp - 0x1c], ebx
je 0x1000d912
cmp dword [0x1001e398], ebx
je 0x1000d912
push 1
pop eax
jmp 0x1000d914
xor eax, eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x14], eax
cmp dword [ebp - 0x10], ebx
je 0x1000d92b
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x14], ebx
jne 0x1000d937
jmp 0x1000d9a5
cmp dword [ebp - 0x2c], ebx
je 0x1000d9a5
mov dword [ebp - 0x14], ebx
push edi
push str.SOFTWAREMicrosoftInternet_ExplorerAdvancedOptionsCDNCLIENTIDNKWIDN
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.10009eda
cmp eax, ebx
jne 0x1000d994
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], ebx
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
push ebx
push str.DefaultValue
mov dword [ebp - 0x28], 4
push dword [ebp - 0x14]
call esi
cmp eax, ebx
jne 0x1000d983
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov dword [ecx + 0x10], eax
cmp dword [ebp - 0x14], ebx
je 0x1000d994
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x14], ebx
mov byte [ebp - 4], bl
je 0x1000d9a5
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x24], ebx
je 0x1000da26
mov dword [ebp - 0x14], ebx
push edi
push str.SOFTWAREMicrosoftInternet_ExplorerAdvancedOptionsCDNCLIENTIDNKWKW
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.10009eda
test eax, eax
jne 0x1000da18
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], ebx
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
push str.DefaultValue
mov dword [ebp - 0x2c], 4
push dword [ebp - 0x14]
call esi
test eax, eax
jne 0x1000da07
cmp dword [ebp - 0x1c], ebx
je 0x1000d9ff
cmp dword [0x1001e398], ebx
je 0x1000d9ff
push 1
pop eax
jmp 0x1000da01
xor eax, eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x14], eax
cmp dword [ebp - 0x14], ebx
je 0x1000da26
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x14], ebx
je 0x1000da26
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x10], ebx
je 0x1000da34
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret