Function at 0x41affa
Capabilities:
Check if file exists

Disassembly:
push 0x3b0
mov eax, 0x58cfd4
call fcn.004321e7
mov ebx, dword [ebp + 8]
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x3b8], ebx
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
push 0x208
push ecx
lea eax, [ebp - 0x218]
mov dword [ebp - 4], ecx
push eax
call fcn.0044b1c0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040405e
lea esi, [ebx + 0x78]
mov edi, 0x3a8
cmp dword [esi + 0x10], 0
jbe 0x41b123
lea eax, [ebp - 0x248]
push eax
call fcn.00406c20
mov ecx, eax
call fcn.004172d4
push edi
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
push esi
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
call fcn.00404c21
lea eax, [ebp - 0x290]
push eax
call fcn.004099c2
add esp, 0x20
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 2
jb 0x41b0c5
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x248]
call fcn.004069a7
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 1
call fcn.00406253
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b114
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x230]
call fcn.004093e0
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0
call fcn.00406253
push edi
sub esp, 0x18
lea eax, [ebx + 0xa8]
mov ecx, esp
xor ebx, ebx
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00404c21
lea eax, [ebp - 0x278]
push eax
call fcn.004099c2
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 3
push 0x591e7c
push eax
call fcn.004155db
mov esi, eax
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 4
push str.CMD_CLOUD_TASKS
push eax
call fcn.004155db
add esp, 0x30
cmp dword [ebp - 0x264], 8
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 5
cmovae ecx, dword [ebp - 0x278]
cmp dword [esi + 0x14], 8
jb 0x41b198
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x41b1a0
mov eax, dword [eax]
push ecx
push esi
push eax
lea eax, [ebp - 0x260]
push 0x591ec4
push eax
call fcn.0040953f
add esp, 0x14
lea ecx, [ebp - 0x290]
call fcn.00406253
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 8
call fcn.00406253
call fcn.0040eb9c
test al, al
je 0x41b2d3
mov eax, dword [0x618308]
test eax, eax
je 0x41b2d3
cmp dword [eax + 4], 4
jl 0x41b2d3
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
push str.1095
cmovae eax, dword [ebp - 0x260]
mov dword [ebp - 0x3bc], eax
call fcn.0040e2ed
mov edi, eax
mov dword [esp], 0x591890
call fcn.0040e2ed
pop ecx
push ebx
push ebx
push 0x5fbcd8
push 0xbe
push str.CCloudTaskServer::StartDllProcess
push 4
lea ecx, [ebp - 0x3b0]
mov esi, eax
call fcn.00405de0
mov dword [ebp - 0x3b4], eax
lea ebx, [eax + 0x30]
mov byte [ebp - 4], 9
push esi
push ebx
call fcn.00402354
push edi
push ebx
call fcn.00402354
push 0x591efc
push ebx
call fcn.004021b2
mov esi, dword [ebp - 0x3b8]
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 0x591f14
push ebx
call fcn.004021b2
push dword [ebp - 0x3bc]
push ebx
call fcn.00402354
mov ecx, dword [0x618308]
add esp, 0x10
push dword [ebp - 0x3b4]
call fcn.00405ec4
lea ecx, [ebp - 0x3b0]
mov byte [ebp - 4], 8
call fcn.004040aa
xor ebx, ebx
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push ebx
cmovae eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x260]
cmp dword [ebp - 0x24c], 8
push 0xffffffffffffffff
cmovae ecx, dword [ebp - 0x260]
push ebx
push eax
push ecx
call fcn.004164b6
add esp, 0x14
lea ecx, [ebp - 0x260]
call fcn.00406253
lea ecx, [ebp - 0x278]
call fcn.00406253
lea ecx, [ebp - 0x230]
call fcn.00406253
mov al, 1
call fcn.00432191
ret 4