Function at 0x14002d580
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
push rbp
push r12
push r13
push r14
sub rsp, 0xc0
mov rax, qword [0x14021a328]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov byte [rsp + 0x50], dl
mov rbx, rcx
mov qword [rsp + 0x58], 0
call fcn.14000fac0
xor r13d, r13d
xor r12d, r12d
xor r14d, r14d
mov rbp, rax
test rax, rax
jne 0x14002d616
cmp dword [0x140213620], 1
jl 0x14002d60c
test dword [0x140213654], 0x100
je 0x14002d60c
lea rax, str.Fail_to_create_IOStream_n
mov ecx, 0x100
mov qword [rsp + 0x28], rax
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_dsp.c
lea r8, str.esif_send_dsp
mov dword [rsp + 0x20], 0x49
lea edx, [rbp + 1]
call fcn.140079050
mov ebx, 0x708
jmp 0x14002dc04
mov qword [rsp + 0x100], rsi
test rbx, rbx
jne 0x14002d671
cmp dword [0x140213620], 1
jl 0x14002d667
test dword [0x140213654], 0x100
je 0x14002d667
lea rax, str.Filename_is_null_n
mov ecx, 0x100
mov qword [rsp + 0x28], rax
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_dsp.c
lea r8, str.esif_send_dsp
mov dword [rsp + 0x20], 0x54
lea edx, [rbx + 1]
call fcn.140079050
mov ebx, 0x8fc
jmp 0x14002dbec
mov edx, 0x5c
mov qword [rsp + 0xb8], rdi
mov rcx, rbx
call fcn.1400aea18
mov rdi, rax
test rax, rax
je 0x14002d693
inc rdi
jmp 0x14002d696
mov rdi, rbx
xor r8d, r8d
lea rdx, [0x140127b80]
mov r9d, 0x80000000
lea ecx, [r8 + 8]
call fcn.14000d970
xor r8d, r8d
mov r9d, 0x80000000
mov rdx, rdi
mov r13, rax
lea ecx, [r8 + 8]
call fcn.14000d970
xor edx, edx
xor r9d, r9d
mov r8d, 0xffffffff
mov r12, rax
lea ecx, [rdx + 0x24]
call fcn.14000d970
mov r14, rax
test r13, r13
je 0x14002dbdf
test r12, r12
je 0x14002dbdf
test rax, rax
je 0x14002dbdf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14002d737
bt eax, 0xa
jae 0x14002d737
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14002d72b
test al, 0x10
je 0x14002d72b
mov rcx, rbx
call fcn.1400d95ec
jmp 0x14002d733
mov rcx, rbx
call fcn.1400bd14c
test eax, eax
jne 0x14002d748
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.1400d90a4
test eax, eax
je 0x14002d772
mov r8, r14
mov rdx, r12
mov rcx, r13
call fcn.14000bbb0
test eax, eax
jne 0x14002d772
mov r9d, dword [r14 + 0x10]
lea edx, [rax + 1]
mov r8, qword [r14 + 4]
mov rcx, rbp
mov rbx, rdi
call fcn.140010470
jmp 0x14002d789
lea r9, [0x140127a64]
mov r8, rbx
mov edx, 1
mov rcx, rbp
call fcn.1400103d0
mov rcx, rbp
call fcn.14000ff30
test eax, eax
je 0x14002d7ea
cmp dword [0x140213620], 1
jl 0x14002d7e0
test dword [0x140213654], 0x100
je 0x14002d7e0
lea rax, str.File_not_found___s__n
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_dsp.c
lea r8, str.esif_send_dsp
mov dword [rsp + 0x20], 0x6f
mov edx, 1
mov ecx, 0x100
call fcn.140079050
mov ebx, 0xbbb
jmp 0x14002dbe4
mov r8d, 0x10
lea rdx, [rsp + 0x60]
mov rcx, rbp
call fcn.140010180
cmp rax, 0x10
jne 0x14002db80
cmp dword [rsp + 0x60], 0x50444540
jne 0x14002db80
lea rcx, [0x14012d520]
call fcn.1400f0a30
mov ecx, dword [rsp + 0x64]
cmp ecx, eax
jne 0x14002db84
mov eax, dword [rsp + 0x68]
cmp eax, 0x7ffffffd
ja 0x14002db17
mov edi, dword [rsp + 0x6c]
cmp edi, 0x7ffffffd
ja 0x14002db17
cmp eax, edi
ja 0x14002db17
sub edi, eax
cmp edi, 0x7ffffffe
jg 0x14002db1c
mov qword [rsp + 0xb0], r15
lfence
mov edx, dword [rsp + 0x68]
xor r8d, r8d
mov rcx, rbp
call fcn.140010340
lea r15d, [rdi + 8]
mov edx, r15d
lea rcx, [rsp + 0x58]
call fcn.1400037d0
mov rsi, rax
test rax, rax
je 0x14002daae
cmp qword [rsp + 0x58], 0
je 0x14002daae
lfence
mov rcx, qword [rsp + 0x58]
xor edx, edx
movsxd r8, edi
mov dword [rcx + 1], 0xb
mov rcx, qword [rsp + 0x58]
mov dword [rcx + 0x11], 0x20
mov rcx, qword [rsp + 0x58]
mov dword [rcx + 0x15], edx
mov rcx, qword [rsp + 0x58]
mov dword [rcx + 0x19], r15d
mov rcx, rbp
mov rax, qword [rsp + 0x58]
movzx r15d, byte [rsp + 0x50]
mov dword [rax + 0x1d], 0x18
mov rax, qword [rsp + 0x58]
mov dword [rax + 0x21], edx
mov rax, qword [rsp + 0x58]
mov dword [rax + 0x25], edx
mov rdx, qword [rsp + 0x58]
mov dword [rdx + 0x29], r15d
mov dword [rdx + 0x2d], edi
add rdx, 0x31
call fcn.140010180
mov ecx, dword [0x140213620]
cmp ecx, 4
jl 0x14002d967
test dword [0x14021369c], 0x100
je 0x14002d967
mov dword [rsp + 0x38], eax
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_dsp.c
lea rax, str.loaded_file__s_bytes__d_n
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
lea r8, str.esif_send_dsp
mov edx, 4
mov dword [rsp + 0x20], 0x9c
mov ecx, 0x100
call fcn.140079050
mov ecx, dword [0x140213620]
cmp ecx, 3
jl 0x14002d9ba
test dword [0x140213684], 0x100
je 0x14002d9ba
lfence
mov dword [rsp + 0x40], r15d
lea rax, str.CPC_file__s__d__sent_to_participant__d_n
mov dword [rsp + 0x38], edi
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_dsp.c
mov qword [rsp + 0x30], rbx
lea r8, str.esif_send_dsp
mov qword [rsp + 0x28], rax
mov edx, 3
mov ecx, 0x100
mov dword [rsp + 0x20], 0x9e
call fcn.140079050
mov rcx, rsi
call fcn.140037520
cmp dword [rsi + 9], 0
je 0x14002da32
lfence
cmp dword [0x140213620], 1
jl 0x14002da2a
test dword [0x140213654], 0x100
je 0x14002da2a
lfence
mov r8d, dword [rsi + 9]
mov ecx, r8d
call fcn.14002cae0
mov dword [rsp + 0x38], r8d
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_dsp.c
mov qword [rsp + 0x30], rax
lea r8, str.esif_send_dsp
lea rax, str.ipc_error_code___s__d__n
mov edx, 1
mov qword [rsp + 0x28], rax
mov ecx, 0x100
mov dword [rsp + 0x20], 0xa3
call fcn.140079050
mov ebx, dword [rsi + 9]
jmp 0x14002daf9
mov rax, qword [rsp + 0x58]
mov ebx, dword [rax + 9]
test ebx, ebx
je 0x14002daf9
cmp ebx, 0x5dd
je 0x14002daf9
cmp dword [0x140213620], 2
jl 0x14002daf9
test dword [0x14021366c], 0x100
je 0x14002daf9
mov ecx, ebx
call fcn.14002cae0
mov dword [rsp + 0x38], ebx
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_dsp.c
mov qword [rsp + 0x30], rax
lea r8, str.esif_send_dsp
lea rax, str.primitive_error_code___s__d__n
mov edx, 2
mov qword [rsp + 0x28], rax
mov ecx, 0x100
mov dword [rsp + 0x20], 0xaa
call fcn.140079050
jmp 0x14002daf9
cmp dword [0x140213620], 1
jl 0x14002daf4
test dword [0x140213654], 0x100
je 0x14002daf4
lea rax, str.Fail_to_allocate_esif_ipc_esif_ipc_command_n
mov edx, 1
mov qword [rsp + 0x28], rax
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_dsp.c
lea r8, str.esif_send_dsp
mov dword [rsp + 0x20], 0x8a
mov ecx, 0x100
call fcn.140079050
mov ebx, 0x708
mov r15, qword [rsp + 0xb0]
test rsi, rsi
je 0x14002dbe4
mov rcx, rsi
call fcn.140003ab0
jmp 0x14002dbe4
mov edi, 0x7fffffff
cmp dword [0x140213620], 1
jl 0x14002db79
test dword [0x140213654], 0x100
je 0x14002db79
lfence
mov eax, dword [rsp + 0x68]
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_dsp.c
mov dword [rsp + 0x40], edi
lea r8, str.esif_send_dsp
mov dword [rsp + 0x38], eax
mov edx, 1
mov eax, dword [rsp + 0x6c]
mov ecx, 0x100
mov dword [rsp + 0x30], eax
lea rax, str.Invalid_EDP_Offsets:_fpc_offset_u_cpc_offset_u_edpSize_d_n
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x80
call fcn.140079050
mov ebx, 0x8fd
jmp 0x14002dbe4
mov ecx, dword [rsp + 0x64]
cmp dword [0x140213620], 1
jl 0x14002dbd8
test dword [0x140213654], 0x100
je 0x14002dbd8
mov dword [rsp + 0x38], ecx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_dsp.c
lea rax, str.Invalid_EDP_Header:_Signature_4.4s_Version_d_n
mov edx, 1
mov qword [rsp + 0x28], rax
lea r8, str.esif_send_dsp
mov ecx, 0x100
mov dword [rsp + 0x20], 0x75
call fcn.140079050
mov ebx, 0x3ea
jmp 0x14002dbe4
mov ebx, 0x708
mov rdi, qword [rsp + 0xb8]
mov rcx, rbp
call fcn.14000fa30
mov rcx, rbp
call fcn.14000faf0
mov rsi, qword [rsp + 0x100]
mov rcx, r13
call fcn.14000dd50
mov rcx, r12
call fcn.14000dd50
mov rcx, r14
call fcn.14000dd50
mov eax, ebx
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400ac830
add rsp, 0xc0
pop r14
pop r13
pop r12
pop rbp
pop rbx
ret