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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x484
push ebx
push esi
push edi
mov esi, str.wininet.dll
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x10004368
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x10004561
push 0x2710
call fcn.100057a3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp], str.PrivacyGetZonePreferenceW
push edi
mov dword [ebp - 0x10], eax
call esi
push str.PrivacySetZonePreferenceW
push edi
mov dword [ebp - 0xc], eax
call esi
cmp dword [ebp - 0xc], ebx
mov esi, eax
je 0x100043b9
cmp esi, ebx
je 0x100043b9
push ebx
push dword [0x10006c38]
push ebx
push 3
call esi
push ebx
push dword [0x10006c30]
push 1
push 3
call esi
jmp 0x10004558
push 0x104
lea eax, [ebp - 0x484]
push eax
push ebx
mov esi, 0x80000003
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x10004558
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x484]
push eax
lea eax, [ebp - 0x178]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.Identities
lea eax, [ebp - 0x178]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x178]
push eax
push esi
call ebx
test eax, eax
jne 0x10004505
push 0x104
lea eax, [ebp - 0x380]
push eax
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x10004505
lea eax, [ebp - 0xc]
push eax
push 0x1000b6b8
push 0x80000001
call ebx
test eax, eax
jne 0x10004505
push 0x104
lea eax, [ebp - 0x27c]
push eax
push 0
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x10004505
lea eax, [ebp - 0x380]
push eax
call dword [sym.imp.USER32.dll_CharLowerA]
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.USER32.dll_CharLowerA]
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x380]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x10004505
lea eax, [ebp - 0x178]
push eax
call edi
sub eax, 0xb
push eax
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [ebp - 0x178]
push eax
call edi
lea ecx, [ebp - 0x74]
sub ecx, 0xb
mov byte [eax + ecx], 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones3
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x74]
push eax
push esi
call ebx
test eax, eax
je 0x10004528
inc dword [ebp - 4]
push 0x104
lea eax, [ebp - 0x484]
push eax
push dword [ebp - 4]
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x100043e9
jmp 0x10004558
mov eax, dword [0x10006c34]
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
push 0
push str.1A02
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0xc]
call esi
push dword [ebp - 0x10]
call fcn.100057b7
pop ecx
pop edi
pop esi
pop ebx
leave
ret