Function at 0x40e950
Capabilities:
Check if file exists
Delete file
Move file
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48948b
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x4b701c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa0], ecx
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push str.kernel32.dll
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x40e9e9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Wow64DisableWow64FsRedirection
push ebx
call esi
push str.Wow64RevertWow64FsRedirection
push ebx
mov dword [ebp - 0x94], eax
call esi
mov esi, dword [ebp - 0x9c]
mov dword [ebp - 0x90], eax
jmp 0x40e9ef
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x94]
test ecx, ecx
je 0x40ea06
test eax, eax
je 0x40ea06
lea eax, [ebp - 0x98]
push eax
call ecx
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov ebx, dword [ebp - 0xa0]
lea eax, [ebp - 0x28]
push eax
mov edx, ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0040dba0
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x30], 0
jne 0x40ea57
mov esi, 1
jmp 0x40ecc6
test edi, edi
je 0x40ea75
lea eax, [ebp - 0x28]
cmp edi, eax
je 0x40ea75
cmp dword [ebp - 0x14], 8
mov ecx, edi
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00408440
push ebx
lea ecx, [ebp - 0x88]
call fcn.00404570
push 0x11
push str.User_DataFlash_
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 4
call fcn.00404760
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x70]
call fcn.00404570
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x70]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00404760
push 0x13
push str.pepflashplayer.dll
lea ecx, [ebp - 0x70]
call fcn.00404760
push 0x11
xor eax, eax
mov dword [ebp - 0x58], 0
push str._r_QQBrowser__p__
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.00408440
mov byte [ebp - 4], 6
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x58]
push dword [ebp - 0x60]
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.00404760
push 1
push 0x4a5278
lea ecx, [ebp - 0x58]
call fcn.00404760
mov dword [ebp - 0x8c], 0x103
call fcn.0040caf0
neg eax
lea ecx, [ebp - 0x8c]
push ecx
sbb eax, eax
lea ecx, [ebp - 0x40]
neg eax
mov edx, fcn.00422d17
push 0
push eax
lea eax, [ebp - 0x58]
push eax
push 0xffffffffffffffff
call fcn.0040d540
add esp, 0x14
mov edi, eax
test esi, esi
je 0x40eb67
mov ecx, dword [ebp - 0x8c]
mov dword [esi], ecx
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x70]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae ecx, dword [ebp - 0x70]
push ecx
call ebx
test eax, eax
je 0x40ec20
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push str.CC_FLASH
push str.SoftwareTencentQQBrowserPrivateCfg
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
lea edi, [ebp - 0x40]
cmovae esi, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
cmovae edi, dword [ebp - 0x40]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40ec1c
push edi
call ebx
test eax, eax
je 0x40ec1c
test esi, esi
je 0x40ec11
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ebe2
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push str.CC_FLASH_VER
push str.SoftwareTencentQQBrowserPrivateCfg
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor esi, esi
jmp 0x40ec61
cmp edi, 0x800704b4
je 0x40ec34
cmp dword [ebp - 0x8c], 0x4b4
jne 0x40ec5c
cmp dword [ebp - 0x2c], 8
lea esi, [ebp - 0x40]
cmovae esi, dword [ebp - 0x40]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40ec5c
push esi
call ebx
test eax, eax
je 0x40ec5c
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, 0x80004005
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x40ec9f
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ec95
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eda4
push edx
push ecx
call fcn.00453c42
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.004087f0
lea ecx, [ebp - 0x88]
call fcn.004087f0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x40ed04
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ecfa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eda4
push edx
push ecx
call fcn.00453c42
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x40ed51
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ed47
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eda4
push edx
push ecx
call fcn.00453c42
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 8
cmp dword [ebp - 0x94], eax
je 0x40ed86
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x40ed86
push dword [ebp - 0x98]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00453c11
mov esp, ebp
pop ebp
ret
call fcn.004584af
int3