Function at 0x4667e0
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46fcd4
mov eax, dword fs:[0]
push eax
sub esp, 0x110
push esi
mov eax, dword [0x48d740]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd4], ecx
mov ecx, dword [ebp - 0xd4]
call fcn.0046aad0
push 1
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 0xa38]
push ecx
mov ecx, dword [ebp - 0xd4]
call fcn.00406280
push 0
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx + 0xa38]
push eax
mov ecx, dword [ebp - 0xd4]
call fcn.00406280
push 0x3ec
mov ecx, dword [ebp - 0xd4]
push ecx
push 0x37
push 0x92
push 0
push 0
lea ecx, [ebp - 0x44]
call fcn.00402450
push eax
push 0x5000000b
push 0
mov ecx, dword [ebp - 0xd4]
add ecx, 0xe08
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx + 0xe08]
mov edx, dword [eax + 0x134]
call edx
push 0x41d
push 0x402
push 0x403
mov ecx, dword [ebp - 0xd4]
add ecx, 0xe08
call fcn.0046bde0
push 0x401
push 0x411
push 0x410
mov ecx, dword [ebp - 0xd4]
add ecx, 0xe08
call fcn.0046bd80
push 1
push 0
push 0
mov eax, dword [ebp - 0xd4]
mov ecx, 0x153
sub ecx, dword [eax + 0xeb4]
push ecx
mov edx, dword [ebp - 0xd4]
mov eax, 0x21a
sub eax, dword [edx + 0xeb0]
cdq
sub eax, edx
sar eax, 1
push eax
push 0
mov ecx, dword [ebp - 0xd4]
add ecx, 0xe08
call fcn.004242d2
push 0x422
mov eax, dword [ebp - 0xd4]
push eax
push 0x37
push 0x92
push 0
push 0
lea ecx, [ebp - 0x54]
call fcn.00402450
push eax
push 0x4000000b
push 0
mov ecx, dword [ebp - 0xd4]
add ecx, 0xebc
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx + 0xebc]
mov edx, dword [eax + 0x134]
call edx
push 0x420
push 0x421
push 0x420
mov ecx, dword [ebp - 0xd4]
add ecx, 0xebc
call fcn.0046bde0
push 1
push 0
push 0
mov eax, dword [ebp - 0xd4]
mov ecx, 0x153
sub ecx, dword [eax + 0xf68]
push ecx
mov edx, dword [ebp - 0xd4]
mov eax, 0x21a
sub eax, dword [edx + 0xf64]
cdq
sub eax, edx
sar eax, 1
push eax
push 0
mov ecx, dword [ebp - 0xd4]
add ecx, 0xebc
call fcn.004242d2
push 0x3f4
mov eax, dword [ebp - 0xd4]
push eax
push 0xe
push 0x64
push 0
push 0
lea ecx, [ebp - 0x64]
call fcn.00402450
push eax
push 0x5000000b
push 0
mov ecx, dword [ebp - 0xd4]
add ecx, 0xf70
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx + 0xf70]
mov edx, dword [eax + 0x134]
call edx
push 0x412
push 0x414
push 0x412
mov ecx, dword [ebp - 0xd4]
add ecx, 0xf70
call fcn.0046bde0
push 0x413
push 0x415
push 0x413
mov ecx, dword [ebp - 0xd4]
add ecx, 0xf70
call fcn.0046bd80
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
push 0x47bdcc
call fcn.00401d70
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xd4]
add ecx, 0xf70
call fcn.0046c680
push 1
push 0
push 0
push 0xd7
push 0x67
push 0
mov ecx, dword [ebp - 0xd4]
add ecx, 0xf70
call fcn.004242d2
push 1
mov ecx, dword [ebp - 0xd4]
add ecx, 0xf70
call fcn.00401470
mov eax, dword [ebp - 0xd4]
mov dword [eax + 0x1020], 1
push 0xf4f2f0
mov ecx, dword [ebp - 0xd4]
add ecx, 0xf70
call fcn.004014d0
mov ecx, dword [ebp - 0xd4]
add ecx, 0xf70
call fcn.00401160
mov dword [ebp - 0x6c], eax
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, dword [ebp - 0xd4]
add ecx, 0x1370
call fcn.00405c30
mov ecx, dword [ebp - 0xd4]
add ecx, 0x1190
call fcn.00401160
mov dword [ebp - 0x70], eax
lea edx, [ebp - 0x70]
push edx
mov ecx, dword [ebp - 0xd4]
add ecx, 0x1370
call fcn.00405c30
mov eax, dword [ebp - 0xd4]
mov dword [eax + 0x107c], 1
push 1
mov ecx, dword [ebp - 0xd4]
add ecx, 0x1028
call fcn.00405bb0
push 0xff
push 0x11925c
push 0
mov ecx, dword [ebp - 0xd4]
add ecx, 0x1028
call fcn.0046d300
mov ecx, dword [ebp - 0xd4]
add ecx, 0x1028
call fcn.00401160
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x74]
push ecx
mov ecx, dword [ebp - 0xd4]
add ecx, 0x1370
call fcn.00405c30
mov edx, dword [ebp - 0xd4]
mov dword [edx + 0x134c], 1
push 1
mov ecx, dword [ebp - 0xd4]
add ecx, 0x12f8
call fcn.00405bb0
mov eax, dword [ebp - 0xd4]
mov dword [eax + 0x116c], 1
push 1
mov ecx, dword [ebp - 0xd4]
add ecx, 0x1118
call fcn.00405bb0
push 0xff
push 0x11925c
push 0
mov ecx, dword [ebp - 0xd4]
add ecx, 0x1118
call fcn.0046d300
mov ecx, dword [ebp - 0xd4]
add ecx, 0x1118
call fcn.00401160
mov dword [ebp - 0x78], eax
lea ecx, [ebp - 0x78]
push ecx
mov ecx, dword [ebp - 0xd4]
add ecx, 0x1370
call fcn.00405c30
push 0x47bddc
mov ecx, dword [ebp - 0xd4]
add ecx, 0x2f4
call fcn.00424029
push 1
push 0
push 0
push 0xb8
push 0x67
push 0
mov ecx, dword [ebp - 0xd4]
add ecx, 0x1190
call fcn.004242d2
push 1
push 0
push 0
push 0xb8
push 0x99
push 0
mov ecx, dword [ebp - 0xd4]
add ecx, 0x10a0
call fcn.004242d2
push 1
push 0
push 0
push 0x134
push 0x168
push 0
mov ecx, dword [ebp - 0xd4]
add ecx, 0x12f8
call fcn.004242d2
push 0x47bbb4
push 0x4923e8
call fcn.00402e30
add esp, 8
movzx edx, al
test edx, edx
je 0x466cc5
push 1
push 0
push 0
push 0xd4
push 0xca
push 0
mov ecx, dword [ebp - 0xd4]
add ecx, 0x1118
call fcn.004242d2
jmp 0x466ce8
push 1
push 0
push 0
push 0xd7
push 0xca
push 0
mov ecx, dword [ebp - 0xd4]
add ecx, 0x1118
call fcn.004242d2
push 0x47bce4
push 0x4923e8
call fcn.00402e30
add esp, 8
movzx eax, al
test eax, eax
je 0x466d23
push 1
push 0
push 0
push 0xf3
push 0x67
push 0
mov ecx, dword [ebp - 0xd4]
add ecx, 0x1208
call fcn.004242d2
jmp 0x466d43
push 1
push 0
push 0
push 0xf7
push 0x67
push 0
mov ecx, dword [ebp - 0xd4]
add ecx, 0x1208
call fcn.004242d2
mov ecx, dword [ebp - 0xd4]
add ecx, 0x10a0
call fcn.00401160
mov dword [ebp - 0x7c], eax
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, dword [ebp - 0xd4]
add ecx, 0x1370
call fcn.00405c30
mov ecx, dword [ebp - 0xd4]
add ecx, 0x288
call fcn.0045f170
mov ecx, dword [ebp - 0xd4]
add ecx, 0x288
call fcn.0045f110
mov ecx, dword [ebp - 0xd4]
add ecx, 0x288
call fcn.00463ae0
mov dword [ebp - 0x18], eax
push 0x2710
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ecx
mov ecx, esp
mov dword [ebp - 0x80], esp
push 0x47be04
call fcn.00401d70
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0x84]
push eax
call fcn.0045b5e0
add esp, 8
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0xe4]
push edx
mov ecx, 0x49237c
call fcn.004022f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.00404e70
push 0x47be1c
push str.iQiyi
mov ecx, 0x49237c
call fcn.00404870
push 0x49237c
lea ecx, [ebp - 0x1c]
call fcn.00401880
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00404b20
mov ecx, 0x49237c
call fcn.004024e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x466e6b
push 0
push str.iqiyi
lea ecx, [ebp - 0x1c]
call fcn.00404a50
cmp eax, 0xffffffff
jne 0x466ea2
push 0
push 0x26
push 0x104
mov ecx, 0x49237c
call fcn.00401a80
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
mov ecx, 0x49237c
call fcn.00405b80
push str.iQIYI
mov ecx, 0x49237c
call fcn.00404790
push 0x49237c
mov ecx, dword [ebp - 0xd4]
add ecx, 0x1024
call fcn.004022f0
push 0x3b8
push 0
mov eax, dword [ebp - 0xd4]
add eax, 0xa50
push eax
call fcn.0043aa80
add esp, 0xc
mov ecx, dword [ebp - 0xd4]
mov dword [ecx + 0xa50], 0x3b8
mov edx, dword [ebp - 0xd4]
mov dword [edx + 0xa5c], 0x17
push 0x80
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov ecx, dword [ebp - 0xd4]
mov dword [ecx + 0xa64], eax
mov edx, dword [ebp - 0xd4]
mov dword [edx + 0xa58], 0x80
mov ecx, dword [ebp - 0xd4]
call fcn.00401160
mov ecx, dword [ebp - 0xd4]
mov dword [ecx + 0xa54], eax
mov edx, dword [ebp - 0xd4]
mov dword [edx + 0xa60], 0x7e4
push 0x47be54
mov eax, dword [ebp - 0xd4]
add eax, 0xa68
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp - 0xd4]
mov dword [ecx + 0xd70], 0xbb8
mov edx, dword [ebp - 0xd4]
mov dword [edx + 0xdf4], 0
mov dword [ebp - 0x14], 0xc8
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0
jmp 0x466fa1
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x46723e
lea ecx, [ebp - 0x24]
call fcn.00404e50
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
add ecx, 1
push ecx
push str.softname_d
lea edx, [ebp - 0x24]
push edx
call fcn.00405b30
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.00404e50
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
add eax, 1
push eax
push str.softcheck_d
lea ecx, [ebp - 0x28]
push ecx
call fcn.00405b30
add esp, 0xc
push 0x47be9c
push ecx
mov ecx, esp
mov dword [ebp - 0x8c], esp
lea edx, [ebp - 0x28]
push edx
call fcn.00401880
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0x90]
push eax
call fcn.0045b5e0
add esp, 8
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0xf0], ecx
mov edx, dword [ebp - 0xf0]
push edx
call fcn.00402e30
add esp, 8
mov byte [ebp - 0x85], al
lea ecx, [ebp - 0x90]
call fcn.00404e70
movzx eax, byte [ebp - 0x85]
test eax, eax
je 0x467221
push ecx
mov ecx, esp
mov dword [ebp - 0x94], esp
lea edx, [ebp - 0x24]
push edx
call fcn.00401880
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0045b5e0
add esp, 8
mov dword [ebp - 0xf8], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00402e50
movzx ecx, al
test ecx, ecx
jne 0x467215
lea ecx, [ebp - 0x2c]
call fcn.00401ce0
add eax, 1
imul eax, eax, 0xf
mov dword [ebp - 0x30], eax
push 0xb4
call fcn.00406260
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x9c], 0
je 0x4670e2
mov ecx, dword [ebp - 0x9c]
call fcn.0046c440
mov dword [ebp - 0xfc], eax
jmp 0x4670ec
mov dword [ebp - 0xfc], 0
mov edx, dword [ebp - 0xfc]
mov dword [ebp - 0x98], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x3f5
push ecx
mov edx, dword [ebp - 0xd4]
push edx
push 0xe
mov eax, dword [ebp - 0x30]
push eax
push 0
push 0
lea ecx, [ebp - 0xac]
call fcn.00402450
push eax
push 0x5000000b
push 0
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x34]
mov eax, dword [edx + 0x134]
call eax
push 0x412
push 0x414
push 0x412
mov ecx, dword [ebp - 0x34]
call fcn.0046bde0
push 0x413
push 0x415
push 0x413
mov ecx, dword [ebp - 0x34]
call fcn.0046bd80
push ecx
mov ecx, esp
mov dword [ebp - 0xb0], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.00401880
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0x34]
call fcn.0046c680
push 1
push 0
push 0
push 0xf6
mov eax, dword [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x34]
call fcn.004242d2
push 1
mov ecx, dword [ebp - 0x34]
call fcn.00401470
push 0xf4f2f0
mov ecx, dword [ebp - 0x34]
call fcn.004014d0
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
add edx, 0xa
mov dword [ebp - 0x14], edx
push 5
mov ecx, dword [ebp - 0xd4]
add ecx, 0x1208
call fcn.004240c3
mov ecx, dword [ebp - 0x34]
call fcn.00401160
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0xd4]
add ecx, 0x1370
call fcn.00405c30
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00404e70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00404e70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00404e70
jmp 0x466f98
cmp dword [ebp - 0x10], 0
jle 0x467273
mov ecx, dword [ebp - 0xd4]
add ecx, 0x1208
call fcn.00401160
mov dword [ebp - 0xb8], eax
lea edx, [ebp - 0xb8]
push edx
mov ecx, dword [ebp - 0xd4]
add ecx, 0x1370
call fcn.00405c30
mov ecx, dword [ebp - 0xd4]
add ecx, 0x1024
call fcn.004024e0
push eax
mov ecx, dword [ebp - 0xd4]
add ecx, 0x10a0
call fcn.00424029
mov ecx, dword [ebp - 0xd4]
call fcn.00465290
push 0x47bea0
push ecx
mov ecx, esp
mov dword [ebp - 0xbc], esp
push 0x47bea4
call fcn.00401d70
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0xc0]
push eax
call fcn.0045b5e0
add esp, 8
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x10c], ecx
mov edx, dword [ebp - 0x10c]
push edx
call fcn.00402e30
add esp, 8
movzx eax, al
mov ecx, dword [ebp - 0xd4]
mov dword [ecx + 0xa40], eax
lea ecx, [ebp - 0xc0]
call fcn.00404e70
push 0x47bebc
mov ecx, dword [ebp - 0xd4]
call fcn.00424029
push ecx
mov esi, esp
mov dword [ebp - 0xc4], esp
push ecx
mov ecx, esp
mov dword [ebp - 0xc8], esp
push 0x47bed0
call fcn.00401d70
mov dword [ebp - 0x110], eax
push esi
call fcn.0045b5e0
add esp, 8
mov dword [ebp - 0x114], eax
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x118], edx
mov ecx, 0x4922d8
call fcn.00467a50
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
je 0x4673d1
mov ecx, dword [ebp - 0xd4]
add ecx, 0xe08
call fcn.00401160
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0xcc]
push eax
mov ecx, dword [ebp - 0xd4]
add ecx, 0x1370
call fcn.00405c30
push 0
mov ecx, dword [ebp - 0xd4]
call fcn.00465130
push 5
mov ecx, dword [ebp - 0xd4]
add ecx, 0xebc
call fcn.004240c3
push 5
mov ecx, dword [ebp - 0xd4]
add ecx, 0x12f8
call fcn.004240c3
cmp dword [0x4923d4], 0
je 0x4673e5
mov ecx, dword [ebp - 0xd4]
call fcn.00466420
mov dword [ebp - 0xd0], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00404e70
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret