Function at 0x140041f00
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 [0x14027aef8]
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 0x140042228
mov r15, qword [rcx + 4]
mov word [rsp + 0x80], 0x5d
test r15, r15
je 0x140042228
mov edi, dword [rcx + 0x10]
cmp edi, 0xd
jbe 0x140042228
movzx eax, word [r15]
cmp ax, word [rsp + 0x80]
jne 0x140042228
xor edx, edx
lea rcx, [rsp + 0x90]
mov r8d, 0x104
call fcn.140102230
lea rax, [0x14017dc74]
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.140047820
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140042026
bt eax, 0xa
jae 0x140042026
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140042011
test al, 0x10
je 0x140042011
lea rcx, [rsp + 0x90]
call fcn.14012db94
jmp 0x14004201e
lea rcx, [rsp + 0x90]
call fcn.14011295c
test eax, eax
jne 0x14004221a
mov ecx, 0x18
call fcn.140110008
mov rdi, rax
test rax, rax
je 0x14004221a
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 0x14004207e
mov rcx, rdi
call fcn.140043120
mov ebx, eax
jmp 0x1400420fc
lea rdx, str.IpfDecompress
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov r12, rax
test rax, rax
jne 0x1400420a3
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rdi + 8], eax
mov ebx, 0xd49
jmp 0x1400420f5
mov r9, rbp
lea rdx, [rsp + 0x78]
mov r8, r15
xor ecx, ecx
call qword [case.0x140059157.0]
mov r13d, eax
test eax, eax
je 0x1400420c4
mov ebx, 0x517
jmp 0x1400420f5
mov rcx, qword [rsp + 0x78]
cmp rcx, 0x7ffffffe
jbe 0x1400420d9
mov ebx, 0x8fd
jmp 0x1400420f5
test rcx, rcx
je 0x1400420f5
call fcn.140043350
mov rbp, rax
test rax, rax
jne 0x140042134
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 0x140042111
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.14010fff4
jmp 0x14004222f
mov r9, qword [rsp + 0x70]
lea rdx, [rsp + 0x78]
mov r8, r15
mov rcx, rbp
mov rax, r12
call qword [case.0x140059157.0]
mov r13d, eax
test eax, eax
je 0x140042163
mov rcx, rbp
mov ebx, 0x517
call fcn.14010fff4
jmp 0x1400420f0
cmp dword [0x140274810], 3
jl 0x14004217a
test byte [0x140274874], 1
mov ebx, 1
jne 0x14004217c
mov ebx, esi
mov edx, 3
lea ecx, [rdx - 2]
call fcn.1400e1c40
test ebx, ebx
jne 0x140042191
test eax, eax
je 0x1400421e6
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], 0x3c0
lea r8d, [r9 - 2]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r15
call fcn.1400ba210
jmp 0x1400421f4
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.140042b40
mov rbp, qword [rsp + 0x70]
mov ebx, esi
jmp 0x140042103
mov ebx, 0x708
lea r15, str.EsifData_Decompress
jmp 0x140042237
lea r15, str.EsifData_Decompress
test ebx, ebx
je 0x1400422ba
cmp dword [0x140274810], 1
jl 0x14004224e
test byte [0x140274844], 1
je 0x14004224e
mov esi, 1
mov edx, 1
mov ecx, edx
call fcn.1400e1c40
mov r10d, eax
test esi, esi
jne 0x140042265
test eax, eax
je 0x1400422ba
mov ecx, ebx
call fcn.1400434a0
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], 0x3d6
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r15
call fcn.1400ba210
mov eax, ebx
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140100920
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