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

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x90
mov eax, dword [0x46e780]
xor eax, ebp
mov dword [ebp + 0x70], eax
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp + 0x60], esi
call dword [0x46fb44]
mov dword [ebp + 0x68], eax
call fcn.00421a7e
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x40cce0
push 0x80004005
call fcn.00401350
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov edi, dword [ebp + 0x7c]
add eax, 0x10
mov dword [ebp + 0x6c], eax
mov eax, dword [edi - 0xc]
cmp eax, esi
jl 0x40cd67
push 0x460f50
push edi
call fcn.0043a895
add esp, 8
cmp eax, esi
je 0x40cd67
sub eax, edi
sar eax, 1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40cd67
lea ecx, [ebp + 0x7c]
push ecx
lea ecx, [ebp + 0x6c]
call fcn.004029f0
push ebx
lea edx, [ebp + 0x5c]
push edx
lea ecx, [ebp + 0x6c]
call fcn.004079f0
push eax
lea ecx, [ebp + 0x7c]
call fcn.004029f0
mov eax, dword [ebp + 0x5c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cd57
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx + 2]
lea ebx, [ebp + 0x6c]
call fcn.00407860
mov edi, dword [ebp + 0x7c]
xor esi, esi
push 0xa
lea ecx, [ebp + 0x20]
call fcn.00428c5c
lea ecx, [ebp + 0x20]
push ecx
push ecx
add edi, 0xfffffff0
mov dword [ebp + 0x58], esp
mov ebx, esp
push edi
mov dword [ebp + 0x58], edi
call fcn.00402490
add eax, 0x10
add esp, 4
mov dword [ebx], eax
call fcn.0040bb40
add esp, 8
cmp eax, 4
je 0x40ce06
lea edx, [ebp + 0x58]
push str._Run__Invalid_arguments__nArg_4_:
push edx
lea ecx, [ebp + 0x7c]
call fcn.004022b0
mov ebx, dword [eax]
add esp, 8
cmp ebx, esi
jne 0x40cdbb
mov dword [ebp + 0x6c], esi
jmp 0x40cdec
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jle 0x40cdd1
mov dword [ebp + 0x6c], esi
jmp 0x40cdec
lea edi, [eax + eax]
mov eax, edi
call fcn.004411d0
mov ecx, dword [ebp + 0x68]
mov eax, esp
push ecx
push edi
push ebx
push eax
call fcn.00408520
mov dword [ebp + 0x6c], eax
lea edx, [ebp + 0x6c]
push edx
lea ecx, [ebp + 0x3c]
call fcn.0043a782
push 0x468880
lea eax, [ebp + 0x3c]
push eax
call fcn.0043e4e2
push esi
lea ecx, [ebp + 0x20]
call fcn.00428c38
cmp eax, esi
jne 0x40ce18
jmp fcn.00423c33
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
call fcn.00402490
add esp, 4
cmp dword [0x472cc8], 0
lea esi, [eax + 0x10]
mov dword [ebp + 0x64], esi
je 0x40cee9
cmp dword [esi - 0xc], 0
jl 0x40cee9
push str.QiyiClient.exe
push esi
call fcn.0043a895
add esp, 8
test eax, eax
je 0x40ce5f
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x40ce84
cmp dword [esi - 0xc], 0
jl 0x40cee9
push str.qiyiclient.exe
push esi
call fcn.0043a895
add esp, 8
test eax, eax
je 0x40cee9
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x40cee9
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cea0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0x20]
call fcn.00428d94
mov eax, dword [ebp + 0x6c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cec7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d276
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
jmp 0x40d276
push 1
lea ecx, [ebp + 0x20]
call fcn.00428c38
test eax, eax
jne 0x40cefc
jmp fcn.00423c33
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
call fcn.00402490
add esp, 4
add eax, 0x10
push 2
lea ecx, [ebp + 0x20]
mov dword [ebp + 0x54], eax
call fcn.00428c38
test eax, eax
jne 0x40cf24
jmp fcn.00423c33
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
call fcn.00402490
add esp, 4
add eax, 0x10
push 3
lea ecx, [ebp + 0x20]
mov dword [ebp + 0x5c], eax
call fcn.00428c38
test eax, eax
jne 0x40cf4c
jmp fcn.00423c33
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
call fcn.00402490
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 4
add eax, 0x10
push esi
mov dword [ebp + 0x50], eax
call edi
test eax, eax
jne 0x40d051
lea eax, [ebp + 0x64]
push eax
push 0x45fd14
lea ecx, [ebp + 0x48]
push 0x472ca4
push ecx
call fcn.004021d0
add esp, 0xc
push eax
lea edx, [ebp + 0x4c]
push edx
call fcn.004147b0
mov eax, dword [eax]
add esp, 0xc
push eax
call edi
test eax, eax
mov eax, dword [ebp + 0x4c]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cfc2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cfe1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x40d051
lea ecx, [ebp + 0x58]
push str._Run__Source_executable_not_found:
push ecx
lea ecx, [ebp + 0x64]
call fcn.004022b0
mov ebx, dword [eax]
xor esi, esi
add esp, 8
cmp ebx, esi
jne 0x40d006
mov dword [ebp + 0x6c], esi
jmp 0x40d037
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jle 0x40d01c
mov dword [ebp + 0x6c], esi
jmp 0x40d037
lea edi, [eax + eax]
mov eax, edi
call fcn.004411d0
mov edx, dword [ebp + 0x68]
mov eax, esp
push edx
push edi
push ebx
push eax
call fcn.00408520
mov dword [ebp + 0x6c], eax
lea eax, [ebp + 0x6c]
push eax
lea ecx, [ebp + 0x3c]
call fcn.0043a782
push 0x468880
lea ecx, [ebp + 0x3c]
push ecx
call fcn.0043e4e2
mov edx, dword [ebp + 0x5c]
push edx
call fcn.0043a890
add esp, 4
test eax, eax
mov dword [ebp + 0x64], eax
jge 0x40d06b
mov dword [ebp + 0x64], 0
lea ebx, [ebp + 0x54]
call fcn.00407b50
mov edi, eax
call fcn.00407bd0
push 0x38
xor edi, edi
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.0043c6b0
mov ecx, dword [ebp + 0x54]
add esp, 0xc
mov dword [ebp - 0x1c], 0x3c
mov dword [ebp - 0x18], 0x40
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], esi
cmp dword [ecx - 0xc], edi
jne 0x40d0b8
push edi
lea ecx, [ebp + 0x60]
lea ebx, [edi + 1]
call fcn.00402500
jmp 0x40d0be
mov bl, byte [ebp + 0x60]
lea eax, [ebp + 0x54]
test bl, 1
mov edx, dword [eax]
mov dword [ebp - 8], edx
je 0x40d0e7
mov eax, dword [ebp + 0x60]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d0e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0x50]
push str.show
push ecx
mov dword [ebp - 4], edi
call fcn.004038c0
add esp, 8
neg al
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp + 4], edi
sbb eax, eax
and eax, 5
mov dword [ebp], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [ebp + 0x6c]
cmp dword [eax - 0xc], edi
je 0x40d1ac
call fcn.00421a7e
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40d138
push 0x80004005
call fcn.00401350
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp + 0x1c]
push ecx
lea edx, [ebp + 0x68]
add eax, 0x10
push 0x46286c
push edx
mov dword [ebp + 0x68], eax
call fcn.00401700
mov edi, dword [ebp + 0x68]
add esp, 8
add edi, 0xfffffff0
mov dword [ebp + 0x60], esp
mov ebx, esp
push edi
call fcn.00402490
add eax, 0x10
mov dword [ebx], eax
mov eax, dword [ebp + 0x6c]
add eax, 0xfffffff0
mov dword [ebp + 0x60], esp
mov ebx, esp
push eax
call fcn.00402490
add eax, 0x10
add esp, 4
mov dword [ebx], eax
call fcn.0040b290
add esp, 8
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d1ac
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [ebp + 0x64]
mov ecx, dword [ebp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp + 0x50]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d1d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x5c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d1f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d217
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d233
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0x20]
call fcn.00428d94
mov eax, dword [ebp + 0x6c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d25a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x58]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d276
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esp, [ebp - 0x28]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x70]
xor ecx, ebp
call fcn.00439e3e
add ebp, 0x74
mov esp, ebp
pop ebp
ret