Function at 0x4ea8a0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [0x54eb90]
xor eax, ebp
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xcc], 0
call fcn.004038f0
mov dword [ebp - 0x7c], eax
lea ecx, [ebp - 0xc]
call fcn.00407130
push 0
push 0x517820
lea ecx, [ebp + 8]
call fcn.00403fa0
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0xffffffff
je 0x4ea92c
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0xc]
call fcn.00402e60
mov ecx, dword [ebp - 0x80]
push ecx
lea edx, [ebp - 0x90]
push edx
lea ecx, [ebp - 0xc]
call fcn.004041b0
push eax
lea ecx, [ebp + 8]
call fcn.00402e60
lea ecx, [ebp - 0x90]
call fcn.00402e80
mov eax, dword [ebp - 0x80]
add eax, 2
push eax
push 0
lea ecx, [ebp - 0xc]
call fcn.00407030
push 0xa
lea ecx, [ebp - 0x74]
call fcn.004a0846
lea ecx, [ebp - 0x74]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x94], esp
lea edx, [ebp + 8]
push edx
call fcn.00402120
call fcn.004e1bd0
add esp, 8
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 4
je 0x4eaa36
lea eax, [ebp + 8]
push eax
push str._Run__Invalid_arguments__nArg_4_:
lea ecx, [ebp - 0xa8]
push ecx
call fcn.004042e0
add esp, 0xc
mov ecx, eax
call sym.QiyiInstaller.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x4ea99b
mov dword [ebp - 0xd0], 0
jmp 0x4ea9fc
mov edx, dword [ebp - 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x3fffffff
jle 0x4ea9c0
mov dword [ebp - 0xd4], 0
jmp 0x4ea9f0
mov eax, dword [ebp - 8]
shl eax, 1
call fcn.004c5300
mov dword [ebp - 0xd8], esp
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 8]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0xd8]
push eax
call fcn.00407890
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0xd0], ecx
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0xa4], edx
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0xa0]
call fcn.004bdd7c
push 0x52b83c
lea ecx, [ebp - 0xa0]
push ecx
call fcn.004c5561
lea ecx, [ebp - 0xa8]
call fcn.00402e80
push 0
lea ecx, [ebp - 0x74]
call fcn.004a081d
push eax
lea ecx, [ebp - 0x74]
call fcn.00408bc0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00402120
push 1
lea ecx, [ebp - 0x74]
call fcn.004a081d
push eax
lea ecx, [ebp - 0x74]
call fcn.00408bc0
push eax
lea ecx, [ebp - 0x54]
call fcn.00402120
push 2
lea ecx, [ebp - 0x74]
call fcn.004a081d
push eax
lea ecx, [ebp - 0x74]
call fcn.00408bc0
push eax
lea ecx, [ebp - 0x50]
call fcn.00402120
push 3
lea ecx, [ebp - 0x74]
call fcn.004a081d
push eax
lea ecx, [ebp - 0x74]
call fcn.00408bc0
push eax
lea ecx, [ebp - 4]
call fcn.00402120
lea ecx, [ebp - 0x4c]
call sym.QiyiInstaller.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4eab63
lea edx, [ebp - 0x4c]
push edx
push 0x5176dc
push 0x553f00
lea eax, [ebp - 0xb4]
push eax
call fcn.00404230
add esp, 0xc
push eax
lea ecx, [ebp - 0xb8]
push ecx
call fcn.00406b00
add esp, 0xc
mov ecx, eax
call sym.QiyiInstaller.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0xad], al
lea ecx, [ebp - 0xb8]
call fcn.00402e80
lea ecx, [ebp - 0xb4]
call fcn.00402e80
movzx edx, byte [ebp - 0xad]
test edx, edx
je 0x4eab63
lea ecx, [ebp - 4]
call fcn.00402e80
lea ecx, [ebp - 0x50]
call fcn.00402e80
lea ecx, [ebp - 0x54]
call fcn.00402e80
lea ecx, [ebp - 0x4c]
call fcn.00402e80
lea ecx, [ebp - 0x74]
call fcn.004a0970
lea ecx, [ebp - 0xc]
call fcn.00402e80
lea ecx, [ebp + 8]
call fcn.00402e80
jmp 0x4ead1d
lea ecx, [ebp - 0x50]
call sym.QiyiInstaller.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call fcn.004bfdd2
add esp, 4
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jge 0x4eab84
mov dword [ebp - 0x78], 0
lea ecx, [ebp - 0x54]
call fcn.004070f0
mov dword [ebp - 0x48], 0
push 0x38
push 0
lea eax, [ebp - 0x44]
push eax
call fcn.004bd840
add esp, 0xc
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x44], 0x40
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x4c]
call sym.QiyiInstaller.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x54]
call fcn.00404430
movzx ecx, al
test ecx, ecx
je 0x4eabf5
or dword [ebp - 0xcc], 1
push 0
lea ecx, [ebp - 0xc0]
call fcn.00403820
mov dword [ebp - 0xdc], eax
jmp 0x4eabfe
lea edx, [ebp - 0x54]
mov dword [ebp - 0xdc], edx
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
call sym.QiyiInstaller.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0xcc]
and ecx, 1
je 0x4eac35
and dword [ebp - 0xcc], 0xfffffffe
lea ecx, [ebp - 0xc0]
call fcn.00402e80
mov dword [ebp - 0x30], 0
push str.show
lea edx, [ebp - 4]
push edx
call fcn.004043b0
add esp, 8
movzx eax, al
neg eax
sbb eax, eax
and eax, 5
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea ecx, [ebp - 0xc]
call fcn.00404430
movzx edx, al
test edx, edx
jne 0x4eacd7
lea ecx, [ebp - 0x8c]
call fcn.00407130
mov eax, dword [ebp - 0x10]
push eax
push 0x51787c
lea ecx, [ebp - 0x8c]
push ecx
call fcn.00406020
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0xc4], esp
lea edx, [ebp - 0x8c]
push edx
call fcn.00402120
push ecx
mov ecx, esp
mov dword [ebp - 0xc8], esp
lea eax, [ebp - 0xc]
push eax
call fcn.00402120
call fcn.004e1580
add esp, 8
lea ecx, [ebp - 0x8c]
call fcn.00402e80
mov ecx, dword [ebp - 0x78]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 4]
call fcn.00402e80
lea ecx, [ebp - 0x50]
call fcn.00402e80
lea ecx, [ebp - 0x54]
call fcn.00402e80
lea ecx, [ebp - 0x4c]
call fcn.00402e80
lea ecx, [ebp - 0x74]
call fcn.004a0970
lea ecx, [ebp - 0xc]
call fcn.00402e80
lea ecx, [ebp + 8]
call fcn.00402e80
lea esp, [ebp - 0xdc]
mov ecx, dword [ebp - 0xac]
xor ecx, ebp
call fcn.004bd72f
mov esp, ebp
pop ebp
ret