Function at 0x1400a2a54
Capabilities:
Check if file exists

Disassembly:
push rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x2b8
mov rax, qword [0x140101078]
xor rax, rsp
mov qword [rsp + 0x2a8], rax
mov r14, r9
mov qword [rsp + 0x70], r9
mov rdi, r8
mov rsi, rdx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0xb0], r9
xor ebx, ebx
mov dword [rsp + 0x40], ebx
mov r15d, ebx
mov dword [rsp + 0x44], ebx
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x1400a2ab4
mov rcx, qword [rdx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x1400a32a4
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400a2ad0
mov rcx, qword [rsi]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x1400a32a4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x88], rbx
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.14008ce38
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400a2b17
mov rcx, qword [rdi]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x1400a2bcf
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400a2b33
mov rcx, qword [rdi]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x1400a2bcf
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, rdi
call fcn.14008ce38
mov rdi, qword [rsp + 0x78]
cmp rdi, qword [rsp + 0x80]
je 0x1400a2bcf
mov rsi, qword [rsp + 0x58]
mov rdx, rdi
lea rcx, [rsp + 0x188]
call fcn.14008efb4
nop
cmp rsi, qword [rsp + 0x60]
je 0x1400a2b98
lea rdx, [rsp + 0x188]
mov rcx, rsi
call fcn.14008efb4
add rsi, 0x20
mov qword [rsp + 0x58], rsi
jmp 0x1400a2bb2
lea r8, [rsp + 0x188]
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.1400a450c
mov rsi, qword [rsp + 0x58]
lea rcx, [rsp + 0x188]
call fcn.14008858c
add rdi, 0x20
cmp rdi, qword [rsp + 0x80]
jne 0x1400a2b65
jmp 0x1400a2bd4
mov rsi, qword [rsp + 0x58]
mov rdi, rbx
mov qword [rsp + 0x48], rbx
sub rsi, qword [rsp + 0x50]
sar rsi, 5
mov qword [rsp + 0x90], rsi
mov r12d, 0xf
test r15d, r15d
jne 0x1400a328d
cmp rdi, rsi
jae 0x1400a328d
cmp byte [0x140105c50], bl
jne 0x1400a328d
lea rax, [rsp + 0xc8]
mov qword [rsp + 0xb8], rax
mov rdx, r14
lea rcx, [rsp + 0xc8]
call fcn.14008efb4
mov r14, rax
shl rdi, 5
add rdi, qword [rsp + 0x50]
mov rdx, rdi
lea rcx, [rsp + 0xe8]
call fcn.14008efb4
nop
mov rdx, r14
mov rcx, rax
call fcn.1400a2768
test al, al
je 0x1400a323e
mov rcx, rdi
call fcn.14008c92c
test al, al
jne 0x1400a2e93
mov rax, qword [0x140105c70]
mov rcx, qword [rax]
mov r12, qword [rcx + 0x30]
mov qword [rsp + 0x108], rbx
mov qword [rsp + 0x118], rbx
mov qword [rsp + 0x120], 0xf
mov byte [rsp + 0x108], bl
lea r9, str.D:workspaceRT_Win_8_2MainlineHeadlightsLogTransportmainApplication_sourcexplatLogTransportDriver.cpp
lea edx, [r15 + 0x6d]
lea rcx, [rsp + 0x108]
call fcn.14008540c
nop
mov r8d, 0x47c
lea rdx, [rsp + 0x108]
lea rcx, [rsp + 0x1e8]
call fcn.140097d84
mov r15, rax
mov rcx, qword [rdi + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 0x12
jb 0x1400a32ce
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400a2d01
mov rax, qword [rdi]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x12
lea r9, str.Deleting_log_file
lea rcx, [rsp + 0x248]
call fcn.140090b48
or dword [rsp + 0x40], 1
lea rdx, str.__File_size_is_more_than_the_threshold
lea rcx, [rsp + 0x248]
call fcn.140092a1c
mov r14, rax
mov qword [rsp + 0x1c8], rbx
mov qword [rsp + 0x1d8], rbx
mov qword [rsp + 0x1e0], rbx
mov r8d, 0x20
mov rdx, rax
lea rcx, [rsp + 0x1c8]
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
nop
mov qword [r14 + 0x10], rbx
mov qword [r14 + 0x18], 7
mov word [r14], bx
or dword [rsp + 0x40], 2
mov r8, r15
lea rdx, [rsp + 0x1c8]
mov rcx, qword [0x140105c70]
mov rax, r12
call qword [str.__r_]
nop
lea rcx, [rsp + 0x1c8]
call fcn.14008858c
nop
lea rcx, [rsp + 0x248]
call fcn.14008858c
nop
mov rdx, qword [rsp + 0x200]
cmp rdx, 0x10
jb 0x1400a2e07
inc rdx
mov rcx, qword [rsp + 0x1e8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a2e02
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a2e02
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b8460
mov qword [rsp + 0x1f8], rbx
mov r12d, 0xf
mov qword [rsp + 0x200], r12
mov byte [rsp + 0x1e8], bl
mov rdx, qword [rsp + 0x120]
cmp rdx, 0x10
jb 0x1400a2e6a
inc rdx
mov rcx, qword [rsp + 0x108]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a2e65
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a2e65
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b8460
mov qword [rsp + 0x118], rbx
mov qword [rsp + 0x120], r12
mov byte [rsp + 0x108], bl
mov rcx, rdi
call fcn.14008c3c4
mov r15d, dword [rsp + 0x44]
jmp 0x1400a323e
call fcn.1400a2710
test rax, rax
jne 0x1400a2ebc
lea rcx, [rsp + 0x78]
call fcn.140092718
nop
lea rcx, [rsp + 0x50]
call fcn.140092718
mov eax, 1
jmp 0x1400a32ad
mov rax, qword [0x140105c70]
mov rcx, qword [rax]
mov r15, qword [rcx + 0x70]
mov qword [rsp + 0x128], rbx
mov qword [rsp + 0x138], rbx
mov qword [rsp + 0x140], r12
mov byte [rsp + 0x128], bl
lea r9, str.D:workspaceRT_Win_8_2MainlineHeadlightsLogTransportmainApplication_sourcexplatLogTransportDriver.cpp
mov edx, 0x6d
lea rcx, [rsp + 0x128]
call fcn.14008540c
nop
mov r8d, 0x48b
lea rdx, [rsp + 0x128]
lea rcx, [rsp + 0x208]
call fcn.140097d84
mov r14, rax
mov rdx, qword [rdi + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rdx
cmp rax, 0x13
jb 0x1400a32d4
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400a2f49
mov rax, qword [rdi]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x13
lea r9, str.Upload_started_for
lea rcx, [rsp + 0x268]
call fcn.140090b48
or dword [rsp + 0x40], 4
mov r8, r14
lea rdx, [rsp + 0x268]
mov rcx, qword [0x140105c70]
mov rax, r15
call qword [str.__r_]
nop
lea rcx, [rsp + 0x268]
call fcn.14008858c
nop
mov rdx, qword [rsp + 0x220]
cmp rdx, 0x10
jb 0x1400a2fe5
inc rdx
mov rcx, qword [rsp + 0x208]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a2fe0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a2fe0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b8460
mov qword [rsp + 0x218], rbx
mov qword [rsp + 0x220], r12
mov byte [rsp + 0x208], bl
mov rdx, qword [rsp + 0x140]
cmp rdx, 0x10
jb 0x1400a3042
inc rdx
mov rcx, qword [rsp + 0x128]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a303d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a303d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b8460
mov qword [rsp + 0x138], rbx
mov qword [rsp + 0x140], r12
mov byte [rsp + 0x128], bl
call fcn.1400a2710
mov r8, rdi
mov rdx, qword [rsp + 0x68]
mov rcx, rax
call fcn.14009b6fc
test eax, eax
je 0x1400a3082
mov r15d, 1
mov dword [rsp + 0x44], r15d
jmp 0x1400a3221
mov rax, qword [0x140105c70]
mov rcx, qword [rax]
mov r15, qword [rcx + 0x70]
mov qword [rsp + 0x148], rbx
mov qword [rsp + 0x158], rbx
mov qword [rsp + 0x160], r12
mov byte [rsp + 0x148], bl
lea r9, str.D:workspaceRT_Win_8_2MainlineHeadlightsLogTransportmainApplication_sourcexplatLogTransportDriver.cpp
mov edx, 0x6d
lea rcx, [rsp + 0x148]
call fcn.14008540c
nop
mov r8d, 0x49a
lea rdx, [rsp + 0x148]
lea rcx, [rsp + 0x228]
call fcn.140097d84
mov r14, rax
mov rdx, qword [rdi + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rdx
cmp rax, 0x15
jb 0x1400a32da
cmp qword [rdi + 0x18], 8
jb 0x1400a310c
mov rdi, qword [rdi]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 0x15
lea r9, str.Upload_succeeded_for
lea rcx, [rsp + 0x288]
call fcn.140090b48
or dword [rsp + 0x40], 8
mov r8, r14
lea rdx, [rsp + 0x288]
mov rcx, qword [0x140105c70]
mov rax, r15
call qword [str.__r_]
nop
lea rcx, [rsp + 0x288]
call fcn.14008858c
nop
mov rdx, qword [rsp + 0x240]
cmp rdx, 0x10
jb 0x1400a31a8
inc rdx
mov rcx, qword [rsp + 0x228]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a31a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a31a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b8460
mov qword [rsp + 0x238], rbx
mov qword [rsp + 0x240], r12
mov byte [rsp + 0x228], bl
mov rdx, qword [rsp + 0x160]
cmp rdx, 0x10
jb 0x1400a3205
inc rdx
mov rcx, qword [rsp + 0x148]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a3200
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a3200
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b8460
mov qword [rsp + 0x158], rbx
mov qword [rsp + 0x160], r12
mov byte [rsp + 0x148], bl
mov r15d, dword [rsp + 0x44]
mov rcx, qword [0x140105c58]
test rcx, rcx
je 0x1400a323e
mov edx, 1
call fcn.1400b8460
mov qword [0x140105c58], rbx
mov rdi, qword [rsp + 0x48]
inc rdi
mov qword [rsp + 0x48], rdi
mov r14, qword [rsp + 0x70]
jmp 0x1400a2bf3
lea rcx, [rsp + 0x78]
call fcn.140092718
nop
lea rcx, [rsp + 0x50]
call fcn.140092718
jmp 0x1400a32aa
mov r15d, 1
mov eax, r15d
mov rcx, qword [rsp + 0x2a8]
xor rcx, rsp
call fcn.1400b8190
add rsp, 0x2b8
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
call fcn.140080310
nop
call fcn.140080310
nop
call fcn.140080310
int3