Function at 0x68bb0e
Capabilities:
Check if file exists

Disassembly:
push 0xa4
mov eax, 0x6a398f
call fcn.0049be90
mov edi, edx
mov esi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x18]
push 0x750660
mov dword [ebp - 4], ebx
call fcn.004514db
push 0x750660
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004514db
mov byte [ebp - 4], 2
cmp esi, 1
jne 0x68bb5a
push dword [0x7af290]
push str.launcher_version_s
jmp 0x68bba2
cmp esi, 2
jne 0x68bb92
push dword [0x7af28c]
lea eax, [ebp - 0x14]
push str.agent_version_s
push eax
call fcn.00452465
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
add esp, 0xc
push dword [eax - 0xc]
push eax
call fcn.0045234c
push dword [0x7af294]
push str.service_version_s
jmp 0x68bba2
cmp esi, 3
jne 0x68bbbd
push dword [0x7af298]
push str.viewer_version_s
lea eax, [ebp - 0x14]
push eax
call fcn.00452465
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
add esp, 0xc
push dword [eax - 0xc]
push eax
call fcn.0045234c
cmp edi, 1
jne 0x68bbc9
push str.format7z
jmp 0x68bbd2
test edi, edi
jne 0x68bbec
push str.formatzip
lea eax, [ebp - 0x14]
push eax
call fcn.00452465
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
lea ecx, [ebp - 0x18]
push dword [eax - 0xc]
push eax
call fcn.0045234c
cmp byte [0x7af25d], 0
je 0x68bc14
lea eax, [ebp - 0x14]
push str.integrationtrue
push eax
call fcn.00452465
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
lea ecx, [ebp - 0x18]
push dword [eax - 0xc]
push eax
call fcn.0045234c
push str.C:Program_Files__x86_
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor edi, edi
inc edi
cmp eax, edi
mov eax, 0x773890
je 0x68bc30
mov eax, 0x773840
push eax
lea ecx, [ebp - 0x28]
call fcn.004514db
push ecx
mov byte [ebp - 4], 3
mov esi, esp
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
push eax
call fcn.0045207b
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x20]
pop ecx
push eax
call fcn.0067be30
mov byte [ebp - 4], 4
push dword [eax]
lea eax, [ebp - 0x14]
push str.agentwindows_s
push eax
call fcn.00452465
mov byte [ebp - 4], 3
add esp, 0xc
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
push dword [eax - 0xc]
push eax
call fcn.0045234c
mov esi, dword [ebp - 0x18]
cmp dword [esi - 4], edi
jle 0x68bca9
push dword [esi - 0xc]
lea ecx, [ebp - 0x18]
call fcn.00451ca4
mov esi, dword [ebp - 0x18]
mov eax, dword [0x7af210]
cmp dword [eax - 4], edi
jle 0x68bcc5
push dword [eax - 0xc]
mov ecx, 0x7af210
call fcn.00451ca4
mov eax, dword [0x7af210]
push esi
push eax
push str.ValidateSession
push str._s_:_Check_update_request_to_server_:__s__params_:__s
call fcn.006778de
add esp, 0x10
call fcn.00474f38
push eax
lea ecx, [ebp - 0x20]
call fcn.00451c1b
mov byte [ebp - 4], 5
call fcn.00474f38
push eax
lea ecx, [ebp - 0x1c]
call fcn.00451c1b
mov byte [ebp - 4], 6
mov eax, dword [0x7af210]
cmp dword [eax - 4], edi
jle 0x68bd19
push dword [eax - 0xc]
mov ecx, 0x7af210
call fcn.00451ca4
mov eax, dword [0x7af210]
push 0x7530
push 0xea60
push 2
push edi
push dword [0x7af230]
lea ecx, [ebp - 0xb0]
push eax
call fcn.0067ec5b
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
push eax
call fcn.0045207b
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x24], esi
push esi
push str._api_v2_agent_check_update
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 8
push str._s__s
push eax
call fcn.00452465
add esp, 0x10
mov byte [ebp - 4], 7
lea ecx, [esi - 0x10]
call fcn.0044ec01
mov esi, dword [ebp - 0x1c]
cmp dword [esi - 4], edi
jle 0x68bd8c
push dword [esi - 0xc]
lea ecx, [ebp - 0x1c]
call fcn.00451ca4
mov esi, dword [ebp - 0x1c]
push esi
lea ecx, [ebp - 0xb0]
call fcn.0067cf2d
test eax, eax
je 0x68bde3
lea ecx, [ebp - 0xb0]
call fcn.0067ec50
lea ecx, [esi - 0x10]
call fcn.0044ec01
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
mov eax, dword [ebp - 0x18]
lea ecx, [eax - 0x10]
call fcn.0044ec01
xor al, al
call fcn.0049bdee
ret
mov eax, dword [ebp - 0xa8]
cmp eax, 0xc8
je 0x68be1f
cmp dword [esi - 4], edi
jle 0x68be09
push dword [esi - 0xc]
lea ecx, [ebp - 0x1c]
call fcn.00451ca4
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xa8]
push esi
push eax
push str.ValidateSession
push str._s_:_Session_validation_failed_:__d__url_:__s
call fcn.006778de
add esp, 0x10
jmp 0x68be65
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xa4]
push eax
mov ecx, edi
call fcn.00451bce
push dword [edi]
lea ecx, [ebp - 0x24]
call fcn.00451497
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.0045156f
push eax
push str.ValidateSession
push str._s_:_respsonse_:__s
call fcn.006778de
mov ecx, dword [ebp - 0x24]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.0044ec01
mov bl, 1
lea ecx, [ebp - 0xb0]
call fcn.0067ec50
lea ecx, [esi - 0x10]
call fcn.0044ec01
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0044ec01
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0044ec01
mov al, bl
jmp 0x68bddd