Function at 0x14002d5b0
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 [0x140214ec8]
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 0x14002d646
cmp dword [0x14020e430], 1
jl 0x14002d63c
test dword [0x14020e464], 0x100
je 0x14002d63c
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.140078130
mov ebx, 0x708
jmp 0x14002dc34
mov qword [rsp + 0x100], rsi
test rbx, rbx
jne 0x14002d6a1
cmp dword [0x14020e430], 1
jl 0x14002d697
test dword [0x14020e464], 0x100
je 0x14002d697
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.140078130
mov ebx, 0x8fc
jmp 0x14002dc1c
mov edx, 0x5c
mov qword [rsp + 0xb8], rdi
mov rcx, rbx
call fcn.1400ad888
mov rdi, rax
test rax, rax
je 0x14002d6c3
inc rdi
jmp 0x14002d6c6
mov rdi, rbx
xor r8d, r8d
lea rdx, [0x140127b30]
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 0x14002dc0f
test r12, r12
je 0x14002dc0f
test rax, rax
je 0x14002dc0f
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14002d767
bt eax, 0xa
jae 0x14002d767
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14002d75b
test al, 0x10
je 0x14002d75b
mov rcx, rbx
call fcn.1400d89e4
jmp 0x14002d763
mov rcx, rbx
call fcn.1400bd7ac
test eax, eax
jne 0x14002d778
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.1400d849c
test eax, eax
je 0x14002d7a2
mov r8, r14
mov rdx, r12
mov rcx, r13
call fcn.14000bb90
test eax, eax
jne 0x14002d7a2
mov r9d, dword [r14 + 0x10]
lea edx, [rax + 1]
mov r8, qword [r14 + 4]
mov rcx, rbp
mov rbx, rdi
call fcn.1400104a0
jmp 0x14002d7b9
lea r9, [0x140127a14]
mov r8, rbx
mov edx, 1
mov rcx, rbp
call fcn.140010400
mov rcx, rbp
call fcn.14000ff60
test eax, eax
je 0x14002d81a
cmp dword [0x14020e430], 1
jl 0x14002d810
test dword [0x14020e464], 0x100
je 0x14002d810
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.140078130
mov ebx, 0xbbb
jmp 0x14002dc14
mov r8d, 0x10
lea rdx, [rsp + 0x60]
mov rcx, rbp
call fcn.1400101b0
cmp rax, 0x10
jne 0x14002dbb0
cmp dword [rsp + 0x60], 0x50444540
jne 0x14002dbb0
lea rcx, [0x14012d4d0]
call fcn.1400efe8c
mov ecx, dword [rsp + 0x64]
cmp ecx, eax
jne 0x14002dbb4
mov eax, dword [rsp + 0x68]
cmp eax, 0x7ffffffd
ja 0x14002db47
mov edi, dword [rsp + 0x6c]
cmp edi, 0x7ffffffd
ja 0x14002db47
cmp eax, edi
ja 0x14002db47
sub edi, eax
cmp edi, 0x7ffffffe
jg 0x14002db4c
mov qword [rsp + 0xb0], r15
lfence
mov edx, dword [rsp + 0x68]
xor r8d, r8d
mov rcx, rbp
call fcn.140010370
lea r15d, [rdi + 8]
mov edx, r15d
lea rcx, [rsp + 0x58]
call fcn.1400037b0
mov rsi, rax
test rax, rax
je 0x14002dade
cmp qword [rsp + 0x58], 0
je 0x14002dade
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.1400101b0
mov ecx, dword [0x14020e430]
cmp ecx, 4
jl 0x14002d997
test dword [0x14020e4ac], 0x100
je 0x14002d997
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.140078130
mov ecx, dword [0x14020e430]
cmp ecx, 3
jl 0x14002d9ea
test dword [0x14020e494], 0x100
je 0x14002d9ea
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.140078130
mov rcx, rsi
call fcn.140037180
cmp dword [rsi + 9], 0
je 0x14002da62
lfence
cmp dword [0x14020e430], 1
jl 0x14002da5a
test dword [0x14020e464], 0x100
je 0x14002da5a
lfence
mov r8d, dword [rsi + 9]
mov ecx, r8d
call fcn.14002cb10
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.140078130
mov ebx, dword [rsi + 9]
jmp 0x14002db29
mov rax, qword [rsp + 0x58]
mov ebx, dword [rax + 9]
test ebx, ebx
je 0x14002db29
cmp ebx, 0x5dd
je 0x14002db29
cmp dword [0x14020e430], 2
jl 0x14002db29
test dword [0x14020e47c], 0x100
je 0x14002db29
mov ecx, ebx
call fcn.14002cb10
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.140078130
jmp 0x14002db29
cmp dword [0x14020e430], 1
jl 0x14002db24
test dword [0x14020e464], 0x100
je 0x14002db24
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.140078130
mov ebx, 0x708
mov r15, qword [rsp + 0xb0]
test rsi, rsi
je 0x14002dc14
mov rcx, rsi
call fcn.140003a90
jmp 0x14002dc14
mov edi, 0x7fffffff
cmp dword [0x14020e430], 1
jl 0x14002dba9
test dword [0x14020e464], 0x100
je 0x14002dba9
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.140078130
mov ebx, 0x8fd
jmp 0x14002dc14
mov ecx, dword [rsp + 0x64]
cmp dword [0x14020e430], 1
jl 0x14002dc08
test dword [0x14020e464], 0x100
je 0x14002dc08
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.140078130
mov ebx, 0x3ea
jmp 0x14002dc14
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.1400ab870
add rsp, 0xc0
pop r14
pop r13
pop r12
pop rbp
pop rbx
ret