Function at 0x1000404d
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x494
push esi
push edi
mov esi, str.wininet.dll
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
test edi, edi
jne 0x1000407d
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10004330
push ebx
push 0x2710
call fcn.100057a3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp], str.PrivacyGetZonePreferenceW
mov ebx, 0x1388
push edi
mov dword [ebp + 0x64], eax
mov dword [ebp + 0x68], ebx
call esi
push str.PrivacySetZonePreferenceW
push edi
mov dword [ebp + 0x74], eax
call esi
xor esi, esi
cmp dword [ebp + 0x74], esi
mov dword [ebp + 0x70], eax
je 0x10004155
cmp eax, esi
je 0x10004155
lea eax, [ebp + 0x68]
push eax
push dword [ebp + 0x64]
lea eax, [ebp + 0x6c]
push eax
push esi
push 3
call dword [ebp + 0x74]
test eax, eax
jne 0x100040fe
push 4
lea eax, [ebp + 0x6c]
push eax
push 0x10006c38
call fcn.10001c7c
add esp, 0xc
push 5
pop edi
cmp dword [ebp + 0x6c], edi
je 0x10004107
push esi
push edi
push esi
push 3
call dword [ebp + 0x70]
jmp 0x10004107
push 5
pop edi
mov dword [0x10006c38], edi
lea eax, [ebp + 0x68]
push eax
push dword [ebp + 0x64]
lea eax, [ebp + 0x6c]
push eax
push 1
push 3
mov dword [ebp + 0x68], ebx
call dword [ebp + 0x74]
test eax, eax
jne 0x1000414a
push 4
lea eax, [ebp + 0x6c]
push eax
push 0x10006c30
call fcn.10001c7c
add esp, 0xc
cmp dword [ebp + 0x6c], edi
je 0x10004326
push esi
push edi
push 1
push 3
call dword [ebp + 0x70]
jmp 0x10004326
mov dword [0x10006c30], edi
jmp 0x10004326
push 0x104
lea eax, [ebp - 0x41c]
push eax
push esi
mov dword [0x10006c34], esi
mov dword [ebp + 0x70], esi
mov esi, 0x80000003
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x10004326
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.Identities
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp - 0x110]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x100042af
push 0x104
lea eax, [ebp - 0x214]
push eax
push 0
push dword [ebp + 0x74]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x100042af
lea eax, [ebp + 0x60]
push eax
push 0x1000b6b8
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x100042af
push 0x104
lea eax, [ebp - 0x318]
push eax
push 0
push dword [ebp + 0x60]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x100042af
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.USER32.dll_CharLowerA]
lea eax, [ebp - 0x318]
push eax
call dword [sym.imp.USER32.dll_CharLowerA]
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x100042af
lea eax, [ebp - 0x110]
push eax
call edi
sub eax, 0xb
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [ebp - 0x110]
push eax
call edi
lea ecx, [ebp - 0xc]
sub ecx, 0xb
mov byte [eax + ecx], 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones3
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push dword [ebp + 0x74]
call ebx
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x100042d2
inc dword [ebp + 0x70]
push 0x104
lea eax, [ebp - 0x41c]
push eax
push dword [ebp + 0x70]
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x1000418b
jmp 0x10004326
lea eax, [ebp + 0x70]
push eax
push dword [ebp + 0x70]
lea eax, [ebp + 0x58]
push eax
xor edi, edi
push edi
mov esi, str.1A02
push esi
push dword [ebp + 0x74]
mov dword [ebp + 0x5c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10004309
push 4
lea eax, [ebp + 0x70]
push eax
push 0x10006c34
call fcn.10001c7c
add esp, 0xc
push 4
lea eax, [ebp + 0x5c]
push eax
push 4
push edi
push esi
push dword [ebp + 0x74]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 0x74]
call ebx
push dword [ebp + 0x60]
call ebx
push dword [ebp + 0x64]
call fcn.100057b7
pop ecx
pop ebx
pop edi
pop esi
add ebp, 0x78
leave
ret