Function at 0x430030
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e19b
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x618190]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0x14]
mov edx, str.agent
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x154], eax
mov eax, esi
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x134], ebx
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x4300a2
test cl, cl
je 0x43009e
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x4300a2
add eax, 2
add edx, 2
test cl, cl
jne 0x430082
xor eax, eax
jmp 0x4300a7
sbb eax, eax
or eax, 1
test eax, eax
jne 0x43014c
push str.zshieldtemp_agentmountercache_
lea edx, [edi + 0xc0]
lea ecx, [ebp - 0x150]
call fcn.00431be0
mov ebx, eax
lea esi, [edi + 0xd8]
add esp, 4
cmp esi, ebx
je 0x4300fd
cmp dword [esi + 0x14], 0x10
jb 0x4300e4
push dword [esi]
call fcn.0043b833
add esp, 4
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push ebx
mov byte [esi], 0
call fcn.0041ec40
cmp dword [ebp - 0x13c], 0x10
jb 0x430114
push dword [ebp - 0x150]
call fcn.0043b833
add esp, 4
cmp dword [esi + 0x14], 0x10
jb 0x430133
mov eax, dword [esi]
push eax
push dword [ebp - 0x134]
push dword [ebp - 0x138]
call fcn.0042f510
jmp 0x43037b
mov eax, esi
push eax
push dword [ebp - 0x134]
push dword [ebp - 0x138]
call fcn.0042f510
jmp 0x43037b
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], 0
mov byte [ebp - 0x130], 0
lea eax, [ebp - 0x130]
mov dword [ebp - 4], 0
push eax
push ebx
push esi
call fcn.0042f850
test al, al
je 0x4301a5
lea esi, [edi + 0xd8]
lea eax, [ebp - 0x130]
cmp esi, eax
je 0x43024a
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.004200a0
jmp 0x43024a
push 0x103
lea eax, [ebp - 0x117]
mov byte [ebp - 0x118], 0
push 0
push eax
call fcn.005557a0
add esp, 0xc
lea eax, [ebp - 0x118]
push ebx
push str.zshieldtempclientmountercache_s_
push 0x104
push eax
call fcn.005531f1
lea eax, [ebp - 0x118]
push eax
lea edx, [edi + 0xc0]
lea ecx, [ebp - 0x150]
call fcn.00431be0
lea esi, [edi + 0xd8]
mov dword [ebp - 0x134], eax
add esp, 0x14
cmp esi, eax
je 0x430233
cmp dword [esi + 0x14], 0x10
jb 0x43021a
push dword [esi]
call fcn.0043b833
mov eax, dword [ebp - 0x134]
add esp, 4
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push eax
mov byte [esi], 0
call fcn.0041ec40
cmp dword [ebp - 0x13c], 0x10
jb 0x43024a
push dword [ebp - 0x150]
call fcn.0043b833
add esp, 4
cmp dword [esi + 0x14], 0x10
jb 0x430254
mov eax, dword [esi]
jmp 0x430256
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x430344
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x148], str.MountMgr.cpp:MountMgr::SetRcloneCacheDir__:Line_2596
mov dword [ebp - 0x144], eax
jb 0x43027f
mov eax, dword [esi]
jmp 0x430281
mov eax, esi
movq xmm0, qword [ebp - 0x148]
push eax
push str._trclone_cache_path__s_not_exist.
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 1
call fcn.00404820
add esp, 0x14
add edi, 0xc0
push edi
call fcn.0042fc30
push 0x103
lea eax, [ebp - 0x117]
mov byte [ebp - 0x118], 0
push 0
push eax
call fcn.005557a0
add esp, 0xc
lea eax, [ebp - 0x118]
push ebx
push str.zshieldtempclientmountercache_s_
push 0x104
push eax
call fcn.005531f1
lea eax, [ebp - 0x118]
mov edx, edi
push eax
lea ecx, [ebp - 0x150]
call fcn.00431be0
mov edi, eax
add esp, 0x14
cmp esi, edi
je 0x43032d
cmp dword [esi + 0x14], 0x10
jb 0x430314
push dword [esi]
call fcn.0043b833
add esp, 4
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push edi
mov byte [esi], 0
call fcn.0041ec40
cmp dword [ebp - 0x13c], 0x10
jb 0x430344
push dword [ebp - 0x150]
call fcn.0043b833
add esp, 4
cmp dword [esi + 0x14], 0x10
jb 0x43034e
mov eax, dword [esi]
jmp 0x430350
mov eax, esi
push eax
push ebx
push dword [ebp - 0x138]
call fcn.0042f510
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x11c], 0x10
jb 0x43037b
push dword [ebp - 0x130]
call fcn.0043b833
add esp, 4
mov eax, dword [ebp - 0x154]
cmp eax, esi
je 0x430391
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.004200a0
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x148], str.MountMgr.cpp:MountMgr::SetRcloneCacheDir__:Line_2610
mov dword [ebp - 0x144], 0
jb 0x4303ad
mov esi, dword [esi]
movq xmm0, qword [ebp - 0x148]
push esi
push str._tSetRcloneCacheDir_success__s.
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 1
call fcn.00404820
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00550cb3
mov esp, ebp
pop ebp
ret 0x10