Function at 0x41aa7e
Capabilities:
Check if file exists

Disassembly:
push 0x210
mov eax, 0x58cf54
call fcn.004321e7
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x1f4]
mov dword [ebp - 0x1e4], esi
call fcn.0041fb40
xor ebx, ebx
lea edi, [esi + 0x28]
push edi
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
call fcn.00405f07
push 0x3a8
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
push edi
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00405f07
lea eax, [ebp - 0x88]
push eax
call fcn.00409c7e
add esp, 0x20
push 0xb
push str.DoCloudTask
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 2
call fcn.00405d66
cmp dword [ebp - 0x74], 0x10
lea eax, [ebp - 0x88]
lea ecx, [ebp - 0x1f4]
cmovae eax, dword [ebp - 0x88]
push eax
call fcn.0041fb6c
lea ecx, [ebp - 0x1f4]
call fcn.0041fbd8
test eax, eax
je 0x41abf7
call fcn.0040eb9c
test al, al
je 0x41afa8
mov eax, dword [0x618308]
test eax, eax
je 0x41afa8
cmp dword [eax + 4], 4
jl 0x41afa8
push 0x591890
call fcn.0040e2ed
pop ecx
push ebx
push ebx
push 0x5fbcd8
push 0x77
push str.CCloudTaskServer::CanRunDll
push 4
lea ecx, [ebp - 0x1d8]
mov esi, eax
call fcn.00405de0
mov ebx, eax
lea edi, [ebx + 0x30]
mov byte [ebp - 4], 3
push esi
push edi
call fcn.00402354
push 0x591dd0
push edi
call fcn.004021b2
mov esi, dword [ebp - 0x1e4]
add esp, 0x10
mov ecx, edi
push dword [esi]
call fcn.0040d6c0
push 0x591110
push edi
call fcn.004021b2
pop ecx
pop ecx
push dword [esi + 4]
mov ecx, edi
call fcn.0040d6c0
push str.X__W_rY
push edi
call fcn.004021b2
push 0x591de8
push edi
call fcn.004021b2
mov ecx, dword [0x618308]
add esp, 0x10
push ebx
call fcn.00405ec4
lea ecx, [ebp - 0x1d8]
call fcn.004040aa
xor ebx, ebx
jmp 0x41afa8
lea eax, [ebp - 0x40]
push eax
call fcn.00406c20
mov ecx, eax
call fcn.004172f5
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 4
call fcn.0041db6c
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 5
push str.APPDATA_CACHE_FOLDER
push eax
call fcn.00415877
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 6
jb 0x41ac38
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x40]
call fcn.004069a7
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.00406253
push 0x59083c
lea ecx, [ebp - 0x40]
call fcn.00406a05
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.0041afd3
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 7
jb 0x41ac77
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x40]
call fcn.004069a7
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.00406253
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41af93
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x21c]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0041eaee
push dword [esi]
lea eax, [ebp - 0x28]
push 0x591e18
push eax
call fcn.0040953f
add esp, 0xc
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x200]
push 0x591e20
push ecx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x1e0]
push eax
call fcn.0041dc8a
mov ecx, eax
call fcn.0041dd4d
mov ecx, eax
call fcn.0041e56e
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x200]
mov esi, eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0x591e30
push ecx
push eax
lea eax, [ebp - 0x1e0]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0041dc8a
mov ecx, eax
call fcn.0041dd4d
mov ecx, eax
call fcn.0041e56e
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x200]
push 0x591e38
push ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x1e0]
push eax
call fcn.0041dc8a
mov ecx, eax
call fcn.0041dd4d
mov ecx, eax
call fcn.0041e5d5
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x1ec], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0x591e40
push ecx
push eax
lea eax, [ebp - 0x1fc]
mov dword [ebp - 0x1e8], edx
push eax
lea ecx, [ebp - 0x21c]
call fcn.0041dc8a
mov ecx, eax
call fcn.0041dd4d
mov ecx, eax
call fcn.0041e5a3
push eax
lea ecx, [ebp - 0x70]
call fcn.00404085
sub esp, 0x18
mov byte [ebp - 4], 9
mov ecx, esp
push edi
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00405f07
lea eax, [ebp - 0x58]
push eax
call fcn.00409928
add esp, 4
mov byte [ebp - 4], 0xa
mov ecx, esp
lea eax, [ebp - 0x70]
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00405f07
lea eax, [ebp - 0xb8]
push eax
call fcn.00409928
add esp, 0x1c
lea ecx, [ebp - 0x70]
push eax
call fcn.00406168
lea ecx, [ebp - 0xb8]
call fcn.00406253
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x70]
call fcn.00402c41
test eax, eax
jne 0x41af7b
test esi, esi
je 0x41af7b
push esi
push dword [ebp - 0x1e8]
push dword [ebp - 0x1ec]
call fcn.00414278
add esp, 0xc
test eax, eax
je 0x41af7b
call fcn.0040eb9c
test al, al
je 0x41af61
mov eax, dword [0x618308]
test eax, eax
je 0x41af61
cmp dword [eax + 4], 4
jl 0x41af61
push str.1095
call fcn.0040e2ed
mov edi, eax
mov dword [esp], 0x591890
call fcn.0040e2ed
pop ecx
push ebx
push ebx
push 0x5fbcd8
push 0x98
push str.CCloudTaskServer::CanRunDll
push 4
lea ecx, [ebp - 0x1d8]
mov esi, eax
call fcn.00405de0
mov dword [ebp - 0x1dc], eax
lea ebx, [eax + 0x30]
mov byte [ebp - 4], 0xb
push esi
push ebx
call fcn.00402354
push edi
push ebx
call fcn.00402354
push 0x591dd0
push ebx
call fcn.004021b2
mov esi, dword [ebp - 0x1e4]
add esp, 0x18
mov ecx, ebx
push dword [esi]
call fcn.0040d6c0
push 0x591110
push ebx
call fcn.004021b2
pop ecx
pop ecx
push dword [esi + 4]
mov ecx, ebx
call fcn.0040d6c0
push 0x591e54
push ebx
call fcn.004021b2
push str._rNL
push ebx
call fcn.004021b2
push str._nN_k
push ebx
call fcn.004021b2
add esp, 0x18
mov ecx, ebx
push dword [ebp - 0x1e8]
push dword [ebp - 0x1ec]
call fcn.0041a982
push dword [ebp - 0x1dc]
mov ecx, dword [0x618308]
call fcn.00405ec4
lea ecx, [ebp - 0x1d8]
call fcn.004040aa
xor ebx, ebx
lea ecx, [ebp - 0x58]
call fcn.00406253
lea ecx, [ebp - 0x70]
call fcn.00406253
lea ecx, [ebp - 0x28]
call fcn.00406253
jmp 0x41af95
lea ecx, [ebp - 0x58]
call fcn.00406253
lea ecx, [ebp - 0x70]
call fcn.00406253
lea ecx, [ebp - 0x28]
call fcn.00406253
mov bl, 1
lea ecx, [ebp - 0x21c]
call fcn.0041dc08
lea ecx, [ebp - 0x40]
call fcn.00406253
lea ecx, [ebp - 0x88]
call fcn.004061ca
lea ecx, [ebp - 0xa0]
call fcn.00406253
lea ecx, [ebp - 0x1f4]
call fcn.0041fb4a
mov al, bl
call fcn.00432191
ret 4