Function at 0x14002d600
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.14000fb00
xor r13d, r13d
xor r12d, r12d
xor r14d, r14d
mov rbp, rax
test rax, rax
jne 0x14002d696
cmp dword [0x14020e430], 1
jl 0x14002d68c
test dword [0x14020e464], 0x100
je 0x14002d68c
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.140078180
mov ebx, 0x708
jmp 0x14002dc84
mov qword [rsp + 0x100], rsi
test rbx, rbx
jne 0x14002d6f1
cmp dword [0x14020e430], 1
jl 0x14002d6e7
test dword [0x14020e464], 0x100
je 0x14002d6e7
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.140078180
mov ebx, 0x8fc
jmp 0x14002dc6c
mov edx, 0x5c
mov qword [rsp + 0xb8], rdi
mov rcx, rbx
call fcn.1400adc98
mov rdi, rax
test rax, rax
je 0x14002d713
inc rdi
jmp 0x14002d716
mov rdi, rbx
xor r8d, r8d
lea rdx, [0x140127b30]
mov r9d, 0x80000000
lea ecx, [r8 + 8]
call fcn.14000d9b0
xor r8d, r8d
mov r9d, 0x80000000
mov rdx, rdi
mov r13, rax
lea ecx, [r8 + 8]
call fcn.14000d9b0
xor edx, edx
xor r9d, r9d
mov r8d, 0xffffffff
mov r12, rax
lea ecx, [rdx + 0x24]
call fcn.14000d9b0
mov r14, rax
test r13, r13
je 0x14002dc5f
test r12, r12
je 0x14002dc5f
test rax, rax
je 0x14002dc5f
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14002d7b7
bt eax, 0xa
jae 0x14002d7b7
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14002d7ab
test al, 0x10
je 0x14002d7ab
mov rcx, rbx
call fcn.1400d8df4
jmp 0x14002d7b3
mov rcx, rbx
call fcn.1400bdbbc
test eax, eax
jne 0x14002d7c8
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.1400d88ac
test eax, eax
je 0x14002d7f2
mov r8, r14
mov rdx, r12
mov rcx, r13
call fcn.14000bbd0
test eax, eax
jne 0x14002d7f2
mov r9d, dword [r14 + 0x10]
lea edx, [rax + 1]
mov r8, qword [r14 + 4]
mov rcx, rbp
mov rbx, rdi
call fcn.1400104e0
jmp 0x14002d809
lea r9, [0x140127a14]
mov r8, rbx
mov edx, 1
mov rcx, rbp
call fcn.140010440
mov rcx, rbp
call fcn.14000ffa0
test eax, eax
je 0x14002d86a
cmp dword [0x14020e430], 1
jl 0x14002d860
test dword [0x14020e464], 0x100
je 0x14002d860
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.140078180
mov ebx, 0xbbb
jmp 0x14002dc64
mov r8d, 0x10
lea rdx, [rsp + 0x60]
mov rcx, rbp
call fcn.1400101f0
cmp rax, 0x10
jne 0x14002dc00
cmp dword [rsp + 0x60], 0x50444540
jne 0x14002dc00
lea rcx, [0x14012d4d0]
call fcn.1400f029c
mov ecx, dword [rsp + 0x64]
cmp ecx, eax
jne 0x14002dc04
mov eax, dword [rsp + 0x68]
cmp eax, 0x7ffffffd
ja 0x14002db97
mov edi, dword [rsp + 0x6c]
cmp edi, 0x7ffffffd
ja 0x14002db97
cmp eax, edi
ja 0x14002db97
sub edi, eax
cmp edi, 0x7ffffffe
jg 0x14002db9c
mov qword [rsp + 0xb0], r15
lfence
mov edx, dword [rsp + 0x68]
xor r8d, r8d
mov rcx, rbp
call fcn.1400103b0
lea r15d, [rdi + 8]
mov edx, r15d
lea rcx, [rsp + 0x58]
call fcn.1400037f0
mov rsi, rax
test rax, rax
je 0x14002db2e
cmp qword [rsp + 0x58], 0
je 0x14002db2e
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.1400101f0
mov ecx, dword [0x14020e430]
cmp ecx, 4
jl 0x14002d9e7
test dword [0x14020e4ac], 0x100
je 0x14002d9e7
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.140078180
mov ecx, dword [0x14020e430]
cmp ecx, 3
jl 0x14002da3a
test dword [0x14020e494], 0x100
je 0x14002da3a
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.140078180
mov rcx, rsi
call fcn.1400371d0
cmp dword [rsi + 9], 0
je 0x14002dab2
lfence
cmp dword [0x14020e430], 1
jl 0x14002daaa
test dword [0x14020e464], 0x100
je 0x14002daaa
lfence
mov r8d, dword [rsi + 9]
mov ecx, r8d
call fcn.14002cb60
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.140078180
mov ebx, dword [rsi + 9]
jmp 0x14002db79
mov rax, qword [rsp + 0x58]
mov ebx, dword [rax + 9]
test ebx, ebx
je 0x14002db79
cmp ebx, 0x5dd
je 0x14002db79
cmp dword [0x14020e430], 2
jl 0x14002db79
test dword [0x14020e47c], 0x100
je 0x14002db79
mov ecx, ebx
call fcn.14002cb60
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.140078180
jmp 0x14002db79
cmp dword [0x14020e430], 1
jl 0x14002db74
test dword [0x14020e464], 0x100
je 0x14002db74
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.140078180
mov ebx, 0x708
mov r15, qword [rsp + 0xb0]
test rsi, rsi
je 0x14002dc64
mov rcx, rsi
call fcn.140003ad0
jmp 0x14002dc64
mov edi, 0x7fffffff
cmp dword [0x14020e430], 1
jl 0x14002dbf9
test dword [0x14020e464], 0x100
je 0x14002dbf9
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.140078180
mov ebx, 0x8fd
jmp 0x14002dc64
mov ecx, dword [rsp + 0x64]
cmp dword [0x14020e430], 1
jl 0x14002dc58
test dword [0x14020e464], 0x100
je 0x14002dc58
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.140078180
mov ebx, 0x3ea
jmp 0x14002dc64
mov ebx, 0x708
mov rdi, qword [rsp + 0xb8]
mov rcx, rbp
call fcn.14000fa70
mov rcx, rbp
call fcn.14000fb30
mov rsi, qword [rsp + 0x100]
mov rcx, r13
call fcn.14000dd90
mov rcx, r12
call fcn.14000dd90
mov rcx, r14
call fcn.14000dd90
mov eax, ebx
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400abc80
add rsp, 0xc0
pop r14
pop r13
pop r12
pop rbp
pop rbx
ret