Function at 0x1000a108
Capabilities:
Download url
Receive data
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2ac
mov edi, dword [ebp + 8]
mov eax, dword [0x10065040]
xor eax, ebp
mov dword [ebp - 0x10], eax
xorps xmm0, xmm0
movsd qword [ebp - 0x228], xmm0
mov dword [ebp - 0x220], 0
cmp edi, 1
je 0x1000a14d
test edi, edi
jne 0x1000a171
lea esi, [ebp - 0x218]
push esi
call fcn.1000e92d
jmp 0x1000a159
lea esi, [ebp - 0x218]
push esi
call fcn.1000ee22
add esp, 4
mov eax, dword [esi + 8]
mov dword [ebp - 0x220], eax
movsd xmm0, qword [esi]
movsd qword [ebp - 0x228], xmm0
movsx ebx, byte [ebp - 0x21d]
mov eax, ebx
test ebx, ebx
jns 0x1000a184
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x1000a358
lea edi, [ebp - 0x22c]
mov dword [edi], 0xffffffff
lea eax, [ebp + 0xc]
push eax
push edi
call fcn.1000a4f6
add esp, 8
xor esi, esi
lea eax, [ebp - 0x218]
push 0x208
push esi
push eax
call fcn.1002dc40
add esp, 0xc
mov eax, dword [edi]
test bl, bl
js 0x1000a1ca
lea ecx, [ebp - 0x228]
jmp 0x1000a1d0
mov ecx, dword [ebp - 0x228]
mov edi, dword [ebp + 8]
push eax
push esi
push 0x104
lea ebx, [ebp - 0x218]
push ebx
push ecx
push esi
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
js 0x1000a499
test edi, edi
jne 0x1000a2c8
xor esi, esi
lea ecx, [ebp - 0x2b8]
mov dword [ecx], esi
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
sub esp, 0x1c
mov dword [esp + 0x18], esi
movaps xmm0, xmmword [0x1005c680]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], str.SoftwareAppDataLowSoftwareMicrosoftEdgeIEToEdge
mov dword [esp], SysStringLen
call fcn.100041ba
test eax, eax
jne 0x1000a2b7
mov eax, dword [ebp - 0x22c]
movzx eax, byte [eax + 0x14]
lea ecx, [ebp - 0x21c]
mov dword [ecx], eax
mov ebx, 4
push ebx
push ecx
push ebx
push esi
push str.DisableUpsellEdge
push dword [ebp - 0x2b8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x22c]
movzx eax, byte [eax + 0x15]
lea ecx, [ebp - 0x21c]
mov dword [ecx], eax
push ebx
push ecx
push ebx
push esi
push str.DisableCampaignRedirect
push dword [ebp - 0x2b8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x22c]
movzx eax, byte [eax + 0x16]
lea ecx, [ebp - 0x21c]
mov dword [ecx], eax
push ebx
push ecx
push ebx
lea ebx, [ebp - 0x218]
push esi
push str.DisableNeedEdgeForEnterprise
push dword [ebp - 0x2b8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x2b8]
test eax, eax
je 0x1000a2c8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x21c]
mov dword [eax], 0
push eax
push edi
call fcn.1000b3c0
add esp, 8
test eax, eax
js 0x1000a3e1
mov ecx, dword [ebp - 0x21c]
cmp byte [ebp - 0x21d], 0
js 0x1000a2fd
lea eax, [ebp - 0x228]
jmp 0x1000a303
mov eax, dword [ebp - 0x228]
push eax
push ebx
call fcn.1000c110
test eax, eax
js 0x1000a3ab
push 0
call fcn.1000f47d
add esp, 4
test al, al
je 0x1000a42d
lea esi, [ebp - 0x2b8]
mov ecx, esi
push 0
push 0x50
push 0x1005c6d0
call fcn.1000f4c6
mov ecx, esi
call fcn.10002640
push 0x23
push str.SiteListDownloader_update_succeeded
push eax
call fcn.100063da
add esp, 0xc
mov ecx, esi
jmp 0x1000a428
push 2
call fcn.1000f47d
add esp, 4
test al, al
je 0x1000a472
lea esi, [ebp - 0x218]
mov ecx, esi
push 2
push 0x2a
push 0x1005c6d0
call fcn.1000f4c6
mov ecx, esi
call fcn.10002640
push 0x25
push str.Failed_to_get_sitelist_URL_for_type:
push eax
call fcn.100063da
add esp, 0xc
mov ecx, eax
push edi
call fcn.10001a10
mov ecx, esi
call fcn.1000f822
jmp 0x1000a472
mov esi, eax
push 2
call fcn.1000f47d
add esp, 4
test al, al
je 0x1000a42d
lea edi, [ebp - 0x2b8]
mov ecx, edi
push 2
push 0x52
push 0x1005c6d0
call fcn.1000f4c6
mov ecx, edi
call fcn.10002640
push 0x28
push str.SiteListDownloader_list_parsing_failed:
jmp 0x1000a415
mov esi, eax
push 2
call fcn.1000f47d
add esp, 4
test al, al
je 0x1000a42d
lea edi, [ebp - 0x2b8]
mov ecx, edi
push 2
push 0x55
push 0x1005c6d0
call fcn.1000f4c6
mov ecx, edi
call fcn.10002640
push 0x2b
push str.SiteListDownloader_filter_creation_failed:
push eax
call fcn.100063da
add esp, 0xc
mov ecx, eax
push esi
call fcn.10001a10
mov ecx, edi
call fcn.1000f822
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
test eax, eax
je 0x1000a44a
push eax
call fcn.1002a0d4
add esp, 4
mov esi, dword [ebp - 0x22c]
test esi, esi
je 0x1000a46c
mov dword [ebp - 0x22c], 0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [0x10060ec8]
push esi
call ecx
mov bl, byte [ebp - 0x21d]
test bl, bl
jns 0x1000a484
push dword [ebp - 0x228]
call fcn.1002a0d4
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002aa2a
add esp, 0x2ac
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, eax
mov ecx, dword [ebp + 0xc]
call fcn.10008c02
test al, al
je 0x1000a44a
push 2
call fcn.1000f47d
add esp, 4
test al, al
je 0x1000a44a
lea edi, [ebp - 0x2b8]
mov ecx, edi
push 2
push 0x58
push 0x1005c6d0
call fcn.1000f4c6
mov ecx, edi
call fcn.10002640
push 0x24
push str.SiteListDownloader_download_failed:
push eax
call fcn.100063da
add esp, 0xc
mov ecx, eax
push esi
call fcn.10001a10
mov ecx, edi
call fcn.1000f822
jmp 0x1000a44a