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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
mov rax, qword [0x1402854d8]
xor rax, rsp
mov qword [rbp + 0x1f], rax
xor edi, edi
mov byte [rbp - 0x59], dl
mov qword [rbp - 0x29], rdi
mov rsi, rcx
call fcn.140044160
mov qword [rbp - 0x31], rax
mov r14, rax
mov qword [rbp - 0x41], rdi
mov r12d, edi
mov r13d, edi
test rax, rax
jne 0x14006e298
mov ebx, 1
cmp dword [0x14027edf0], ebx
jl 0x14006e23c
test dword [0x14027ee24], 0x100
je 0x14006e23c
mov edi, ebx
mov edx, ebx
mov ecx, 0x100
call fcn.1400e8cc0
test edi, edi
jne 0x14006e250
test eax, eax
je 0x14006e28e
lea rcx, str.Fail_to_create_IOStream_n
mov r9d, ebx
mov qword [rsp + 0x38], rcx
lea r14, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_dsp.c
mov dword [rsp + 0x30], 0x49
lea r15, str.esif_send_dsp
mov qword [rsp + 0x28], r14
mov r8d, 0x100
mov edx, eax
mov qword [rsp + 0x20], r15
mov ecx, edi
call fcn.1400bfc30
mov esi, 0x708
jmp 0x14006e899
test rsi, rsi
jne 0x14006e314
mov ebx, 1
cmp dword [0x14027edf0], ebx
jl 0x14006e2b8
test dword [0x14027ee24], 0x100
je 0x14006e2b8
mov edi, ebx
mov edx, ebx
mov ecx, 0x100
call fcn.1400e8cc0
test edi, edi
jne 0x14006e2cc
test eax, eax
je 0x14006e30a
lea rcx, str.Filename_is_null_n
mov r9d, ebx
mov qword [rsp + 0x38], rcx
lea r14, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_dsp.c
mov dword [rsp + 0x30], 0x54
lea r15, str.esif_send_dsp
mov qword [rsp + 0x28], r14
mov r8d, 0x100
mov edx, eax
mov qword [rsp + 0x20], r15
mov ecx, edi
call fcn.1400bfc30
mov esi, 0x8fc
jmp 0x14006e887
mov edx, 0x5c
mov rcx, rsi
call fcn.140108668
mov rbx, rax
test rax, rax
je 0x14006e32e
inc rbx
jmp 0x14006e331
mov rbx, rsi
xor r8d, r8d
lea rdx, [0x1401842f0]
mov r9d, 0x80000000
lea ecx, [r8 + 8]
call fcn.140041f40
xor r8d, r8d
mov qword [rbp - 0x41], rax
mov r9d, 0x80000000
mov rdx, rbx
mov r15, rax
lea ecx, [r8 + 8]
call fcn.140041f40
xor edx, edx
mov qword [rbp - 0x49], rax
xor r9d, r9d
mov r8d, 0xffffffff
mov r12, rax
lea ecx, [rdx + 0x24]
call fcn.140041f40
mov qword [rbp - 0x51], rax
mov r13, rax
test r15, r15
je 0x14006e9ed
test r12, r12
je 0x14006e9ed
test rax, rax
je 0x14006e9ed
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14006e3de
bt eax, 0xa
jae 0x14006e3de
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14006e3d2
test al, 0x10
je 0x14006e3d2
mov rcx, rsi
call fcn.1401338c4
jmp 0x14006e3da
mov rcx, rsi
call fcn.14011868c
test eax, eax
jne 0x14006e3ee
lea rdx, [rbp - 0x11]
mov rcx, rsi
call fcn.14013337c
test eax, eax
je 0x14006e41c
mov r8, r13
mov rdx, r12
mov rcx, r15
call fcn.14003fcf0
test eax, eax
jne 0x14006e41c
mov r9d, dword [r13 + 0x10]
mov rsi, rbx
mov r8, qword [r13 + 4]
mov ebx, 1
mov edx, ebx
mov rcx, r14
call fcn.140044b40
jmp 0x14006e435
mov ebx, 1
lea r9, [0x1401841d4]
mov edx, ebx
mov r8, rsi
mov rcx, r14
call fcn.140044aa0
mov rcx, r14
call fcn.140044600
test eax, eax
je 0x14006e4b9
cmp dword [0x14027edf0], 1
jl 0x14006e458
test dword [0x14027ee24], 0x100
je 0x14006e458
mov edi, ebx
mov edx, ebx
mov ecx, 0x100
call fcn.1400e8cc0
test edi, edi
jne 0x14006e46c
test eax, eax
je 0x14006e4af
mov qword [rsp + 0x40], rsi
lea rcx, str.File_not_found___s__n
mov qword [rsp + 0x38], rcx
lea r14, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_dsp.c
mov dword [rsp + 0x30], 0x6f
lea r15, str.esif_send_dsp
mov qword [rsp + 0x28], r14
mov r9d, ebx
mov r8d, 0x100
mov qword [rsp + 0x20], r15
mov edx, eax
mov ecx, edi
call fcn.1400bfc30
mov esi, 0xbbb
jmp 0x14006e887
mov r8d, 0x10
lea rdx, [rbp - 0x21]
mov rcx, r14
call fcn.140044850
cmp rax, 0x10
jne 0x14006e96a
cmp dword [rbp - 0x21], 0x50444540
jne 0x14006e96a
lea rcx, [0x140189d70]
call fcn.14014af2c
cmp dword [rbp - 0x1d], eax
jne 0x14006e96a
mov eax, dword [rbp - 0x19]
cmp eax, 0x7ffffffd
ja 0x14006e8db
mov r13d, dword [rbp - 0x15]
cmp r13d, 0x7ffffffd
ja 0x14006e8db
cmp eax, r13d
ja 0x14006e8db
sub r13d, eax
cmp r13d, 0x7ffffffe
jg 0x14006e8e1
lfence
mov edx, dword [rbp - 0x19]
xor r8d, r8d
mov rcx, r14
call fcn.140044a10
lea r15d, [r13 + 8]
mov edx, r15d
lea rcx, [rbp - 0x29]
call fcn.140037640
mov r12, rax
test rax, rax
je 0x14006e804
cmp qword [rbp - 0x29], rdi
je 0x14006e804
lfence
mov rcx, qword [rbp - 0x29]
movsxd r8, r13d
mov dword [rcx + 1], 0xb
mov rcx, qword [rbp - 0x29]
mov dword [rcx + 0x11], 0x20
mov rcx, qword [rbp - 0x29]
mov dword [rcx + 0x15], edi
mov rcx, qword [rbp - 0x29]
mov dword [rcx + 0x19], r15d
mov rcx, r14
mov rax, qword [rbp - 0x29]
mov dword [rax + 0x1d], 0x18
mov rax, qword [rbp - 0x29]
mov dword [rax + 0x21], edi
mov rax, qword [rbp - 0x29]
mov dword [rax + 0x25], edi
mov rdx, qword [rbp - 0x29]
movzx eax, byte [rbp - 0x59]
mov dword [rdx + 0x29], eax
mov dword [rdx + 0x2d], r13d
add rdx, 0x31
call fcn.140044850
cmp dword [0x14027edf0], 4
mov qword [rbp - 0x39], rax
jl 0x14006e5e1
test dword [0x14027ee6c], 0x100
mov dword [rbp - 0x55], ebx
jne 0x14006e5e4
mov dword [rbp - 0x55], edi
mov edx, 4
mov ecx, 0x100
call fcn.1400e8cc0
mov edx, eax
lea r14, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_dsp.c
mov eax, dword [rbp - 0x55]
lea r15, str.esif_send_dsp
test eax, eax
jne 0x14006e60e
test edx, edx
je 0x14006e64c
mov rcx, qword [rbp - 0x39]
mov r9d, 4
mov dword [rsp + 0x48], ecx
mov r8d, 0x100
mov qword [rsp + 0x40], rsi
lea rcx, str.loaded_file__s_bytes__d_n
mov qword [rsp + 0x38], rcx
mov ecx, eax
mov dword [rsp + 0x30], 0x9c
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
call fcn.1400bfc30
cmp dword [0x14027edf0], 3
jl 0x14006e664
test dword [0x14027ee54], 0x100
mov dword [rbp - 0x55], ebx
jne 0x14006e667
mov dword [rbp - 0x55], edi
mov edx, 3
mov ecx, 0x100
call fcn.1400e8cc0
mov edx, eax
mov eax, dword [rbp - 0x55]
test eax, eax
jne 0x14006e683
test edx, edx
je 0x14006e6cb
lfence
movzx r8d, byte [rbp - 0x59]
lea rcx, str.CPC_file__s__d__sent_to_participant__d_n
mov dword [rsp + 0x50], r8d
mov r9d, 3
mov dword [rsp + 0x48], r13d
mov r8d, 0x100
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rcx
mov ecx, eax
mov dword [rsp + 0x30], 0x9e
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
call fcn.1400bfc30
mov rcx, r12
call fcn.14007b220
cmp dword [r12 + 9], edi
je 0x14006e764
lfence
cmp dword [0x14027edf0], 1
jl 0x14006e6f8
test dword [0x14027ee24], 0x100
je 0x14006e6f8
mov edi, ebx
mov edx, ebx
mov ecx, 0x100
call fcn.1400e8cc0
mov r10d, eax
test edi, edi
jne 0x14006e70f
test eax, eax
je 0x14006e75a
lfence
mov r8d, dword [r12 + 9]
mov ecx, r8d
call fcn.14006d730
mov dword [rsp + 0x48], r8d
mov r9d, ebx
mov qword [rsp + 0x40], rax
mov r8d, 0x100
lea rax, str.ipc_error_code___s__d__n
mov edx, r10d
mov qword [rsp + 0x38], rax
mov ecx, edi
mov dword [rsp + 0x30], 0xa3
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
call fcn.1400bfc30
mov esi, dword [r12 + 9]
jmp 0x14006e872
mov rax, qword [rbp - 0x29]
mov esi, dword [rax + 9]
test esi, esi
je 0x14006e872
cmp esi, 0x5dd
je 0x14006e872
cmp dword [0x14027edf0], 2
jl 0x14006e794
test dword [0x14027ee3c], 0x100
jne 0x14006e796
mov ebx, edi
mov edx, 2
mov ecx, 0x100
call fcn.1400e8cc0
mov r10d, eax
test ebx, ebx
jne 0x14006e7b4
test eax, eax
je 0x14006e872
mov rcx, qword [rbp - 0x29]
mov r8d, dword [rcx + 9]
mov ecx, r8d
call fcn.14006d730
mov dword [rsp + 0x48], r8d
mov r9d, 2
mov qword [rsp + 0x40], rax
mov r8d, 0x100
lea rax, str.primitive_error_code___s__d__n
mov edx, r10d
mov qword [rsp + 0x38], rax
mov ecx, ebx
mov dword [rsp + 0x30], 0xaa
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
call fcn.1400bfc30
jmp 0x14006e872
cmp dword [0x14027edf0], 1
jl 0x14006e81b
test dword [0x14027ee24], 0x100
je 0x14006e81b
mov edi, ebx
mov edx, ebx
mov ecx, 0x100
call fcn.1400e8cc0
test edi, edi
jne 0x14006e82f
test eax, eax
je 0x14006e86d
lea rcx, str.Fail_to_allocate_esif_ipc_esif_ipc_command_n
mov r9d, ebx
mov qword [rsp + 0x38], rcx
lea r14, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_dsp.c
mov dword [rsp + 0x30], 0x8a
lea r15, str.esif_send_dsp
mov qword [rsp + 0x28], r14
mov r8d, 0x100
mov edx, eax
mov qword [rsp + 0x20], r15
mov ecx, edi
call fcn.1400bfc30
mov esi, 0x708
test r12, r12
je 0x14006e87f
mov rcx, r12
call fcn.1400379b0
mov r12, qword [rbp - 0x49]
mov r13, qword [rbp - 0x51]
mov rcx, qword [rbp - 0x31]
call fcn.1400440d0
mov rcx, qword [rbp - 0x31]
call fcn.140044190
mov rcx, qword [rbp - 0x41]
call fcn.1400423b0
mov rcx, r12
call fcn.1400423b0
mov rcx, r13
call fcn.1400423b0
mov eax, esi
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140106650
mov rbx, qword [rsp + 0x130]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r13d, 0x7fffffff
cmp dword [0x14027edf0], 1
jl 0x14006e8f8
test dword [0x14027ee24], 0x100
je 0x14006e8f8
mov edi, ebx
mov edx, ebx
mov ecx, 0x100
call fcn.1400e8cc0
test edi, edi
jne 0x14006e90c
test eax, eax
je 0x14006e960
lfence
mov ecx, dword [rbp - 0x19]
lea r14, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_dsp.c
mov dword [rsp + 0x50], r13d
lea r15, str.esif_send_dsp
mov dword [rsp + 0x48], ecx
mov r9d, ebx
mov ecx, dword [rbp - 0x15]
mov r8d, 0x100
mov dword [rsp + 0x40], ecx
mov edx, eax
lea rcx, str.Invalid_EDP_Offsets:_fpc_offset_u_cpc_offset_u_edpSize_d_n
mov qword [rsp + 0x38], rcx
mov ecx, edi
mov dword [rsp + 0x30], 0x80
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
call fcn.1400bfc30
mov esi, 0x8fd
jmp 0x14006e883
cmp dword [0x14027edf0], 1
jl 0x14006e981
test dword [0x14027ee24], 0x100
je 0x14006e981
mov edi, ebx
mov edx, ebx
mov ecx, 0x100
call fcn.1400e8cc0
test edi, edi
jne 0x14006e995
test eax, eax
je 0x14006e9e3
mov ecx, dword [rbp - 0x1d]
lea r14, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_dsp.c
mov dword [rsp + 0x48], ecx
lea r15, str.esif_send_dsp
lea rcx, [rbp - 0x21]
mov r9d, ebx
mov qword [rsp + 0x40], rcx
mov r8d, 0x100
lea rcx, str.Invalid_EDP_Header:_Signature_4.4s_Version_d_n
mov edx, eax
mov qword [rsp + 0x38], rcx
mov ecx, edi
mov dword [rsp + 0x30], 0x75
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
call fcn.1400bfc30
mov esi, 0x3ea
jmp 0x14006e887
mov esi, 0x708
jmp 0x14006e887