Function at 0x413035
Capabilities:
Check if file exists
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x628
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
mov dword [esi + 0xa8], eax
mov eax, dword [esi + 4]
lea edi, [esi + 0x38]
add eax, 0x10
push eax
mov ecx, edi
call fcn.0040478a
mov edi, dword [edi]
cmp dword [edi - 8], 0
je 0x4132e3
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4132e3
mov eax, dword [esi + 4]
lea edi, [esi + 0x34]
add eax, 0x14
mov ecx, edi
push eax
call fcn.0040478a
push 0x43d9ac
lea ebx, [esi + 0x30]
push dword [edi]
push 0x43bb44
push ebx
call fcn.00409921
push dword [edi]
call fcn.00421506
push dword [edi]
call fcn.0042158a
add esp, 0x18
test al, al
jne 0x4130cb
push 0x30
push dword [0x44462c]
push 0x43bb90
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x413114
mov ecx, esi
call fcn.00418406
test eax, eax
jne 0x4130e5
push 0x40
push dword [0x44462c]
push 0x43bbd4
jmp 0x4130c0
mov eax, dword [esi + 4]
cmp dword [eax + 4], 9
jge 0x41311c
mov ecx, esi
call fcn.004184ac
test eax, eax
je 0x41311c
push 0x44
push dword [0x44462c]
push 0x43d94c
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
jne 0x41311c
or eax, 0xffffffff
jmp 0x4132e5
push dword [ebx]
mov edi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
push reloc.OLEAUT32.dll_SysReAllocString
call edi
push dword [ebx]
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
push SysReAllocStringLen
call edi
mov ax, word [0x443154]
mov ecx, 0x81
mov word [ebp - 0x218], ax
xor eax, eax
lea edi, [ebp - 0x216]
push 4
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
pop edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xc]
push eax
push str.Version
push str.SoftwareMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], 0x103
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4131c7
cmp word [ebp - 0x218], 0x38
je 0x4131a5
cmp word [ebp - 0x218], 0x39
jne 0x4131c7
lea eax, [ebp - 8]
push edi
push eax
push edi
push str.MSCompatibilityMode
push str.SoftwareMicrosoftInternet_ExplorerBrowserEmulation
push SysReAllocStringLen
mov dword [ebp - 8], 1
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, esi
call fcn.00418041
mov ecx, esi
call fcn.00417d3b
mov ecx, dword [esi + 4]
push 5
push dword [ebp + 8]
call fcn.0041a8a4
mov ebx, dword [ebx]
mov eax, dword [esi + 0x34]
push 1
push ebx
push eax
mov ecx, esi
push dword [ebp + 8]
call fcn.00417d93
test eax, eax
je 0x4132e3
lea eax, [esi + 0x2c]
push str.dataDeleteCookieFlag.txt
push eax
lea eax, [ebp - 8]
push eax
call fcn.0041a0ea
push eax
mov ecx, 0x445398
call fcn.0040478a
lea ecx, [ebp - 8]
call fcn.00404c0d
mov eax, dword [0x43a50c]
push str.360se_bin
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
push dword [eax + 0x18]
lea eax, [ebp - 4]
push 0x43bb44
push eax
call fcn.00409921
add esp, 0x10
cmp dword [0x4452fc], 0
je 0x41334d
mov eax, dword [esi + 4]
cmp dword [eax + 4], 6
jle 0x41334d
push dword [esi + 0x34]
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
jne 0x41334d
mov ebx, 0x4450f4
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41334d
and word [ebp - 0x420], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x41e]
rep stosd dword es:[edi], eax
push 0x43d9ac
push ebx
stosw word es:[edi], ax
push 0x43bb44
lea eax, [ebp - 0x420]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
lea eax, [ebp - 0x420]
mov ecx, esi
push 0
push eax
push ebx
push dword [ebp + 8]
call fcn.00417d93
test eax, eax
jne 0x4132ec
lea ecx, [ebp - 4]
call fcn.00404c0d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
push dword [esi + 0x34]
push ebx
call fcn.004217a9
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 4]
pop ecx
cmp dword [eax + 4], 9
pop ecx
jl 0x41334d
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x626]
mov word [ebp - 0x628], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x420]
push eax
push str.__s___tp:11__v:0
lea eax, [ebp - 0x628]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
push ebx
push ebx
lea eax, [ebp - 0x628]
push ebx
push eax
call fcn.00420ed0
add esp, 0x20
mov edi, dword [ebp + 8]
mov ecx, dword [esi + 4]
push 0xa
push edi
call fcn.0041a8a4
mov ecx, esi
call fcn.00414adf
mov ecx, dword [esi + 4]
push 0xf
push edi
call fcn.0041a8a4
mov ecx, esi
call fcn.00414d07
mov ecx, dword [esi + 4]
push 0x19
push edi
call fcn.0041a8a4
push edi
mov ecx, esi
call fcn.00415006
push 0
push 0
push 0x2000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
lea ecx, [ebp - 4]
call fcn.00404c0d
push 1
pop eax
jmp 0x4132e5