Function at 0x4b3626
Capabilities:
Check if file exists

Disassembly:
push 0x28c
mov eax, 0x63700e
call fcn.0040eb77
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.004b8c02
test al, al
je 0x4b3731
mov eax, dword [0x6dadd0]
test eax, eax
je 0x4b3731
cmp dword [eax + 4], 4
jl 0x4b3731
push str.1114
call fcn.004b8a14
mov dword [ebp - 0x288], eax
mov dword [esp], str.1011
call fcn.004b8a14
mov ebx, eax
mov dword [esp], str.1121
call fcn.004b8a14
pop ecx
push 0
push 0
push 0x6b4be8
push 0x37a
push str.CCloudTaskClient::DoRunLocalExe
push 4
lea ecx, [ebp - 0x160]
mov esi, eax
call fcn.00407560
mov dword [ebp - 0x290], eax
and dword [ebp - 4], 0
lea edi, [eax + 0x30]
push esi
push edi
call fcn.00405985
push ebx
push edi
call fcn.00405985
mov ebx, dword [ebp - 0x294]
add esp, 0x10
mov ecx, edi
push dword [ebx]
call fcn.004b11cc
push 0x6b4db4
push edi
call fcn.004057e3
pop ecx
pop ecx
push dword [ebx + 4]
mov ecx, edi
call fcn.004b11cc
push dword [ebp - 0x288]
push edi
call fcn.00405985
pop ecx
pop ecx
push dword [ebp - 0x290]
mov ecx, dword [0x6dadd0]
call fcn.00407644
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x160]
call fcn.004059a2
lea eax, [ebp - 0x28]
push eax
call fcn.00407cd9
mov ecx, eax
call fcn.004ba420
cmp dword [ebx + 0x24], 8
lea ecx, [ebx + 0x10]
mov dword [ebp - 4], 1
jb 0x4b3754
mov ecx, dword [ebx + 0x10]
push dword [ebx + 0x20]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004018a7
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 0x4b3b8b
lea edi, [ebx + 0xac]
cmp dword [edi + 0x10], 0
mov dword [ebp - 0x294], edi
je 0x4b3b8b
cmp dword [ebx + 0x48], 0
je 0x4b3894
sub esp, 0x18
mov esi, esp
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x28c], esp
push 0x64b1cc
call fcn.004040a3
push esi
mov byte [ebp - 4], 2
call fcn.00407cd9
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.004ba35b
call fcn.004aca9c
add esp, 0x18
test eax, eax
jne 0x4b3894
call fcn.004b8c02
test al, al
je 0x4b386e
mov eax, dword [0x6dadd0]
test eax, eax
je 0x4b386e
cmp dword [eax + 4], 4
jl 0x4b386e
push str.1119
call fcn.004b8a14
mov dword [ebp - 0x290], eax
mov dword [esp], str.1121
call fcn.004b8a14
pop ecx
push 0
push 0
push 0x6b4be8
push 0x38f
push str.CCloudTaskClient::DoRunLocalExe
push 4
lea ecx, [ebp - 0x160]
mov ebx, eax
call fcn.00407560
mov edi, eax
lea esi, [edi + 0x30]
mov byte [ebp - 4], 3
push ebx
push esi
call fcn.00405985
push dword [ebp - 0x290]
push esi
call fcn.00405985
mov ecx, dword [0x6dadd0]
add esp, 0x10
push edi
call fcn.00407644
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 1
call fcn.004059a2
mov al, byte [ebp - 0x281]
mov ecx, dword [ebp - 0x298]
test ecx, ecx
je 0x4b3c29
test al, al
mov eax, dword [ecx]
je 0x4b3c27
call dword [eax + 4]
jmp 0x4b3c29
mov dword [ebp - 0x288], 1
call fcn.004baeb7
cmp eax, 3
jl 0x4b38c9
add ebx, 0x4c
push str.normal
mov ecx, ebx
call fcn.004b4e5d
test eax, eax
jne 0x4b39ef
mov dword [ebp - 0x288], 1
call fcn.004b8c02
test al, al
je 0x4b3990
mov eax, dword [0x6dadd0]
test eax, eax
je 0x4b3990
cmp dword [eax + 4], 4
jl 0x4b3990
push str.1117
call fcn.004b8a14
mov edi, eax
mov dword [esp], str.1121
call fcn.004b8a14
pop ecx
push 0
push 0
push 0x6b4be8
push 0x3aa
push str.CCloudTaskClient::DoRunLocalExe
push 4
lea ecx, [ebp - 0x160]
mov esi, eax
call fcn.00407560
mov dword [ebp - 0x28c], eax
lea ebx, [eax + 0x30]
mov byte [ebp - 4], 5
push esi
push ebx
call fcn.00405985
push edi
push ebx
call fcn.00405985
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push ebx
call fcn.00405985
push 0x64bb3c
push ebx
call fcn.004b13da
mov edi, dword [ebp - 0x294]
push edi
push ebx
call fcn.004b13bf
mov ecx, dword [0x6dadd0]
add esp, 0x28
push dword [ebp - 0x28c]
call fcn.00407644
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 1
call fcn.004059a2
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.00403470
lea eax, [ebp - 0x40]
push eax
call fcn.004acb75
add esp, 0x20
mov ecx, eax
cmp dword [ecx + 0x14], 8
mov byte [ebp - 4], 6
jb 0x4b39c3
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.004be0b2
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0040199e
jmp 0x4b386e
push str.high
mov ecx, ebx
call fcn.004b4e5d
test eax, eax
jne 0x4b3a1c
call fcn.004be0a4
neg eax
mov dword [ebp - 0x288], 1
sbb al, al
and eax, 0xffffff01
jmp 0x4b3b05
push str.forcedhigh
mov ecx, ebx
mov dword [ebp - 0x288], 1
call fcn.004b4e5d
test eax, eax
jne 0x4b38c9
and dword [ebp - 0x288], eax
mov byte [ebp - 0x28c], 1
call fcn.004b8c02
test al, al
je 0x4b38c9
and dword [ebp - 0x288], 0
mov eax, dword [0x6dadd0]
test eax, eax
je 0x4b38c9
and dword [ebp - 0x288], 0
cmp dword [eax + 4], 4
jl 0x4b38c9
push str.1116
call fcn.004b8a14
mov dword [ebp - 0x290], eax
mov dword [esp], str.1121
call fcn.004b8a14
pop ecx
push 0
push 0
push 0x6b4be8
push 0x3a3
push str.CCloudTaskClient::DoRunLocalExe
push 4
lea ecx, [ebp - 0x160]
mov ebx, eax
call fcn.00407560
mov edi, eax
lea esi, [edi + 0x30]
mov byte [ebp - 4], 4
push ebx
push esi
call fcn.00405985
push dword [ebp - 0x290]
push esi
call fcn.00405985
mov ecx, dword [0x6dadd0]
add esp, 0x10
push edi
call fcn.00407644
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 1
call fcn.004059a2
and dword [ebp - 0x288], 0
mov eax, dword [ebp - 0x28c]
mov edi, dword [ebp - 0x294]
test al, al
jne 0x4b38c9
call fcn.004b8c02
test al, al
je 0x4b386e
mov eax, dword [0x6dadd0]
test eax, eax
je 0x4b386e
cmp dword [eax + 4], 4
jl 0x4b386e
push 0x64bb40
call fcn.004b8a14
mov dword [ebp - 0x28c], eax
mov dword [esp], str.1121
call fcn.004b8a14
pop ecx
push 0
push 0
push 0x6b4be8
push 0x3b7
push str.CCloudTaskClient::DoRunLocalExe
push 4
lea ecx, [ebp - 0x160]
mov ebx, eax
call fcn.00407560
mov edi, eax
lea esi, [edi + 0x30]
mov byte [ebp - 4], 7
push ebx
push esi
call fcn.00405985
push dword [ebp - 0x28c]
jmp 0x4b384a
call fcn.004b8c02
test al, al
je 0x4b3c20
mov eax, dword [0x6dadd0]
test eax, eax
je 0x4b3c20
cmp dword [eax + 4], 4
jl 0x4b3c20
push str.1115
call fcn.004b8a14
mov dword [ebp - 0x28c], eax
mov dword [esp], str.1121
call fcn.004b8a14
pop ecx
push 0
push 0
push 0x6b4be8
push 0x3be
push str.CCloudTaskClient::DoRunLocalExe
push 4
lea ecx, [ebp - 0x160]
mov ebx, eax
call fcn.00407560
mov edi, eax
lea esi, [edi + 0x30]
mov byte [ebp - 4], 8
push ebx
push esi
call fcn.00405985
push dword [ebp - 0x28c]
push esi
call fcn.00405985
mov ecx, dword [0x6dadd0]
add esp, 0x10
push edi
call fcn.00407644
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 1
call fcn.004059a2
xor al, al
jmp 0x4b3874
call dword [eax]
call fcn.004b8c02
test al, al
je 0x4b3cba
mov eax, dword [0x6dadd0]
test eax, eax
je 0x4b3cba
cmp dword [eax + 4], 4
jl 0x4b3cba
push str.1012
call fcn.004b8a14
mov dword [ebp - 0x298], eax
mov dword [esp], str.1121
call fcn.004b8a14
pop ecx
push 0
push 0
push 0x6b4be8
push 0x3c8
push str.CCloudTaskClient::DoRunLocalExe
push 4
lea ecx, [ebp - 0x280]
mov ebx, eax
call fcn.00407560
mov edi, eax
lea esi, [edi + 0x30]
mov byte [ebp - 4], 9
push ebx
push esi
call fcn.00405985
push dword [ebp - 0x298]
push esi
call fcn.00405985
mov ecx, dword [0x6dadd0]
add esp, 0x10
push edi
call fcn.00407644
lea ecx, [ebp - 0x280]
call fcn.004059a2
lea ecx, [ebp - 0x28]
call fcn.0040199e
mov al, 1
call fcn.0040eb21
ret 0x10