Function at 0x1400527b0
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x460
mov rax, qword [0x1400945f8]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov byte [rsp + 0x240], 0
lea rdi, [rsp + 0x241]
xor eax, eax
mov ecx, 0x1ff
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x470]
mov dword [rax + 0x380], 0
mov byte [rsp + 0x40], 0
lea rdi, [rsp + 0x41]
xor eax, eax
mov ecx, 0x1ff
rep stosb byte [rdi], al
mov r8, qword [rsp + 0x470]
add r8, 0x17a
lea rdx, str._s_system32configSYSTEM
lea rcx, [rsp + 0x40]
call fcn.140025b64
mov r8, qword [rsp + 0x470]
add r8, 0x134
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x470]
call fcn.140052320
mov dword [rsp + 0x30], eax
mov r8d, dword [rsp + 0x30]
lea rdx, str.bootkey:_nRs:_d_n
lea rcx, [0x1400a5fd0]
call fcn.140048c60
mov rdx, qword [rsp + 0x470]
add rdx, 0x134
mov r8d, 0x10
lea rcx, [0x1400a5fd0]
call fcn.140048e80
mov r8d, 0x200
xor edx, edx
lea rcx, [rsp + 0x240]
call fcn.1400258a0
mov r8, qword [rsp + 0x470]
add r8, 0x17a
lea rdx, str._s_system32esent.dll
lea rcx, [rsp + 0x240]
call fcn.140025b64
mov dword [rsp + 0x34], 0
lea rcx, [rsp + 0x240]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x1400528fd
lea r8, [rsp + 0x240]
lea rdx, str.Doesnt_exist____szESENTLib:_s._n
lea rcx, [0x1400a5fd0]
call fcn.140048c60
mov r8d, 8
xor edx, edx
lea rcx, [rsp + 0x240]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rdx, rax
mov rax, qword [rsp + 0x470]
mov qword [rax + 0x588], rdx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x470]
cmp qword [rax + 0x588], 0
jne 0x140052952
lea rax, [0x140077254]
mov qword [rsp + 0x440], rax
jmp 0x140052961
lea rax, [0x140077294]
mov qword [rsp + 0x440], rax
mov rax, qword [rsp + 0x440]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x34]
lea r8, [rsp + 0x240]
lea rdx, str.szESENTLib:_s__Err:0x_x__m_hEsentLibNULL:_s_n
lea rcx, [0x1400a5fd0]
call fcn.140048c60
mov rax, qword [rsp + 0x470]
cmp qword [rax + 0x588], 0
jne 0x140052a5b
mov rax, qword [rsp + 0x470]
mov dword [rax + 0x380], 1
lea rdx, str.X:windowsSYSTEM32esent.dll
lea rcx, [rsp + 0x240]
call fcn.140026030
mov r8d, 8
xor edx, edx
lea rcx, [rsp + 0x240]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rdx, rax
mov rax, qword [rsp + 0x470]
mov qword [rax + 0x588], rdx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x470]
cmp qword [rax + 0x588], 0
jne 0x140052a1f
lea rax, [0x1400775fc]
mov qword [rsp + 0x448], rax
jmp 0x140052a2e
lea rax, [0x140077674]
mov qword [rsp + 0x448], rax
mov rax, qword [rsp + 0x448]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x34]
lea r8, [rsp + 0x240]
lea rdx, str.szESENTLib:_s__Err2:0x_x__m_hEsentLibNULL:_s_n
lea rcx, [0x1400a5fd0]
call fcn.140048c60
mov rax, qword [rsp + 0x470]
cmp qword [rax + 0x588], 0
jne 0x140052a74
xor al, al
jmp 0x1400530ba
lea rdx, str.JetSetSystemParameter
mov rcx, qword [rsp + 0x470]
mov rcx, qword [rcx + 0x588]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov rax, qword [rsp + 0x470]
mov qword [rax + 0x5c0], rdx
lea rdx, str.JetInit
mov rcx, qword [rsp + 0x470]
mov rcx, qword [rcx + 0x588]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov rax, qword [rsp + 0x470]
mov qword [rax + 0x5c8], rdx
lea rdx, str.JetBeginSession
mov rcx, qword [rsp + 0x470]
mov rcx, qword [rcx + 0x588]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov rax, qword [rsp + 0x470]
mov qword [rax + 0x5d0], rdx
lea rdx, str.JetAttachDatabase
mov rcx, qword [rsp + 0x470]
mov rcx, qword [rcx + 0x588]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov rax, qword [rsp + 0x470]
mov qword [rax + 0x5d8], rdx
lea rdx, str.JetOpenDatabase
mov rcx, qword [rsp + 0x470]
mov rcx, qword [rcx + 0x588]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov rax, qword [rsp + 0x470]
mov qword [rax + 0x5e0], rdx
lea rdx, str.JetOpenTable
mov rcx, qword [rsp + 0x470]
mov rcx, qword [rcx + 0x588]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov rax, qword [rsp + 0x470]
mov qword [rax + 0x5e8], rdx
lea rdx, str.JetGetTableColumnInfo
mov rcx, qword [rsp + 0x470]
mov rcx, qword [rcx + 0x588]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov rax, qword [rsp + 0x470]
mov qword [rax + 0x5f0], rdx
lea rdx, str.JetMove
mov rcx, qword [rsp + 0x470]
mov rcx, qword [rcx + 0x588]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov rax, qword [rsp + 0x470]
mov qword [rax + 0x5f8], rdx
lea rdx, str.JetRetrieveColumns
mov rcx, qword [rsp + 0x470]
mov rcx, qword [rcx + 0x588]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov rax, qword [rsp + 0x470]
mov qword [rax + 0x600], rdx
lea rdx, str.JetCloseTable
mov rcx, qword [rsp + 0x470]
mov rcx, qword [rcx + 0x588]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov rax, qword [rsp + 0x470]
mov qword [rax + 0x608], rdx
lea rdx, str.JetCloseDatabase
mov rcx, qword [rsp + 0x470]
mov rcx, qword [rcx + 0x588]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov rax, qword [rsp + 0x470]
mov qword [rax + 0x610], rdx
lea rdx, str.JetDetachDatabase
mov rcx, qword [rsp + 0x470]
mov rcx, qword [rcx + 0x588]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov rax, qword [rsp + 0x470]
mov qword [rax + 0x618], rdx
lea rdx, str.JetEndSession
mov rcx, qword [rsp + 0x470]
mov rcx, qword [rcx + 0x588]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov rax, qword [rsp + 0x470]
mov qword [rax + 0x620], rdx
lea rdx, str.JetTerm2
mov rcx, qword [rsp + 0x470]
mov rcx, qword [rcx + 0x588]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov rax, qword [rsp + 0x470]
mov qword [rax + 0x628], rdx
lea rdx, str.JetSetCurrentIndex
mov rcx, qword [rsp + 0x470]
mov rcx, qword [rcx + 0x588]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov rax, qword [rsp + 0x470]
mov qword [rax + 0x630], rdx
lea rdx, str.JetBeginTransaction
mov rcx, qword [rsp + 0x470]
mov rcx, qword [rcx + 0x588]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov rax, qword [rsp + 0x470]
mov qword [rax + 0x638], rdx
lea rdx, str.JetMakeKey
mov rcx, qword [rsp + 0x470]
mov rcx, qword [rcx + 0x588]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov rax, qword [rsp + 0x470]
mov qword [rax + 0x640], rdx
lea rdx, str.JetSeek
mov rcx, qword [rsp + 0x470]
mov rcx, qword [rcx + 0x588]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov rax, qword [rsp + 0x470]
mov qword [rax + 0x648], rdx
lea rdx, str.JetPrepareUpdate
mov rcx, qword [rsp + 0x470]
mov rcx, qword [rcx + 0x588]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov rax, qword [rsp + 0x470]
mov qword [rax + 0x650], rdx
lea rdx, str.JetSetColumns
mov rcx, qword [rsp + 0x470]
mov rcx, qword [rcx + 0x588]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov rax, qword [rsp + 0x470]
mov qword [rax + 0x658], rdx
lea rdx, str.JetSetColumn
mov rcx, qword [rsp + 0x470]
mov rcx, qword [rcx + 0x588]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov rax, qword [rsp + 0x470]
mov qword [rax + 0x660], rdx
lea rdx, str.JetUpdate
mov rcx, qword [rsp + 0x470]
mov rcx, qword [rcx + 0x588]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov rax, qword [rsp + 0x470]
mov qword [rax + 0x668], rdx
lea rdx, str.JetCommitTransaction
mov rcx, qword [rsp + 0x470]
mov rcx, qword [rcx + 0x588]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov rax, qword [rsp + 0x470]
mov qword [rax + 0x670], rdx
lea rdx, str.JetRollback
mov rcx, qword [rsp + 0x470]
mov rcx, qword [rcx + 0x588]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov rax, qword [rsp + 0x470]
mov qword [rax + 0x678], rdx
mov rax, qword [rsp + 0x470]
cmp qword [rax + 0x5c0], 0
je 0x1400530b4
mov rax, qword [rsp + 0x470]
cmp qword [rax + 0x5c8], 0
je 0x1400530b4
mov rax, qword [rsp + 0x470]
cmp qword [rax + 0x5d0], 0
je 0x1400530b4
mov rax, qword [rsp + 0x470]
cmp qword [rax + 0x5d8], 0
je 0x1400530b4
mov rax, qword [rsp + 0x470]
cmp qword [rax + 0x5e0], 0
je 0x1400530b4
mov rax, qword [rsp + 0x470]
cmp qword [rax + 0x5e8], 0
je 0x1400530b4
mov rax, qword [rsp + 0x470]
cmp qword [rax + 0x5f0], 0
je 0x1400530b4
mov rax, qword [rsp + 0x470]
cmp qword [rax + 0x5f8], 0
je 0x1400530b4
mov rax, qword [rsp + 0x470]
cmp qword [rax + 0x600], 0
je 0x1400530b4
mov rax, qword [rsp + 0x470]
cmp qword [rax + 0x608], 0
je 0x1400530b4
mov rax, qword [rsp + 0x470]
cmp qword [rax + 0x610], 0
je 0x1400530b4
mov rax, qword [rsp + 0x470]
cmp qword [rax + 0x618], 0
je 0x1400530b4
mov rax, qword [rsp + 0x470]
cmp qword [rax + 0x620], 0
je 0x1400530b4
mov rax, qword [rsp + 0x470]
cmp qword [rax + 0x628], 0
je 0x1400530b4
mov rax, qword [rsp + 0x470]
cmp qword [rax + 0x630], 0
je 0x1400530b4
mov rax, qword [rsp + 0x470]
cmp qword [rax + 0x638], 0
je 0x1400530b4
mov rax, qword [rsp + 0x470]
cmp qword [rax + 0x640], 0
je 0x1400530b4
mov rax, qword [rsp + 0x470]
cmp qword [rax + 0x648], 0
je 0x1400530b4
mov rax, qword [rsp + 0x470]
cmp qword [rax + 0x650], 0
je 0x1400530b4
mov rax, qword [rsp + 0x470]
cmp qword [rax + 0x658], 0
je 0x1400530b4
mov rax, qword [rsp + 0x470]
cmp qword [rax + 0x668], 0
je 0x1400530b4
mov rax, qword [rsp + 0x470]
cmp qword [rax + 0x670], 0
je 0x1400530b4
mov rax, qword [rsp + 0x470]
cmp qword [rax + 0x678], 0
je 0x1400530b4
mov rax, qword [rsp + 0x470]
cmp qword [rax + 0x660], 0
jne 0x1400530b8
xor al, al
jmp 0x1400530ba
mov al, 1
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1400252b0
add rsp, 0x460
pop rdi
ret