Function at 0x1000a4dc
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 [0x10067010]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x220], eax
cmp edi, 1
je 0x1000a520
test edi, edi
jne 0x1000a562
lea eax, [ebp - 0x218]
push eax
call fcn.1000ea67
jmp 0x1000a52c
lea eax, [ebp - 0x218]
push eax
call fcn.1000ef61
add esp, 4
cmp byte [ebp - 0x21d], 0
jns 0x1000a546
push dword [ebp - 0x228]
call fcn.1002b724
add esp, 4
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x220], eax
movsd xmm0, qword [ebp - 0x218]
movsd qword [ebp - 0x228], xmm0
movzx ebx, byte [ebp - 0x21d]
test bl, bl
jns 0x1000a575
mov eax, dword [ebp - 0x224]
jmp 0x1000a57a
mov eax, ebx
and eax, 0x7f
test eax, eax
je 0x1000a5bc
lea edi, [ebp - 0x22c]
mov dword [edi], 0xffffffff
lea eax, [ebp + 0xc]
push eax
push edi
call fcn.1000a8fd
add esp, 8
xor esi, esi
lea eax, [ebp - 0x218]
push 0x208
push esi
push eax
call fcn.1002eba0
add esp, 0xc
mov eax, dword [edi]
test bl, bl
jns 0x1000a60f
mov ecx, dword [ebp - 0x228]
jmp 0x1000a615
push 2
call fcn.1000f515
add esp, 4
test al, al
je 0x1000a8d6
lea esi, [ebp - 0x218]
mov ecx, esi
push 2
push 0x2a
push str....._third_partyie_to_edge_bho_site_list_downloader.cc
call fcn.1000f55e
mov ecx, esi
call fcn.10002a70
push 0x25
push str.Failed_to_get_sitelist_URL_for_type:
push eax
call fcn.10006876
add esp, 0xc
mov ecx, eax
push edi
call fcn.10001bc0
mov ecx, esi
call fcn.1000f8ba
jmp 0x1000a8d6
lea ecx, [ebp - 0x228]
mov edi, dword [ebp + 8]
push eax
push esi
push 0x104
lea eax, [ebp - 0x218]
push eax
push ecx
push esi
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
js 0x1000a74d
test edi, edi
jne 0x1000a711
lea ebx, [ebp - 0x2b8]
mov dword [ebx], 0xffffffff
xor ecx, ecx
lea eax, [ebp - 0x21c]
mov dword [eax], ecx
sub esp, 0x24
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
movaps xmm0, xmmword [0x1005dc80]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], str.SoftwareAppDataLowSoftwareMicrosoftEdgeIEToEdge
mov dword [esp], SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1000a711
xor ecx, ecx
mov esi, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x22c]
movzx eax, byte [eax + 0x14]
mov dword [ebp - 0x2b8], eax
mov eax, 4
push eax
push ebx
push eax
push ecx
push str.DisableUpsellEdge
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x22c]
movzx eax, byte [eax + 0x15]
mov dword [ebp - 0x2b8], eax
mov eax, 4
push eax
push ebx
push eax
xor eax, eax
push eax
push str.DisableCampaignRedirect
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x22c]
movzx eax, byte [eax + 0x16]
mov dword [ebp - 0x2b8], eax
mov eax, 4
push eax
push ebx
push eax
xor eax, eax
push eax
push str.DisableNeedEdgeForEnterprise
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x1000a711
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x21c]
mov dword [eax], 0
push eax
push edi
call fcn.1000b7b0
add esp, 8
test eax, eax
js 0x1000a7b2
mov ecx, dword [ebp - 0x21c]
cmp byte [ebp - 0x21d], 0
jns 0x1000a7ef
mov eax, dword [ebp - 0x228]
jmp 0x1000a7f5
mov esi, eax
mov ecx, dword [ebp + 0xc]
call fcn.10008f7c
test al, al
je 0x1000a8ae
push 2
call fcn.1000f515
add esp, 4
test al, al
je 0x1000a8ae
lea edi, [ebp - 0x2b8]
mov ecx, edi
push 2
push 0x58
push str....._third_partyie_to_edge_bho_site_list_downloader.cc
call fcn.1000f55e
mov ecx, edi
call fcn.10002a70
push 0x24
push str.SiteListDownloader_download_failed:
push eax
call fcn.10006876
add esp, 0xc
mov ecx, eax
push esi
call fcn.10001bc0
mov ecx, edi
call fcn.1000f8ba
jmp 0x1000a8ae
mov esi, eax
push 2
call fcn.1000f515
add esp, 4
test al, al
je 0x1000a891
lea edi, [ebp - 0x2b8]
mov ecx, edi
push 2
push 0x55
push str....._third_partyie_to_edge_bho_site_list_downloader.cc
call fcn.1000f55e
mov ecx, edi
call fcn.10002a70
push 0x2b
push str.SiteListDownloader_filter_creation_failed:
jmp 0x1000a879
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.1000c4e4
test eax, eax
js 0x1000a845
push 0
call fcn.1000f515
add esp, 4
test al, al
je 0x1000a891
lea esi, [ebp - 0x2b8]
mov ecx, esi
push 0
push 0x50
push str....._third_partyie_to_edge_bho_site_list_downloader.cc
call fcn.1000f55e
mov ecx, esi
call fcn.10002a70
push 0x23
push str.SiteListDownloader_update_succeeded
push eax
call fcn.10006876
add esp, 0xc
mov ecx, esi
jmp 0x1000a88c
mov esi, eax
push 2
call fcn.1000f515
add esp, 4
test al, al
je 0x1000a891
lea edi, [ebp - 0x2b8]
mov ecx, edi
push 2
push 0x52
push str....._third_partyie_to_edge_bho_site_list_downloader.cc
call fcn.1000f55e
mov ecx, edi
call fcn.10002a70
push 0x28
push str.SiteListDownloader_list_parsing_failed:
push eax
call fcn.10006876
add esp, 0xc
mov ecx, eax
push esi
call fcn.10001bc0
mov ecx, edi
call fcn.1000f8ba
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
test eax, eax
je 0x1000a8ae
push eax
call fcn.1002b724
add esp, 4
mov esi, dword [ebp - 0x22c]
test esi, esi
je 0x1000a8d0
mov dword [ebp - 0x22c], 0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push esi
call ecx
mov bl, byte [ebp - 0x21d]
test bl, bl
jns 0x1000a8e8
push dword [ebp - 0x228]
call fcn.1002b724
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002c1aa
add esp, 0x2ac
pop esi
pop edi
pop ebx
pop ebp
ret