Function at 0x10067c50
Capabilities:
Delete registry key
Get common file path
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc38
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 0xc38], str.360SE.EXE
test edi, edi
jne 0x10067c83
mov dword [ebp - 0xc38], str.IEXPLORE.EXE
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.102134e7
add esp, 0xc
test edi, edi
je 0x10067cbc
cmp dword [ebx + 0x30], 8
lea eax, [ebx + 0x1c]
jb 0x10067ca8
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x61c]
push 0x104
push eax
call fcn.1020eeb0
jmp 0x10067ce3
cmp dword [ebx + 0x18], 8
lea eax, [ebx + 4]
jb 0x10067cc7
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x61c]
push 0x104
push eax
call fcn.1020eeb0
mov dword [ebp - 0xc38], str.open
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
call fcn.102134e7
add esp, 0xc
lea eax, [ebp - 0x61c]
push eax
push str.__ws_
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10008ee0
test edi, edi
je 0x10067d38
push str.___1_
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10201280
add esp, 0x1c
jmp 0x10067d3b
add esp, 0x10
push 0x208
lea eax, [ebp - 0x824]
push 0
push eax
call fcn.102134e7
add esp, 0xc
mov eax, str.__ws_
test edi, edi
je 0x10067d5f
mov eax, 0x10221f94
lea ecx, [ebp - 0x61c]
push ecx
push eax
lea eax, [ebp - 0x824]
push 0x104
push eax
call fcn.10008ee0
lea ecx, [ebp - 0x824]
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10067d84
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x824]
push eax
push 1
push 0x10219d7c
push str.CLSID0002DF01_0000_0000_C000_000000000046LocalServer32
push SysReAllocString
call esi
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
push dword [ebp - 0xc38]
push str.Softwareclasseshttp_shell
push SysReAllocString
call fcn.10068130
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
push dword [ebp - 0xc38]
push str.Softwareclasseshttps_shell
push SysReAllocString
call fcn.10068130
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
push dword [ebp - 0xc38]
push str.Softwareclasses_file_shell
push SysReAllocString
call fcn.10068130
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
push dword [ebp - 0xc38]
push str.Softwareclasseshttp_shell
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10068130
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
push dword [ebp - 0xc38]
push str.Softwareclasseshttps_shell
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10068130
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
push dword [ebp - 0xc38]
push str.Softwareclasses_file_shell
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10068130
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.102134e7
push 0x208
lea eax, [ebp - 0xc34]
push 0
push eax
call fcn.102134e7
push 0x208
lea eax, [ebp - 0xa2c]
push 0
push eax
call fcn.102134e7
add esp, 0x24
lea eax, [ebp - 0xc34]
push 0x103
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0xc34]
push eax
push str._surl.dll_0
lea eax, [ebp - 0xa2c]
push 0x103
push eax
call fcn.10068700
add esp, 0x10
push 0x10
push str.360seURL
push 1
push 0x10219d7c
push str.360seURL
push SysReAllocString
call esi
push str.360seURL
push str._s_shell
lea eax, [ebp - 0x414]
push 0x103
push eax
call fcn.10068700
add esp, 0x10
test edi, edi
je 0x10067f31
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
push str.open
lea eax, [ebp - 0x414]
push eax
call fcn.10068110
jmp 0x10067f6c
push str.opencommand
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, 0x103
sub ecx, eax
lea eax, [ebp - 0x414]
push ecx
push eax
call fcn.10201280
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push str.360seURL
push str._sDefaultIcon
lea eax, [ebp - 0x414]
push 0x103
push eax
call fcn.10068700
lea ecx, [ebp - 0xa2c]
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10067f93
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0xa2c]
push eax
push 1
push 0x10219d7c
lea eax, [ebp - 0x414]
push eax
push SysReAllocString
call esi
push 0x10
test edi, edi
je 0x10068058
push str.360seURL
push 1
push 0x10219d7c
push str..htm
push SysReAllocString
call esi
push 0x10
push str.360seURL
push 1
push 0x10219d7c
push str..html
push SysReAllocString
call esi
push 0x10
push str.360seURL
push 1
push 0x10219d7c
push str..shtm
push SysReAllocString
call esi
push 0x10
push str.360seURL
push 1
push 0x10219d7c
push str..shtml
push SysReAllocString
call esi
push 0x10
push str.360seURL
push 1
push 0x10219d7c
push str..mht
push SysReAllocString
call esi
push 0x10
push str.360seURL
jmp 0x100680df
push str.htmlfile
push 1
push 0x10219d7c
push str..htm
push SysReAllocString
call esi
push 0x10
push str.htmlfile
push 1
push 0x10219d7c
push str..html
push SysReAllocString
call esi
push 0x10
push str.htmlfile
push 1
push 0x10219d7c
push str..shtm
push SysReAllocString
call esi
push 0x10
push str.htmlfile
push 1
push 0x10219d7c
push str..shtml
push SysReAllocString
call esi
push 0x12
push str.mhtmlfile
push 1
push 0x10219d7c
push str..mht
push SysReAllocString
call esi
push 0x12
push str.mhtmlfile
push 1
push 0x10219d7c
push str..mhtml
push SysReAllocString
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10212f74
mov esp, ebp
pop ebp
ret 4