Function at 0x46ff50
Capabilities:
Accept command line arguments
Check if file exists
Check mutex on windows
Check os version
Delete file
Extract resource via kernel32 functions
Get common file path
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b773
mov eax, dword fs:[0]
push eax
mov eax, 0x2b08
call fcn.0043eb60
mov eax, dword [0x49d7b0]
xor eax, ebp
mov dword [ebp - 0x84], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x29fc], ecx
mov dword [ebp - 0x29f8], 0
cmp dword [0x4a13c0], 1
jle 0x4700dc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 0x6c], eax
lea ecx, [ebp - 0x68]
call fcn.004787c0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x68]
call fcn.004782c0
push str.uinst
lea ecx, [ebp - 0x68]
call fcn.00477fb0
test eax, eax
je 0x46ffe5
mov ecx, dword [ebp - 0x29fc]
mov dword [ecx + 0x104], 0
push 0x48a29c
lea ecx, [ebp - 0x68]
call fcn.00477fb0
test eax, eax
je 0x470006
mov edx, dword [ebp - 0x29fc]
mov dword [edx + 0x108], 1
push 0x48a2a0
lea ecx, [ebp - 0x68]
call fcn.00477fb0
test eax, eax
je 0x470037
mov eax, dword [ebp - 0x29fc]
mov dword [eax + 0x10c], 1
mov ecx, dword [ebp - 0x29fc]
mov dword [ecx + 0x104], 1
push 0x48a2b0
lea ecx, [ebp - 0x68]
call fcn.00477fb0
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x470069
push 0
mov ecx, dword [ebp - 0x44]
call fcn.00477f50
push eax
mov ecx, dword [ebp - 0x29fc]
add ecx, 0x260
call fcn.00403770
push 0x48a2b4
lea ecx, [ebp - 0x68]
call fcn.00477fb0
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x47009b
push 0
mov ecx, dword [ebp - 0x44]
call fcn.00477f50
push eax
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xfc
call fcn.00403770
push str.setuplog
lea ecx, [ebp - 0x68]
call fcn.00477fb0
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x4700cd
push 0
mov ecx, dword [ebp - 0x44]
call fcn.00477f50
push eax
mov ecx, dword [ebp - 0x29fc]
add ecx, 0x100
call fcn.00403770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00478750
mov edx, dword [ebp - 0x29fc]
cmp dword [edx + 0x10c], 0
jne 0x47018d
push str.Mutex_QiyiInstaller
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 0x29fc]
mov dword [ecx + 0x25c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x47018d
push ecx
mov ecx, esp
mov dword [ebp - 0x2930], esp
push 0x48a300
call fcn.004039f0
mov dword [ebp - 0x2a00], eax
mov ecx, 0x4a23f0
call fcn.0046f070
push 0x48a32c
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x70]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x470186
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x7c], 0xa
mov dword [ebp - 0x74], 0
lea eax, [ebp - 0x7c]
push eax
push 0
push 0x4a
mov ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x80], eax
xor eax, eax
jmp 0x47175c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 0x29fc]
mov dword [edx + 0x244], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x29fc]
mov dword [ecx + 0x248], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 0x29fc]
mov dword [edx + 0x24c], eax
mov eax, dword [ebp - 0x29fc]
add eax, 0x278
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x10], eax
push 0x58
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
test eax, eax
jle 0x470212
push 0x58
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ecx, eax
mov eax, 0x3c0
cdq
idiv ecx
mov edx, dword [ebp - 0x29fc]
mov dword [edx + 0x12c], eax
push 0x58
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [0x4a221c], eax
push 0x5a
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [0x4a2218], eax
mov edx, dword [ebp - 0x10]
push edx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0x48a340
push 0
call fcn.0043dc75
add esp, 8
mov dword [ebp - 0x24], 8
mov dword [ebp - 0x20], 0xff
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
lea ecx, [ebp - 0x2934]
push ecx
mov ecx, dword [ebp - 0x29fc]
call fcn.0046ea70
mov dword [ebp - 0x2a04], eax
mov edx, dword [ebp - 0x2a04]
mov dword [ebp - 0x2a08], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x2a08]
push eax
mov ecx, 0x4a24e8
call fcn.00403920
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2934]
call fcn.00401870
mov ecx, dword [ebp - 0x29fc]
call fcn.00427754
push 0
call fcn.00429108
add esp, 4
mov ecx, dword [ebp - 0x29fc]
call fcn.0046e500
push 0x104
push 0x104
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xb4
call fcn.00401210
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xb4
call fcn.00404620
push 0
push 0x19
push 0x104
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xac
call fcn.00401210
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xac
call fcn.00404620
push 0
push 0
push 0x104
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xb0
call fcn.00401210
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xb0
call fcn.00404620
push 0
push 2
push 0x104
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xd8
call fcn.00401210
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xd8
call fcn.00404620
push 0
push 0x17
push 0x104
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xc4
call fcn.00401210
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xc4
call fcn.00404620
push 0x104
push 0x104
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xcc
call fcn.00401210
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xcc
call fcn.00404620
push 0
push 0x14
push 0x104
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xc0
call fcn.00401210
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xc0
call fcn.00404620
push 0x5c
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xcc
call fcn.00405430
add eax, 1
push eax
lea ecx, [ebp - 0x2938]
push ecx
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xcc
call fcn.00405510
mov dword [ebp - 0x2a0c], eax
mov edx, dword [ebp - 0x2a0c]
mov dword [ebp - 0x2a10], edx
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x2a10]
push eax
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xb8
call fcn.00403920
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2938]
call fcn.00401870
push 0
push 0x1a
push 0x104
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xd0
call fcn.00401210
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xd0
call fcn.00404620
push 0x104
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xd4
call fcn.00401210
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xd4
call fcn.00404620
push 1
lea ecx, [ebp - 0x2940]
push ecx
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xd4
call fcn.00405480
mov dword [ebp - 0x2a14], eax
push 0x48a344
mov edx, dword [ebp - 0x2a14]
push edx
call fcn.004068e0
add esp, 8
mov byte [ebp - 0x2939], al
lea ecx, [ebp - 0x2940]
call fcn.00401870
movzx eax, byte [ebp - 0x2939]
test eax, eax
je 0x470592
push 0x48a348
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xd4
call fcn.00406590
call fcn.00405850
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xd4
call fcn.00407f80
push eax
call fcn.0045c230
mov ecx, dword [ebp - 0x29fc]
add ecx, 0x130
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x470960
lea ecx, [ebp - 0x290]
call fcn.004017e0
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0x29fc]
cmp dword [edx + 0x134], 6
jae 0x470788
push 0x48a34c
mov ecx, dword [ebp - 0x29fc]
add ecx, 0x124
call fcn.00403770
push 0
push 0x23
lea eax, [ebp - 0x28c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x28c]
push ecx
lea ecx, [ebp - 0x294]
call fcn.004039f0
mov byte [ebp - 4], 4
push str.QiYi
lea edx, [ebp - 0x294]
push edx
lea eax, [ebp - 0x2944]
push eax
call fcn.00403fe0
add esp, 0xc
mov dword [ebp - 0x2a18], eax
mov ecx, dword [ebp - 0x2a18]
mov dword [ebp - 0x2a1c], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x2a1c]
push edx
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xa8
call fcn.00403920
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2944]
call fcn.00401870
push str.QiYiQiyiClientcache_
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x2948]
push ecx
call fcn.00403fe0
add esp, 0xc
mov dword [ebp - 0x2a20], eax
mov edx, dword [ebp - 0x2a20]
mov dword [ebp - 0x2a24], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x2a24]
push eax
lea ecx, [ebp - 0x290]
call fcn.00403920
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2948]
call fcn.00401870
mov ecx, dword [ebp - 0x29fc]
cmp dword [ecx + 0x134], 5
jne 0x47074f
mov edx, dword [ebp - 0x29fc]
cmp dword [edx + 0x138], 1
jne 0x470710
push str.windowsXP
mov ecx, dword [ebp - 0x29fc]
add ecx, 0x128
call fcn.00403770
jmp 0x47074d
mov eax, dword [ebp - 0x29fc]
cmp dword [eax + 0x138], 2
jne 0x470737
push str.windows2003
mov ecx, dword [ebp - 0x29fc]
add ecx, 0x128
call fcn.00403770
jmp 0x47074d
push str.windows2000
mov ecx, dword [ebp - 0x29fc]
add ecx, 0x128
call fcn.00403770
jmp 0x470774
mov ecx, dword [ebp - 0x29fc]
cmp dword [ecx + 0x134], 5
jae 0x470774
push str.windows98
mov ecx, dword [ebp - 0x29fc]
add ecx, 0x128
call fcn.00403770
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x294]
call fcn.00401870
jmp 0x47093d
push 0x48a3e8
mov ecx, dword [ebp - 0x29fc]
add ecx, 0x124
call fcn.00403770
push 0x104
lea edx, [ebp - 0x28c]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x298]
call fcn.004039f0
mov byte [ebp - 4], 7
push 2
lea ecx, [ebp - 0x294c]
push ecx
lea ecx, [ebp - 0x298]
call fcn.00405510
mov dword [ebp - 0x2a28], eax
mov edx, dword [ebp - 0x2a28]
mov dword [ebp - 0x2a2c], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x2a2c]
push eax
lea ecx, [ebp - 0x298]
call fcn.00403920
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x294c]
call fcn.00401870
push str.UsersPublicQiYi
lea ecx, [ebp - 0x298]
push ecx
lea edx, [ebp - 0x2950]
push edx
call fcn.00403fe0
add esp, 0xc
mov dword [ebp - 0x2a30], eax
mov eax, dword [ebp - 0x2a30]
mov dword [ebp - 0x2a34], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x2a34]
push ecx
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xa8
call fcn.00403920
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2950]
call fcn.00401870
push str.UsersPublicQiYiQiyiClientcache_
lea edx, [ebp - 0x298]
push edx
lea eax, [ebp - 0x2954]
push eax
call fcn.00403fe0
add esp, 0xc
mov dword [ebp - 0x2a38], eax
mov ecx, dword [ebp - 0x2a38]
mov dword [ebp - 0x2a3c], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x2a3c]
push edx
lea ecx, [ebp - 0x290]
call fcn.00403920
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2954]
call fcn.00401870
mov eax, dword [ebp - 0x29fc]
cmp dword [eax + 0x134], 6
jne 0x47092e
mov ecx, dword [ebp - 0x29fc]
cmp dword [ecx + 0x138], 1
jne 0x4708f1
push str.windows7
mov ecx, dword [ebp - 0x29fc]
add ecx, 0x128
call fcn.00403770
jmp 0x47092e
mov edx, dword [ebp - 0x29fc]
cmp dword [edx + 0x138], 2
jne 0x470918
push str.windows8
mov ecx, dword [ebp - 0x29fc]
add ecx, 0x128
call fcn.00403770
jmp 0x47092e
push str.windows_Vista
mov ecx, dword [ebp - 0x29fc]
add ecx, 0x128
call fcn.00403770
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x298]
call fcn.00401870
lea ecx, [ebp - 0x290]
call fcn.00407f80
push eax
call fcn.0045c230
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x290]
call fcn.00401870
push 0x48a4b0
mov ecx, dword [ebp - 0x29fc]
add ecx, 0x124
call fcn.00403770
push str.install.ini
mov eax, dword [ebp - 0x29fc]
add eax, 0xb8
push eax
lea ecx, [ebp - 0x2958]
push ecx
call fcn.00403fe0
add esp, 0xc
mov dword [ebp - 0x2a40], eax
mov edx, dword [ebp - 0x2a40]
mov dword [ebp - 0x2a44], edx
mov dword [ebp - 4], 0xb
mov eax, dword [ebp - 0x2a44]
push eax
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xbc
call fcn.00403920
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2958]
call fcn.00401870
push 0x48a4d0
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xb8
push ecx
lea edx, [ebp - 0x295c]
push edx
call fcn.00403fe0
add esp, 0xc
mov dword [ebp - 0x2a48], eax
mov eax, dword [ebp - 0x2a48]
mov dword [ebp - 0x2a4c], eax
mov dword [ebp - 4], 0xc
mov ecx, dword [ebp - 0x2a4c]
push ecx
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xc8
call fcn.00403920
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x295c]
call fcn.00401870
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xbc
call fcn.00407f80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x470bdd
push ecx
mov ecx, esp
mov dword [ebp - 0x2964], esp
push str.main_version
call fcn.004039f0
mov dword [ebp - 0x2a50], eax
lea edx, [ebp - 0x2968]
push edx
call fcn.0045c810
add esp, 8
mov dword [ebp - 0x2a54], eax
mov eax, dword [ebp - 0x2a54]
mov dword [ebp - 0x2a58], eax
mov dword [ebp - 4], 0xd
mov ecx, dword [ebp - 0x29f8]
or ecx, 1
mov dword [ebp - 0x29f8], ecx
mov ecx, dword [ebp - 0x2a58]
call fcn.00404160
movzx edx, al
test edx, edx
jne 0x470b26
push ecx
mov ecx, esp
mov dword [ebp - 0x296c], esp
push 0x48a510
call fcn.004039f0
mov dword [ebp - 0x2a5c], eax
lea eax, [ebp - 0x2970]
push eax
call fcn.0045c810
add esp, 8
mov dword [ebp - 0x2a60], eax
mov ecx, dword [ebp - 0x2a60]
mov dword [ebp - 0x2a64], ecx
mov edx, dword [ebp - 0x29f8]
or edx, 2
mov dword [ebp - 0x29f8], edx
mov ecx, dword [ebp - 0x2a64]
call fcn.00404160
movzx eax, al
test eax, eax
jne 0x470b26
mov dword [ebp - 0x2a68], 0
jmp 0x470b30
mov dword [ebp - 0x2a68], 1
mov cl, byte [ebp - 0x2a68]
mov byte [ebp - 0x295d], cl
mov edx, dword [ebp - 0x29f8]
and edx, 2
je 0x470b59
and dword [ebp - 0x29f8], 0xfffffffd
lea ecx, [ebp - 0x2970]
call fcn.00401870
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x29f8]
and eax, 1
je 0x470b7d
and dword [ebp - 0x29f8], 0xfffffffe
lea ecx, [ebp - 0x2968]
call fcn.00401870
movzx ecx, byte [ebp - 0x295d]
test ecx, ecx
je 0x470bdd
mov edx, dword [ebp - 0x29fc]
add edx, 0xbc
push edx
push str.Invalid_Install.ini
lea eax, [ebp - 0x2974]
push eax
call fcn.00404090
add esp, 0xc
mov dword [ebp - 0x2a6c], eax
mov ecx, dword [ebp - 0x2a6c]
call fcn.00407f80
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x2974]
call fcn.00401870
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xbc
call fcn.00403890
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xbc
call fcn.00407f80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x470ec8
push 0x48a554
push 0x320
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x29c], eax
cmp dword [ebp - 0x29c], 0
je 0x470eb3
push 0x48a55c
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xd4
push ecx
lea edx, [ebp - 0x2978]
push edx
call fcn.00403fe0
add esp, 0xc
mov dword [ebp - 0x2a70], eax
mov ecx, dword [ebp - 0x2a70]
call fcn.00407f80
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x2978]
call fcn.00401870
mov eax, dword [ebp - 0x29c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x2a0], eax
cmp dword [ebp - 0x2a0], 0
je 0x470eb1
mov ecx, dword [ebp - 0x2a0]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x2b8], eax
mov edx, dword [ebp - 0x29c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x2a4], eax
lea ecx, [ebp - 0x2b4]
call fcn.0042684b
mov dword [ebp - 4], 0xe
push 0x48a580
mov eax, dword [ebp - 0x29fc]
add eax, 0xd4
push eax
lea ecx, [ebp - 0x2980]
push ecx
call fcn.00403fe0
add esp, 0xc
mov dword [ebp - 0x2a74], eax
mov edx, dword [ebp - 0x2a74]
mov dword [ebp - 0x2a78], edx
mov byte [ebp - 4], 0xf
push 0
push 0x1002
mov ecx, dword [ebp - 0x2a78]
call fcn.00407f80
push eax
lea ecx, [ebp - 0x2b4]
call fcn.00426cca
mov dword [ebp - 0x297c], eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2980]
call fcn.00401870
cmp dword [ebp - 0x297c], 0
je 0x470e92
mov eax, dword [ebp - 0x2a4]
push eax
mov ecx, dword [ebp - 0x2b8]
push ecx
lea ecx, [ebp - 0x2b4]
call fcn.00426599
lea ecx, [ebp - 0x2b4]
call fcn.0042667f
lea ecx, [ebp - 0x2b4]
call fcn.004267e9
push str.qiyi_install.ini
mov edx, dword [ebp - 0x29fc]
add edx, 0xd4
push edx
lea eax, [ebp - 0x2984]
push eax
call fcn.00403fe0
add esp, 0xc
mov dword [ebp - 0x2a7c], eax
mov ecx, dword [ebp - 0x2a7c]
mov dword [ebp - 0x2a80], ecx
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x2a80]
push edx
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xbc
call fcn.00403920
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2984]
call fcn.00401870
mov eax, dword [ebp - 0x29fc]
cmp dword [eax + 0x104], 0
je 0x470e34
push str.QiyiClientQiyiInstaller.log
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xa8
push ecx
lea edx, [ebp - 0x2988]
push edx
call fcn.00403fe0
add esp, 0xc
mov dword [ebp - 0x2a84], eax
mov eax, dword [ebp - 0x2a84]
mov dword [ebp - 0x2a88], eax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x2a88]
push ecx
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xc8
call fcn.00403920
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2988]
call fcn.00401870
jmp 0x470e92
push str.QiyiInstaller.log
mov edx, dword [ebp - 0x29fc]
add edx, 0xd4
push edx
lea eax, [ebp - 0x298c]
push eax
call fcn.00403fe0
add esp, 0xc
mov dword [ebp - 0x2a8c], eax
mov ecx, dword [ebp - 0x2a8c]
mov dword [ebp - 0x2a90], ecx
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x2a90]
push edx
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xc8
call fcn.00403920
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x298c]
call fcn.00401870
mov eax, dword [ebp - 0x2a0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2b4]
call fcn.00426958
jmp 0x470ec8
push 0
push 0
push str.b_rN0R
call fcn.00423ed9
xor eax, eax
jmp 0x47175c
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xc8
call fcn.00407f80
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x1041
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xc8
call fcn.00407f80
push eax
mov ecx, dword [ebp - 0x29fc]
add ecx, 0x268
mov edx, dword [ebp - 0x29fc]
mov eax, dword [edx + 0x268]
mov edx, dword [eax + 0x20]
call edx
mov ecx, dword [ebp - 0x29fc]
add ecx, 0x268
call fcn.004073e0
mov byte [ebp - 0x18], 0xff
mov byte [ebp - 0x17], 0xfe
push 2
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x29fc]
add ecx, 0x268
mov edx, dword [ebp - 0x29fc]
mov eax, dword [edx + 0x268]
mov edx, dword [eax + 0x38]
call edx
mov ecx, dword [ebp - 0x29fc]
call fcn.0046f7d0
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xfc
call fcn.00404160
movzx eax, al
test eax, eax
jne 0x470fd3
mov ecx, dword [ebp - 0x29fc]
add ecx, 0xfc
push ecx
mov edx, esp
mov dword [ebp - 0x2990], esp
push ecx
mov ecx, edx
call fcn.004035f0
mov dword [ebp - 0x2a94], eax
mov eax, dword [ebp - 0x2a94]
mov dword [ebp - 0x2a98], eax
mov dword [ebp - 4], 0x13
push ecx
mov ecx, esp
mov dword [ebp - 0x2994], esp
push str.forcerun_param
call fcn.004039f0
mov dword [ebp - 0x2a9c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0045c7c0
add esp, 8
push 0x48a660
mov ecx, dword [ebp - 0x29fc]
call fcn.00426e89
push 0x48a680
push ecx
mov ecx, esp
mov dword [ebp - 0x299c], esp
push 0x48a684
call fcn.004039f0
mov dword [ebp - 0x2aa0], eax
lea ecx, [ebp - 0x29a0]
push ecx
call fcn.0045c810
add esp, 8
mov dword [ebp - 0x2aa4], eax
mov edx, dword [ebp - 0x2aa4]
mov dword [ebp - 0x2aa8], edx
mov eax, dword [ebp - 0x2aa8]
push eax
call fcn.00404140
add esp, 8
mov byte [ebp - 0x2995], al
lea ecx, [ebp - 0x29a0]
call fcn.00401870
movzx ecx, byte [ebp - 0x2995]
test ecx, ecx
je 0x47105d
mov edx, dword [ebp - 0x29fc]
mov dword [edx + 0x108], 1
push 0x48a694
push ecx
mov ecx, esp
mov dword [ebp - 0x29a8], esp
push 0x48a698
call fcn.004039f0
mov dword [ebp - 0x2aac], eax
lea eax, [ebp - 0x29ac]
push eax
call fcn.0045c810
add esp, 8
mov dword [ebp - 0x2ab0], eax
mov ecx, dword [ebp - 0x2ab0]
mov dword [ebp - 0x2ab4], ecx
mov edx, dword [ebp - 0x2ab4]
push edx
call fcn.00404140
add esp, 8
mov byte [ebp - 0x29a1], al
lea ecx, [ebp - 0x29ac]
call fcn.00401870
movzx eax, byte [ebp - 0x29a1]
test eax, eax
je 0x4710d7
mov ecx, dword [ebp - 0x29fc]
mov dword [ecx + 0x110], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
push edx
lea ecx, [ebp - 0x3c]
call fcn.004039f0
mov dword [ebp - 4], 0x14
lea ecx, [ebp - 0x3c]
call fcn.00401d80
push ecx
mov ecx, esp
mov dword [ebp - 0x29b0], esp
push str.mincid
call fcn.004039f0
mov dword [ebp - 0x2ab8], eax
lea eax, [ebp - 0x38]
push eax
call fcn.0045c810
add esp, 8
mov dword [ebp - 0x2abc], eax
mov byte [ebp - 4], 0x15
push ecx
mov ecx, esp
mov dword [ebp - 0x29b4], esp
push str.maxcid
call fcn.004039f0
mov dword [ebp - 0x2ac0], eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0045c810
add esp, 8
mov dword [ebp - 0x2ac4], eax
mov byte [ebp - 4], 0x16
push 0
push str._cid
lea ecx, [ebp - 0x3c]
call fcn.00403f60
cmp eax, 0xffffffff
je 0x4713ac
push 0x48a6d4
lea ecx, [ebp - 0x3c]
call fcn.00406590
push 0
push 0x48a6d8
lea ecx, [ebp - 0x3c]
call fcn.00403f60
add eax, 5
push eax
push 0
lea ecx, [ebp - 0x3c]
call fcn.004065b0
push 0
push 0x48a6e4
lea ecx, [ebp - 0x3c]
call fcn.00403f60
push eax
lea edx, [ebp - 0x2bc]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00405510
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x38]
push eax
push 0x48a6f8
lea ecx, [ebp - 0x29bc]
push ecx
call fcn.00404090
add esp, 0xc
mov dword [ebp - 0x2ac8], eax
mov edx, dword [ebp - 0x2ac8]
mov dword [ebp - 0x2acc], edx
mov byte [ebp - 4], 0x18
push 0x48a6e8
mov eax, dword [ebp - 0x2acc]
push eax
lea ecx, [ebp - 0x29c0]
push ecx
call fcn.00403fe0
add esp, 0xc
mov dword [ebp - 0x2ad0], eax
mov edx, dword [ebp - 0x2ad0]
mov dword [ebp - 0x2ad4], edx
mov byte [ebp - 4], 0x19
push ecx
mov eax, esp
mov dword [ebp - 0x29b8], esp
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x2ad4]
push edx
push eax
call fcn.00405590
add esp, 0xc
mov dword [ebp - 0x2ad8], eax
mov ecx, dword [ebp - 0x29fc]
call fcn.0046f070
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x29c0]
call fcn.00401870
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x29bc]
call fcn.00401870
lea ecx, [ebp - 0x2bc]
call fcn.00404160
movzx eax, al
test eax, eax
jne 0x471398
lea ecx, [ebp - 0x2bc]
call fcn.00407f80
push eax
call fcn.0043c487
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x38]
call fcn.00407f80
push eax
call fcn.0043c487
add esp, 4
cmp esi, eax
jl 0x471369
lea ecx, [ebp - 0x2bc]
call fcn.00407f80
push eax
call fcn.0043c487
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x2c]
call fcn.00407f80
push eax
call fcn.0043c487
add esp, 4
cmp esi, eax
jg 0x471369
lea ecx, [ebp - 0x2bc]
call fcn.004068c0
push ecx
mov ecx, esp
mov dword [ebp - 0x29c4], esp
lea edx, [ebp - 0x2bc]
push edx
call fcn.004035f0
mov dword [ebp - 0x2adc], eax
mov eax, dword [ebp - 0x2adc]
mov dword [ebp - 0x2ae0], eax
mov byte [ebp - 4], 0x1a
push ecx
mov ecx, esp
mov dword [ebp - 0x29c8], esp
push 0x48a74c
call fcn.004039f0
mov dword [ebp - 0x2ae4], eax
mov byte [ebp - 4], 0x17
call fcn.0045c7c0
add esp, 8
push ecx
mov ecx, esp
mov dword [ebp - 0x29cc], esp
lea edx, [ebp - 0x2bc]
push edx
push 0x48a760
push ecx
call fcn.00404090
add esp, 0xc
mov dword [ebp - 0x2ae8], eax
mov ecx, dword [ebp - 0x29fc]
call fcn.0046f070
jmp 0x471398
push ecx
mov eax, esp
mov dword [ebp - 0x29d0], esp
lea ecx, [ebp - 0x2bc]
push ecx
push 0x48a790
push eax
call fcn.00404090
add esp, 0xc
mov dword [ebp - 0x2aec], eax
mov ecx, dword [ebp - 0x29fc]
call fcn.0046f070
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x2bc]
call fcn.00401870
jmp 0x47165f
lea ecx, [ebp - 0x38]
call fcn.00407f80
push eax
call fcn.0043c487
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x2c]
call fcn.00407f80
push eax
call fcn.0043c487
add esp, 4
cmp esi, eax
jge 0x47165f
push 0
push 0x48a7c4
lea ecx, [ebp - 0x3c]
call fcn.00403f60
cmp eax, 0xffffffff
je 0x47165f
push 0x48a7c8
push 0x48a7cc
lea ecx, [ebp - 0x3c]
call fcn.00406670
push 0x5c
lea ecx, [ebp - 0x3c]
call fcn.00405430
add eax, 1
push eax
push 0
lea ecx, [ebp - 0x3c]
call fcn.004065b0
push 0
push 0x48a7d0
lea ecx, [ebp - 0x3c]
call fcn.00403f60
add eax, 1
push eax
push 0
lea ecx, [ebp - 0x3c]
call fcn.004065b0
push 0
push 0x48a7d4
lea ecx, [ebp - 0x3c]
call fcn.00403f60
push eax
lea edx, [ebp - 0x2c0]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00405510
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0x38]
push eax
push str.Current_Installer_Channel_ID_Range_From
lea ecx, [ebp - 0x29d8]
push ecx
call fcn.00404090
add esp, 0xc
mov dword [ebp - 0x2af0], eax
mov edx, dword [ebp - 0x2af0]
mov dword [ebp - 0x2af4], edx
mov byte [ebp - 4], 0x1c
push 0x48a7d8
mov eax, dword [ebp - 0x2af4]
push eax
lea ecx, [ebp - 0x29dc]
push ecx
call fcn.00403fe0
add esp, 0xc
mov dword [ebp - 0x2af8], eax
mov edx, dword [ebp - 0x2af8]
mov dword [ebp - 0x2afc], edx
mov byte [ebp - 4], 0x1d
push ecx
mov eax, esp
mov dword [ebp - 0x29d4], esp
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x2afc]
push edx
push eax
call fcn.00405590
add esp, 0xc
mov dword [ebp - 0x2b00], eax
mov ecx, dword [ebp - 0x29fc]
call fcn.0046f070
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x29dc]
call fcn.00401870
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x29d8]
call fcn.00401870
lea ecx, [ebp - 0x2c0]
call fcn.00404160
movzx eax, al
test eax, eax
jne 0x471650
lea ecx, [ebp - 0x2c0]
call fcn.00407f80
push eax
call fcn.0043c487
add esp, 4
test eax, eax
jle 0x471650
lea ecx, [ebp - 0x2c0]
call fcn.00407f80
push eax
call fcn.0043c487
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x38]
call fcn.00407f80
push eax
call fcn.0043c487
add esp, 4
cmp esi, eax
jl 0x471621
lea ecx, [ebp - 0x2c0]
call fcn.00407f80
push eax
call fcn.0043c487
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x2c]
call fcn.00407f80
push eax
call fcn.0043c487
add esp, 4
cmp esi, eax
jg 0x471621
lea ecx, [ebp - 0x2c0]
call fcn.004068c0
push ecx
mov ecx, esp
mov dword [ebp - 0x29e0], esp
lea edx, [ebp - 0x2c0]
push edx
call fcn.004035f0
mov dword [ebp - 0x2b04], eax
mov eax, dword [ebp - 0x2b04]
mov dword [ebp - 0x2b08], eax
mov byte [ebp - 4], 0x1e
push ecx
mov ecx, esp
mov dword [ebp - 0x29e4], esp
push str.channelid
call fcn.004039f0
mov dword [ebp - 0x2b0c], eax
mov byte [ebp - 4], 0x1b
call fcn.0045c7c0
add esp, 8
push ecx
mov ecx, esp
mov dword [ebp - 0x29e8], esp
lea edx, [ebp - 0x2c0]
push edx
push str.Change_Channel_ID_To_:
push ecx
call fcn.00404090
add esp, 0xc
mov dword [ebp - 0x2b10], eax
mov ecx, dword [ebp - 0x29fc]
call fcn.0046f070
jmp 0x471650
push ecx
mov eax, esp
mov dword [ebp - 0x29ec], esp
lea ecx, [ebp - 0x2c0]
push ecx
push str.Channel_ID_Beyond_Range
push eax
call fcn.00404090
add esp, 0xc
mov dword [ebp - 0x2b14], eax
mov ecx, dword [ebp - 0x29fc]
call fcn.0046f070
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x2c0]
call fcn.00401870
mov ecx, dword [ebp - 0x29fc]
call fcn.0046e420
mov edx, dword [ebp - 0x29fc]
mov byte [edx + 0x264], al
lea eax, [ebp - 0x29f0]
push eax
mov ecx, dword [ebp - 0x29fc]
call fcn.0046f540
lea ecx, [ebp - 0x29f0]
call fcn.00401870
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x29fc]
cmp dword [ecx + 0x104], 0
je 0x4716e8
push 0
lea ecx, [ebp - 0x1654]
call fcn.0046c340
mov byte [ebp - 4], 0x1f
mov edx, dword [ebp - 0x29fc]
lea eax, [ebp - 0x1654]
mov dword [edx + 0x20], eax
lea ecx, [ebp - 0x1654]
call fcn.004260cc
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x1654]
call fcn.00406440
jmp 0x471725
push 0
lea ecx, [ebp - 0x292c]
call fcn.00476090
mov byte [ebp - 4], 0x20
mov ecx, dword [ebp - 0x29fc]
lea edx, [ebp - 0x292c]
mov dword [ecx + 0x20], edx
lea ecx, [ebp - 0x292c]
call fcn.004260cc
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x292c]
call fcn.00475f40
mov dword [ebp - 0x29f4], 0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x2c]
call fcn.00401870
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x38]
call fcn.00401870
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00401870
mov eax, dword [ebp - 0x29f4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x84]
xor ecx, ebp
call fcn.0043bc9b
mov esp, ebp
pop ebp
ret