Function at 0x14006b3e0
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 [0x14027df48]
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.140044030
mov qword [rbp - 0x31], rax
mov r14, rax
mov qword [rbp - 0x41], rdi
mov r12d, edi
mov r13d, edi
test rax, rax
jne 0x14006b4a8
mov ebx, 1
cmp dword [0x140277860], ebx
jl 0x14006b44c
test dword [0x140277894], 0x100
je 0x14006b44c
mov edi, ebx
mov edx, ebx
mov ecx, 0x100
call fcn.1400e3b80
test edi, edi
jne 0x14006b460
test eax, eax
je 0x14006b49e
lea rcx, str.Fail_to_create_IOStream_n
mov r9d, ebx
mov qword [rsp + 0x38], rcx
lea r14, str.C:jenkinsworkspacedptf_2SrcESIFProductsESIF_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.1400bb960
mov esi, 0x708
jmp 0x14006baa9
test rsi, rsi
jne 0x14006b524
mov ebx, 1
cmp dword [0x140277860], ebx
jl 0x14006b4c8
test dword [0x140277894], 0x100
je 0x14006b4c8
mov edi, ebx
mov edx, ebx
mov ecx, 0x100
call fcn.1400e3b80
test edi, edi
jne 0x14006b4dc
test eax, eax
je 0x14006b51a
lea rcx, str.Filename_is_null_n
mov r9d, ebx
mov qword [rsp + 0x38], rcx
lea r14, str.C:jenkinsworkspacedptf_2SrcESIFProductsESIF_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.1400bb960
mov esi, 0x8fc
jmp 0x14006ba97
mov edx, 0x5c
mov rcx, rsi
call fcn.140104a18
mov rbx, rax
test rax, rax
je 0x14006b53e
inc rbx
jmp 0x14006b541
mov rbx, rsi
xor r8d, r8d
lea rdx, [0x14017f990]
mov r9d, 0x80000000
lea ecx, [r8 + 8]
call fcn.140041e80
xor r8d, r8d
mov qword [rbp - 0x41], rax
mov r9d, 0x80000000
mov rdx, rbx
mov r15, rax
lea ecx, [r8 + 8]
call fcn.140041e80
xor edx, edx
mov qword [rbp - 0x49], rax
xor r9d, r9d
mov r8d, 0xffffffff
mov r12, rax
lea ecx, [rdx + 0x24]
call fcn.140041e80
mov qword [rbp - 0x51], rax
mov r13, rax
test r15, r15
je 0x14006bbfd
test r12, r12
je 0x14006bbfd
test rax, rax
je 0x14006bbfd
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14006b5ee
bt eax, 0xa
jae 0x14006b5ee
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14006b5e2
test al, 0x10
je 0x14006b5e2
mov rcx, rsi
call fcn.14012fc74
jmp 0x14006b5ea
mov rcx, rsi
call fcn.140114a3c
test eax, eax
jne 0x14006b5fe
lea rdx, [rbp - 0x11]
mov rcx, rsi
call fcn.14012f72c
test eax, eax
je 0x14006b62c
mov r8, r13
mov rdx, r12
mov rcx, r15
call fcn.14003fc30
test eax, eax
jne 0x14006b62c
mov r9d, dword [r13 + 0x10]
mov rsi, rbx
mov r8, qword [r13 + 4]
mov ebx, 1
mov edx, ebx
mov rcx, r14
call fcn.140044a10
jmp 0x14006b645
mov ebx, 1
lea r9, [0x14017f874]
mov edx, ebx
mov r8, rsi
mov rcx, r14
call fcn.140044970
mov rcx, r14
call fcn.1400444d0
test eax, eax
je 0x14006b6c9
cmp dword [0x140277860], 1
jl 0x14006b668
test dword [0x140277894], 0x100
je 0x14006b668
mov edi, ebx
mov edx, ebx
mov ecx, 0x100
call fcn.1400e3b80
test edi, edi
jne 0x14006b67c
test eax, eax
je 0x14006b6bf
mov qword [rsp + 0x40], rsi
lea rcx, str.File_not_found___s__n
mov qword [rsp + 0x38], rcx
lea r14, str.C:jenkinsworkspacedptf_2SrcESIFProductsESIF_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.1400bb960
mov esi, 0xbbb
jmp 0x14006ba97
mov r8d, 0x10
lea rdx, [rbp - 0x21]
mov rcx, r14
call fcn.140044720
cmp rax, 0x10
jne 0x14006bb7a
cmp dword [rbp - 0x21], 0x50444540
jne 0x14006bb7a
lea rcx, [0x140184940]
call fcn.14014711c
cmp dword [rbp - 0x1d], eax
jne 0x14006bb7a
mov eax, dword [rbp - 0x19]
cmp eax, 0x7ffffffd
ja 0x14006baeb
mov r13d, dword [rbp - 0x15]
cmp r13d, 0x7ffffffd
ja 0x14006baeb
cmp eax, r13d
ja 0x14006baeb
sub r13d, eax
cmp r13d, 0x7ffffffe
jg 0x14006baf1
lfence
mov edx, dword [rbp - 0x19]
xor r8d, r8d
mov rcx, r14
call fcn.1400448e0
lea r15d, [r13 + 8]
mov edx, r15d
lea rcx, [rbp - 0x29]
call fcn.140037640
mov r12, rax
test rax, rax
je 0x14006ba14
cmp qword [rbp - 0x29], rdi
je 0x14006ba14
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.140044720
cmp dword [0x140277860], 4
mov qword [rbp - 0x39], rax
jl 0x14006b7f1
test dword [0x1402778dc], 0x100
mov dword [rbp - 0x55], ebx
jne 0x14006b7f4
mov dword [rbp - 0x55], edi
mov edx, 4
mov ecx, 0x100
call fcn.1400e3b80
mov edx, eax
lea r14, str.C:jenkinsworkspacedptf_2SrcESIFProductsESIF_UFSourcesesif_uf_dsp.c
mov eax, dword [rbp - 0x55]
lea r15, str.esif_send_dsp
test eax, eax
jne 0x14006b81e
test edx, edx
je 0x14006b85c
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.1400bb960
cmp dword [0x140277860], 3
jl 0x14006b874
test dword [0x1402778c4], 0x100
mov dword [rbp - 0x55], ebx
jne 0x14006b877
mov dword [rbp - 0x55], edi
mov edx, 3
mov ecx, 0x100
call fcn.1400e3b80
mov edx, eax
mov eax, dword [rbp - 0x55]
test eax, eax
jne 0x14006b893
test edx, edx
je 0x14006b8db
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.1400bb960
mov rcx, r12
call fcn.140078390
cmp dword [r12 + 9], edi
je 0x14006b974
lfence
cmp dword [0x140277860], 1
jl 0x14006b908
test dword [0x140277894], 0x100
je 0x14006b908
mov edi, ebx
mov edx, ebx
mov ecx, 0x100
call fcn.1400e3b80
mov r10d, eax
test edi, edi
jne 0x14006b91f
test eax, eax
je 0x14006b96a
lfence
mov r8d, dword [r12 + 9]
mov ecx, r8d
call fcn.14006a940
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.1400bb960
mov esi, dword [r12 + 9]
jmp 0x14006ba82
mov rax, qword [rbp - 0x29]
mov esi, dword [rax + 9]
test esi, esi
je 0x14006ba82
cmp esi, 0x5dd
je 0x14006ba82
cmp dword [0x140277860], 2
jl 0x14006b9a4
test dword [0x1402778ac], 0x100
jne 0x14006b9a6
mov ebx, edi
mov edx, 2
mov ecx, 0x100
call fcn.1400e3b80
mov r10d, eax
test ebx, ebx
jne 0x14006b9c4
test eax, eax
je 0x14006ba82
mov rcx, qword [rbp - 0x29]
mov r8d, dword [rcx + 9]
mov ecx, r8d
call fcn.14006a940
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.1400bb960
jmp 0x14006ba82
cmp dword [0x140277860], 1
jl 0x14006ba2b
test dword [0x140277894], 0x100
je 0x14006ba2b
mov edi, ebx
mov edx, ebx
mov ecx, 0x100
call fcn.1400e3b80
test edi, edi
jne 0x14006ba3f
test eax, eax
je 0x14006ba7d
lea rcx, str.Fail_to_allocate_esif_ipc_esif_ipc_command_n
mov r9d, ebx
mov qword [rsp + 0x38], rcx
lea r14, str.C:jenkinsworkspacedptf_2SrcESIFProductsESIF_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.1400bb960
mov esi, 0x708
test r12, r12
je 0x14006ba8f
mov rcx, r12
call fcn.1400379b0
mov r12, qword [rbp - 0x49]
mov r13, qword [rbp - 0x51]
mov rcx, qword [rbp - 0x31]
call fcn.140043fa0
mov rcx, qword [rbp - 0x31]
call fcn.140044060
mov rcx, qword [rbp - 0x41]
call fcn.1400422f0
mov rcx, r12
call fcn.1400422f0
mov rcx, r13
call fcn.1400422f0
mov eax, esi
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140102a00
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 [0x140277860], 1
jl 0x14006bb08
test dword [0x140277894], 0x100
je 0x14006bb08
mov edi, ebx
mov edx, ebx
mov ecx, 0x100
call fcn.1400e3b80
test edi, edi
jne 0x14006bb1c
test eax, eax
je 0x14006bb70
lfence
mov ecx, dword [rbp - 0x19]
lea r14, str.C:jenkinsworkspacedptf_2SrcESIFProductsESIF_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.1400bb960
mov esi, 0x8fd
jmp 0x14006ba93
cmp dword [0x140277860], 1
jl 0x14006bb91
test dword [0x140277894], 0x100
je 0x14006bb91
mov edi, ebx
mov edx, ebx
mov ecx, 0x100
call fcn.1400e3b80
test edi, edi
jne 0x14006bba5
test eax, eax
je 0x14006bbf3
mov ecx, dword [rbp - 0x1d]
lea r14, str.C:jenkinsworkspacedptf_2SrcESIFProductsESIF_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.1400bb960
mov esi, 0x3ea
jmp 0x14006ba97
mov esi, 0x708
jmp 0x14006ba97