Function at 0x4e4b90
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5006ef
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x148
mov eax, dword [0x54eb90]
xor eax, ebp
mov dword [ebp - 0x74], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.004038f0
mov dword [ebp - 0x20], eax
cmp dword [ebp + 8], 0
je 0x4e4dd6
push 0
push 0x51ac2c
mov ecx, dword [ebp + 8]
add ecx, 8
call fcn.00403fa0
cmp eax, 0xffffffff
je 0x4e4dd6
mov eax, dword [ebp + 8]
push eax
call sym.QiyiInstaller.exe_IfThen
add esp, 4
test eax, eax
je 0x4e4dd1
push 1
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.004041b0
mov dword [ebp - 0xdc], eax
push 0x51ac3c
mov edx, dword [ebp - 0xdc]
push edx
call fcn.004043d0
add esp, 8
mov byte [ebp - 0x55], al
lea ecx, [ebp - 0x5c]
call fcn.00402e80
movzx eax, byte [ebp - 0x55]
test eax, eax
je 0x4e4d31
mov ecx, dword [ebp + 8]
add ecx, 4
push ecx
push 0x51ac40
lea edx, [ebp - 0x70]
push edx
call fcn.004042e0
add esp, 0xc
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xe4]
call sym.QiyiInstaller.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4e4c96
mov dword [ebp - 0xe8], 0
jmp 0x4e4cfa
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3fffffff
jle 0x4e4cbb
mov dword [ebp - 0xec], 0
jmp 0x4e4cee
mov eax, dword [ebp - 0x14]
shl eax, 1
call fcn.004c5300
mov dword [ebp - 0xf0], esp
mov dword [ebp - 0x10], esp
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x14]
shl eax, 1
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0xf0]
push edx
call fcn.00407890
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0x6c], ecx
lea edx, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x68]
call fcn.004bdd7c
push 0x52b83c
lea eax, [ebp - 0x68]
push eax
call fcn.004c5561
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00402e80
jmp 0x4e56b3
push 1
push 0
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00407030
mov ecx, dword [ebp + 8]
add ecx, 4
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00402120
mov dword [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x78], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.00402120
mov dword [ebp - 0xf4], eax
call fcn.004e1c70
add esp, 4
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x4e4d94
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004e4b90
add esp, 4
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
je 0x4e4db8
push 1
mov ecx, dword [ebp - 0x7c]
call fcn.00407f80
mov dword [ebp - 0xfc], eax
jmp 0x4e4dc2
mov dword [ebp - 0xfc], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402e80
jmp 0x4e56b3
mov dword [ebp - 0x1c], 0
cmp dword [ebp + 8], 0
je 0x4e56b3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x30], eax
mov ecx, 0x553f10
call sym.QiyiInstaller.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push str._INSTALLPARENT
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00403dc0
mov ecx, 0x553f1c
call sym.QiyiInstaller.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push str._INSTALLER
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00403dc0
mov ecx, 0x553eec
call sym.QiyiInstaller.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push str._INSTALL
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00403dc0
mov ecx, 0x553ef4
call sym.QiyiInstaller.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push str._KERNELOLD
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00403dc0
mov ecx, 0x553ef0
call sym.QiyiInstaller.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push str._KERNEL
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00403dc0
mov ecx, 0x553ef8
call sym.QiyiInstaller.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push str._DESKTOP
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00403dc0
mov ecx, 0x553f00
call sym.QiyiInstaller.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push str._SYSTEM
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00403dc0
mov ecx, 0x553f28
call sym.QiyiInstaller.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push str._CURSMPROGRAMS
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00403dc0
mov ecx, 0x553f20
call sym.QiyiInstaller.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push str._APPDATA
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00403dc0
mov ecx, 0x553f08
call sym.QiyiInstaller.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push str._INIPATH
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00403dc0
mov ecx, 0x553f04
call sym.QiyiInstaller.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push str._CURPATH
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00403dc0
mov ecx, 0x553efc
call sym.QiyiInstaller.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push str._CURDESKTOP
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00403dc0
mov ecx, 0x553f14
call sym.QiyiInstaller.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push str._SMPROGRAMS
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00403dc0
mov ecx, 0x553f24
call sym.QiyiInstaller.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push str._TEMP
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00403dc0
push 0
push str._____
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00403fa0
cmp eax, 0xffffffff
je 0x4e52ec
push 0
push 0x51adc0
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00403fa0
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
push ecx
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.004041b0
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x44]
push eax
push 0
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00407030
mov dword [ebp - 0x38], 0x989680
push 0
push 0x51adc4
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00403fa0
cmp eax, 0xffffffff
je 0x4e5026
push 0
push 0x51adc8
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00403fa0
cmp dword [ebp - 0x38], eax
jge 0x4e5005
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x100], ecx
jmp 0x4e501d
push 0
push 0x51adcc
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00403fa0
mov dword [ebp - 0x100], eax
mov edx, dword [ebp - 0x100]
mov dword [ebp - 0x38], edx
push 0
push 0x51add0
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00403fa0
cmp eax, 0xffffffff
je 0x4e5080
push 0
push 0x51add4
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00403fa0
cmp dword [ebp - 0x38], eax
jge 0x4e505f
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x104], eax
jmp 0x4e5077
push 0
push 0x51add8
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00403fa0
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x104]
mov dword [ebp - 0x38], ecx
push 0
push 0x51addc
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00403fa0
cmp eax, 0xffffffff
je 0x4e50da
push 0
push 0x51ade0
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00403fa0
cmp dword [ebp - 0x38], eax
jge 0x4e50b9
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x108], edx
jmp 0x4e50d1
push 0
push 0x51ade4
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00403fa0
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x38], eax
push 0
push 0x51ade8
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00403fa0
cmp eax, 0xffffffff
je 0x4e5134
push 0
push 0x51adec
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00403fa0
cmp dword [ebp - 0x38], eax
jge 0x4e5113
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x10c], ecx
jmp 0x4e512b
push 0
push 0x51adf0
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00403fa0
mov dword [ebp - 0x10c], eax
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0x38], edx
lea ecx, [ebp - 0x34]
call fcn.00407130
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.00407130
mov byte [ebp - 4], 4
cmp dword [ebp - 0x38], 0x989680
je 0x4e51c1
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x84]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.004041b0
mov dword [ebp - 0x110], eax
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x114], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x114]
push eax
lea ecx, [ebp - 0x34]
call fcn.00402e60
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x84]
call fcn.00402e80
mov ecx, dword [ebp - 0x38]
push ecx
push 0
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00407030
mov edx, dword [ebp + 8]
add edx, 4
push edx
lea ecx, [ebp - 0x3c]
call fcn.00402e60
jmp 0x4e51d0
mov eax, dword [ebp + 8]
add eax, 4
push eax
lea ecx, [ebp - 0x34]
call fcn.00402e60
lea ecx, [ebp - 0x34]
call fcn.004070f0
push 1
push 0
lea ecx, [ebp - 0x34]
call fcn.00407030
lea ecx, [ebp - 0x3c]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x88], esp
lea edx, [ebp - 0x34]
push edx
call fcn.00402120
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004e15d0
add esp, 8
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x120], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x120]
push edx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x90]
push ecx
call fcn.00406b00
add esp, 0xc
mov dword [ebp - 0x124], eax
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x128], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x128]
push eax
lea ecx, [ebp - 0x94]
push ecx
call fcn.00406b00
add esp, 0xc
mov dword [ebp - 0x12c], eax
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x130], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x130]
push eax
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00402e60
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x94]
call fcn.00402e80
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x90]
call fcn.00402e80
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8c]
call fcn.00402e80
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.00402e80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.00402e80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00402e80
jmp 0x4e4f6a
cmp dword [ebp - 0x1c], 0
jne 0x4e5312
push 0
push 0x24
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00408110
cmp eax, 0xffffffff
je 0x4e5312
mov dword [ebp - 0x1c], 1
jmp 0x4e4df0
mov dword [ebp - 4], 9
push 0x51adf4
mov ecx, dword [ebp + 8]
add ecx, 8
push ecx
call fcn.004043d0
add esp, 8
movzx edx, al
test edx, edx
je 0x4e54b6
push 0
push 0x51ae00
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00403fa0
cmp eax, 0xffffffff
jne 0x4e5381
push 0
push 0x51ae04
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00403fa0
cmp eax, 0xffffffff
jne 0x4e5381
push 0
push 0x51ae08
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00403fa0
cmp eax, 0xffffffff
je 0x4e54b6
cmp dword [0x553f54], 0
je 0x4e5483
mov eax, dword [ebp + 8]
add eax, 4
push eax
push 0x51ae0c
lea ecx, [ebp - 0xa8]
push ecx
call fcn.004042e0
add esp, 0xc
mov dword [ebp - 0x134], eax
mov edx, dword [ebp - 0x134]
mov dword [ebp - 0x138], edx
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x138]
call sym.QiyiInstaller.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4e53df
mov dword [ebp - 0x13c], 0
jmp 0x4e5443
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3fffffff
jle 0x4e5404
mov dword [ebp - 0x140], 0
jmp 0x4e5437
mov eax, dword [ebp - 0x14]
shl eax, 1
call fcn.004c5300
mov dword [ebp - 0x144], esp
mov dword [ebp - 0x10], esp
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x14]
shl edx, 1
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x144]
push ecx
call fcn.00407890
mov dword [ebp - 0x140], eax
mov edx, dword [ebp - 0x140]
mov dword [ebp - 0x13c], edx
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0xa4], eax
lea ecx, [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0xa0]
call fcn.004bdd7c
push 0x52b83c
lea edx, [ebp - 0xa0]
push edx
call fcn.004c5561
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xa8]
call fcn.00402e80
jmp 0x4e54b1
mov eax, dword [ebp + 8]
add eax, 4
push ecx
mov ecx, esp
mov dword [ebp - 0xac], esp
push eax
push str.Invalid_command_or_argument:
push ecx
call fcn.004042e0
add esp, 0xc
mov dword [ebp - 0x148], eax
mov ecx, 0x553e48
call fcn.004f2090
jmp 0x4e5540
mov byte [ebp - 4], 0xb
mov edx, dword [ebp + 8]
add edx, 4
push ecx
mov ecx, esp
mov dword [ebp - 0xb0], esp
push edx
call fcn.00402120
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call ecx
add esp, 4
jmp 0x4e5539
mov dword [ebp - 4], 9
lea ecx, [ebp - 0x48]
call fcn.00407130
mov byte [ebp - 4], 0xd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x30]
cmp eax, 0x32
jbe 0x4e5585
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
push 0x51ae88
lea ecx, [ebp - 0x48]
push ecx
call fcn.00406020
add esp, 0x14
jmp 0x4e55a4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
push 0x51aeb8
lea eax, [ebp - 0x48]
push eax
call fcn.00406020
add esp, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0xc4], esp
lea edx, [ebp - 0x48]
push edx
call fcn.00402120
mov dword [ebp - 0x154], eax
mov ecx, 0x553e48
call fcn.004f2090
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x48]
call fcn.00402e80
jmp 0x4e56ac
mov dword [ebp - 4], 0xffffffff
lea esp, [ebp - 0x168]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x74]
xor ecx, ebp
call fcn.004bd72f
mov esp, ebp
pop ebp
ret