Function at 0x4ec960
Capabilities:
Accept command line arguments
Check for time delay via gettickcount
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
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fab71
mov eax, dword fs:[0]
push eax
sub esp, 0xcd8
mov eax, dword [0x544af0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xbbc], ecx
mov dword [ebp - 0xbb8], 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, dword [ebp - 0xbbc]
mov dword [ecx + 0x284], eax
cmp dword [0x548e58], 1
jle 0x4ecb8d
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 0x870], eax
lea ecx, [ebp - 0x86c]
call fcn.004f30a0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x870]
push edx
lea ecx, [ebp - 0x86c]
call fcn.004f31e0
push str.uinst
lea ecx, [ebp - 0x86c]
call fcn.004f2df0
test eax, eax
je 0x4eca11
mov eax, dword [ebp - 0xbbc]
mov dword [eax + 0x10c], 0
push 0x515cac
lea ecx, [ebp - 0x86c]
call fcn.004f2df0
test eax, eax
je 0x4eca35
mov ecx, dword [ebp - 0xbbc]
mov dword [ecx + 0x110], 1
push 0x515cb0
lea ecx, [ebp - 0x86c]
call fcn.004f2df0
test eax, eax
je 0x4eca69
mov edx, dword [ebp - 0xbbc]
mov dword [edx + 0x114], 1
mov eax, dword [ebp - 0xbbc]
mov dword [eax + 0x10c], 1
push str.update
lea ecx, [ebp - 0x86c]
call fcn.004f2df0
test eax, eax
je 0x4eca9d
mov ecx, dword [ebp - 0xbbc]
mov dword [ecx + 0x118], 1
mov edx, dword [ebp - 0xbbc]
mov dword [edx + 0x10c], 1
push 0x515cd0
lea ecx, [ebp - 0x86c]
call fcn.004f2df0
mov dword [ebp - 0x838], eax
cmp dword [ebp - 0x838], 0
je 0x4ecadb
push 0
mov ecx, dword [ebp - 0x838]
call fcn.004f2db0
push eax
mov ecx, dword [ebp - 0xbbc]
add ecx, 0x278
call fcn.004037c0
push 0x515cd4
lea ecx, [ebp - 0x86c]
call fcn.004f2df0
mov dword [ebp - 0x838], eax
cmp dword [ebp - 0x838], 0
je 0x4ecb19
push 0
mov ecx, dword [ebp - 0x838]
call fcn.004f2db0
push eax
mov ecx, dword [ebp - 0xbbc]
add ecx, 0x104
call fcn.004037c0
push str.setuplog
lea ecx, [ebp - 0x86c]
call fcn.004f2df0
mov dword [ebp - 0x838], eax
cmp dword [ebp - 0x838], 0
je 0x4ecb57
push 0
mov ecx, dword [ebp - 0x838]
call fcn.004f2db0
push eax
mov ecx, dword [ebp - 0xbbc]
add ecx, 0x108
call fcn.004037c0
push str.deleteuserdata
lea ecx, [ebp - 0x86c]
call fcn.004f2df0
test eax, eax
je 0x4ecb7b
mov eax, dword [ebp - 0xbbc]
mov dword [eax + 0x120], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x86c]
call fcn.004f3030
mov ecx, dword [ebp - 0xbbc]
cmp dword [ecx + 0x114], 0
jne 0x4ecc5a
push str.Mutex_QiyiInstaller
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edx, dword [ebp - 0xbbc]
mov dword [edx + 0x274], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4ecc5a
push ecx
mov ecx, esp
mov dword [ebp - 0xae0], esp
push 0x515d40
call fcn.004037e0
mov dword [ebp - 0xbc0], eax
mov ecx, 0x549ce0
call fcn.004eadb0
push 0x515d6c
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 0x874], eax
mov eax, dword [ebp - 0x874]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4ecc53
mov dword [ebp - 0x87c], 0
mov dword [ebp - 0x880], 0xa
mov dword [ebp - 0x878], 0
lea ecx, [ebp - 0x880]
push ecx
push 0
push 0x4a
mov edx, dword [ebp - 0x874]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x884], eax
xor eax, eax
jmp 0x4ee45d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0xbbc]
mov dword [ecx + 0x25c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 0xbbc]
mov dword [edx + 0x260], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0xbbc]
mov dword [ecx + 0x264], eax
mov edx, dword [ebp - 0xbbc]
add edx, 0x29c
push edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x10], eax
push 0x58
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
test eax, eax
jle 0x4ecce0
push 0x58
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ecx, eax
mov eax, 0x3c0
cdq
idiv ecx
mov edx, dword [ebp - 0xbbc]
mov dword [edx + 0x144], eax
push 0x58
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [0x549ca4], eax
push 0x5a
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [0x549ca0], eax
mov edx, dword [ebp - 0x10]
push edx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0x515d80
push 0
call fcn.004b80bc
add esp, 8
mov dword [ebp - 0x828], 8
mov dword [ebp - 0x824], 0xff
lea eax, [ebp - 0x828]
push eax
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
lea ecx, [ebp - 0xae4]
push ecx
mov ecx, dword [ebp - 0xbbc]
call fcn.004eb550
mov dword [ebp - 0xbc4], eax
mov edx, dword [ebp - 0xbc4]
mov dword [ebp - 0xbc8], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xbc8]
push eax
mov ecx, 0x549de0
call fcn.00402e50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xae4]
call fcn.00402e70
push 0
call fcn.00499caf
add esp, 4
mov ecx, dword [ebp - 0xbbc]
call fcn.004ea670
mov ecx, dword [ebp - 0xbbc]
call fcn.004ea5f0
push 0x104
push 0x104
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xb8
call fcn.004035c0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xb8
call fcn.00406060
push 0
push 0x19
push 0x104
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xb0
call fcn.004035c0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xb0
call fcn.00406060
push 0
push 0
push 0x104
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xb4
call fcn.004035c0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xb4
call fcn.00406060
push 0
push 2
push 0x104
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xe0
call fcn.004035c0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xe0
call fcn.00406060
push 0
push 0x17
push 0x104
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xcc
call fcn.004035c0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xcc
call fcn.00406060
push 0x104
push 0x104
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xd4
call fcn.004035c0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xd4
call fcn.00406060
push 0
push 0x14
push 0x104
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xc4
call fcn.004035c0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xc4
call fcn.00406060
push 0x5c
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xd4
call fcn.00403fd0
add eax, 1
push eax
lea ecx, [ebp - 0xae8]
push ecx
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xd4
call fcn.00404160
mov dword [ebp - 0xbcc], eax
mov edx, dword [ebp - 0xbcc]
mov dword [ebp - 0xbd0], edx
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0xbd0]
push eax
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xbc
call fcn.00402e50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xae8]
call fcn.00402e70
push 0
push 0x1a
push 0x104
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xd8
call fcn.004035c0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xd8
call fcn.00406060
push 0x104
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xdc
call fcn.004035c0
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xdc
call fcn.00406060
push 1
lea ecx, [ebp - 0xaf0]
push ecx
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xdc
call fcn.004040d0
mov dword [ebp - 0xbd4], eax
push 0x515d84
mov edx, dword [ebp - 0xbd4]
push edx
call fcn.00404380
add esp, 8
mov byte [ebp - 0xae9], al
lea ecx, [ebp - 0xaf0]
call fcn.00402e70
movzx eax, byte [ebp - 0xae9]
test eax, eax
je 0x4ed069
push 0x515d88
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xdc
call fcn.00403cf0
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xdc
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call fcn.004d6fa0
push 0x515d8c
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xd8
push ecx
lea edx, [ebp - 0xaf4]
push edx
call fcn.004041e0
add esp, 0xc
mov dword [ebp - 0xbd8], eax
mov eax, dword [ebp - 0xbd8]
mov dword [ebp - 0xbdc], eax
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0xbdc]
push ecx
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xa8
call fcn.00402e50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xaf4]
call fcn.00402e70
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xa8
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call fcn.004d6fa0
call fcn.004038b0
mov dword [ebp - 0x830], eax
mov edx, dword [ebp - 0xbbc]
add edx, 0x148
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4ed3e8
mov eax, dword [ebp - 0xbbc]
cmp dword [eax + 0x14c], 6
jae 0x4ed27f
push 0x515da8
mov ecx, dword [ebp - 0xbbc]
add ecx, 0x13c
call fcn.004037c0
push 0
push 0x23
lea ecx, [ebp - 0xa8c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0xa8c]
push edx
lea ecx, [ebp - 0xa90]
call fcn.004037e0
mov dword [ebp - 4], 4
push str.QiYi
lea eax, [ebp - 0xa90]
push eax
lea ecx, [ebp - 0xaf8]
push ecx
call fcn.004041e0
add esp, 0xc
mov dword [ebp - 0xbe0], eax
mov edx, dword [ebp - 0xbe0]
mov dword [ebp - 0xbe4], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xbe4]
push eax
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xac
call fcn.00402e50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xaf8]
call fcn.00402e70
mov ecx, dword [ebp - 0xbbc]
cmp dword [ecx + 0x14c], 5
jne 0x4ed243
mov edx, dword [ebp - 0xbbc]
cmp dword [edx + 0x150], 1
jne 0x4ed204
push str.windowsXP
mov ecx, dword [ebp - 0xbbc]
add ecx, 0x140
call fcn.004037c0
jmp 0x4ed241
mov eax, dword [ebp - 0xbbc]
cmp dword [eax + 0x150], 2
jne 0x4ed22b
push str.windows2003
mov ecx, dword [ebp - 0xbbc]
add ecx, 0x140
call fcn.004037c0
jmp 0x4ed241
push str.windows2000
mov ecx, dword [ebp - 0xbbc]
add ecx, 0x140
call fcn.004037c0
jmp 0x4ed268
mov ecx, dword [ebp - 0xbbc]
cmp dword [ecx + 0x14c], 5
jae 0x4ed268
push str.windows98
mov ecx, dword [ebp - 0xbbc]
add ecx, 0x140
call fcn.004037c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa90]
call fcn.00402e70
jmp 0x4ed3e8
push 0x515e14
mov ecx, dword [ebp - 0xbbc]
add ecx, 0x13c
call fcn.004037c0
push 0x104
lea edx, [ebp - 0xa8c]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0xa8c]
push eax
lea ecx, [ebp - 0xa94]
call fcn.004037e0
mov dword [ebp - 4], 6
push 2
lea ecx, [ebp - 0xafc]
push ecx
lea ecx, [ebp - 0xa94]
call fcn.00404160
mov dword [ebp - 0xbe8], eax
mov edx, dword [ebp - 0xbe8]
mov dword [ebp - 0xbec], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xbec]
push eax
lea ecx, [ebp - 0xa94]
call fcn.00402e50
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xafc]
call fcn.00402e70
push str.UsersPublicQiYi
lea ecx, [ebp - 0xa94]
push ecx
lea edx, [ebp - 0xb00]
push edx
call fcn.004041e0
add esp, 0xc
mov dword [ebp - 0xbf0], eax
mov eax, dword [ebp - 0xbf0]
mov dword [ebp - 0xbf4], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xbf4]
push ecx
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xac
call fcn.00402e50
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb00]
call fcn.00402e70
mov edx, dword [ebp - 0xbbc]
cmp dword [edx + 0x14c], 6
jne 0x4ed3d6
mov eax, dword [ebp - 0xbbc]
cmp dword [eax + 0x150], 1
jne 0x4ed399
push str.windows7
mov ecx, dword [ebp - 0xbbc]
add ecx, 0x140
call fcn.004037c0
jmp 0x4ed3d6
mov ecx, dword [ebp - 0xbbc]
cmp dword [ecx + 0x150], 2
jne 0x4ed3c0
push str.windows8
mov ecx, dword [ebp - 0xbbc]
add ecx, 0x140
call fcn.004037c0
jmp 0x4ed3d6
push str.windows_Vista
mov ecx, dword [ebp - 0xbbc]
add ecx, 0x140
call fcn.004037c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa94]
call fcn.00402e70
push 0x515e8c
mov ecx, dword [ebp - 0xbbc]
add ecx, 0x13c
call fcn.004037c0
push str.install.ini
mov edx, dword [ebp - 0xbbc]
add edx, 0xbc
push edx
lea eax, [ebp - 0xb04]
push eax
call fcn.004041e0
add esp, 0xc
mov dword [ebp - 0xbf8], eax
mov ecx, dword [ebp - 0xbf8]
mov dword [ebp - 0xbfc], ecx
mov dword [ebp - 4], 9
mov edx, dword [ebp - 0xbfc]
push edx
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xc0
call fcn.00402e50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb04]
call fcn.00402e70
push 0x515eac
mov eax, dword [ebp - 0xbbc]
add eax, 0xbc
push eax
lea ecx, [ebp - 0xb08]
push ecx
call fcn.004041e0
add esp, 0xc
mov dword [ebp - 0xc00], eax
mov edx, dword [ebp - 0xc00]
mov dword [ebp - 0xc04], edx
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0xc04]
push eax
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xd0
call fcn.00402e50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb08]
call fcn.00402e70
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xc0
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4ed665
push ecx
mov ecx, esp
mov dword [ebp - 0xb10], esp
push str.main_version
call fcn.004037e0
mov dword [ebp - 0xc08], eax
lea ecx, [ebp - 0xb14]
push ecx
call fcn.004d7580
add esp, 8
mov dword [ebp - 0xc0c], eax
mov edx, dword [ebp - 0xc0c]
mov dword [ebp - 0xc10], edx
mov dword [ebp - 4], 0xb
mov eax, dword [ebp - 0xbb8]
or eax, 1
mov dword [ebp - 0xbb8], eax
mov ecx, dword [ebp - 0xc10]
call fcn.004043e0
movzx ecx, al
test ecx, ecx
jne 0x4ed5ae
push ecx
mov ecx, esp
mov dword [ebp - 0xb18], esp
push 0x515eec
call fcn.004037e0
mov dword [ebp - 0xc14], eax
lea edx, [ebp - 0xb1c]
push edx
call fcn.004d7580
add esp, 8
mov dword [ebp - 0xc18], eax
mov eax, dword [ebp - 0xc18]
mov dword [ebp - 0xc1c], eax
mov ecx, dword [ebp - 0xbb8]
or ecx, 2
mov dword [ebp - 0xbb8], ecx
mov ecx, dword [ebp - 0xc1c]
call fcn.004043e0
movzx edx, al
test edx, edx
jne 0x4ed5ae
mov dword [ebp - 0xc20], 0
jmp 0x4ed5b8
mov dword [ebp - 0xc20], 1
mov al, byte [ebp - 0xc20]
mov byte [ebp - 0xb09], al
mov ecx, dword [ebp - 0xbb8]
and ecx, 2
je 0x4ed5e1
and dword [ebp - 0xbb8], 0xfffffffd
lea ecx, [ebp - 0xb1c]
call fcn.00402e70
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xbb8]
and edx, 1
je 0x4ed605
and dword [ebp - 0xbb8], 0xfffffffe
lea ecx, [ebp - 0xb14]
call fcn.00402e70
movzx eax, byte [ebp - 0xb09]
test eax, eax
je 0x4ed665
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xc0
push ecx
push str.Invalid_Install.ini
lea edx, [ebp - 0xb20]
push edx
call fcn.00404290
add esp, 0xc
mov dword [ebp - 0xc24], eax
mov ecx, dword [ebp - 0xc24]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0xb20]
call fcn.00402e70
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xc0
call fcn.00403290
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xc0
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4ed971
push 0x515f30
push 0x320
mov eax, dword [ebp - 0xbbc]
mov ecx, dword [eax + 0x284]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0xa98], eax
cmp dword [ebp - 0xa98], 0
je 0x4ed95c
push 0x515f38
mov edx, dword [ebp - 0xbbc]
add edx, 0xdc
push edx
lea eax, [ebp - 0xb24]
push eax
call fcn.004041e0
add esp, 0xc
mov dword [ebp - 0xc28], eax
mov ecx, dword [ebp - 0xc28]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0xb24]
call fcn.00402e70
mov ecx, dword [ebp - 0xa98]
push ecx
mov edx, dword [ebp - 0xbbc]
mov eax, dword [edx + 0x284]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xa9c], eax
cmp dword [ebp - 0xa9c], 0
je 0x4ed95a
mov ecx, dword [ebp - 0xa9c]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xab4], eax
mov edx, dword [ebp - 0xa98]
push edx
mov eax, dword [ebp - 0xbbc]
mov ecx, dword [eax + 0x284]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0xaa0], eax
lea ecx, [ebp - 0xab0]
call fcn.00498c64
mov dword [ebp - 4], 0xc
push 0x515f5c
mov edx, dword [ebp - 0xbbc]
add edx, 0xdc
push edx
lea eax, [ebp - 0xb2c]
push eax
call fcn.004041e0
add esp, 0xc
mov dword [ebp - 0xc2c], eax
mov ecx, dword [ebp - 0xc2c]
mov dword [ebp - 0xc30], ecx
mov byte [ebp - 4], 0xd
push 0
push 0x1002
mov ecx, dword [ebp - 0xc30]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
lea ecx, [ebp - 0xab0]
call fcn.004990ed
mov dword [ebp - 0xb28], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xb2c]
call fcn.00402e70
cmp dword [ebp - 0xb28], 0
je 0x4ed93b
mov edx, dword [ebp - 0xaa0]
push edx
mov eax, dword [ebp - 0xab4]
push eax
lea ecx, [ebp - 0xab0]
call fcn.0049899a
lea ecx, [ebp - 0xab0]
call fcn.00498a86
lea ecx, [ebp - 0xab0]
call fcn.00498bfe
push 0x515f80
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xdc
push ecx
lea edx, [ebp - 0xb30]
push edx
call fcn.004041e0
add esp, 0xc
mov dword [ebp - 0xc34], eax
mov eax, dword [ebp - 0xc34]
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0xc38]
push ecx
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xc0
call fcn.00402e50
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xb30]
call fcn.00402e70
mov edx, dword [ebp - 0xbbc]
cmp dword [edx + 0x10c], 0
je 0x4ed8dd
push str.PStyleQiyiInstaller.log
mov eax, dword [ebp - 0xbbc]
add eax, 0xa8
push eax
lea ecx, [ebp - 0xb34]
push ecx
call fcn.004041e0
add esp, 0xc
mov dword [ebp - 0xc3c], eax
mov edx, dword [ebp - 0xc3c]
mov dword [ebp - 0xc40], edx
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0xc40]
push eax
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xd0
call fcn.00402e50
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xb34]
call fcn.00402e70
jmp 0x4ed93b
push str.QiyiInstaller.log
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xdc
push ecx
lea edx, [ebp - 0xb38]
push edx
call fcn.004041e0
add esp, 0xc
mov dword [ebp - 0xc44], eax
mov eax, dword [ebp - 0xc44]
mov dword [ebp - 0xc48], eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0xc48]
push ecx
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xd0
call fcn.00402e50
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xb38]
call fcn.00402e70
mov edx, dword [ebp - 0xa9c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xab0]
call fcn.00498d7d
jmp 0x4ed971
push 0
push 0
push str.b_rN0R
call fcn.0049779c
xor eax, eax
jmp 0x4ee45d
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xc0
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
mov ecx, dword [ebp - 0xbbc]
add ecx, 0x140
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
push str.winosversion
push 0x516030
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xd0
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x5c
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xd0
call fcn.00403fd0
add eax, 1
push eax
lea eax, [ebp - 0x818]
push eax
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xd0
call fcn.00404160
mov dword [ebp - 4], 0x11
lea ecx, [ebp - 0x818]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call fcn.004d6fa0
push 0
push 0x1041
mov ecx, dword [ebp - 0xbbc]
add ecx, 0xd0
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
mov ecx, dword [ebp - 0xbbc]
add ecx, 0x28c
mov edx, dword [ebp - 0xbbc]
mov eax, dword [edx + 0x28c]
mov edx, dword [eax + 0x20]
call edx
mov ecx, dword [ebp - 0xbbc]
add ecx, 0x28c
call fcn.00407bb0
mov byte [ebp - 0x81c], 0xff
mov byte [ebp - 0x81b], 0xfe
push 2
lea eax, [ebp - 0x81c]
push eax
mov ecx, dword [ebp - 0xbbc]
add ecx, 0x28c
mov edx, dword [ebp - 0xbbc]
mov eax, dword [edx + 0x28c]
mov edx, dword [eax + 0x38]
call edx
mov ecx, dword [ebp - 0xbbc]
call fcn.004ec240
mov ecx, dword [ebp - 0xbbc]
add ecx, 0x104
call fcn.004043e0
movzx eax, al
test eax, eax
jne 0x4edafa
mov ecx, dword [ebp - 0xbbc]
add ecx, 0x104
push ecx
mov edx, esp
mov dword [ebp - 0xb3c], esp
push ecx
mov ecx, edx
call fcn.00402130
mov dword [ebp - 0xc4c], eax
mov eax, dword [ebp - 0xc4c]
mov dword [ebp - 0xc50], eax
mov byte [ebp - 4], 0x12
push ecx
mov ecx, esp
mov dword [ebp - 0xb40], esp
push str.forcerun_param
call fcn.004037e0
mov dword [ebp - 0xc54], eax
mov byte [ebp - 4], 0x11
call fcn.004d7530
add esp, 8
push 0x516058
mov ecx, dword [ebp - 0xbbc]
call fcn.0049a182
push 0x516078
push ecx
mov ecx, esp
mov dword [ebp - 0xb48], esp
push 0x51607c
call fcn.004037e0
mov dword [ebp - 0xc58], eax
lea ecx, [ebp - 0xb4c]
push ecx
call fcn.004d7580
add esp, 8
mov dword [ebp - 0xc5c], eax
mov edx, dword [ebp - 0xc5c]
mov dword [ebp - 0xc60], edx
mov eax, dword [ebp - 0xc60]
push eax
call fcn.00404360
add esp, 8
mov byte [ebp - 0xb41], al
lea ecx, [ebp - 0xb4c]
call fcn.00402e70
movzx ecx, byte [ebp - 0xb41]
test ecx, ecx
je 0x4edb93
mov edx, dword [ebp - 0xbbc]
cmp dword [edx + 0x10c], 0
je 0x4edb93
mov eax, dword [ebp - 0xbbc]
mov dword [eax + 0x110], 1
push 0x51608c
push ecx
mov ecx, esp
mov dword [ebp - 0xb54], esp
push 0x516090
call fcn.004037e0
mov dword [ebp - 0xc64], eax
lea ecx, [ebp - 0xb58]
push ecx
call fcn.004d7580
add esp, 8
mov dword [ebp - 0xc68], eax
mov edx, dword [ebp - 0xc68]
mov dword [ebp - 0xc6c], edx
mov eax, dword [ebp - 0xc6c]
push eax
call fcn.00404360
add esp, 8
mov byte [ebp - 0xb4d], al
lea ecx, [ebp - 0xb58]
call fcn.00402e70
movzx ecx, byte [ebp - 0xb4d]
test ecx, ecx
je 0x4edc0d
mov edx, dword [ebp - 0xbbc]
mov dword [edx + 0x11c], 1
push 0x5160a0
push ecx
mov ecx, esp
mov dword [ebp - 0xb60], esp
push 0x5160a4
call fcn.004037e0
mov dword [ebp - 0xc70], eax
lea eax, [ebp - 0xb64]
push eax
call fcn.004d7580
add esp, 8
mov dword [ebp - 0xc74], eax
mov ecx, dword [ebp - 0xc74]
mov dword [ebp - 0xc78], ecx
mov edx, dword [ebp - 0xc78]
push edx
call fcn.00404360
add esp, 8
mov byte [ebp - 0xb59], al
lea ecx, [ebp - 0xb64]
call fcn.00402e70
movzx eax, byte [ebp - 0xb59]
test eax, eax
je 0x4edc96
mov ecx, dword [ebp - 0xbbc]
cmp dword [ecx + 0x10c], 0
je 0x4edc96
mov edx, dword [ebp - 0xbbc]
mov dword [edx + 0x118], 1
mov eax, dword [ebp - 0xbbc]
cmp dword [eax + 0x118], 0
je 0x4eddb5
lea ecx, [ebp - 0xab8]
push ecx
push 0xf003f
push 0
push str.SoftwareQiYi
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4eddb0
mov dword [ebp - 0xac0], 0x400
mov dword [ebp - 0xabc], 1
lea ecx, [ebp - 0xac4]
call fcn.00407250
mov byte [ebp - 4], 0x13
lea edx, [ebp - 0xac0]
push edx
push 0x400
lea ecx, [ebp - 0xac4]
call fcn.004035c0
push eax
lea eax, [ebp - 0xabc]
push eax
push 0
push str.ChannelID
mov ecx, dword [ebp - 0xab8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [ebp - 0xac4]
call fcn.00406060
lea ecx, [ebp - 0xac4]
call fcn.004043e0
movzx edx, al
test edx, edx
jne 0x4edd94
push ecx
mov ecx, esp
mov dword [ebp - 0xb68], esp
lea eax, [ebp - 0xac4]
push eax
call fcn.00402130
mov dword [ebp - 0xc7c], eax
mov ecx, dword [ebp - 0xc7c]
mov dword [ebp - 0xc80], ecx
mov byte [ebp - 4], 0x14
push ecx
mov ecx, esp
mov dword [ebp - 0xb6c], esp
push 0x5160e4
call fcn.004037e0
mov dword [ebp - 0xc84], eax
mov byte [ebp - 4], 0x13
call fcn.004d7530
add esp, 8
mov edx, dword [ebp - 0xab8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xac4]
call fcn.00402e70
jmp 0x4ee3c1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 0xacc], eax
mov eax, dword [ebp - 0xacc]
push eax
lea ecx, [ebp - 0xad4]
call fcn.004037e0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xad4]
call fcn.00401060
push ecx
mov ecx, esp
mov dword [ebp - 0xb70], esp
push str.mincid
call fcn.004037e0
mov dword [ebp - 0xc88], eax
lea ecx, [ebp - 0xad0]
push ecx
call fcn.004d7580
add esp, 8
mov dword [ebp - 0xc8c], eax
mov byte [ebp - 4], 0x16
push ecx
mov ecx, esp
mov dword [ebp - 0xb74], esp
push str.maxcid
call fcn.004037e0
mov dword [ebp - 0xc90], eax
lea edx, [ebp - 0xac8]
push edx
call fcn.004d7580
add esp, 8
mov dword [ebp - 0xc94], eax
mov byte [ebp - 4], 0x17
push 0
push str._cid
lea ecx, [ebp - 0xad4]
call fcn.00403f50
cmp eax, 0xffffffff
je 0x4ee0b7
push 0x516124
lea ecx, [ebp - 0xad4]
call fcn.00403cf0
push 0
push 0x516128
lea ecx, [ebp - 0xad4]
call fcn.00403f50
add eax, 5
push eax
push 0
lea ecx, [ebp - 0xad4]
call fcn.00407170
push 0
push 0x516134
lea ecx, [ebp - 0xad4]
call fcn.00403f50
push eax
lea eax, [ebp - 0xad8]
push eax
lea ecx, [ebp - 0xad4]
call fcn.00404160
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0xad0]
push ecx
push 0x516148
lea edx, [ebp - 0xb7c]
push edx
call fcn.00404290
add esp, 0xc
mov dword [ebp - 0xc98], eax
mov eax, dword [ebp - 0xc98]
mov dword [ebp - 0xc9c], eax
mov byte [ebp - 4], 0x19
push 0x516138
mov ecx, dword [ebp - 0xc9c]
push ecx
lea edx, [ebp - 0xb80]
push edx
call fcn.004041e0
add esp, 0xc
mov dword [ebp - 0xca0], eax
mov eax, dword [ebp - 0xca0]
mov dword [ebp - 0xca4], eax
mov byte [ebp - 4], 0x1a
push ecx
mov ecx, esp
mov dword [ebp - 0xb78], esp
lea edx, [ebp - 0xac8]
push edx
mov eax, dword [ebp - 0xca4]
push eax
push ecx
call fcn.00406c30
add esp, 0xc
mov dword [ebp - 0xca8], eax
mov ecx, dword [ebp - 0xbbc]
call fcn.004eadb0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0xb80]
call fcn.00402e70
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0xb7c]
call fcn.00402e70
lea ecx, [ebp - 0xad8]
call fcn.004043e0
movzx ecx, al
test ecx, ecx
jne 0x4ee0a3
lea ecx, [ebp - 0xad8]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call fcn.004b8242
add esp, 4
mov esi, eax
lea ecx, [ebp - 0xad0]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call fcn.004b8242
add esp, 4
cmp esi, eax
jl 0x4ee074
lea ecx, [ebp - 0xad8]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call fcn.004b8242
add esp, 4
mov esi, eax
lea ecx, [ebp - 0xac8]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call fcn.004b8242
add esp, 4
cmp esi, eax
jg 0x4ee074
lea ecx, [ebp - 0xad8]
call fcn.00407230
push ecx
mov ecx, esp
mov dword [ebp - 0xb84], esp
lea edx, [ebp - 0xad8]
push edx
call fcn.00402130
mov dword [ebp - 0xcac], eax
mov eax, dword [ebp - 0xcac]
mov dword [ebp - 0xcb0], eax
mov byte [ebp - 4], 0x1b
push ecx
mov ecx, esp
mov dword [ebp - 0xb88], esp
push 0x51619c
call fcn.004037e0
mov dword [ebp - 0xcb4], eax
mov byte [ebp - 4], 0x18
call fcn.004d7530
add esp, 8
push ecx
mov ecx, esp
mov dword [ebp - 0xb8c], esp
lea edx, [ebp - 0xad8]
push edx
push 0x5161b0
push ecx
call fcn.00404290
add esp, 0xc
mov dword [ebp - 0xcb8], eax
mov ecx, dword [ebp - 0xbbc]
call fcn.004eadb0
jmp 0x4ee0a3
push ecx
mov eax, esp
mov dword [ebp - 0xb90], esp
lea ecx, [ebp - 0xad8]
push ecx
push 0x5161e0
push eax
call fcn.00404290
add esp, 0xc
mov dword [ebp - 0xcbc], eax
mov ecx, dword [ebp - 0xbbc]
call fcn.004eadb0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0xad8]
call fcn.00402e70
jmp 0x4ee394
lea ecx, [ebp - 0xad0]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call fcn.004b8242
add esp, 4
mov esi, eax
lea ecx, [ebp - 0xac8]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call fcn.004b8242
add esp, 4
cmp esi, eax
jge 0x4ee394
push 0
push 0x516214
lea ecx, [ebp - 0xad4]
call fcn.00403f50
cmp eax, 0xffffffff
je 0x4ee394
push 0x516218
push 0x51621c
lea ecx, [ebp - 0xad4]
call fcn.00403d70
push 0x5c
lea ecx, [ebp - 0xad4]
call fcn.00403fd0
add eax, 1
push eax
push 0
lea ecx, [ebp - 0xad4]
call fcn.00407170
push 0
push 0x516220
lea ecx, [ebp - 0xad4]
call fcn.00403f50
add eax, 1
push eax
push 0
lea ecx, [ebp - 0xad4]
call fcn.00407170
push 0
push 0x516224
lea ecx, [ebp - 0xad4]
call fcn.00403f50
push eax
lea edx, [ebp - 0xadc]
push edx
lea ecx, [ebp - 0xad4]
call fcn.00404160
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0xad0]
push eax
push str.Current_Installer_Channel_ID_Range_From
lea ecx, [ebp - 0xb98]
push ecx
call fcn.00404290
add esp, 0xc
mov dword [ebp - 0xcc0], eax
mov edx, dword [ebp - 0xcc0]
mov dword [ebp - 0xcc4], edx
mov byte [ebp - 4], 0x1d
push 0x516228
mov eax, dword [ebp - 0xcc4]
push eax
lea ecx, [ebp - 0xb9c]
push ecx
call fcn.004041e0
add esp, 0xc
mov dword [ebp - 0xcc8], eax
mov edx, dword [ebp - 0xcc8]
mov dword [ebp - 0xccc], edx
mov byte [ebp - 4], 0x1e
push ecx
mov eax, esp
mov dword [ebp - 0xb94], esp
lea ecx, [ebp - 0xac8]
push ecx
mov edx, dword [ebp - 0xccc]
push edx
push eax
call fcn.00406c30
add esp, 0xc
mov dword [ebp - 0xcd0], eax
mov ecx, dword [ebp - 0xbbc]
call fcn.004eadb0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0xb9c]
call fcn.00402e70
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0xb98]
call fcn.00402e70
lea ecx, [ebp - 0xadc]
call fcn.004043e0
movzx eax, al
test eax, eax
jne 0x4ee385
lea ecx, [ebp - 0xadc]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call fcn.004b8242
add esp, 4
test eax, eax
jle 0x4ee385
lea ecx, [ebp - 0xadc]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call fcn.004b8242
add esp, 4
mov esi, eax
lea ecx, [ebp - 0xad0]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call fcn.004b8242
add esp, 4
cmp esi, eax
jl 0x4ee356
lea ecx, [ebp - 0xadc]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call fcn.004b8242
add esp, 4
mov esi, eax
lea ecx, [ebp - 0xac8]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call fcn.004b8242
add esp, 4
cmp esi, eax
jg 0x4ee356
lea ecx, [ebp - 0xadc]
call fcn.00407230
push ecx
mov ecx, esp
mov dword [ebp - 0xba0], esp
lea edx, [ebp - 0xadc]
push edx
call fcn.00402130
mov dword [ebp - 0xcd4], eax
mov eax, dword [ebp - 0xcd4]
mov dword [ebp - 0xcd8], eax
mov byte [ebp - 4], 0x1f
push ecx
mov ecx, esp
mov dword [ebp - 0xba4], esp
push str.channelid
call fcn.004037e0
mov dword [ebp - 0xcdc], eax
mov byte [ebp - 4], 0x1c
call fcn.004d7530
add esp, 8
push ecx
mov ecx, esp
mov dword [ebp - 0xba8], esp
lea edx, [ebp - 0xadc]
push edx
push 0x5162a0
push ecx
call fcn.00404290
add esp, 0xc
mov dword [ebp - 0xce0], eax
mov ecx, dword [ebp - 0xbbc]
call fcn.004eadb0
jmp 0x4ee385
push ecx
mov eax, esp
mov dword [ebp - 0xbac], esp
lea ecx, [ebp - 0xadc]
push ecx
push str.Channel_ID_Beyond_Range
push eax
call fcn.00404290
add esp, 0xc
mov dword [ebp - 0xce4], eax
mov ecx, dword [ebp - 0xbbc]
call fcn.004eadb0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0xadc]
call fcn.00402e70
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xac8]
call fcn.00402e70
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xad0]
call fcn.00402e70
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xad4]
call fcn.00402e70
mov ecx, dword [ebp - 0xbbc]
call fcn.004ea530
mov edx, dword [ebp - 0xbbc]
mov byte [edx + 0x27c], al
lea eax, [ebp - 0xbb0]
push eax
mov ecx, dword [ebp - 0xbbc]
call fcn.004ebad0
lea ecx, [ebp - 0xbb0]
call fcn.00402e70
mov ecx, dword [ebp - 0xbbc]
call fcn.004eb7d0
mov dword [ebp - 0x820], 0
push 0
lea ecx, [ebp - 0x814]
call fcn.004e9d30
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x814]
call fcn.0049aab9
mov dword [ebp - 0x820], eax
mov dword [ebp - 0xbb4], 0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x814]
call fcn.004e9be0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x818]
call fcn.00402e70
mov eax, dword [ebp - 0xbb4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004b5ba3
mov esp, ebp
pop ebp
ret 8