Function at 0x4a9a54
Capabilities:
Check if file exists

Disassembly:
push 0x1ac
mov eax, 0x636eac
call fcn.004d66c3
mov edi, ecx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov bl, cl
push 7
mov dword [ebp - 0x1ac], eax
xor eax, eax
pop edx
mov dword [ebp - 0x1b0], ebx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], edx
mov word [ebp - 0x58], ax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], edx
mov word [ebp - 0x70], ax
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], edx
mov word [ebp - 0x88], ax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
call fcn.0040676a
mov ecx, eax
call fcn.004afc78
mov eax, dword [ebp - 0x1ac]
mov byte [ebp - 4], 3
push dword [eax]
lea eax, [ebp - 0x28]
push eax
call fcn.004b11bc
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.00403bf9
lea ecx, [ebp - 0x28]
call fcn.00401ce8
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x1c]
push 0x64aecc
push ecx
lea eax, [ebp - 0x58]
mov ecx, esi
cmovae eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x1b8]
push eax
call fcn.004b74e7
mov ecx, eax
call fcn.004b75a7
mov ecx, eax
call fcn.004b7dcf
push eax
lea ecx, [ebp - 0x70]
call fcn.00401f68
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x1c]
push 0x64ae4c
push ecx
lea eax, [ebp - 0x58]
mov ecx, esi
cmovae eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x1b8]
push eax
call fcn.004b74e7
mov ecx, eax
call fcn.004b75a7
mov ecx, eax
call fcn.004b7dcf
push eax
lea ecx, [ebp - 0x88]
call fcn.00401f68
push 8
lea eax, [ebp - 0x28]
push eax
call fcn.004a56ea
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 4
jb 0x4a9b72
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00401c58
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00401ce8
push 0x63de0c
lea ecx, [ebp - 0x40]
call fcn.00401cb6
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x40]
push eax
call esi
test eax, eax
jne 0x4a9bc1
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.004b21b3
pop ecx
cmp dword [ebp - 0x60], 0
jbe 0x4a9c5c
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x70]
lea eax, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x70]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push str._s_s
push eax
call fcn.004b0f77
add esp, 0x10
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x4a9c50
mov eax, dword [ebp - 0x1ac]
lea ecx, [ebp - 0x88]
add eax, 0x28
push eax
call fcn.004aa694
lea ecx, [ebp - 0x28]
test eax, eax
jne 0x4a9c53
cmp dword [ebp - 0x14], 8
lea eax, [edi + 4]
push eax
cmovae ecx, dword [ebp - 0x28]
lea eax, [edi + 8]
push eax
push ecx
call fcn.004b2791
xor ecx, ecx
movzx ebx, bl
inc ecx
add esp, 0xc
test eax, eax
cmove ebx, ecx
mov dword [ebp - 0x1b0], ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00401ce8
call fcn.004ad773
test al, al
je 0x4a9d62
mov ecx, str.1018
test bl, bl
mov eax, str.1015
cmovne eax, ecx
push eax
call fcn.004ad356
pop ecx
push eax
push str.1054
call fcn.004ad356
pop ecx
push eax
lea eax, [ebp - 0x28]
push 0x64aee0
push eax
call fcn.004b0f77
add esp, 0x10
mov byte [ebp - 4], 6
call fcn.004ad773
test al, al
je 0x4a9d5a
mov eax, dword [0x6d9390]
test eax, eax
je 0x4a9d5a
cmp dword [eax + 4], 4
jl 0x4a9d5a
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push str.1121
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x1ac], eax
call fcn.004ad356
pop ecx
push 0
push 0
push 0x6b2730
push 0x1aa
push str.CCloudTaskClient::LoadCacheDll
push 4
lea ecx, [ebp - 0x1a8]
mov ebx, eax
call fcn.00405da5
mov dword [ebp - 0x1b4], eax
mov esi, str._null_
mov byte [ebp - 4], 7
test ebx, ebx
lea edi, [eax + 0x30]
mov ecx, esi
cmovne ecx, ebx
push ecx
push edi
call fcn.00403a1c
mov eax, dword [ebp - 0x1ac]
test eax, eax
cmovne esi, eax
push esi
push edi
call fcn.00403a1c
mov ecx, dword [0x6d9390]
add esp, 0x10
push dword [ebp - 0x1b4]
call fcn.00405e8a
lea ecx, [ebp - 0x1a8]
call fcn.00403bae
mov ebx, dword [ebp - 0x1b0]
lea ecx, [ebp - 0x28]
call fcn.00401ce8
lea ecx, [ebp - 0x40]
call fcn.00401ce8
lea ecx, [ebp - 0x88]
call fcn.00401ce8
lea ecx, [ebp - 0x70]
call fcn.00401ce8
lea ecx, [ebp - 0x58]
call fcn.00401ce8
mov al, bl
call fcn.004d666d
ret 8