Function at 0x4bd71e
Capabilities:
Check if file exists

Disassembly:
push 0x28c
mov eax, 0x648d6b
call fcn.004e70a5
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x294], ebx
mov dword [ebp - 0x298], eax
mov byte [ebp - 0x281], 1
call fcn.004c1fa0
test al, al
je 0x4bd829
mov eax, dword [0x6f3a10]
test eax, eax
je 0x4bd829
cmp dword [eax + 4], 4
jl 0x4bd829
push str.1114
call fcn.004c1bb5
mov dword [ebp - 0x288], eax
mov dword [esp], str.1011
call fcn.004c1bb5
mov ebx, eax
mov dword [esp], str.1121
call fcn.004c1bb5
pop ecx
push 0
push 0
push 0x6c7914
push 0x37a
push str.CCloudTaskClient::DoRunLocalExe
push 4
lea ecx, [ebp - 0x160]
mov esi, eax
call fcn.0040f0c8
mov dword [ebp - 0x290], eax
and dword [ebp - 4], 0
lea edi, [eax + 0x30]
push esi
push edi
call fcn.0040d270
push ebx
push edi
call fcn.0040d270
mov ebx, dword [ebp - 0x294]
add esp, 0x10
mov ecx, edi
push dword [ebx]
call fcn.0040cdc0
push 0x64edb8
push edi
call fcn.0040d0ce
pop ecx
pop ecx
push dword [ebx + 4]
mov ecx, edi
call fcn.0040cdc0
push dword [ebp - 0x288]
push edi
call fcn.0040d270
pop ecx
pop ecx
push dword [ebp - 0x290]
mov ecx, dword [0x6f3a10]
call fcn.0040f1ac
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x160]
call fcn.0040d28d
lea eax, [ebp - 0x28]
push eax
call fcn.0040b037
mov ecx, eax
call fcn.004b5c6b
cmp dword [ebx + 0x24], 8
lea ecx, [ebx + 0x10]
mov dword [ebp - 4], 1
jb 0x4bd84c
mov ecx, dword [ebx + 0x10]
push dword [ebx + 0x20]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040b3fd
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4bdc83
lea edi, [ebx + 0xac]
cmp dword [edi + 0x10], 0
mov dword [ebp - 0x294], edi
je 0x4bdc83
cmp dword [ebx + 0x48], 0
je 0x4bd98c
sub esp, 0x18
mov esi, esp
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x28c], esp
push 0x6c7658
call fcn.0040b74f
push esi
mov byte [ebp - 4], 2
call fcn.0040b037
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.004b5ba6
call fcn.004b718b
add esp, 0x18
test eax, eax
jne 0x4bd98c
call fcn.004c1fa0
test al, al
je 0x4bd966
mov eax, dword [0x6f3a10]
test eax, eax
je 0x4bd966
cmp dword [eax + 4], 4
jl 0x4bd966
push str.1119
call fcn.004c1bb5
mov dword [ebp - 0x290], eax
mov dword [esp], str.1121
call fcn.004c1bb5
pop ecx
push 0
push 0
push 0x6c7914
push 0x38f
push str.CCloudTaskClient::DoRunLocalExe
push 4
lea ecx, [ebp - 0x160]
mov ebx, eax
call fcn.0040f0c8
mov edi, eax
lea esi, [edi + 0x30]
mov byte [ebp - 4], 3
push ebx
push esi
call fcn.0040d270
push dword [ebp - 0x290]
push esi
call fcn.0040d270
mov ecx, dword [0x6f3a10]
add esp, 0x10
push edi
call fcn.0040f1ac
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 1
call fcn.0040d28d
mov al, byte [ebp - 0x281]
mov ecx, dword [ebp - 0x298]
test ecx, ecx
je 0x4bdd21
test al, al
mov eax, dword [ecx]
je 0x4bdd1f
call dword [eax + 4]
jmp 0x4bdd21
mov dword [ebp - 0x288], 1
call fcn.004c3e90
cmp eax, 3
jl 0x4bd9c1
add ebx, 0x4c
push str.normal
mov ecx, ebx
call fcn.004befa5
test eax, eax
jne 0x4bdae7
mov dword [ebp - 0x288], 1
call fcn.004c1fa0
test al, al
je 0x4bda88
mov eax, dword [0x6f3a10]
test eax, eax
je 0x4bda88
cmp dword [eax + 4], 4
jl 0x4bda88
push str.1117
call fcn.004c1bb5
mov edi, eax
mov dword [esp], str.1121
call fcn.004c1bb5
pop ecx
push 0
push 0
push 0x6c7914
push 0x3aa
push str.CCloudTaskClient::DoRunLocalExe
push 4
lea ecx, [ebp - 0x160]
mov esi, eax
call fcn.0040f0c8
mov dword [ebp - 0x28c], eax
lea ebx, [eax + 0x30]
mov byte [ebp - 4], 5
push esi
push ebx
call fcn.0040d270
push edi
push ebx
call fcn.0040d270
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push ebx
call fcn.0040d270
push 0x65d7e8
push ebx
call fcn.004bb119
mov edi, dword [ebp - 0x294]
push edi
push ebx
call fcn.004bb0fe
mov ecx, dword [0x6f3a10]
add esp, 0x28
push dword [ebp - 0x28c]
call fcn.0040f1ac
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 1
call fcn.0040d28d
xor eax, eax
push eax
push 0x3a8
sub esp, 0x18
mov ecx, esp
push edi
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
call fcn.0040dd78
lea eax, [ebp - 0x40]
push eax
call fcn.004b7264
add esp, 0x20
mov ecx, eax
cmp dword [ecx + 0x14], 8
mov byte [ebp - 4], 6
jb 0x4bdabb
mov ecx, dword [ecx]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x288]
call fcn.004c3cba
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0040b4f9
jmp 0x4bd966
push str.high
mov ecx, ebx
call fcn.004befa5
test eax, eax
jne 0x4bdb14
call fcn.004c3cac
neg eax
mov dword [ebp - 0x288], 1
sbb al, al
and eax, 0xffffff01
jmp 0x4bdbfd
push str.forcedhigh
mov ecx, ebx
mov dword [ebp - 0x288], 1
call fcn.004befa5
test eax, eax
jne 0x4bd9c1
and dword [ebp - 0x288], eax
mov byte [ebp - 0x28c], 1
call fcn.004c1fa0
test al, al
je 0x4bd9c1
and dword [ebp - 0x288], 0
mov eax, dword [0x6f3a10]
test eax, eax
je 0x4bd9c1
and dword [ebp - 0x288], 0
cmp dword [eax + 4], 4
jl 0x4bd9c1
push str.1116
call fcn.004c1bb5
mov dword [ebp - 0x290], eax
mov dword [esp], str.1121
call fcn.004c1bb5
pop ecx
push 0
push 0
push 0x6c7914
push 0x3a3
push str.CCloudTaskClient::DoRunLocalExe
push 4
lea ecx, [ebp - 0x160]
mov ebx, eax
call fcn.0040f0c8
mov edi, eax
lea esi, [edi + 0x30]
mov byte [ebp - 4], 4
push ebx
push esi
call fcn.0040d270
push dword [ebp - 0x290]
push esi
call fcn.0040d270
mov ecx, dword [0x6f3a10]
add esp, 0x10
push edi
call fcn.0040f1ac
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 1
call fcn.0040d28d
and dword [ebp - 0x288], 0
mov eax, dword [ebp - 0x28c]
mov edi, dword [ebp - 0x294]
test al, al
jne 0x4bd9c1
call fcn.004c1fa0
test al, al
je 0x4bd966
mov eax, dword [0x6f3a10]
test eax, eax
je 0x4bd966
cmp dword [eax + 4], 4
jl 0x4bd966
push 0x65d7ec
call fcn.004c1bb5
mov dword [ebp - 0x28c], eax
mov dword [esp], str.1121
call fcn.004c1bb5
pop ecx
push 0
push 0
push 0x6c7914
push 0x3b7
push str.CCloudTaskClient::DoRunLocalExe
push 4
lea ecx, [ebp - 0x160]
mov ebx, eax
call fcn.0040f0c8
mov edi, eax
lea esi, [edi + 0x30]
mov byte [ebp - 4], 7
push ebx
push esi
call fcn.0040d270
push dword [ebp - 0x28c]
jmp 0x4bd942
call fcn.004c1fa0
test al, al
je 0x4bdd18
mov eax, dword [0x6f3a10]
test eax, eax
je 0x4bdd18
cmp dword [eax + 4], 4
jl 0x4bdd18
push str.1115
call fcn.004c1bb5
mov dword [ebp - 0x28c], eax
mov dword [esp], str.1121
call fcn.004c1bb5
pop ecx
push 0
push 0
push 0x6c7914
push 0x3be
push str.CCloudTaskClient::DoRunLocalExe
push 4
lea ecx, [ebp - 0x160]
mov ebx, eax
call fcn.0040f0c8
mov edi, eax
lea esi, [edi + 0x30]
mov byte [ebp - 4], 8
push ebx
push esi
call fcn.0040d270
push dword [ebp - 0x28c]
push esi
call fcn.0040d270
mov ecx, dword [0x6f3a10]
add esp, 0x10
push edi
call fcn.0040f1ac
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 1
call fcn.0040d28d
xor al, al
jmp 0x4bd96c
call dword [eax]
call fcn.004c1fa0
test al, al
je 0x4bddb2
mov eax, dword [0x6f3a10]
test eax, eax
je 0x4bddb2
cmp dword [eax + 4], 4
jl 0x4bddb2
push str.1012
call fcn.004c1bb5
mov dword [ebp - 0x298], eax
mov dword [esp], str.1121
call fcn.004c1bb5
pop ecx
push 0
push 0
push 0x6c7914
push 0x3c8
push str.CCloudTaskClient::DoRunLocalExe
push 4
lea ecx, [ebp - 0x280]
mov ebx, eax
call fcn.0040f0c8
mov edi, eax
lea esi, [edi + 0x30]
mov byte [ebp - 4], 9
push ebx
push esi
call fcn.0040d270
push dword [ebp - 0x298]
push esi
call fcn.0040d270
mov ecx, dword [0x6f3a10]
add esp, 0x10
push edi
call fcn.0040f1ac
lea ecx, [ebp - 0x280]
call fcn.0040d28d
lea ecx, [ebp - 0x28]
call fcn.0040b4f9
mov al, 1
call fcn.004e704f
ret 0x10