Function at 0x1000a630
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 [0x1006700c]
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 0x1000a674
test edi, edi
jne 0x1000a698
lea esi, [ebp - 0x218]
push esi
call fcn.1000ee24
jmp 0x1000a680
lea esi, [ebp - 0x218]
push esi
call fcn.1000f32f
add esp, 4
mov eax, dword [esi + 8]
mov dword [ebp - 0x220], eax
movsd xmm0, qword [esi]
movsd qword [ebp - 0x228], xmm0
movzx ebx, byte [ebp - 0x21d]
test bl, bl
js 0x1000a6aa
mov eax, ebx
and eax, 0x7f
jmp 0x1000a6b0
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x1000a7ba
lea edi, [ebp - 0x22c]
mov dword [edi], 0xffffffff
lea eax, [ebp + 0xc]
push eax
push edi
call fcn.1000aa35
add esp, 8
xor esi, esi
lea eax, [ebp - 0x218]
push 0x208
push esi
push eax
call fcn.1002ec50
add esp, 0xc
mov eax, dword [edi]
test bl, bl
js 0x1000a6f6
lea ecx, [ebp - 0x228]
jmp 0x1000a6fc
mov ecx, dword [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 0x1000a8fb
test edi, edi
je 0x1000a958
lea eax, [ebp - 0x21c]
mov dword [eax], 0
push eax
push edi
call fcn.1000b8ec
add esp, 8
test eax, eax
js 0x1000a843
mov ecx, dword [ebp - 0x21c]
cmp byte [ebp - 0x21d], 0
js 0x1000a759
lea eax, [ebp - 0x228]
jmp 0x1000a75f
mov eax, dword [ebp - 0x228]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.1000c61e
test eax, eax
js 0x1000a80d
push 0
call fcn.1000f8f5
add esp, 4
test al, al
je 0x1000a88f
lea esi, [ebp - 0x2b8]
mov ecx, esi
push 0
push 0x50
push str....._third_partyie_to_edge_bho_site_list_downloader.cc
call fcn.1000f93e
mov ecx, esi
call fcn.10002820
push 0x23
push str.SiteListDownloader_update_succeeded
push eax
call fcn.100065e4
add esp, 0xc
mov ecx, esi
jmp 0x1000a88a
push 2
call fcn.1000f8f5
add esp, 4
test al, al
je 0x1000a8d4
lea esi, [ebp - 0x218]
mov ecx, esi
push 2
push 0x2a
push str....._third_partyie_to_edge_bho_site_list_downloader.cc
call fcn.1000f93e
mov ecx, esi
call fcn.10002820
push 0x25
push str.Failed_to_get_sitelist_URL_for_type:
push eax
call fcn.100065e4
add esp, 0xc
mov ecx, eax
push edi
call fcn.10001bb0
mov ecx, esi
call fcn.1000fc9a
jmp 0x1000a8d4
mov esi, eax
push 2
call fcn.1000f8f5
add esp, 4
test al, al
je 0x1000a88f
lea edi, [ebp - 0x2b8]
mov ecx, edi
push 2
push 0x52
push str....._third_partyie_to_edge_bho_site_list_downloader.cc
call fcn.1000f93e
mov ecx, edi
call fcn.10002820
push 0x28
push str.SiteListDownloader_list_parsing_failed:
jmp 0x1000a877
mov esi, eax
push 2
call fcn.1000f8f5
add esp, 4
test al, al
je 0x1000a88f
lea edi, [ebp - 0x2b8]
mov ecx, edi
push 2
push 0x55
push str....._third_partyie_to_edge_bho_site_list_downloader.cc
call fcn.1000f93e
mov ecx, edi
call fcn.10002820
push 0x2b
push str.SiteListDownloader_filter_creation_failed:
push eax
call fcn.100065e4
add esp, 0xc
mov ecx, eax
push esi
call fcn.10001bb0
mov ecx, edi
call fcn.1000fc9a
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
test eax, eax
je 0x1000a8ac
push eax
call fcn.1002afb4
add esp, 4
mov esi, dword [ebp - 0x22c]
test esi, esi
je 0x1000a8ce
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 0x1000a8e6
push dword [ebp - 0x228]
call fcn.1002afb4
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002ba3a
add esp, 0x2ac
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, eax
mov ecx, dword [ebp + 0xc]
call fcn.10009006
test al, al
je 0x1000a8ac
push 2
call fcn.1000f8f5
add esp, 4
test al, al
je 0x1000a8ac
lea edi, [ebp - 0x2b8]
mov ecx, edi
push 2
push 0x58
push str....._third_partyie_to_edge_bho_site_list_downloader.cc
call fcn.1000f93e
mov ecx, edi
call fcn.10002820
push 0x24
push str.SiteListDownloader_download_failed:
push eax
call fcn.100065e4
add esp, 0xc
mov ecx, eax
push esi
call fcn.10001bb0
mov ecx, edi
call fcn.1000fc9a
jmp 0x1000a8ac
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 [0x1005da90]
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 0x1000a724
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 0x1000a724
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000a724