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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x478c6e
mov eax, dword fs:[0]
push eax
sub esp, 0x154
push esi
mov eax, dword [0x499750]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xf8], ecx
mov ecx, dword [ebp - 0xf8]
call fcn.00470960
push 1
mov eax, dword [ebp - 0xf8]
mov ecx, dword [eax + 0xa48]
push ecx
mov ecx, dword [ebp - 0xf8]
call fcn.004060d0
push 0
mov edx, dword [ebp - 0xf8]
mov eax, dword [edx + 0xa48]
push eax
mov ecx, dword [ebp - 0xf8]
call fcn.004060d0
push 0x3ec
mov ecx, dword [ebp - 0xf8]
push ecx
push 0x37
push 0x92
push 0
push 0
lea ecx, [ebp - 0x50]
call fcn.004036c0
push eax
push 0x5000000b
push 0
mov ecx, dword [ebp - 0xf8]
add ecx, 0xe18
mov edx, dword [ebp - 0xf8]
mov eax, dword [edx + 0xe18]
mov edx, dword [eax + 0x134]
call edx
push 0x41d
push 0x402
push 0x403
mov ecx, dword [ebp - 0xf8]
add ecx, 0xe18
call fcn.00471e50
push 0x401
push 0x411
push 0x410
mov ecx, dword [ebp - 0xf8]
add ecx, 0xe18
call fcn.00471df0
push 1
push 0
push 0
mov eax, dword [ebp - 0xf8]
mov ecx, 0x153
sub ecx, dword [eax + 0xec4]
push ecx
mov edx, dword [ebp - 0xf8]
mov eax, 0x21a
sub eax, dword [edx + 0xec0]
cdq
sub eax, edx
sar eax, 1
push eax
push 0
mov ecx, dword [ebp - 0xf8]
add ecx, 0xe18
call fcn.004245b4
push 0x422
mov eax, dword [ebp - 0xf8]
push eax
push 0x37
push 0x92
push 0
push 0
lea ecx, [ebp - 0x60]
call fcn.004036c0
push eax
push 0x4000000b
push 0
mov ecx, dword [ebp - 0xf8]
add ecx, 0xecc
mov edx, dword [ebp - 0xf8]
mov eax, dword [edx + 0xecc]
mov edx, dword [eax + 0x134]
call edx
push 0x420
push 0x421
push 0x420
mov ecx, dword [ebp - 0xf8]
add ecx, 0xecc
call fcn.00471e50
push 1
push 0
push 0
mov eax, dword [ebp - 0xf8]
mov ecx, 0x153
sub ecx, dword [eax + 0xf78]
push ecx
mov edx, dword [ebp - 0xf8]
mov eax, 0x21a
sub eax, dword [edx + 0xf74]
cdq
sub eax, edx
sar eax, 1
push eax
push 0
mov ecx, dword [ebp - 0xf8]
add ecx, 0xecc
call fcn.004245b4
push 0x3f4
mov eax, dword [ebp - 0xf8]
push eax
push 0xe
push 0x64
push 0
push 0
lea ecx, [ebp - 0x70]
call fcn.004036c0
push eax
push 0x5000000b
push 0
mov ecx, dword [ebp - 0xf8]
add ecx, 0xf80
mov edx, dword [ebp - 0xf8]
mov eax, dword [edx + 0xf80]
mov edx, dword [eax + 0x134]
call edx
push 0x412
push 0x414
push 0x412
mov ecx, dword [ebp - 0xf8]
add ecx, 0xf80
call fcn.00471e50
push 0x413
push 0x415
push 0x413
mov ecx, dword [ebp - 0xf8]
add ecx, 0xf80
call fcn.00471df0
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
push 0x4861a4
call fcn.00402f90
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0xf8]
add ecx, 0xf80
call fcn.004726f0
push 1
push 0
push 0
push 0xd7
push 0x67
push 0
mov ecx, dword [ebp - 0xf8]
add ecx, 0xf80
call fcn.004245b4
push 1
mov ecx, dword [ebp - 0xf8]
add ecx, 0xf80
call fcn.004016c0
mov eax, dword [ebp - 0xf8]
mov dword [eax + 0x1030], 1
push 0xf4f2f0
mov ecx, dword [ebp - 0xf8]
add ecx, 0xf80
call fcn.00401720
mov ecx, dword [ebp - 0xf8]
add ecx, 0xf80
call fcn.00401140
mov dword [ebp - 0x78], eax
lea ecx, [ebp - 0x78]
push ecx
mov ecx, dword [ebp - 0xf8]
add ecx, 0x1380
call fcn.00406720
mov ecx, dword [ebp - 0xf8]
add ecx, 0x11a0
call fcn.00401140
mov dword [ebp - 0x7c], eax
lea edx, [ebp - 0x7c]
push edx
mov ecx, dword [ebp - 0xf8]
add ecx, 0x1380
call fcn.00406720
mov eax, dword [ebp - 0xf8]
mov dword [eax + 0x108c], 1
push 0xff
push 0x11925c
push 0
mov ecx, dword [ebp - 0xf8]
add ecx, 0x1038
call fcn.00475bc0
mov ecx, dword [ebp - 0xf8]
add ecx, 0x1038
call fcn.00401140
mov dword [ebp - 0x80], eax
lea ecx, [ebp - 0x80]
push ecx
mov ecx, dword [ebp - 0xf8]
add ecx, 0x1380
call fcn.00406720
mov edx, dword [ebp - 0xf8]
mov dword [edx + 0x135c], 1
mov eax, dword [ebp - 0xf8]
mov dword [eax + 0x117c], 1
push 0xff
push 0x11925c
push 0
mov ecx, dword [ebp - 0xf8]
add ecx, 0x1128
call fcn.00475bc0
mov ecx, dword [ebp - 0xf8]
add ecx, 0x1128
call fcn.00401140
mov dword [ebp - 0x84], eax
lea ecx, [ebp - 0x84]
push ecx
mov ecx, dword [ebp - 0xf8]
add ecx, 0x1380
call fcn.00406720
push ecx
mov ecx, esp
mov dword [ebp - 0x8c], esp
push str.little
call fcn.00402f90
mov dword [ebp - 0x100], eax
lea edx, [ebp - 0x90]
push edx
call fcn.0045b760
add esp, 8
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0x108]
push ecx
push 0x485c74
call fcn.00405fc0
add esp, 8
mov byte [ebp - 0x85], al
lea ecx, [ebp - 0x90]
call fcn.00405530
movzx edx, byte [ebp - 0x85]
test edx, edx
je 0x46bd1a
push 0x485d7c
mov ecx, dword [ebp - 0xf8]
add ecx, 0x304
call fcn.0042430f
jmp 0x46bd72
cmp dword [0x49e424], 0
je 0x46bd3b
push 0x4861c4
mov ecx, dword [ebp - 0xf8]
add ecx, 0x304
call fcn.0042430f
jmp 0x46bd72
cmp dword [0x49e428], 0
je 0x46bd5c
push 0x4861ec
mov ecx, dword [ebp - 0xf8]
add ecx, 0x304
call fcn.0042430f
jmp 0x46bd72
push 0x48621c
mov ecx, dword [ebp - 0xf8]
add ecx, 0x304
call fcn.0042430f
push 1
push 0
push 0
push 0xb8
push 0x67
push 0
mov ecx, dword [ebp - 0xf8]
add ecx, 0x11a0
call fcn.004245b4
push 1
push 0
push 0
push 0xb8
push 0x99
push 0
mov ecx, dword [ebp - 0xf8]
add ecx, 0x10b0
call fcn.004245b4
push 1
push 0
push 0
push 0x134
push 0x168
push 0
mov ecx, dword [ebp - 0xf8]
add ecx, 0x1308
call fcn.004245b4
push 0x485ee4
push 0x49e43c
call fcn.00401a00
add esp, 8
movzx eax, al
test eax, eax
je 0x46be16
push 1
push 0
push 0
push 0xd4
push 0xca
push 0
mov ecx, dword [ebp - 0xf8]
add ecx, 0x1128
call fcn.004245b4
jmp 0x46be39
push 1
push 0
push 0
push 0xd7
push 0xca
push 0
mov ecx, dword [ebp - 0xf8]
add ecx, 0x1128
call fcn.004245b4
push 0x486014
push 0x49e43c
call fcn.00401a00
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x46be74
push 1
push 0
push 0
push 0xf3
push 0x67
push 0
mov ecx, dword [ebp - 0xf8]
add ecx, 0x1218
call fcn.004245b4
jmp 0x46be94
push 1
push 0
push 0
push 0xf7
push 0x67
push 0
mov ecx, dword [ebp - 0xf8]
add ecx, 0x1218
call fcn.004245b4
mov ecx, dword [ebp - 0xf8]
add ecx, 0x10b0
call fcn.00401140
mov dword [ebp - 0x94], eax
lea edx, [ebp - 0x94]
push edx
mov ecx, dword [ebp - 0xf8]
add ecx, 0x1380
call fcn.00406720
mov ecx, dword [ebp - 0xf8]
add ecx, 0x288
call fcn.00464aa0
mov ecx, dword [ebp - 0xf8]
add ecx, 0x288
call fcn.00464a40
mov ecx, dword [ebp - 0xf8]
add ecx, 0x288
call fcn.0045b000
test eax, eax
jne 0x46bf62
push 0x49e3dc
push 0x48610c
lea eax, [ebp - 0x98]
push eax
call fcn.00401950
add esp, 0xc
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x110], ecx
mov dword [ebp - 4], 0
push 0
push 0
mov ecx, dword [ebp - 0x110]
call fcn.004068a0
push eax
call fcn.00425149
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.00405530
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
xor eax, eax
jmp 0x46c6e3
mov ecx, dword [ebp - 0xf8]
add ecx, 0x288
call fcn.00468530
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 - 0x9c], esp
push 0x486244
call fcn.00402f90
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0045b760
add esp, 8
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x11c]
push edx
mov ecx, 0x49e3c4
call fcn.00403530
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.00405530
push 0x48625c
push str.iQiyi
mov ecx, 0x49e3c4
call fcn.004051d0
push 0x49e3c4
lea ecx, [ebp - 0x1c]
call fcn.00402b50
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.004053b0
mov ecx, 0x49e3c4
call fcn.004068a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46c042
push 0
push str.iqiyi
lea ecx, [ebp - 0x1c]
call fcn.004017b0
cmp eax, 0xffffffff
jne 0x46c079
push 0
push 0x26
push 0x104
mov ecx, 0x49e3c4
call fcn.00402d00
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
mov ecx, 0x49e3c4
call fcn.00402cd0
push 0x486284
mov ecx, 0x49e3c4
call fcn.004050f0
push 0x49e3c4
mov ecx, dword [ebp - 0xf8]
add ecx, 0x1034
call fcn.00403530
push 0x3b8
push 0
mov eax, dword [ebp - 0xf8]
add eax, 0xa60
push eax
call fcn.0043ade0
add esp, 0xc
mov ecx, dword [ebp - 0xf8]
mov dword [ecx + 0xa60], 0x3b8
mov edx, dword [ebp - 0xf8]
mov dword [edx + 0xa6c], 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 - 0xf8]
mov dword [ecx + 0xa74], eax
mov edx, dword [ebp - 0xf8]
mov dword [edx + 0xa68], 0x80
mov ecx, dword [ebp - 0xf8]
call fcn.00401140
mov ecx, dword [ebp - 0xf8]
mov dword [ecx + 0xa64], eax
mov edx, dword [ebp - 0xf8]
mov dword [edx + 0xa70], 0x7e4
push 0x486294
mov eax, dword [ebp - 0xf8]
add eax, 0xa78
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp - 0xf8]
mov dword [ecx + 0xd80], 0xbb8
mov edx, dword [ebp - 0xf8]
mov dword [edx + 0xe04], 0
mov dword [ebp - 0x14], 0xc8
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0
jmp 0x46c178
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 4
jge 0x46c459
lea ecx, [ebp - 0x24]
call fcn.00405510
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x20]
add ecx, 1
push ecx
push str.softname_d
lea edx, [ebp - 0x24]
push edx
call fcn.00402f60
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.00405510
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
add eax, 1
push eax
push str.softcheck_d
lea ecx, [ebp - 0x28]
push ecx
call fcn.00402f60
add esp, 0xc
push 0x4862dc
push ecx
mov ecx, esp
mov dword [ebp - 0xa8], esp
lea edx, [ebp - 0x28]
push edx
call fcn.00402b50
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0xac]
push eax
call fcn.0045b760
add esp, 8
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x128], ecx
mov edx, dword [ebp - 0x128]
push edx
call fcn.00401a00
add esp, 8
mov byte [ebp - 0xa1], al
lea ecx, [ebp - 0xac]
call fcn.00405530
movzx eax, byte [ebp - 0xa1]
test eax, eax
je 0x46c43c
push ecx
mov ecx, esp
mov dword [ebp - 0xb0], esp
lea edx, [ebp - 0x24]
push edx
call fcn.00402b50
mov dword [ebp - 0x12c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0045b760
add esp, 8
mov dword [ebp - 0x130], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00401a20
movzx ecx, al
test ecx, ecx
jne 0x46c430
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0xf8]
call fcn.00470540
fld dword [ebp - 0x3c]
fmul qword [0x48a048]
fadd qword [0x48a070]
call fcn.00444dd0
mov dword [ebp - 0x30], eax
push 0xb4
call fcn.00402cb0
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 6
cmp dword [ebp - 0xb8], 0
je 0x46c2d2
mov ecx, dword [ebp - 0xb8]
call fcn.004724b0
mov dword [ebp - 0x134], eax
jmp 0x46c2dc
mov dword [ebp - 0x134], 0
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0xb4], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x10]
add eax, 0x3f5
push eax
mov ecx, dword [ebp - 0xf8]
push ecx
push 0xe
mov edx, dword [ebp - 0x30]
push edx
push 0
push 0
lea ecx, [ebp - 0xc8]
call fcn.004036c0
push eax
push 0x5000000b
push 0
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
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.00471e50
push 0x413
push 0x415
push 0x413
mov ecx, dword [ebp - 0x34]
call fcn.00471df0
push ecx
mov ecx, esp
mov dword [ebp - 0xcc], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.00402b50
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp - 0x34]
call fcn.004726f0
push 1
push 0
push 0
push 0xf6
mov eax, dword [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x34]
call fcn.004245b4
push 1
mov ecx, dword [ebp - 0x34]
call fcn.004016c0
push 0xf4f2f0
mov ecx, dword [ebp - 0x34]
call fcn.00401720
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 - 0xf8]
add ecx, 0x1218
call fcn.004243a9
mov ecx, dword [ebp - 0x34]
call fcn.00401140
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0xd0]
push eax
mov ecx, dword [ebp - 0xf8]
add ecx, 0x1380
call fcn.00406720
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 3
jl 0x46c430
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00405530
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00405530
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00405530
jmp 0x46c459
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00405530
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00405530
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00405530
jmp 0x46c16f
cmp dword [ebp - 0x10], 0
jle 0x46c48e
mov ecx, dword [ebp - 0xf8]
add ecx, 0x1218
call fcn.00401140
mov dword [ebp - 0xd4], eax
lea edx, [ebp - 0xd4]
push edx
mov ecx, dword [ebp - 0xf8]
add ecx, 0x1380
call fcn.00406720
cmp dword [0x49e428], 0
je 0x46c4e9
mov eax, dword [ebp - 0xf8]
add eax, 0x1034
push eax
lea ecx, [ebp - 0x40]
call fcn.00402b50
mov byte [ebp - 4], 7
push 0x4862e0
push 0x4862e4
lea ecx, [ebp - 0x40]
call fcn.004051d0
lea ecx, [ebp - 0x40]
call fcn.004068a0
push eax
mov ecx, dword [ebp - 0xf8]
add ecx, 0x10b0
call fcn.0042430f
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00405530
jmp 0x46c50c
mov ecx, dword [ebp - 0xf8]
add ecx, 0x1034
call fcn.004068a0
push eax
mov ecx, dword [ebp - 0xf8]
add ecx, 0x10b0
call fcn.0042430f
mov ecx, dword [ebp - 0xf8]
call fcn.0046a0d0
push 0x4862f0
push ecx
mov ecx, esp
mov dword [ebp - 0xd8], esp
push 0x4862f4
call fcn.00402f90
mov dword [ebp - 0x13c], eax
lea ecx, [ebp - 0xdc]
push ecx
call fcn.0045b760
add esp, 8
mov dword [ebp - 0x140], eax
mov edx, dword [ebp - 0x140]
mov dword [ebp - 0x144], edx
mov eax, dword [ebp - 0x144]
push eax
call fcn.00401a00
add esp, 8
movzx ecx, al
mov edx, dword [ebp - 0xf8]
mov dword [edx + 0xa50], ecx
lea ecx, [ebp - 0xdc]
call fcn.00405530
cmp dword [0x49e428], 0
je 0x46c59a
push 0x48630c
mov ecx, dword [ebp - 0xf8]
call fcn.0042430f
jmp 0x46c5aa
push 0x48632c
mov ecx, dword [ebp - 0xf8]
call fcn.0042430f
push ecx
mov esi, esp
mov dword [ebp - 0xe0], esp
push ecx
mov ecx, esp
mov dword [ebp - 0xe4], esp
push 0x486340
call fcn.00402f90
mov dword [ebp - 0x148], eax
push esi
call fcn.0045b760
add esp, 8
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x150], eax
mov byte [ebp - 4], 8
push ecx
mov esi, esp
mov dword [ebp - 0xe8], esp
push ecx
mov ecx, esp
mov dword [ebp - 0xec], esp
push 0x486358
call fcn.00402f90
mov dword [ebp - 0x154], eax
push esi
call fcn.0045b760
add esp, 8
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x158]
mov dword [ebp - 0x15c], ecx
mov byte [ebp - 4], 2
mov ecx, 0x49e320
call fcn.0046ce30
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 0
je 0x46c6a7
mov ecx, dword [ebp - 0xf8]
add ecx, 0xe18
call fcn.00401140
mov dword [ebp - 0xf0], eax
lea edx, [ebp - 0xf0]
push edx
mov ecx, dword [ebp - 0xf8]
add ecx, 0x1380
call fcn.00406720
push 0
mov ecx, dword [ebp - 0xf8]
call fcn.00469f70
push 5
mov ecx, dword [ebp - 0xf8]
add ecx, 0xecc
call fcn.004243a9
push 5
mov ecx, dword [ebp - 0xf8]
add ecx, 0x1308
call fcn.004243a9
cmp dword [0x49e420], 0
jne 0x46c6b9
cmp dword [0x49e424], 0
je 0x46c6c4
mov ecx, dword [ebp - 0xf8]
call fcn.0046b4c0
mov dword [ebp - 0xf4], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00405530
mov eax, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret