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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x477c3b
mov eax, dword fs:[0]
push eax
sub esp, 0x150
push esi
mov eax, dword [0x497750]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xf4], ecx
mov ecx, dword [ebp - 0xf4]
call fcn.0046fde0
push 1
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax + 0xa48]
push ecx
mov ecx, dword [ebp - 0xf4]
call fcn.00406490
push 0
mov edx, dword [ebp - 0xf4]
mov eax, dword [edx + 0xa48]
push eax
mov ecx, dword [ebp - 0xf4]
call fcn.00406490
push 0x3ec
mov ecx, dword [ebp - 0xf4]
push ecx
push 0x37
push 0x92
push 0
push 0
lea ecx, [ebp - 0x4c]
call fcn.00402e10
push eax
push 0x5000000b
push 0
mov ecx, dword [ebp - 0xf4]
add ecx, 0xe18
mov edx, dword [ebp - 0xf4]
mov eax, dword [edx + 0xe18]
mov edx, dword [eax + 0x134]
call edx
push 0x41d
push 0x402
push 0x403
mov ecx, dword [ebp - 0xf4]
add ecx, 0xe18
call fcn.004711e0
push 0x401
push 0x411
push 0x410
mov ecx, dword [ebp - 0xf4]
add ecx, 0xe18
call fcn.00471180
push 1
push 0
push 0
mov eax, dword [ebp - 0xf4]
mov ecx, 0x153
sub ecx, dword [eax + 0xec4]
push ecx
mov edx, dword [ebp - 0xf4]
mov eax, 0x21a
sub eax, dword [edx + 0xec0]
cdq
sub eax, edx
sar eax, 1
push eax
push 0
mov ecx, dword [ebp - 0xf4]
add ecx, 0xe18
call fcn.0042453d
push 0x422
mov eax, dword [ebp - 0xf4]
push eax
push 0x37
push 0x92
push 0
push 0
lea ecx, [ebp - 0x5c]
call fcn.00402e10
push eax
push 0x4000000b
push 0
mov ecx, dword [ebp - 0xf4]
add ecx, 0xecc
mov edx, dword [ebp - 0xf4]
mov eax, dword [edx + 0xecc]
mov edx, dword [eax + 0x134]
call edx
push 0x420
push 0x421
push 0x420
mov ecx, dword [ebp - 0xf4]
add ecx, 0xecc
call fcn.004711e0
push 1
push 0
push 0
mov eax, dword [ebp - 0xf4]
mov ecx, 0x153
sub ecx, dword [eax + 0xf78]
push ecx
mov edx, dword [ebp - 0xf4]
mov eax, 0x21a
sub eax, dword [edx + 0xf74]
cdq
sub eax, edx
sar eax, 1
push eax
push 0
mov ecx, dword [ebp - 0xf4]
add ecx, 0xecc
call fcn.0042453d
push 0x3f4
mov eax, dword [ebp - 0xf4]
push eax
push 0xe
push 0x64
push 0
push 0
lea ecx, [ebp - 0x6c]
call fcn.00402e10
push eax
push 0x5000000b
push 0
mov ecx, dword [ebp - 0xf4]
add ecx, 0xf80
mov edx, dword [ebp - 0xf4]
mov eax, dword [edx + 0xf80]
mov edx, dword [eax + 0x134]
call edx
push 0x412
push 0x414
push 0x412
mov ecx, dword [ebp - 0xf4]
add ecx, 0xf80
call fcn.004711e0
push 0x413
push 0x415
push 0x413
mov ecx, dword [ebp - 0xf4]
add ecx, 0xf80
call fcn.00471180
push ecx
mov ecx, esp
mov dword [ebp - 0x70], esp
push 0x485074
call fcn.00402e50
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0xf4]
add ecx, 0xf80
call fcn.00471a80
push 1
push 0
push 0
push 0xd7
push 0x67
push 0
mov ecx, dword [ebp - 0xf4]
add ecx, 0xf80
call fcn.0042453d
push 1
mov ecx, dword [ebp - 0xf4]
add ecx, 0xf80
call fcn.004016c0
mov eax, dword [ebp - 0xf4]
mov dword [eax + 0x1030], 1
push 0xf4f2f0
mov ecx, dword [ebp - 0xf4]
add ecx, 0xf80
call fcn.00401720
mov ecx, dword [ebp - 0xf4]
add ecx, 0xf80
call fcn.00401140
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x74]
push ecx
mov ecx, dword [ebp - 0xf4]
add ecx, 0x1380
call fcn.00405ed0
mov ecx, dword [ebp - 0xf4]
add ecx, 0x11a0
call fcn.00401140
mov dword [ebp - 0x78], eax
lea edx, [ebp - 0x78]
push edx
mov ecx, dword [ebp - 0xf4]
add ecx, 0x1380
call fcn.00405ed0
mov eax, dword [ebp - 0xf4]
mov dword [eax + 0x108c], 1
push 0xff
push 0x11925c
push 0
mov ecx, dword [ebp - 0xf4]
add ecx, 0x1038
call fcn.00474c10
mov ecx, dword [ebp - 0xf4]
add ecx, 0x1038
call fcn.00401140
mov dword [ebp - 0x7c], eax
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, dword [ebp - 0xf4]
add ecx, 0x1380
call fcn.00405ed0
mov edx, dword [ebp - 0xf4]
mov dword [edx + 0x135c], 1
mov eax, dword [ebp - 0xf4]
mov dword [eax + 0x117c], 1
push 0xff
push 0x11925c
push 0
mov ecx, dword [ebp - 0xf4]
add ecx, 0x1128
call fcn.00474c10
mov ecx, dword [ebp - 0xf4]
add ecx, 0x1128
call fcn.00401140
mov dword [ebp - 0x80], eax
lea ecx, [ebp - 0x80]
push ecx
mov ecx, dword [ebp - 0xf4]
add ecx, 0x1380
call fcn.00405ed0
push ecx
mov ecx, esp
mov dword [ebp - 0x88], esp
push str.little
call fcn.00402e50
mov dword [ebp - 0xfc], eax
lea edx, [ebp - 0x8c]
push edx
call fcn.0045b690
add esp, 8
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x104]
push ecx
push 0x484c5c
call fcn.00405e50
add esp, 8
mov byte [ebp - 0x81], al
lea ecx, [ebp - 0x8c]
call fcn.004034b0
movzx edx, byte [ebp - 0x81]
test edx, edx
je 0x46b534
push 0x484da4
mov ecx, dword [ebp - 0xf4]
add ecx, 0x304
call fcn.00424294
jmp 0x46b56b
cmp dword [0x49c424], 0
je 0x46b555
push 0x485094
mov ecx, dword [ebp - 0xf4]
add ecx, 0x304
call fcn.00424294
jmp 0x46b56b
push 0x4850bc
mov ecx, dword [ebp - 0xf4]
add ecx, 0x304
call fcn.00424294
push 1
push 0
push 0
push 0xb8
push 0x67
push 0
mov ecx, dword [ebp - 0xf4]
add ecx, 0x11a0
call fcn.0042453d
push 1
push 0
push 0
push 0xb8
push 0x99
push 0
mov ecx, dword [ebp - 0xf4]
add ecx, 0x10b0
call fcn.0042453d
push 1
push 0
push 0
push 0x134
push 0x168
push 0
mov ecx, dword [ebp - 0xf4]
add ecx, 0x1308
call fcn.0042453d
push 0x484eec
push 0x49c438
call fcn.00404730
add esp, 8
movzx eax, al
test eax, eax
je 0x46b60f
push 1
push 0
push 0
push 0xd4
push 0xca
push 0
mov ecx, dword [ebp - 0xf4]
add ecx, 0x1128
call fcn.0042453d
jmp 0x46b632
push 1
push 0
push 0
push 0xd7
push 0xca
push 0
mov ecx, dword [ebp - 0xf4]
add ecx, 0x1128
call fcn.0042453d
push 0x484fe4
push 0x49c438
call fcn.00404730
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x46b66d
push 1
push 0
push 0
push 0xf3
push 0x67
push 0
mov ecx, dword [ebp - 0xf4]
add ecx, 0x1218
call fcn.0042453d
jmp 0x46b68d
push 1
push 0
push 0
push 0xf7
push 0x67
push 0
mov ecx, dword [ebp - 0xf4]
add ecx, 0x1218
call fcn.0042453d
mov ecx, dword [ebp - 0xf4]
add ecx, 0x10b0
call fcn.00401140
mov dword [ebp - 0x90], eax
lea edx, [ebp - 0x90]
push edx
mov ecx, dword [ebp - 0xf4]
add ecx, 0x1380
call fcn.00405ed0
mov ecx, dword [ebp - 0xf4]
add ecx, 0x288
call fcn.004645e0
mov ecx, dword [ebp - 0xf4]
add ecx, 0x288
call fcn.00464580
mov ecx, dword [ebp - 0xf4]
add ecx, 0x288
call fcn.0045af30
test eax, eax
jne 0x46b75b
push 0x49c3dc
push 0x4850e4
lea eax, [ebp - 0x94]
push eax
call fcn.00401950
add esp, 0xc
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 4], 0
push 0
push 0
mov ecx, dword [ebp - 0x10c]
call fcn.00406be0
push eax
call fcn.004250d2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004034b0
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
xor eax, eax
jmp 0x46be66
mov ecx, dword [ebp - 0xf4]
add ecx, 0x288
call fcn.00467f20
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 - 0x98], esp
push 0x4850f8
call fcn.00402e50
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x9c]
push eax
call fcn.0045b690
add esp, 8
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x118], ecx
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x118]
push edx
mov ecx, 0x49c3c4
call fcn.00403400
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.004034b0
push 0x485110
push str.iQiyi
mov ecx, 0x49c3c4
call fcn.00405130
push 0x49c3c4
lea ecx, [ebp - 0x1c]
call fcn.004029b0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00405310
mov ecx, 0x49c3c4
call fcn.00406be0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46b83b
push 0
push str.iqiyi
lea ecx, [ebp - 0x1c]
call fcn.004017b0
cmp eax, 0xffffffff
jne 0x46b872
push 0
push 0x26
push 0x104
mov ecx, 0x49c3c4
call fcn.00402b60
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
mov ecx, 0x49c3c4
call fcn.00402b30
push str.iQIYI
mov ecx, 0x49c3c4
call fcn.00405050
push 0x49c3c4
mov ecx, dword [ebp - 0xf4]
add ecx, 0x1034
call fcn.00403400
push 0x3b8
push 0
mov eax, dword [ebp - 0xf4]
add eax, 0xa60
push eax
call fcn.0043ad70
add esp, 0xc
mov ecx, dword [ebp - 0xf4]
mov dword [ecx + 0xa60], 0x3b8
mov edx, dword [ebp - 0xf4]
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 - 0xf4]
mov dword [ecx + 0xa74], eax
mov edx, dword [ebp - 0xf4]
mov dword [edx + 0xa68], 0x80
mov ecx, dword [ebp - 0xf4]
call fcn.00401140
mov ecx, dword [ebp - 0xf4]
mov dword [ecx + 0xa64], eax
mov edx, dword [ebp - 0xf4]
mov dword [edx + 0xa70], 0x7e4
push 0x485148
mov eax, dword [ebp - 0xf4]
add eax, 0xa78
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp - 0xf4]
mov dword [ecx + 0xd80], 0xbb8
mov edx, dword [ebp - 0xf4]
mov dword [edx + 0xe04], 0
mov dword [ebp - 0x14], 0xc8
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0
jmp 0x46b971
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 4
jge 0x46bc52
lea ecx, [ebp - 0x24]
call fcn.00402df0
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.00402dc0
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.00402df0
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.00402dc0
add esp, 0xc
push 0x485190
push ecx
mov ecx, esp
mov dword [ebp - 0xa4], esp
lea edx, [ebp - 0x28]
push edx
call fcn.004029b0
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0xa8]
push eax
call fcn.0045b690
add esp, 8
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x124], ecx
mov edx, dword [ebp - 0x124]
push edx
call fcn.00404730
add esp, 8
mov byte [ebp - 0x9d], al
lea ecx, [ebp - 0xa8]
call fcn.004034b0
movzx eax, byte [ebp - 0x9d]
test eax, eax
je 0x46bc35
push ecx
mov ecx, esp
mov dword [ebp - 0xac], esp
lea edx, [ebp - 0x24]
push edx
call fcn.004029b0
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0045b690
add esp, 8
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00401a00
movzx ecx, al
test ecx, ecx
jne 0x46bc29
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0xf4]
call fcn.0046f9b0
fld dword [ebp - 0x3c]
fmul qword [0x4889e0]
fadd qword [0x488a08]
call fcn.00444d60
mov dword [ebp - 0x30], eax
push 0xb4
call fcn.00402b10
mov dword [ebp - 0xb4], eax
mov byte [ebp - 4], 6
cmp dword [ebp - 0xb4], 0
je 0x46bacb
mov ecx, dword [ebp - 0xb4]
call fcn.00471840
mov dword [ebp - 0x130], eax
jmp 0x46bad5
mov dword [ebp - 0x130], 0
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0xb0], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x10]
add eax, 0x3f5
push eax
mov ecx, dword [ebp - 0xf4]
push ecx
push 0xe
mov edx, dword [ebp - 0x30]
push edx
push 0
push 0
lea ecx, [ebp - 0xc4]
call fcn.00402e10
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.004711e0
push 0x413
push 0x415
push 0x413
mov ecx, dword [ebp - 0x34]
call fcn.00471180
push ecx
mov ecx, esp
mov dword [ebp - 0xc8], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.004029b0
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x34]
call fcn.00471a80
push 1
push 0
push 0
push 0xf6
mov eax, dword [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x34]
call fcn.0042453d
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 - 0xf4]
add ecx, 0x1218
call fcn.0042432e
mov ecx, dword [ebp - 0x34]
call fcn.00401140
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0xcc]
push eax
mov ecx, dword [ebp - 0xf4]
add ecx, 0x1380
call fcn.00405ed0
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 3
jl 0x46bc29
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.004034b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.004034b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004034b0
jmp 0x46bc52
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.004034b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.004034b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004034b0
jmp 0x46b968
cmp dword [ebp - 0x10], 0
jle 0x46bc87
mov ecx, dword [ebp - 0xf4]
add ecx, 0x1218
call fcn.00401140
mov dword [ebp - 0xd0], eax
lea edx, [ebp - 0xd0]
push edx
mov ecx, dword [ebp - 0xf4]
add ecx, 0x1380
call fcn.00405ed0
mov ecx, dword [ebp - 0xf4]
add ecx, 0x1034
call fcn.00406be0
push eax
mov ecx, dword [ebp - 0xf4]
add ecx, 0x10b0
call fcn.00424294
mov ecx, dword [ebp - 0xf4]
call fcn.00469a20
push 0x485194
push ecx
mov ecx, esp
mov dword [ebp - 0xd4], esp
push 0x485198
call fcn.00402e50
mov dword [ebp - 0x138], eax
lea eax, [ebp - 0xd8]
push eax
call fcn.0045b690
add esp, 8
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x140], ecx
mov edx, dword [ebp - 0x140]
push edx
call fcn.00404730
add esp, 8
movzx eax, al
mov ecx, dword [ebp - 0xf4]
mov dword [ecx + 0xa50], eax
lea ecx, [ebp - 0xd8]
call fcn.004034b0
push 0x4851b0
mov ecx, dword [ebp - 0xf4]
call fcn.00424294
push ecx
mov esi, esp
mov dword [ebp - 0xdc], esp
push ecx
mov ecx, esp
mov dword [ebp - 0xe0], esp
push 0x4851c4
call fcn.00402e50
mov dword [ebp - 0x144], eax
push esi
call fcn.0045b690
add esp, 8
mov dword [ebp - 0x148], eax
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x14c], edx
mov byte [ebp - 4], 7
push ecx
mov esi, esp
mov dword [ebp - 0xe4], esp
push ecx
mov ecx, esp
mov dword [ebp - 0xe8], esp
push 0x4851dc
call fcn.00402e50
mov dword [ebp - 0x150], eax
push esi
call fcn.0045b690
add esp, 8
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x158], eax
mov byte [ebp - 4], 2
mov ecx, 0x49c320
call fcn.0046c5b0
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0
je 0x46be2a
mov ecx, dword [ebp - 0xf4]
add ecx, 0xe18
call fcn.00401140
mov dword [ebp - 0xec], eax
lea ecx, [ebp - 0xec]
push ecx
mov ecx, dword [ebp - 0xf4]
add ecx, 0x1380
call fcn.00405ed0
push 0
mov ecx, dword [ebp - 0xf4]
call fcn.004698c0
push 5
mov ecx, dword [ebp - 0xf4]
add ecx, 0xecc
call fcn.0042432e
push 5
mov ecx, dword [ebp - 0xf4]
add ecx, 0x1308
call fcn.0042432e
cmp dword [0x49c420], 0
jne 0x46be3c
cmp dword [0x49c424], 0
je 0x46be47
mov ecx, dword [ebp - 0xf4]
call fcn.0046ace0
mov dword [ebp - 0xf0], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004034b0
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret