Function at 0x4b18cd
Capabilities:
Check if file exists

Disassembly:
push 0x2a4
mov eax, 0x636e45
call fcn.0040eb77
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2a0], esi
call fcn.004b8c02
xor ebx, ebx
mov edi, str.1121
test al, al
je 0x4b19d0
mov eax, dword [0x6dadd0]
test eax, eax
je 0x4b19d0
cmp dword [eax + 4], 4
jl 0x4b19d0
push str.1521
call fcn.004b8a14
mov dword [ebp - 0x2a4], eax
mov dword [esp], str.1011
call fcn.004b8a14
push edi
mov ebx, eax
call fcn.004b8a14
pop ecx
pop ecx
xor edi, edi
lea ecx, [ebp - 0x178]
push edi
push edi
push 0x6b4be8
push 0x2f0
push str.CCloudTaskClient::DoRunBuiltInDll
push 4
mov esi, eax
call fcn.00407560
mov dword [ebp - 0x29c], eax
mov dword [ebp - 4], edi
lea edi, [eax + 0x30]
push esi
push edi
call fcn.00405985
push ebx
push edi
call fcn.00405985
mov esi, dword [ebp - 0x2a0]
add esp, 0x10
mov ecx, edi
push dword [esi]
call fcn.004b11cc
push 0x6b4db4
push edi
call fcn.004057e3
pop ecx
pop ecx
push dword [esi + 4]
mov ecx, edi
call fcn.004b11cc
push dword [ebp - 0x2a4]
push edi
call fcn.00405985
pop ecx
pop ecx
push dword [ebp - 0x29c]
mov ecx, dword [0x6dadd0]
call fcn.00407644
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x178]
call fcn.004059a2
xor ebx, ebx
mov edi, str.1121
mov ecx, dword [esi + 0x10c]
cmp dword [ecx + 0x10], 0
jbe 0x4b2248
cmp dword [ecx + 0x28], 0
jbe 0x4b2248
cmp dword [ecx + 0x40], 0
jbe 0x4b2248
mov eax, dword [ecx + 0x4c]
sub eax, dword [ecx + 0x48]
push 0x18
cdq
pop ecx
idiv ecx
test eax, eax
je 0x4b2248
lea eax, [ebp - 0x28]
push eax
call fcn.00407cd9
mov ecx, eax
call fcn.004ba420
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
call fcn.004ac9d0
pop ecx
test eax, eax
jne 0x4b1a3a
push 0x6b4c90
lea ecx, [ebp - 0x28]
call fcn.00401918
mov eax, dword [esi + 0x10c]
push 0x3a8
sub esp, 0x18
mov ecx, esp
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00403470
lea eax, [ebp - 0x58]
push eax
call fcn.004acb75
add esp, 0x20
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 3
jb 0x4b1a70
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004018a7
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.0040199e
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
jne 0x4b1b62
call fcn.004b8c02
test al, al
je 0x4b1db9
mov eax, dword [0x6dadd0]
test eax, eax
je 0x4b1db9
cmp dword [eax + 4], 4
jl 0x4b1db9
push str.1522
call fcn.004b8a14
push edi
mov dword [ebp - 0x29c], eax
call fcn.004b8a14
pop ecx
pop ecx
push ebx
push ebx
push 0x6b4be8
push 0x30d
push str.CCloudTaskClient::DoRunBuiltInDll
push 4
lea ecx, [ebp - 0x178]
mov esi, eax
call fcn.00407560
mov ebx, eax
lea edi, [ebx + 0x30]
mov byte [ebp - 4], 4
push esi
push edi
call fcn.00405985
mov esi, dword [ebp - 0x2a0]
pop ecx
pop ecx
mov ecx, edi
push dword [esi]
call fcn.004b11cc
push 0x6b4db4
push edi
call fcn.004057e3
pop ecx
pop ecx
push dword [esi + 4]
mov ecx, edi
call fcn.004b11cc
push dword [ebp - 0x29c]
push edi
call fcn.00405985
pop ecx
pop ecx
mov ecx, dword [0x6dadd0]
push ebx
call fcn.00407644
lea ecx, [ebp - 0x178]
call fcn.004059a2
xor ebx, ebx
jmp 0x4b1db9
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], bl
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
push 0x3a8
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00404e5b
lea eax, [ebp - 0x58]
push eax
call fcn.004acef1
add esp, 0x20
push eax
mov byte [ebp - 4], 6
call fcn.004bb193
pop ecx
pop ecx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.004038dd
cmp dword [ebp - 0x30], 0
ja 0x4b1c7e
call fcn.004b8c02
test al, al
je 0x4b1db1
mov eax, dword [0x6dadd0]
test eax, eax
je 0x4b1db1
cmp dword [eax + 4], 4
jl 0x4b1db1
push str.1523
call fcn.004b8a14
push edi
mov dword [ebp - 0x29c], eax
call fcn.004b8a14
pop ecx
pop ecx
push ebx
push ebx
push 0x6b4be8
push 0x31a
push str.CCloudTaskClient::DoRunBuiltInDll
push 4
lea ecx, [ebp - 0x178]
mov esi, eax
call fcn.00407560
mov ebx, eax
lea edi, [ebx + 0x30]
mov byte [ebp - 4], 7
push esi
push edi
call fcn.00405985
mov esi, dword [ebp - 0x2a0]
pop ecx
pop ecx
mov ecx, edi
push dword [esi]
call fcn.004b11cc
push 0x6b4db4
push edi
call fcn.004057e3
pop ecx
pop ecx
push dword [esi + 4]
mov ecx, edi
call fcn.004b11cc
push dword [ebp - 0x29c]
push edi
call fcn.00405985
pop ecx
pop ecx
mov ecx, dword [0x6dadd0]
push ebx
call fcn.00407644
lea ecx, [ebp - 0x178]
call fcn.004059a2
xor ebx, ebx
jmp 0x4b1db1
mov eax, dword [esi + 0x10c]
lea ecx, [ebp - 0x2b0]
add eax, 0x48
push eax
call fcn.004b0c5c
mov eax, dword [ebp - 0x2ac]
mov edi, dword [ebp - 0x2b0]
sub eax, edi
push 0x18
cdq
pop ecx
idiv ecx
mov byte [ebp - 4], 8
mov dword [ebp - 0x2a4], ebx
mov dword [ebp - 0x29c], eax
test eax, eax
je 0x4b1ce6
push edi
lea ecx, [ebp - 0x40]
call fcn.004abc92
test eax, eax
je 0x4b1dc8
mov eax, dword [ebp - 0x2a4]
push 0x18
inc eax
pop ecx
add edi, ecx
mov dword [ebp - 0x2a4], eax
cmp eax, dword [ebp - 0x29c]
jb 0x4b1cbb
call fcn.004b8c02
test al, al
je 0x4b1da6
mov eax, dword [0x6dadd0]
test eax, eax
je 0x4b1da6
cmp dword [eax + 4], 4
jl 0x4b1da6
push str.1523
call fcn.004b8a14
mov dword [ebp - 0x29c], eax
mov dword [esp], str.1121
call fcn.004b8a14
pop ecx
push ebx
push ebx
push 0x6b4be8
push 0x32e
push str.CCloudTaskClient::DoRunBuiltInDll
push 4
lea ecx, [ebp - 0x298]
mov esi, eax
call fcn.00407560
mov ebx, eax
lea edi, [ebx + 0x30]
mov byte [ebp - 4], 9
push esi
push edi
call fcn.00405985
mov esi, dword [ebp - 0x2a0]
pop ecx
pop ecx
mov ecx, edi
push dword [esi]
call fcn.004b11cc
push 0x6b4db4
push edi
call fcn.004057e3
pop ecx
pop ecx
push dword [esi + 4]
mov ecx, edi
call fcn.004b11cc
push dword [ebp - 0x29c]
push edi
call fcn.00405985
pop ecx
pop ecx
mov ecx, dword [0x6dadd0]
push ebx
call fcn.00407644
lea ecx, [ebp - 0x298]
call fcn.004059a2
xor ebx, ebx
lea ecx, [ebp - 0x2b0]
call fcn.004ad0cf
lea ecx, [ebp - 0x40]
call fcn.004038dd
lea ecx, [ebp - 0x28]
call fcn.0040199e
mov al, bl
jmp 0x4b2306
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push str..dll
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x4b2038
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, eax
test ecx, ecx
jne 0x4b1eb5
call fcn.004b8c02
test al, al
je 0x4b1da6
mov eax, dword [0x6dadd0]
test eax, eax
je 0x4b1da6
cmp dword [eax + 4], 4
jl 0x4b1da6
push str.1524
call fcn.004b8a14
mov dword [ebp - 0x29c], eax
mov dword [esp], str.1121
call fcn.004b8a14
pop ecx
push ebx
push ebx
push 0x6b4be8
push 0x33c
push str.CCloudTaskClient::DoRunBuiltInDll
push 4
lea ecx, [ebp - 0x178]
mov esi, eax
call fcn.00407560
mov ebx, eax
mov byte [ebp - 4], 0xa
lea edi, [ebx + 0x30]
push esi
push edi
call fcn.00405985
mov esi, dword [ebp - 0x2a0]
pop ecx
pop ecx
mov ecx, edi
push dword [esi]
call fcn.004b11cc
push 0x6b4db4
push edi
call fcn.004057e3
pop ecx
pop ecx
push dword [esi + 4]
mov ecx, edi
call fcn.004b11cc
push dword [ebp - 0x29c]
push edi
call fcn.00405985
pop ecx
pop ecx
mov ecx, dword [0x6dadd0]
push ebx
call fcn.00407644
lea ecx, [ebp - 0x178]
jmp 0x4b1d9f
mov eax, dword [esi + 0x10c]
add eax, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x4b1ec6
mov eax, dword [eax]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov dword [ebp - 0x2a4], edi
call fcn.004b8c02
test edi, edi
jne 0x4b1f46
test al, al
je 0x4b1da6
mov eax, dword [0x6dadd0]
test eax, eax
je 0x4b1da6
cmp dword [eax + 4], 4
jl 0x4b1da6
push str.1525
call fcn.004b8a14
mov dword [ebp - 0x29c], eax
mov dword [esp], str.1121
call fcn.004b8a14
pop ecx
push ebx
push ebx
push 0x6b4be8
push 0x348
push str.CCloudTaskClient::DoRunBuiltInDll
push 4
lea ecx, [ebp - 0x178]
mov esi, eax
call fcn.00407560
mov ebx, eax
mov byte [ebp - 4], 0xb
jmp 0x4b1e5e
test al, al
je 0x4b201e
mov eax, dword [0x6dadd0]
test eax, eax
je 0x4b201e
cmp dword [eax + 4], 4
jl 0x4b201e
push str.1526
call fcn.004b8a14
mov ebx, eax
mov dword [esp], str.1121
call fcn.004b8a14
pop ecx
mov esi, eax
lea ecx, [ebp - 0x178]
xor eax, eax
push eax
push eax
push 0x6b4be8
push 0x352
push str.CCloudTaskClient::DoRunBuiltInDll
push 4
call fcn.00407560
mov dword [ebp - 0x29c], eax
lea edi, [eax + 0x30]
mov byte [ebp - 4], 0xc
push esi
push edi
call fcn.00405985
mov esi, dword [ebp - 0x2a0]
pop ecx
pop ecx
mov ecx, edi
push dword [esi]
call fcn.004b11cc
push 0x6b4db4
push edi
call fcn.004057e3
pop ecx
pop ecx
push dword [esi + 4]
mov ecx, edi
call fcn.004b11cc
push ebx
push edi
call fcn.00405985
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push edi
call fcn.00405985
mov ecx, dword [0x6dadd0]
add esp, 0x10
push dword [ebp - 0x29c]
call fcn.00407644
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 8
call fcn.004059a2
mov edi, dword [ebp - 0x2a4]
mov eax, dword [esi + 0x10c]
add eax, 0x30
cmp dword [eax + 0x14], 0x10
jb 0x4b202f
mov eax, dword [eax]
push eax
call edi
pop ecx
jmp 0x4b216e
call fcn.004b8c02
test al, al
je 0x4b2111
mov eax, dword [0x6dadd0]
test eax, eax
je 0x4b2111
cmp dword [eax + 4], 4
jl 0x4b2111
push str.1126
call fcn.004b8a14
mov ebx, eax
mov dword [esp], str.1121
call fcn.004b8a14
pop ecx
mov esi, eax
lea ecx, [ebp - 0x178]
xor eax, eax
push eax
push eax
push 0x6b4be8
push 0x35e
push str.CCloudTaskClient::DoRunBuiltInDll
push 4
call fcn.00407560
mov dword [ebp - 0x29c], eax
lea edi, [eax + 0x30]
mov byte [ebp - 4], 0xd
push esi
push edi
call fcn.00405985
mov esi, dword [ebp - 0x2a0]
pop ecx
pop ecx
mov ecx, edi
push dword [esi]
call fcn.004b11cc
push 0x6b4db4
push edi
call fcn.004057e3
pop ecx
pop ecx
push dword [esi + 4]
mov ecx, edi
call fcn.004b11cc
push ebx
push edi
call fcn.00405985
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push edi
call fcn.00405985
mov ecx, dword [0x6dadd0]
add esp, 0x10
push dword [ebp - 0x29c]
call fcn.00407644
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 8
call fcn.004059a2
xor ebx, ebx
mov eax, dword [esi + 0x10c]
push ebx
push 0x3a8
sub esp, 0x18
add eax, 0x30
mov ecx, esp
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00403470
lea eax, [ebp - 0x58]
push eax
call fcn.004acb75
add esp, 0x20
mov ecx, eax
cmp dword [ecx + 0x14], 8
mov byte [ebp - 4], 0xe
jb 0x4b214b
mov ecx, dword [ecx]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
push 1
call fcn.004be0b2
add esp, 0x10
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x58]
call fcn.0040199e
call fcn.004b8c02
test al, al
je 0x4b2241
mov eax, dword [0x6dadd0]
test eax, eax
je 0x4b2241
cmp dword [eax + 4], 4
jl 0x4b2241
push str.1527
call fcn.004b8a14
mov ebx, eax
mov dword [esp], str.1121
call fcn.004b8a14
pop ecx
mov esi, eax
lea ecx, [ebp - 0x298]
xor eax, eax
push eax
push eax
push 0x6b4be8
push 0x36a
push str.CCloudTaskClient::DoRunBuiltInDll
push 4
call fcn.00407560
mov dword [ebp - 0x29c], eax
lea edi, [eax + 0x30]
mov byte [ebp - 4], 0xf
push esi
push edi
call fcn.00405985
mov esi, dword [ebp - 0x2a0]
pop ecx
pop ecx
mov ecx, edi
push dword [esi]
call fcn.004b11cc
push 0x6b4db4
push edi
call fcn.004057e3
pop ecx
pop ecx
push dword [esi + 4]
mov ecx, edi
call fcn.004b11cc
push ebx
push edi
call fcn.00405985
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push edi
call fcn.00405985
mov ecx, dword [0x6dadd0]
add esp, 0x10
push dword [ebp - 0x29c]
call fcn.00407644
lea ecx, [ebp - 0x298]
call fcn.004059a2
mov bl, 1
jmp 0x4b1da6
call fcn.004b8c02
test al, al
je 0x4b2304
mov eax, dword [0x6dadd0]
test eax, eax
je 0x4b2304
cmp dword [eax + 4], 4
jl 0x4b2304
push str.1520
call fcn.004b8a14
push edi
mov dword [ebp - 0x29c], eax
call fcn.004b8a14
pop ecx
pop ecx
push ebx
push ebx
push 0x6b4be8
push 0x2fd
push str.CCloudTaskClient::DoRunBuiltInDll
push 4
lea ecx, [ebp - 0x178]
mov esi, eax
call fcn.00407560
mov ebx, eax
lea edi, [ebx + 0x30]
mov dword [ebp - 4], 1
push esi
push edi
call fcn.00405985
mov esi, dword [ebp - 0x2a0]
pop ecx
pop ecx
mov ecx, edi
push dword [esi]
call fcn.004b11cc
push 0x6b4db4
push edi
call fcn.004057e3
pop ecx
pop ecx
push dword [esi + 4]
mov ecx, edi
call fcn.004b11cc
push dword [ebp - 0x29c]
push edi
call fcn.00405985
pop ecx
pop ecx
mov ecx, dword [0x6dadd0]
push ebx
call fcn.00407644
lea ecx, [ebp - 0x178]
call fcn.004059a2
xor al, al
call fcn.0040eb21
ret 0x10