Function at 0x14001888c
Capabilities:
Delete file

Disassembly:
mov byte [rsp + 0x10], dl
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x58
mov rax, qword gs:[0x58]
mov r14, rcx
mov ecx, 8
mov dil, dl
mov r8, qword [rax]
lea rax, str.TieringJetSession::OpenJetTable
mov qword [rcx + r8], rax
lea rcx, [rbp - 0x18]
call fcn.14000865c
xor r15d, r15d
mov byte [rbp + 0x58], r15b
mov byte [rbp + 0x48], r15b
cmp byte [r14], r15b
jne 0x1400195b2
mov rbx, qword [r14 + 0x28]
mov rbx, qword [rbx]
add rbx, 0x18
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
mov rcx, qword [r14 + 0x28]
cmp byte [rcx + 0x4d], r15b
je 0x140018958
mov edi, 0x800401ff
mov dword [rbp - 0x10], edi
mov rax, qword [0x140048138]
lea r13, [0x140048138]
cmp rax, r13
je 0x140018a6b
lea r12d, [r15 + 1]
test byte [rax + 0x1c], r12b
je 0x140018a6b
cmp byte [rax + 0x19], 2
jb 0x140018a6b
mov r9, qword [rcx + 0x70]
lea edx, [r15 + 0x50]
mov rcx, qword [rax + 0x10]
lea r8, [0x14003f778]
mov dword [rsp + 0x20], edi
call fcn.140003d20
jmp 0x140018a6b
test dil, dil
je 0x1400189d0
cmp byte [rcx + 0x28], r15b
jne 0x1400189d6
test rbx, rbx
je 0x140018975
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
mov rcx, qword [r14 + 0x28]
mov rcx, qword [rcx + 0x68]
lea rsi, [r14 + 8]
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rcx]
call qword [sym.imp.ESENT.dll_JetBeginSessionW]
mov r8d, eax
test eax, eax
je 0x140018b05
cmp eax, 0xfffffdef
je 0x140018a9e
cmp eax, 0xfffffbbc
je 0x140018a9e
cmp eax, 0xfffff8f0
je 0x140018a9e
cmp eax, 0xfffffc0d
jne 0x140018a82
mov edi, 0x8007000e
jmp 0x140018aaa
cmp byte [rcx + 8], r15b
je 0x140018963
test dil, dil
je 0x1400189f8
mov byte [rcx + 0x28], r15b
mov rcx, qword [r14 + 0x28]
mov rax, qword [rcx + 0x30]
mov qword [r14 + 8], rax
mov eax, dword [rcx + 0x38]
mov dword [r14 + 0x10], eax
mov rax, qword [rcx + 0x40]
jmp 0x140018a13
mov byte [rcx + 8], r15b
mov rcx, qword [r14 + 0x28]
mov rax, qword [rcx + 0x10]
mov qword [r14 + 8], rax
mov eax, dword [rcx + 0x18]
mov dword [r14 + 0x10], eax
mov rax, qword [rcx + 0x20]
mov qword [r14 + 0x18], rax
lea r13, [0x140048138]
mov rcx, qword [0x140048138]
mov r12d, 1
cmp rcx, r13
je 0x140018a59
test byte [rcx + 0x1c], r12b
je 0x140018a59
cmp byte [rcx + 0x19], 4
jb 0x140018a59
mov r9, qword [r14 + 0x28]
lea edx, [r12 + 0x50]
mov rcx, qword [rcx + 0x10]
lea r8, [0x14003f778]
mov r9, qword [r9 + 0x70]
call fcn.140003b1c
mov byte [r14 + 0x21], dil
mov edi, r15d
mov byte [r14], r12b
mov byte [r14 + 0x20], r12b
mov dword [rbp - 0x10], r15d
test rbx, rbx
je 0x1400195af
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
jmp 0x1400195af
cdq
mov ecx, 0x8e5e0000
xor eax, edx
sub eax, edx
movzx edi, ax
test r8d, r8d
mov eax, 0xe5e0000
cmovs eax, ecx
or edi, eax
jmp 0x140018aaa
mov ecx, 0x70
call fcn.14000395c
mov edi, eax
mov dword [rbp - 0x10], edi
mov rcx, qword [0x140048138]
lea r13, [0x140048138]
cmp rcx, r13
je 0x1400195af
mov r12d, 1
test byte [rcx + 0x1c], r12b
je 0x1400195af
cmp byte [rcx + 0x19], 2
jb 0x1400195af
mov r9, qword [r14 + 0x28]
lea edx, [r12 + 0x51]
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x20], r8d
lea r8, [0x14003f778]
mov r9, qword [r9 + 0x70]
call fcn.140003d20
jmp 0x1400195af
mov rbx, qword [r14 + 0x28]
mov r12d, 1
mov byte [rbp + 0x60], r12b
mov rbx, qword [rbx]
add rbx, 0x18
mov rcx, rbx
mov qword [rbp - 0x20], rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
mov rcx, qword [0x140048138]
lea r13, [0x140048138]
lea rdi, [0x14003f778]
cmp rcx, r13
je 0x140018b66
test byte [rcx + 0x1c], r12b
je 0x140018b66
cmp byte [rcx + 0x19], 5
jb 0x140018b66
mov r9, qword [r14 + 0x28]
lea edx, [r12 + 0x52]
mov rcx, qword [rcx + 0x10]
mov r8, rdi
mov r9, qword [r9 + 0x70]
call fcn.140003b1c
mov rax, qword [r14 + 0x28]
cmp dword [rax + 0x60], r12d
jne 0x140018ddc
mov dword [rbp - 0x28], r15d
jmp 0x140018b7e
lea rsi, [r14 + 8]
mov rdx, qword [r14 + 0x28]
mov r9d, 0x10
mov rcx, qword [rsi]
xor r8d, r8d
mov rdx, qword [rdx + 0x70]
call qword [sym.imp.ESENT.dll_JetAttachDatabase2W]
mov r10d, dword [rbp - 0x28]
mov esi, eax
cmp r10d, 2
jae 0x140018cb5
test eax, eax
je 0x140018cf7
cmp eax, 0xfffffdef
je 0x140018cb5
cmp eax, 0xfffffbbc
je 0x140018cb5
cmp eax, 0xfffff8f0
je 0x140018cb5
cmp eax, 0x3ef
je 0x140018cb5
cmp eax, 0xfffffc10
je 0x140018cb5
cmp eax, 0xfffffe07
je 0x140018cb5
cmp eax, 0xfffffb4e
je 0x140018cb5
mov rcx, qword [0x140048138]
cmp rcx, r13
je 0x140018c3e
test byte [rcx + 0x1c], r12b
je 0x140018c3e
cmp byte [rcx + 0x19], 2
jb 0x140018c3e
mov rax, qword [r14 + 0x28]
mov edx, 0x54
mov rcx, qword [rcx + 0x10]
mov r9d, r10d
mov dword [rsp + 0x28], esi
mov r8, rdi
mov rax, qword [rax + 0x70]
mov qword [rsp + 0x20], rax
call fcn.14001598c
mov r10d, dword [rbp - 0x28]
mov rax, qword [r14 + 0x28]
add r10d, r12d
mov edx, r10d
mov dword [rbp - 0x28], r10d
mov rcx, qword [rax]
mov byte [rcx + 0xa3], r12b
mov rcx, qword [r14 + 0x28]
call fcn.1400347cc
mov ecx, eax
mov r10, qword [0x140048138]
cmp r10, r13
je 0x140018ca7
test byte [r10 + 0x1c], r12b
je 0x140018ca7
cmp byte [r10 + 0x19], 3
jb 0x140018ca7
mov rax, qword [r14 + 0x28]
mov edx, 0x55
mov r9d, dword [rbp - 0x28]
mov r8, rdi
mov rax, qword [rax + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov rcx, qword [r10 + 0x10]
call fcn.1400158f8
mov r10, qword [0x140048138]
mov eax, dword [rbp - 0x28]
cmp eax, 2
jbe 0x140018b7a
jmp 0x140018d01
test esi, esi
je 0x140018cf7
cmp esi, 0x3ef
je 0x140018cf7
mov r10, qword [0x140048138]
cmp r10, r13
je 0x140018cfe
test byte [r10 + 0x1c], r12b
je 0x140018cfe
cmp byte [r10 + 0x19], 2
jb 0x140018cfe
mov r9, qword [r14 + 0x28]
mov edx, 0x56
mov rcx, qword [r10 + 0x10]
mov r8, rdi
mov dword [rsp + 0x20], esi
mov r9, qword [r9 + 0x70]
call fcn.140003d20
mov r10, qword [0x140048138]
mov eax, dword [rbp - 0x28]
cmp eax, 2
jne 0x140018d67
cmp r10, r13
je 0x140018d36
test byte [r10 + 0x1c], r12b
je 0x140018d36
cmp byte [r10 + 0x19], al
jb 0x140018d36
mov rax, qword [r14 + 0x28]
mov edx, 0x57
mov rcx, qword [r10 + 0x10]
mov r8, rdi
mov r9, qword [rax]
mov r9, qword [r9 + 0x258]
call fcn.140003b1c
mov rax, qword [r14 + 0x28]
mov rcx, qword [rax]
mov rdx, qword [rcx + 0x258]
lea rax, [0x14003f708]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call fcn.140033e5c
mov esi, 0xfffff8ed
mov r10, qword [0x140048138]
mov al, r15b
cmp esi, 0xfffff8ed
je 0x140018eee
cmp esi, 0xfffffb4d
je 0x140018eee
test esi, esi
je 0x140019126
cmp esi, 0xfffffdda
je 0x140019126
cmp esi, 0x3ef
je 0x140019126
cmp esi, 0xfffffdef
je 0x140019056
cmp esi, 0xfffffbbc
je 0x140019056
cmp esi, 0xfffff8f0
je 0x140019056
cmp esi, 0xfffffc0d
jne 0x14001903a
mov edi, 0x8007000e
jmp 0x140019062
mov rdx, qword [rax + 0x70]
xor r8d, r8d
cmp dword [rax + 0x60], 3
mov r9d, 0x10
mov rcx, qword [rsi]
jne 0x140018e46
call qword [sym.imp.ESENT.dll_JetAttachDatabase2W]
mov esi, eax
test eax, eax
jns 0x140018d60
mov rcx, qword [0x140048138]
cmp rcx, r13
je 0x140018e33
test byte [rcx + 0x1c], r12b
je 0x140018e33
cmp byte [rcx + 0x19], 2
jb 0x140018e33
mov r9, qword [r14 + 0x28]
mov edx, 0x58
mov rcx, qword [rcx + 0x10]
mov r8, rdi
mov r9, qword [r9 + 0x70]
call fcn.140003b1c
mov rcx, qword [r14 + 0x28]
mov rcx, qword [rcx + 0x70]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
jmp 0x140018d5b
call qword [sym.imp.ESENT.dll_JetAttachDatabase2W]
mov esi, eax
cmp eax, 0xfffffdda
jne 0x140018fe5
mov rcx, qword [0x140048138]
cmp rcx, r13
je 0x140018e8a
test byte [rcx + 0x1c], r12b
je 0x140018e8a
cmp byte [rcx + 0x19], 4
jb 0x140018e8a
mov r9, qword [r14 + 0x28]
mov edx, 0x59
mov rcx, qword [rcx + 0x10]
mov r8, rdi
mov r9, qword [r9 + 0x70]
call fcn.140003b1c
mov rdx, qword [r14 + 0x28]
lea r9, [r14 + 0x10]
mov rcx, qword [r14 + 8]
xor r8d, r8d
mov dword [rsp + 0x20], r15d
mov rdx, qword [rdx + 0x70]
call qword [sym.imp.ESENT.dll_JetOpenDatabaseW]
mov esi, eax
cmp eax, 0xfffffb4d
jne 0x140018f9b
mov r10, qword [0x140048138]
cmp r10, r13
je 0x140018f19
test byte [r10 + 0x1c], r12b
je 0x140018eee
cmp byte [r10 + 0x19], 4
jb 0x140018eee
mov r9, qword [r14 + 0x28]
mov edx, 0x5a
mov rcx, qword [r10 + 0x10]
mov r8, rdi
mov r9, qword [r9 + 0x70]
call fcn.140003b1c
mov r10, qword [0x140048138]
cmp r10, r13
je 0x140018f19
test byte [r10 + 0x1c], r12b
je 0x140018f19
cmp byte [r10 + 0x19], 5
jb 0x140018f19
mov r9, qword [r14 + 0x28]
mov edx, 0x5d
mov rcx, qword [r10 + 0x10]
mov r8, rdi
mov r9, qword [r9 + 0x70]
call fcn.140003b1c
mov rdx, qword [r14 + 0x28]
lea r9, [r14 + 0x10]
mov rcx, qword [r14 + 8]
xor r8d, r8d
mov eax, dword [rdx + 0x60]
mov rdx, qword [rdx + 0x70]
sub eax, r12d
test eax, 0xfffffffd
je 0x14001918c
mov dword [rsp + 0x20], 0x200
call qword [sym.imp.ESENT.dll_JetCreateDatabase2W]
mov esi, eax
test eax, eax
jne 0x1400191a4
mov r9, qword [r14 + 0x28]
cmp dword [r9 + 0x60], 2
jne 0x1400190ef
test byte [0x140048c80], 2
je 0x1400190b6
mov r9, qword [r9]
lea rdx, [0x14003e9a0]
movzx r8d, word [r9 + 0x2b8]
mov r9, qword [r9 + 0x2c0]
shr r8w, 1
call fcn.140009834
mov r9d, eax
jmp 0x1400190b9
test eax, eax
jne 0x140018d60
mov r10, qword [0x140048138]
cmp r10, r13
je 0x140018fda
test byte [r10 + 0x1c], r12b
je 0x140018fda
cmp byte [r10 + 0x19], 4
jb 0x140018fda
mov r9, qword [r14 + 0x28]
lea edx, [rax + 0x5b]
mov rcx, qword [r10 + 0x10]
mov r8, rdi
mov r9, qword [r9 + 0x70]
call fcn.140003b1c
mov r10, qword [0x140048138]
mov al, r12b
mov byte [rbp + 0x48], al
jmp 0x140018d6a
cmp eax, 0xfffffb4a
jne 0x140018d60
mov rcx, qword [0x140048138]
cmp rcx, r13
je 0x140019027
test byte [rcx + 0x1c], r12b
je 0x140019027
cmp byte [rcx + 0x19], 2
jb 0x140019027
mov rax, qword [r14 + 0x28]
mov edx, 0x5c
mov rcx, qword [rcx + 0x10]
mov r8, rdi
mov r9, qword [rax]
mov r9, qword [r9 + 0x270]
call fcn.140003b1c
mov rax, qword [r14 + 0x28]
mov rcx, qword [rax]
mov rdx, qword [rcx + 0x270]
jmp 0x140018d44
mov eax, esi
cdq
xor eax, edx
sub eax, edx
movzx edi, ax
mov eax, esi
and eax, 0x8e5e0000
or edi, eax
mov eax, 0xe5e0000
or edi, eax
jmp 0x140019062
mov ecx, 0x70
call fcn.14000395c
mov edi, eax
mov dword [rbp - 0x10], edi
cmp r10, r13
je 0x14001909f
test byte [r10 + 0x1c], r12b
je 0x14001909f
cmp byte [r10 + 0x19], 2
jb 0x14001909f
mov edx, 0x61
mov r9, qword [r14 + 0x28]
lea r8, [0x14003f778]
mov rcx, qword [r10 + 0x10]
mov dword [rsp + 0x20], esi
mov r9, qword [r9 + 0x70]
call fcn.140003d20
mov r10, qword [0x140048138]
test rbx, rbx
je 0x140019521
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
jmp 0x14001951a
mov r9d, r15d
mov rcx, qword [0x140048138]
cmp rcx, r13
je 0x140019120
test byte [rcx + 0x1c], r12b
je 0x1400190f6
cmp byte [rcx + 0x19], 4
jb 0x1400190f6
mov rax, qword [r14 + 0x28]
mov edx, 0x5e
mov rcx, qword [rcx + 0x10]
mov r8, rdi
mov rax, qword [rax + 0x70]
mov qword [rsp + 0x20], rax
call fcn.140003a20
mov rcx, qword [0x140048138]
cmp rcx, r13
je 0x140019120
test byte [rcx + 0x1c], r12b
je 0x140019120
cmp byte [rcx + 0x19], 4
jb 0x140019120
mov r9, qword [r14 + 0x28]
mov edx, 0x60
mov rcx, qword [rcx + 0x10]
mov r8, rdi
mov r9, qword [r9 + 0x70]
call fcn.140003b1c
mov al, r12b
mov byte [rbp + 0x48], al
test al, al
jne 0x1400192e3
mov rdx, qword [r14 + 0x28]
lea r9, [r14 + 0x10]
mov rcx, qword [r14 + 8]
xor r8d, r8d
mov dword [rsp + 0x20], r15d
mov rdx, qword [rdx + 0x70]
call qword [sym.imp.ESENT.dll_JetOpenDatabaseW]
mov esi, eax
test eax, eax
je 0x1400192ae
cmp eax, 0xfffffdef
je 0x140019240
cmp eax, 0xfffffbbc
je 0x140019240
cmp eax, 0xfffff8f0
je 0x140019240
cmp eax, 0xfffffc0d
jne 0x140019225
mov edi, 0x8007000e
jmp 0x14001924c
mov dword [rsp + 0x20], 0x208
call qword [sym.imp.ESENT.dll_JetCreateDatabase2W]
mov esi, eax
test eax, eax
je 0x1400190ef
cmp esi, 0xfffffdef
je 0x1400191e7
cmp esi, 0xfffffbbc
je 0x1400191e7
cmp esi, 0xfffff8f0
je 0x1400191e7
cmp esi, 0xfffffc0d
jne 0x1400191cb
mov edi, 0x8007000e
jmp 0x1400191f3
mov eax, esi
cdq
xor eax, edx
sub eax, edx
movzx edi, ax
mov eax, esi
and eax, 0x8e5e0000
or edi, eax
mov eax, 0xe5e0000
or edi, eax
jmp 0x1400191f3
mov ecx, 0x70
call fcn.14000395c
mov edi, eax
mov dword [rbp - 0x10], edi
mov r10, qword [0x140048138]
cmp r10, r13
je 0x14001909f
test byte [r10 + 0x1c], r12b
je 0x14001909f
cmp byte [r10 + 0x19], 2
jb 0x14001909f
mov edx, 0x5f
jmp 0x14001907c
cdq
mov ecx, 0x8e5e0000
xor eax, edx
sub eax, edx
movzx edi, ax
test esi, esi
mov eax, 0xe5e0000
cmovs eax, ecx
or edi, eax
jmp 0x14001924c
mov ecx, 0x70
call fcn.14000395c
mov edi, eax
mov dword [rbp - 0x10], edi
mov r10, qword [0x140048138]
cmp r10, r13
je 0x140019290
test byte [r10 + 0x1c], r12b
je 0x140019290
cmp byte [r10 + 0x19], 2
jb 0x140019290
mov r9, qword [r14 + 0x28]
lea r8, [0x14003f778]
mov rcx, qword [r10 + 0x10]
mov edx, 0x62
mov dword [rsp + 0x20], esi
mov r9, qword [r9 + 0x70]
call fcn.140003d20
mov r10, qword [0x140048138]
test rbx, rbx
je 0x140019574
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
mov r10, qword [0x140048138]
jmp 0x140019574
mov rcx, qword [0x140048138]
cmp rcx, r13
je 0x1400192df
test byte [rcx + 0x1c], r12b
je 0x1400192df
cmp byte [rcx + 0x19], 4
jb 0x1400192df
mov r9, qword [r14 + 0x28]
mov edx, 0x63
mov rcx, qword [rcx + 0x10]
mov r8, rdi
mov r9, qword [r9 + 0x70]
call fcn.140003b1c
mov byte [rbp + 0x48], r12b
mov bl, byte [rbp + 0x50]
lea rdi, [r14 + 0x18]
mov rax, qword [r14 + 8]
lea rdx, [rbp + 0x58]
mov r9d, dword [r14 + 0x10]
mov r8b, bl
mov qword [rsp + 0x28], rdi
mov rcx, r14
mov qword [rsp + 0x20], rax
call fcn.1400195d0
mov r8, qword [r14 + 0x28]
cmp byte [r8 + 0x94], r15b
jne 0x1400192ea
mov rbx, qword [rbp - 0x20]
test esi, esi
je 0x1400193ca
cmp esi, 0xfffffdef
je 0x140019367
cmp esi, 0xfffffbbc
je 0x140019367
cmp esi, 0xfffff8f0
je 0x140019367
cmp esi, 0xfffffc0d
jne 0x14001934b
mov edi, 0x8007000e
jmp 0x140019373
mov eax, esi
cdq
xor eax, edx
sub eax, edx
movzx edi, ax
mov eax, esi
and eax, 0x8e5e0000
or edi, eax
mov eax, 0xe5e0000
or edi, eax
jmp 0x140019373
mov ecx, 0x70
call fcn.14000395c
mov edi, eax
mov dword [rbp - 0x10], edi
mov r10, qword [0x140048138]
cmp r10, r13
je 0x1400193b3
test byte [r10 + 0x1c], r12b
je 0x1400193b3
cmp byte [r10 + 0x19], 2
jb 0x1400193b3
mov r9, qword [r8 + 0x70]
mov edx, 0x64
mov rcx, qword [r10 + 0x10]
lea r8, [0x14003f778]
mov dword [rsp + 0x20], esi
call fcn.140003d20
mov r10, qword [0x140048138]
test rbx, rbx
je 0x1400194d7
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
jmp 0x1400194d0
test rbx, rbx
je 0x1400193dc
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
mov r8, qword [r14 + 0x28]
mov eax, dword [r8 + 0x60]
mov rdx, qword [rdi]
sub eax, 2
mov rcx, qword [r14 + 8]
cmp eax, r12d
jbe 0x14001940a
mov bl, byte [rbp + 0x50]
test bl, bl
je 0x140019401
xor r8d, r8d
call qword [sym.imp.ESENT.dll_JetSetCurrentIndexW]
jmp 0x14001941a
lea r8, str.ByFileIdOffset
jmp 0x1400193f9
lea r8, str.ByFileId
call qword [sym.imp.ESENT.dll_JetSetCurrentIndexW]
mov bl, byte [rbp + 0x50]
mov r8d, eax
test eax, eax
je 0x1400194b2
cmp eax, 0xfffffdef
je 0x140019466
cmp eax, 0xfffffbbc
je 0x140019466
cmp eax, 0xfffff8f0
je 0x140019466
cmp eax, 0xfffffc0d
jne 0x140019448
mov edi, 0x8007000e
jmp 0x140019472
mov eax, r8d
cdq
xor eax, edx
sub eax, edx
movzx edi, ax
mov eax, r8d
and eax, 0x8e5e0000
or edi, eax
mov eax, 0xe5e0000
or edi, eax
jmp 0x140019472
mov ecx, 0x70
call fcn.14000395c
mov edi, eax
mov dword [rbp - 0x10], edi
mov r10, qword [0x140048138]
cmp r10, r13
je 0x1400194d7
test byte [r10 + 0x1c], r12b
je 0x1400194d7
cmp byte [r10 + 0x19], 2
jb 0x1400194d7
mov r9, qword [r14 + 0x28]
mov edx, 0x65
mov rcx, qword [r10 + 0x10]
mov dword [rsp + 0x20], r8d
lea r8, [0x14003f778]
mov r9, qword [r9 + 0x70]
call fcn.140003d20
jmp 0x1400194d0
mov edi, r15d
mov dword [rbp - 0x10], r15d
mov byte [r14], r12b
mov byte [r14 + 0x20], r15b
mov byte [r14 + 0x21], bl
mov byte [rbp + 0x60], r15b
mov byte [rbp + 0x48], r15b
mov byte [rbp + 0x58], r15b
mov r10, qword [0x140048138]
cmp byte [rbp + 0x58], r15b
je 0x140019521
cmp r10, r13
je 0x14001950c
test byte [r10 + 0x1c], r12b
je 0x14001950c
cmp byte [r10 + 0x19], 4
jb 0x14001950c
mov r9, qword [r14 + 0x28]
lea r8, [0x14003f778]
mov rcx, qword [r10 + 0x10]
mov edx, 0x66
mov r9, qword [r9 + 0x70]
call fcn.140003b1c
mov rdx, qword [r14 + 0x18]
mov rcx, qword [r14 + 8]
call qword [sym.imp.ESENT.dll_JetCloseTable]
mov r10, qword [0x140048138]
cmp byte [rbp + 0x48], r15b
je 0x14001956e
cmp r10, r13
je 0x140019556
test byte [r10 + 0x1c], r12b
je 0x140019556
cmp byte [r10 + 0x19], 4
jb 0x140019556
mov r9, qword [r14 + 0x28]
lea r8, [0x14003f778]
mov rcx, qword [r10 + 0x10]
mov edx, 0x67
mov r9, qword [r9 + 0x70]
call fcn.140003b1c
mov edx, dword [r14 + 0x10]
xor r8d, r8d
mov rcx, qword [r14 + 8]
call qword [sym.imp.ESENT.dll_JetCloseDatabase]
mov r10, qword [0x140048138]
cmp byte [rbp + 0x60], r15b
je 0x1400195af
cmp r10, r13
je 0x1400195a3
test byte [r10 + 0x1c], r12b
je 0x1400195a3
cmp byte [r10 + 0x19], 4
jb 0x1400195a3
mov r9, qword [r14 + 0x28]
lea r8, [0x14003f778]
mov rcx, qword [r10 + 0x10]
mov edx, 0x68
mov r9, qword [r9 + 0x70]
call fcn.140003b1c
mov rcx, qword [r14 + 8]
xor edx, edx
call qword [sym.imp.ESENT.dll_JetEndSession]
mov r15d, edi
lea rcx, [rbp - 0x18]
call fcn.1400084bc
mov eax, r15d
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret