Function at 0x4145d9
Capabilities:
Check if file exists

Disassembly:
push 0x1ac
mov eax, 0x62220d
call fcn.00503bb3
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.00404394
mov ecx, eax
call fcn.0040bb90
mov eax, dword [ebp - 0x1ac]
mov byte [ebp - 4], 3
push dword [eax]
lea eax, [ebp - 0x28]
push eax
call fcn.00409e9f
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.004034bf
lea ecx, [ebp - 0x28]
call fcn.004019ec
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x1c]
push 0x62a6e0
push ecx
lea eax, [ebp - 0x58]
mov ecx, esi
cmovae eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x1b8]
push eax
call fcn.004208eb
mov ecx, eax
call fcn.004209ae
mov ecx, eax
call fcn.004210bc
push eax
lea ecx, [ebp - 0x70]
call fcn.00403d6c
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x1c]
push 0x62a694
push ecx
lea eax, [ebp - 0x58]
mov ecx, esi
cmovae eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x1b8]
push eax
call fcn.004208eb
mov ecx, eax
call fcn.004209ae
mov ecx, eax
call fcn.004210bc
push eax
lea ecx, [ebp - 0x88]
call fcn.00403d6c
push 0x6a1620
lea eax, [ebp - 0x28]
push eax
call fcn.0040e937
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 4
jb 0x4146fa
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00401917
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.004019ec
push 0x6a1678
lea ecx, [ebp - 0x40]
call fcn.00401975
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 0x414749
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0041dc49
pop ecx
cmp dword [ebp - 0x60], 0
jbe 0x4147e4
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 0x62a73c
push eax
call fcn.00409b62
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 0x4147d8
mov eax, dword [ebp - 0x1ac]
lea ecx, [ebp - 0x88]
add eax, 0x28
push eax
call fcn.004031ab
lea ecx, [ebp - 0x28]
test eax, eax
jne 0x4147db
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.0041d433
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.004019ec
call fcn.00418307
test al, al
je 0x4148cb
test bl, bl
je 0x4147fc
push str.1018
jmp 0x414801
push str.1015
call fcn.00418121
pop ecx
push eax
push str.1054
call fcn.00418121
pop ecx
push eax
lea eax, [ebp - 0x28]
push 0x62a70c
push eax
call fcn.00409b62
add esp, 0x10
mov byte [ebp - 4], 6
call fcn.00418307
test al, al
je 0x4148c3
mov eax, dword [0x6c5d08]
test eax, eax
je 0x4148c3
cmp dword [eax + 4], 4
jl 0x4148c3
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push str.1121
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x1ac], eax
call fcn.00418121
pop ecx
push 0
push 0
push 0x6a15b8
push 0x176
push str.CCloudTaskClient::LoadCacheDll
push 4
lea ecx, [ebp - 0x1a8]
mov ebx, eax
call fcn.00406cb0
mov edi, eax
lea esi, [edi + 0x30]
mov byte [ebp - 4], 7
push ebx
push esi
call fcn.0040511b
push dword [ebp - 0x1ac]
push esi
call fcn.0040511b
mov ecx, dword [0x6c5d08]
add esp, 0x10
push edi
call fcn.00406d94
lea ecx, [ebp - 0x1a8]
call fcn.00405138
mov ebx, dword [ebp - 0x1b0]
lea ecx, [ebp - 0x28]
call fcn.004019ec
lea ecx, [ebp - 0x40]
call fcn.004019ec
lea ecx, [ebp - 0x88]
call fcn.004019ec
lea ecx, [ebp - 0x70]
call fcn.004019ec
lea ecx, [ebp - 0x58]
call fcn.004019ec
mov al, bl
call fcn.00503b5d
ret 8