Function at 0x426820
Capabilities:
Check os version
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x58abf5
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x2a8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x2c0]
mov dword fs:[0], eax
lea eax, [esp + 0x9c]
push eax
call fcn.00423e60
mov dword [esp + 0x2c8], 0
xor eax, eax
push 0x47
mov dword [esp + 0x80], 0
lea ecx, [esp + 0x70]
mov dword [esp + 0x84], 0
push str.CLSID871C5380_42A0_1069_A2EA_08002B30309D_shellOpenHomePageCommand
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], 0
mov word [esp + 0x74], ax
call fcn.00404a80
mov byte [esp + 0x2c8], 1
xor eax, eax
push 0x47
mov dword [esp + 0x68], 0
lea ecx, [esp + 0x58]
mov dword [esp + 0x6c], 0
push str.CLSID871C5380_42A0_1069_A2EA_08002B30301D_shellOpenHomePageCommand
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
call fcn.00404a80
mov byte [esp + 0x2c8], 2
xor eax, eax
push 0x206
push eax
mov word [esp + 0xbc], ax
lea eax, [esp + 0xbe]
push eax
mov dword [esp + 0x58], 0
call fcn.0056cbb0
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [esp + 0x58]
add esp, 0xc
mov dword [esp + 0x50], 0
cmp dword [esp + 0x80], 8
lea eax, [esp + 0x6c]
cmovae eax, dword [esp + 0x6c]
push ecx
push 0x20006
push 0
push eax
push SysReAllocString
call ebp
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x426ac9
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0xb8]
push eax
push 0
push 0
push 0
push dword [esp + 0x60]
call ebx
test eax, eax
jne 0x426abb
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x34]
call fcn.00403a70
mov byte [esp + 0x2c8], 3
mov edx, eax
push 0x5a9b7c
lea ecx, [esp + 0x1c]
call fcn.0040cd70
add esp, 4
mov byte [esp + 0x2c8], 4
lea ecx, [esp + 0x9c]
push ecx
mov edx, eax
lea ecx, [esp + 0x88]
call fcn.004146d0
add esp, 4
mov byte [esp + 0x2c8], 6
cmp dword [esp + 0x2c], 8
jb 0x4269fb
push dword [esp + 0x18]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
mov byte [esp + 0x2c8], 7
cmp dword [esp + 0x44], 8
jb 0x426a2d
push dword [esp + 0x30]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
cmp dword [esp + 0x98], 8
lea ecx, [esp + 0x84]
mov word [esp + 0x30], ax
mov eax, dword [esp + 0x94]
cmovae ecx, dword [esp + 0x84]
mov dword [esp + 0x40], 0
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push 0x5a87c4
push dword [esp + 0x60]
call edi
mov byte [esp + 0x2c8], 2
cmp dword [esp + 0x98], 8
jb 0x426a9b
push dword [esp + 0x84]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], 0
mov word [esp + 0x84], ax
push dword [esp + 0x4c]
call esi
mov dword [esp + 0x4c], 0
push 0x104
lea eax, [esp + 0xb8]
push 0
push eax
call fcn.0056cbb0
add esp, 0xc
lea ecx, [esp + 0x4c]
cmp dword [esp + 0x68], 8
lea eax, [esp + 0x54]
cmovae eax, dword [esp + 0x54]
push ecx
push 0x20006
push 0
push eax
push SysReAllocString
call ebp
test eax, eax
jne 0x426c61
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0xb8]
push eax
push 0
push 0
push 0
push dword [esp + 0x60]
call ebx
test eax, eax
jne 0x426c53
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x1c]
call fcn.00403a70
mov byte [esp + 0x2c8], 8
mov edx, eax
push 0x5a9b7c
lea ecx, [esp + 0x34]
call fcn.0040cd70
add esp, 4
mov byte [esp + 0x2c8], 9
lea ecx, [esp + 0x9c]
push ecx
mov edx, eax
lea ecx, [esp + 0x88]
call fcn.004146d0
add esp, 4
mov byte [esp + 0x2c8], 0xb
cmp dword [esp + 0x44], 8
jb 0x426b93
push dword [esp + 0x30]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
mov byte [esp + 0x2c8], 0xc
cmp dword [esp + 0x2c], 8
jb 0x426bc5
push dword [esp + 0x18]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], 7
cmp dword [esp + 0x98], 8
lea ecx, [esp + 0x84]
mov word [esp + 0x18], ax
mov eax, dword [esp + 0x94]
cmovae ecx, dword [esp + 0x84]
mov dword [esp + 0x28], 0
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push 0x5a87c4
push dword [esp + 0x60]
call edi
mov byte [esp + 0x2c8], 2
cmp dword [esp + 0x98], 8
jb 0x426c33
push dword [esp + 0x84]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], 0
mov word [esp + 0x84], ax
push dword [esp + 0x4c]
call esi
mov dword [esp + 0x4c], 0
mov byte [esp + 0x2c8], 1
cmp dword [esp + 0x68], 8
jb 0x426c7c
push dword [esp + 0x54]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
mov byte [esp + 0x2c8], al
cmp dword [esp + 0x80], 8
jb 0x426cb0
push dword [esp + 0x6c]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x80], 7
push 0x32
mov dword [esp + 0x68], eax
lea ecx, [esp + 0x58]
mov dword [esp + 0x6c], eax
push str.SoftwarePoliciesMicrosoftInternet_ExplorerMain
mov dword [esp + 0x84], 0
mov word [esp + 0x74], ax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], eax
mov word [esp + 0x5c], ax
call fcn.00404a80
mov byte [esp + 0x2c8], 0xd
lea ecx, [esp + 0x4c]
cmp dword [esp + 0x68], 8
lea eax, [esp + 0x54]
push 0
cmovae eax, dword [esp + 0x58]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push SysReAllocString
mov dword [esp + 0x70], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x426d82
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x426d77
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0x9c]
cmp dword [esp + 0xb0], 8
cmovae ecx, dword [esp + 0x9c]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.Start_Page
push edx
call edi
mov edx, dword [esp + 0x4c]
push edx
call esi
mov dword [esp + 0x4c], 0
mov byte [esp + 0x2c8], 0
cmp dword [esp + 0x68], 8
jb 0x426d9d
push dword [esp + 0x54]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x68], 7
push 0x29
mov dword [esp + 0x80], eax
lea ecx, [esp + 0x70]
mov dword [esp + 0x84], eax
push str.SoftwareMicrosoftInternet_ExplorerMain
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], eax
mov word [esp + 0x74], ax
call fcn.00404a80
mov byte [esp + 0x2c8], 0xe
lea ecx, [esp + 0x4c]
cmp dword [esp + 0x80], 8
lea eax, [esp + 0x6c]
push ecx
cmovae eax, dword [esp + 0x70]
push 0x20006
push 0
push eax
push SysReAllocString
mov dword [esp + 0x60], 0
call ebp
test eax, eax
jne 0x426e66
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0x9c]
cmp dword [esp + 0xb0], 8
cmovae ecx, dword [esp + 0x9c]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.Start_Page
push dword [esp + 0x60]
call edi
push dword [esp + 0x4c]
call esi
mov dword [esp + 0x4c], 0
mov byte [esp + 0x2c8], 0
cmp dword [esp + 0x80], 8
jb 0x426e84
push dword [esp + 0x6c]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x80], 7
push 0x110
push eax
mov word [esp + 0x74], ax
lea eax, [esp + 0xc0]
push eax
mov dword [esp + 0x88], 0
mov dword [esp + 0xc0], 0x114
call fcn.0056cbb0
add esp, 0xc
lea eax, [esp + 0xb4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x427207
cmp dword [esp + 0xb8], 0xa
jb 0x427207
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x88]
push eax
call fcn.004c7cc0
mov byte [esp + 0x2c8], 0xf
xorps xmm0, xmm0
movq qword [esp + 0x54], xmm0
xor edi, edi
mov dword [esp + 0x54], edi
xor esi, esi
xor ebx, ebx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x2c8], 0x10
push 8
call fcn.0056590a
add esp, 4
mov dword [esp + 0x50], eax
mov byte [esp + 0x2c8], 0x11
test eax, eax
je 0x426f51
mov ecx, eax
call fcn.004b65d0
jmp 0x426f53
xor eax, eax
mov byte [esp + 0x2c8], 0x10
mov dword [esp + 0x4c], eax
mov byte [esp + 0x2c8], 0x12
xor ebp, ebp
cmp dword [esp + 0x94], ebp
jbe 0x427030
jmp 0x426f80
cmp dword [esp + 0x98], 0x10
lea eax, [esp + 0x84]
lea ecx, [esp + 0x16]
cmovae eax, dword [esp + 0x84]
mov al, byte [eax + ebp]
mov byte [esp + 0x17], al
mov byte [esp + 0x16], al
cmp ecx, esi
jae 0x426ff8
cmp edi, ecx
ja 0x426ff8
mov eax, ecx
sub eax, edi
mov dword [esp + 0x50], eax
cmp esi, ebx
jne 0x426fd5
push 1
lea ecx, [esp + 0x58]
call fcn.0042a800
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x50], esi
mov dword [esp + 0x48], esi
mov byte [esp + 0x2c8], 0x13
test esi, esi
je 0x426fee
mov al, byte [edi + eax]
mov byte [esi], al
mov byte [esp + 0x2c8], 0x12
jmp 0x42701d
cmp esi, ebx
jne 0x427017
push 1
lea ecx, [esp + 0x58]
call fcn.0042a800
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
mov al, byte [esp + 0x17]
test esi, esi
je 0x42701d
mov byte [esi], al
inc esi
inc ebp
mov dword [esp + 0x58], esi
cmp ebp, dword [esp + 0x94]
jb 0x426f80
push 0x12
xor eax, eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
lea ecx, [esp + 0x1c]
push str.ProtectedHomepages
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
call fcn.00404a80
mov byte [esp + 0x2c8], 0x14
xor eax, eax
push 0xe7
mov dword [esp + 0x80], 0
lea ecx, [esp + 0x70]
mov dword [esp + 0x84], 0
push str.SoftwareClassesLocal_SettingsSoftwareMicrosoftWindowsCurrentVersionAppContainerStoragemicrosoft.microsoftedge_8wekyb3d8bbweMicrosoftEdgeProtected___It_is_a_violation_of_Windows_Policy_to_modify._See_aka.ms_browserpolicy_
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], 0
mov word [esp + 0x74], ax
call fcn.00404a80
mov byte [esp + 0x2c8], 0x15
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x70]
mov dword [esp + 0x54], 0
push eax
push ecx
lea ecx, [esp + 0x58]
call fcn.004b67b0
mov esi, dword [esp + 0x4c]
test al, al
je 0x427118
mov ebx, dword [esp + 0x50]
lea eax, [esp + 0x54]
push eax
push ecx
lea eax, [esp + 0x20]
push eax
push ebx
lea ecx, [esp + 0x5c]
call fcn.004b6ed0
mov eax, dword [esi + 4]
test eax, eax
je 0x427118
push 0x5ba25c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x427118
test ebx, ebx
je 0x427118
push ebx
call eax
mov byte [esp + 0x2c8], 0x14
cmp dword [esp + 0x80], 8
jb 0x427136
push dword [esp + 0x6c]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], 0
mov word [esp + 0x6c], ax
mov byte [esp + 0x2c8], 0x12
cmp dword [esp + 0x2c], 8
jb 0x42716b
push dword [esp + 0x18]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
mov byte [esp + 0x2c8], 0x10
push esi
call fcn.00564de3
add esp, 4
mov dword [esp + 0x4c], 0
mov byte [esp + 0x2c8], 0xf
test edi, edi
je 0x4271c8
push edi
call fcn.00564de3
add esp, 4
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov byte [esp + 0x2c8], 0
cmp dword [esp + 0x98], 0x10
jb 0x4271e9
push dword [esp + 0x84]
call fcn.00564de3
add esp, 4
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], 0
mov byte [esp + 0x84], 0
mov dword [esp + 0x2c8], 0xffffffff
cmp dword [esp + 0xb0], 8
jb 0x42722b
push dword [esp + 0x9c]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0xb0], 7
mov dword [esp + 0xac], 0
mov word [esp + 0x9c], ax
mov ecx, dword [esp + 0x2c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2a8]
xor ecx, esp
call fcn.00564de8
add esp, 0x2b8
ret