Function at 0x42f6e0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f176c
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x54006c]
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 edi, ecx
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x474], 0
cmp ecx, 0x18
ja 0x42fd6a
lea eax, [ecx + ecx*2]
cmp dword [edi + eax*8 + 0x10], 0
lea eax, [edi + eax*8]
mov dword [ebp - 0x46c], eax
je 0x42f762
xor ecx, ecx
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
push ecx
mov dword [esi + 0x10], 0
mov word [esi], cx
mov ecx, esi
push eax
call fcn.004159f0
jmp 0x42fd8a
xor eax, eax
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
mov dword [ebp - 4], eax
cmp ecx, 0x18
ja case.default.0x42f78b
jmp dword [ecx*4 + 0x42fdac]
test ebx, ebx
mov ecx, edi
setne al
movzx eax, al
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.0042f100
push eax
lea ecx, [ebp - 0x438]
call fcn.00420890
lea ecx, [ebp - 0x450]
call fcn.00418e80
jmp 0x42fcd7
push 0
push 0
lea eax, [ebp - 0x450]
mov ecx, edi
push eax
call fcn.0042f6e0
push eax
lea ecx, [ebp - 0x438]
call fcn.00420890
lea ecx, [ebp - 0x450]
call fcn.00418e80
cmp dword [ebp - 0x428], 0
je case.default.0x42f78b
push 0x52e704
lea ecx, [ebp - 0x438]
call fcn.00414620
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x258]
push eax
lea ecx, [ebp - 0x438]
call fcn.00414a70
jmp 0x42fcd7
push str.InstallDir
lea ecx, [ebp - 0x468]
call fcn.004146c0
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
push 0x52cac0
call fcn.004146c0
lea eax, [ebp - 0x438]
mov ecx, 2
push eax
lea edx, [ebp - 0x468]
call fcn.00432fa0
add esp, 0x1c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x468]
call fcn.00418e80
jmp 0x42fcd7
push ebx
push 2
lea eax, [ebp - 0x450]
mov ecx, edi
push eax
call fcn.0042f6e0
push eax
lea ecx, [ebp - 0x438]
call fcn.00420890
lea ecx, [ebp - 0x450]
call fcn.00418e80
cmp dword [ebp - 0x428], 0
je case.default.0x42f78b
xor eax, eax
mov dword [ebp - 0x454], 7
mov dword [ebp - 0x458], 0
mov word [ebp - 0x468], ax
push str.Version
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 2
call fcn.004146c0
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
push 0x52cac0
call fcn.004146c0
lea eax, [ebp - 0x468]
mov ecx, 2
push eax
lea edx, [ebp - 0x450]
call fcn.00432fa0
add esp, 0x1c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x450]
call fcn.00418e80
push 0x52e704
lea ecx, [ebp - 0x438]
call fcn.00414620
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x468]
push eax
lea ecx, [ebp - 0x438]
call fcn.00414a70
lea ecx, [ebp - 0x468]
mov byte [ebp - 4], 0
call fcn.00418e80
jmp 0x42fcd7
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004c7830
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x42fcd7
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004c7830
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.14ab_x
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.0041a590
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004d0726
add esp, 0x1c
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x438]
push eax
call fcn.00414670
jmp 0x42fcd7
push ebx
push 4
lea eax, [ebp - 0x450]
mov ecx, edi
push eax
call fcn.0042f6e0
push eax
lea ecx, [ebp - 0x438]
call fcn.00420890
lea ecx, [ebp - 0x450]
call fcn.00418e80
cmp dword [ebp - 0x428], 0
je case.default.0x42f78b
push str.Bin
lea ecx, [ebp - 0x438]
call fcn.00414620
jmp 0x42fcd7
push ebx
push 4
lea eax, [ebp - 0x450]
mov ecx, edi
push eax
call fcn.0042f6e0
push eax
lea ecx, [ebp - 0x438]
call fcn.00420890
lea ecx, [ebp - 0x450]
call fcn.00418e80
cmp dword [ebp - 0x428], 0
je case.default.0x42f78b
push str.AppData
lea ecx, [ebp - 0x438]
call fcn.00414620
jmp 0x42fcd7
push ebx
push 4
lea eax, [ebp - 0x450]
mov ecx, edi
push eax
call fcn.0042f6e0
push eax
lea ecx, [ebp - 0x438]
call fcn.00420890
lea ecx, [ebp - 0x450]
call fcn.00418e80
cmp dword [ebp - 0x428], 0
je case.default.0x42f78b
push str.Union
lea ecx, [ebp - 0x438]
call fcn.00414620
jmp 0x42fcd7
lea eax, [ebp - 0x438]
push eax
push 0x1a
call fcn.0042efd0
test eax, eax
je 0x42fcd7
push str.TencentQQBrowser
lea ecx, [ebp - 0x438]
call fcn.00414620
jmp 0x42fcd7
lea eax, [ebp - 0x438]
push eax
push 0x1c
jmp 0x42facf
push ebx
push 9
lea eax, [ebp - 0x450]
mov ecx, edi
push eax
call fcn.0042f6e0
push eax
lea ecx, [ebp - 0x438]
call fcn.00420890
lea ecx, [ebp - 0x450]
call fcn.00418e80
cmp dword [ebp - 0x428], 0
je case.default.0x42f78b
push str.User_DataLiveupTemp
lea ecx, [ebp - 0x438]
call fcn.00414620
jmp 0x42fcd7
lea eax, [ebp - 0x438]
push eax
push 0
jmp 0x42fcd2
lea eax, [ebp - 0x438]
push eax
push 0x19
jmp 0x42fcd2
lea eax, [ebp - 0x438]
push eax
push 0x1a
call fcn.0042efd0
test eax, eax
je 0x42fcd7
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedStartMenu
lea ecx, [ebp - 0x438]
call fcn.00414620
jmp 0x42fcd7
lea eax, [ebp - 0x438]
push eax
push 2
call fcn.0042efd0
test eax, eax
je 0x42fcd7
push 0x527220
lea ecx, [ebp - 0x438]
call fcn.00414620
jmp 0x42fcd7
lea eax, [ebp - 0x438]
push eax
push 0x17
jmp 0x42fb96
lea eax, [ebp - 0x438]
push eax
push 0x1a
call fcn.0042efd0
test eax, eax
je 0x42fcd7
push str.MicrosoftInternet_ExplorerQuick_Launch
lea ecx, [ebp - 0x438]
call fcn.00414620
jmp 0x42fcd7
lea eax, [ebp - 0x438]
push eax
push 0x1a
call fcn.0042efd0
test eax, eax
je 0x42fcd7
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar
lea ecx, [ebp - 0x438]
call fcn.00414620
jmp 0x42fcd7
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004c7830
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x438]
call fcn.00414670
jmp 0x42fcd7
lea eax, [ebp - 0x438]
push eax
push 0x25
call fcn.0042efd0
test eax, eax
je 0x42fcd7
push str.drivers
lea ecx, [ebp - 0x438]
call fcn.00414620
jmp 0x42fcd7
lea eax, [ebp - 0x438]
push eax
push 0x26
jmp 0x42fcd2
lea eax, [ebp - 0x438]
push eax
push 6
call fcn.0042efd0
push str.Links
lea ecx, [ebp - 0x438]
call fcn.00414620
jmp 0x42fcd7
lea eax, [ebp - 0x438]
push eax
push 0x22
jmp 0x42fcd2
lea eax, [ebp - 0x438]
push eax
push 0x1c
jmp 0x42fcd2
lea eax, [ebp - 0x438]
push eax
push 0x1a
call fcn.0042efd0
cmp dword [ebp - 0x428], 0
je case.default.0x42f78b
test ebx, ebx
je 0x42fcf1
mov dl, 1
lea ecx, [ebp - 0x438]
call fcn.0042e29b
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42fd3c
mov ecx, dword [ebp - 0x46c]
lea eax, [ebp - 0x438]
cmp ecx, eax
je 0x42fd3c
push 0xffffffffffffffff
push 0
push eax
call fcn.004159f0
jmp 0x42fd3c
push 0x52cac0
lea ecx, [ebp - 0x438]
call fcn.00414670
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
lea eax, [ebp - 0x438]
push eax
call fcn.00415130
lea ecx, [ebp - 0x438]
call fcn.00418e80
jmp 0x42fd8a
xor eax, eax
mov dword [esi + 0x14], 7
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x52cac0
mov word [esi], ax
call fcn.00415df0
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.00465694
mov esp, ebp
pop ebp
ret 0xc