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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
mov eax, dword [0x542af0]
xor eax, ebp
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xe8], 0
call fcn.00403940
mov dword [ebp - 0xa0], eax
lea ecx, [ebp - 0xc]
call fcn.00402e80
push 0
push 0x50faac
lea ecx, [ebp + 8]
call fcn.00403fe0
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0xffffffff
je 0x4e136b
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0xc]
call fcn.00402e60
mov ecx, dword [ebp - 0xa8]
push ecx
lea edx, [ebp - 0xb4]
push edx
lea ecx, [ebp - 0xc]
call fcn.004041f0
push eax
lea ecx, [ebp + 8]
call fcn.00402e60
lea ecx, [ebp - 0xb4]
call fcn.00402ea0
mov eax, dword [ebp - 0xa8]
add eax, 2
push eax
push 0
lea ecx, [ebp - 0xc]
call fcn.004071d0
push 0xa
lea ecx, [ebp - 0x50]
call fcn.004985a0
lea ecx, [ebp - 0x50]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0xb8], esp
lea edx, [ebp + 8]
push edx
call fcn.004020d0
call fcn.004d7b50
add esp, 8
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 4
je 0x4e1478
lea eax, [ebp + 8]
push eax
push str._Run__Invalid_arguments__nArg_4_:
lea ecx, [ebp - 0xcc]
push ecx
call fcn.00404320
add esp, 0xc
mov ecx, eax
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4e13da
mov dword [ebp - 0xec], 0
jmp 0x4e143e
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x3fffffff
jle 0x4e13ff
mov dword [ebp - 0xf0], 0
jmp 0x4e1432
mov eax, dword [ebp - 8]
shl eax, 1
call fcn.004bbd30
mov dword [ebp - 0xf4], esp
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 8]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xf4]
push eax
call fcn.00407950
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xf0]
mov dword [ebp - 0xec], ecx
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0xc8], edx
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0xc4]
call fcn.004b61cc
push 0x523e7c
lea ecx, [ebp - 0xc4]
push ecx
call fcn.004bb782
lea ecx, [ebp - 0xcc]
call fcn.00402ea0
push 0
lea ecx, [ebp - 0x50]
call fcn.00498577
push eax
lea ecx, [ebp - 0x50]
call fcn.0040cd00
push eax
lea ecx, [ebp - 0x10]
call fcn.004020d0
push 1
lea ecx, [ebp - 0x50]
call fcn.00498577
push eax
lea ecx, [ebp - 0x50]
call fcn.0040cd00
push eax
lea ecx, [ebp - 0x18]
call fcn.004020d0
push 2
lea ecx, [ebp - 0x50]
call fcn.00498577
push eax
lea ecx, [ebp - 0x50]
call fcn.0040cd00
push eax
lea ecx, [ebp - 0x14]
call fcn.004020d0
push 3
lea ecx, [ebp - 0x50]
call fcn.00498577
push eax
lea ecx, [ebp - 0x50]
call fcn.0040cd00
push eax
lea ecx, [ebp - 4]
call fcn.004020d0
lea ecx, [ebp - 0x10]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4e15a5
lea edx, [ebp - 0x10]
push edx
push 0x50fb00
push 0x547d98
lea eax, [ebp - 0xd8]
push eax
call fcn.00404270
add esp, 0xc
push eax
lea ecx, [ebp - 0xdc]
push ecx
call fcn.00406c50
add esp, 0xc
mov ecx, eax
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0xd1], al
lea ecx, [ebp - 0xdc]
call fcn.00402ea0
lea ecx, [ebp - 0xd8]
call fcn.00402ea0
movzx edx, byte [ebp - 0xd1]
test edx, edx
je 0x4e15a5
lea ecx, [ebp - 4]
call fcn.00402ea0
lea ecx, [ebp - 0x14]
call fcn.00402ea0
lea ecx, [ebp - 0x18]
call fcn.00402ea0
lea ecx, [ebp - 0x10]
call fcn.00402ea0
lea ecx, [ebp - 0x50]
call fcn.004986ca
lea ecx, [ebp - 0xc]
call fcn.00402ea0
lea ecx, [ebp + 8]
call fcn.00402ea0
jmp 0x4e1720
lea ecx, [ebp - 0x14]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call fcn.004b81c2
add esp, 4
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
jge 0x4e15cf
mov dword [ebp - 0x9c], 0
lea ecx, [ebp - 0x18]
call fcn.00407290
push 0x44
push 0
lea eax, [ebp - 0x98]
push eax
call fcn.004b5c90
add esp, 0xc
push 0x10
push 0
lea ecx, [ebp - 0x30]
push ecx
call fcn.004b5c90
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0xa4]
call fcn.004020d0
lea ecx, [ebp - 0x18]
call fcn.00404470
movzx eax, al
test eax, eax
je 0x4e1634
or dword [ebp - 0xe8], 1
push 0
lea ecx, [ebp - 0xe4]
call fcn.00403870
mov dword [ebp - 0xf8], eax
jmp 0x4e163d
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xf8], ecx
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0xe0], edx
mov eax, dword [ebp - 0xe0]
push eax
lea ecx, [ebp - 0x34]
call fcn.004020d0
mov ecx, dword [ebp - 0xe8]
and ecx, 1
je 0x4e1675
and dword [ebp - 0xe8], 0xfffffffe
lea ecx, [ebp - 0xe4]
call fcn.00402ea0
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x98]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x34]
call fcn.00404430
push eax
lea ecx, [ebp - 0xa4]
call fcn.00404430
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4e16d5
mov ecx, dword [ebp - 0x9c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x34]
call fcn.00402ea0
lea ecx, [ebp - 0xa4]
call fcn.00402ea0
lea ecx, [ebp - 4]
call fcn.00402ea0
lea ecx, [ebp - 0x14]
call fcn.00402ea0
lea ecx, [ebp - 0x18]
call fcn.00402ea0
lea ecx, [ebp - 0x10]
call fcn.00402ea0
lea ecx, [ebp - 0x50]
call fcn.004986ca
lea ecx, [ebp - 0xc]
call fcn.00402ea0
lea ecx, [ebp + 8]
call fcn.00402ea0
lea esp, [ebp - 0xf8]
mov ecx, dword [ebp - 0xd0]
xor ecx, ebp
call fcn.004b5b83
mov esp, ebp
pop ebp
ret