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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1b0
mov rax, qword [0x1402854d8]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
xor esi, esi
lea r12, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_LIBSourcesesif_lib_esifdata.c
test rcx, rcx
mov qword [rsp + 0x78], rsi
mov ebx, 0x8fc
mov r14, rcx
cmovne ebx, esi
mov r13d, esi
mov ebp, esi
je 0x1400422e8
mov r15, qword [rcx + 4]
mov word [rsp + 0x80], 0x5d
test r15, r15
je 0x1400422e8
mov edi, dword [rcx + 0x10]
cmp edi, 0xd
jbe 0x1400422e8
movzx eax, word [r15]
cmp ax, word [rsp + 0x80]
jne 0x1400422e8
xor edx, edx
lea rcx, [rsp + 0x90]
mov r8d, 0x104
call fcn.140107f60
lea rax, [0x1401845f4]
mov qword [rsp + 0x70], rdi
lea r9, str.ipf_cmp
mov qword [rsp + 0x20], rax
mov edx, 0x104
lea r8d, [rsi + 7]
lea rcx, [rsp + 0x90]
mov ebp, edi
call fcn.140049e50
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400420e6
bt eax, 0xa
jae 0x1400420e6
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400420d1
test al, 0x10
je 0x1400420d1
lea rcx, [rsp + 0x90]
call fcn.1401338c4
jmp 0x1400420de
lea rcx, [rsp + 0x90]
call fcn.14011868c
test eax, eax
jne 0x1400422da
mov ecx, 0x18
call fcn.140115d38
mov rdi, rax
test rax, rax
je 0x1400422da
xorps xmm0, xmm0
lea rcx, [rsp + 0x90]
xor eax, eax
xor edx, edx
movups xmmword [rdi], xmm0
mov r8d, 0x1000
mov qword [rdi + 0x10], rax
call qword [sym.imp.KERNEL32.DLL_LoadLibraryExA]
mov qword [rdi], rax
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rdi + 8], eax
mov rcx, qword [rdi]
test rcx, rcx
jne 0x14004213e
mov rcx, rdi
call fcn.140043250
mov ebx, eax
jmp 0x1400421bc
lea rdx, str.IpfDecompress
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov r12, rax
test rax, rax
jne 0x140042163
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rdi + 8], eax
mov ebx, 0xd49
jmp 0x1400421b5
mov r9, rbp
lea rdx, [rsp + 0x78]
mov r8, r15
xor ecx, ecx
call qword [case.0x14005bcf7.0]
mov r13d, eax
test eax, eax
je 0x140042184
mov ebx, 0x517
jmp 0x1400421b5
mov rcx, qword [rsp + 0x78]
cmp rcx, 0x7ffffffe
jbe 0x140042199
mov ebx, 0x8fd
jmp 0x1400421b5
test rcx, rcx
je 0x1400421b5
call fcn.140043480
mov rbp, rax
test rax, rax
jne 0x1400421f4
mov ebx, 0x708
mov rbp, qword [rsp + 0x70]
lea r12, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_LIBSourcesesif_lib_esifdata.c
lea r15, str.EsifData_Decompress
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400421d1
call qword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.DLL_LocalFree]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov rcx, rdi
mov qword [rdi + 0x10], rax
call fcn.140115d24
jmp 0x1400422ef
mov r9, qword [rsp + 0x70]
lea rdx, [rsp + 0x78]
mov r8, r15
mov rcx, rbp
mov rax, r12
call qword [case.0x14005bcf7.0]
mov r13d, eax
test eax, eax
je 0x140042223
mov rcx, rbp
mov ebx, 0x517
call fcn.140115d24
jmp 0x1400421b0
cmp dword [0x14027edf0], 3
jl 0x14004223a
test byte [0x14027ee54], 1
mov ebx, 1
jne 0x14004223c
mov ebx, esi
mov edx, 3
lea ecx, [rdx - 2]
call fcn.1400e8cc0
test ebx, ebx
jne 0x140042251
test eax, eax
je 0x1400422a6
mov rcx, qword [rsp + 0x78]
lea r12, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_LIBSourcesesif_lib_esifdata.c
mov qword [rsp + 0x48], rcx
lea r15, str.EsifData_Decompress
mov rcx, qword [rsp + 0x70]
mov r9d, 3
mov qword [rsp + 0x40], rcx
mov edx, eax
lea rcx, str.EsifCmp_Decompressed:__u____zd_bytes_n
mov qword [rsp + 0x38], rcx
mov ecx, ebx
mov dword [rsp + 0x30], 0x3da
lea r8d, [r9 - 2]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r15
call fcn.1400bfc30
jmp 0x1400422b4
lea r12, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_LIBSourcesesif_lib_esifdata.c
lea r15, str.EsifData_Decompress
mov rax, qword [rsp + 0x78]
mov r8, rbp
mov edx, dword [r14]
mov r9d, eax
mov rcx, r14
mov dword [rsp + 0x20], eax
call fcn.140042c70
mov rbp, qword [rsp + 0x70]
mov ebx, esi
jmp 0x1400421c3
mov ebx, 0x708
lea r15, str.EsifData_Decompress
jmp 0x1400422f7
lea r15, str.EsifData_Decompress
test ebx, ebx
je 0x14004237a
cmp dword [0x14027edf0], 1
jl 0x14004230e
test byte [0x14027ee24], 1
je 0x14004230e
mov esi, 1
mov edx, 1
mov ecx, edx
call fcn.1400e8cc0
mov r10d, eax
test esi, esi
jne 0x140042325
test eax, eax
je 0x14004237a
mov ecx, ebx
call fcn.1400435d0
mov rcx, qword [rsp + 0x78]
mov r9d, 1
mov qword [rsp + 0x60], rcx
mov r8d, r9d
mov qword [rsp + 0x58], rbp
mov edx, r10d
mov dword [rsp + 0x50], r13d
mov ecx, esi
mov dword [rsp + 0x48], ebx
mov qword [rsp + 0x40], rax
lea rax, str.EsifCmp_Decompress_Error:__s___d___result_d__compressed_zd__expanded_zd__n
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x3f0
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r15
call fcn.1400bfc30
mov eax, ebx
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140106650
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret