Function at 0x40c71a
Capabilities:
Delete file
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x16ec
call fcn.004330f0
mov eax, dword [0x46f06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x1048
xor ebx, ebx
lea eax, [ebp - 0x16e4]
push ebx
push eax
call fcn.004352b0
push 0x80
lea eax, [ebp - 0x84]
push ebx
push eax
call fcn.004352b0
lea ecx, [ebp - 0x84]
call fcn.00421e60
push 0x208
lea eax, [ebp - 0x28c]
mov dword [ebp - 0x16ec], 1
push ebx
push eax
call fcn.004352b0
add esp, 0x24
mov dword [ebp - 0x16e8], 0x206
lea eax, [ebp - 0x16e8]
push eax
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x16ec]
push eax
push 0x4679e4
push str.Software360360se6chrome
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
cmp ax, word [ebp - 0x28c]
jne 0x40c7e1
push str.360se
push 0x467218
lea eax, [ebp - 0x28c]
push 0x103
push eax
call fcn.0040b802
add esp, 0x10
cmp dword [0x470490], 0x10
mov esi, 0x47047c
cmovae esi, dword [0x47047c]
test esi, esi
je 0x40c811
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c7fd
sub ecx, edx
lea edi, [ecx + 1]
cmp edi, 0x3fffffff
jle 0x40c815
mov edi, ebx
jmp 0x40c82b
lea eax, [edi + edi]
call fcn.004329f0
mov ecx, esp
mov edx, esi
push 3
push edi
call fcn.0040548a
mov edi, eax
lea ecx, [ebp - 0x84]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c834
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jg 0x40c862
lea eax, [esi + esi]
call fcn.004329f0
mov ecx, esp
lea edx, [ebp - 0x84]
push 3
push esi
call fcn.0040548a
mov ebx, eax
lea ecx, [ebp - 0x84]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c86b
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x40c883
xor eax, eax
jmp 0x40c89b
lea eax, [esi + esi]
call fcn.004329f0
mov ecx, esp
lea edx, [ebp - 0x84]
push 3
push esi
call fcn.0040548a
lea ecx, [ebp - 0x28c]
push ecx
push edi
push ebx
push 0x4d6890
push 0x4d7ce8
push 0x4d6ca0
push 0x4d72b8
push 0x4d7ef0
push 0x4d76c8
mov ecx, 0x4d80f8
push ecx
push 0x4d70b0
push 0
push 0
push ecx
push eax
push str.http:__pvstat.qihoo.com_dimana.gif__pdt360se6bq_dim_kpid__guid__ver_dim_v360se6___s___sm_dmts_diname_sifver_simod_simodver_sicode_sioff_sios_siie_smid_spt_spid_s
lea eax, [ebp - 0x16e4]
push 0x823
push eax
call fcn.0040b802
add esp, 0x48
lea eax, [ebp - 0x16e4]
push eax
call fcn.0040b863
mov esi, 0x208
lea eax, [ebp - 0x69c]
push esi
push 0
push eax
call fcn.004352b0
push esi
lea eax, [ebp - 0x494]
push 0
push eax
call fcn.004352b0
add esp, 0x18
lea eax, [ebp - 0x69c]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x494]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x4679dc
lea eax, [ebp - 0x69c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x494]
push eax
call fcn.0040b894
mov dword [0x4752d0], 1
mov dword [0x475510], 0x1388
call fcn.00405822
call fcn.00405aee
lea eax, [ebp - 0x494]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.004058d5
lea esp, [ebp - 0x16f8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043223c
mov esp, ebp
pop ebp
ret