Function at 0x4124c5
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 + 0x84], eax
mov eax, dword [esi + 4]
lea edi, [esi + 0x20]
add eax, 0x10
push eax
mov ecx, edi
call fcn.0040478a
mov edi, dword [edi]
cmp dword [edi - 8], 0
je 0x412773
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x412773
mov eax, dword [esi + 4]
lea edi, [esi + 0x1c]
add eax, 0x14
mov ecx, edi
push eax
call fcn.0040478a
push 0x431634
lea ebx, [esi + 0x18]
push dword [edi]
push 0x42f9cc
push ebx
call fcn.0040959f
push dword [edi]
call fcn.0041d105
push dword [edi]
call fcn.0041d189
add esp, 0x18
test al, al
jne 0x41255b
push 0x30
push dword [0x4363bc]
push 0x42fa18
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x4125a4
mov ecx, esi
call fcn.0041742a
test eax, eax
jne 0x412575
push 0x40
push dword [0x4363bc]
push 0x42fa5c
jmp 0x412550
mov eax, dword [esi + 4]
cmp dword [eax + 4], 9
jge 0x4125ac
mov ecx, esi
call fcn.004174d0
test eax, eax
je 0x4125ac
push 0x44
push dword [0x4363bc]
push 0x4315d4
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
jne 0x4125ac
or eax, 0xffffffff
jmp 0x412775
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 SysReAllocString
call edi
mov ax, word [0x434ee4]
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 0x412657
cmp word [ebp - 0x218], 0x38
je 0x412635
cmp word [ebp - 0x218], 0x39
jne 0x412657
lea eax, [ebp - 8]
push edi
push eax
push edi
push str.MSCompatibilityMode
push str.SoftwareMicrosoftInternet_ExplorerBrowserEmulation
push SysReAllocString
mov dword [ebp - 8], 1
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, esi
call fcn.004170e4
mov ecx, esi
call fcn.00416dde
mov ecx, dword [esi + 4]
push 5
push dword [ebp + 8]
call fcn.00419562
mov ebx, dword [ebx]
mov eax, dword [esi + 0x1c]
push 1
push ebx
push eax
mov ecx, esi
push dword [ebp + 8]
call fcn.00416e36
test eax, eax
je 0x412773
lea eax, [esi + 0x14]
push str.dataDeleteCookieFlag.txt
push eax
lea eax, [ebp - 8]
push eax
call fcn.00418da8
push eax
mov ecx, 0x437120
call fcn.0040478a
lea ecx, [ebp - 8]
call fcn.00404c0d
mov eax, dword [0x42e50c]
push str.360se_bin
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
push dword [eax + 0x18]
lea eax, [ebp - 4]
push 0x42f9cc
push eax
call fcn.0040959f
add esp, 0x10
cmp dword [0x43708c], 0
je 0x4127dd
mov eax, dword [esi + 4]
cmp dword [eax + 4], 6
jle 0x4127dd
push dword [esi + 0x1c]
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
jne 0x4127dd
mov ebx, 0x436e84
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4127dd
and word [ebp - 0x420], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x41e]
rep stosd dword es:[edi], eax
push 0x431634
push ebx
stosw word es:[edi], ax
push 0x42f9cc
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.00416e36
test eax, eax
jne 0x41277c
lea ecx, [ebp - 4]
call fcn.00404c0d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
push dword [esi + 0x1c]
push ebx
call fcn.0041d3a8
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 4]
pop ecx
cmp dword [eax + 4], 9
pop ecx
jl 0x4127dd
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.0041cacf
add esp, 0x20
mov edi, dword [ebp + 8]
mov ecx, dword [esi + 4]
push 0xa
push edi
call fcn.00419562
mov ecx, esi
call fcn.00413f41
mov ecx, dword [esi + 4]
push 0xf
push edi
call fcn.00419562
mov ecx, esi
call fcn.00414169
mov ecx, dword [esi + 4]
push 0x19
push edi
call fcn.00419562
push edi
mov ecx, esi
call fcn.00414468
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 0x412775