Function at 0x1800dbbf0
Capabilities:
Reference sql statements

Disassembly:
jmp 0x1800dbbf0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov r13, rcx
mov rbx, r8
add rcx, 0x38
call fcn.1800046dd
test eax, eax
jne 0x1800dbeb3
lea rax, [r13 + 0x48]
mov qword [r13 + 0x30], rbx
mov qword [rsp + 0x50], rax
lea r14, [rsp + 0x50]
lea rax, str.SELECT_rowid__functionSignature_FROM_ClrShadowStackEntry_WHERE_shadowStackId____ORDER_BY_entryIndex
xor esi, esi
mov qword [rsp + 0x58], rax
mov r12d, esi
lea rax, [r13 + 0x70]
mov qword [rsp + 0x60], rax
lea rax, str.SELECT_COUNT___FROM__SELECT_rowid__functionSignature_FROM_ClrShadowStackEntry_WHERE_shadowStackId____ORDER_BY_entryIndex_
mov qword [rsp + 0x68], rax
nop dword [rax + rax]
mov rbx, qword [r14]
mov rbp, qword [r14 + 8]
mov r15, qword [r13 + 0x40]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800dbc7c
call qword [0x1802495e0]
mov qword [rbx], rsi
test rbp, rbp
jne 0x1800dbc97
mov edx, 0x200
xor ecx, ecx
call fcn.180005df3
xor ecx, ecx
mov rsi, rax
mov word [rax], cx
jmp 0x1800dbcd4
mov edi, esi
mov rax, rbp
cmp si, word [rbp]
je 0x1800dbcad
inc edi
lea rax, [rax + 2]
cmp si, word [rax]
jne 0x1800dbca2
lea edx, [rdi + 0x100]
xor ecx, ecx
add rdx, rdx
call fcn.180005df3
lea r8d, [rdi + 1]
mov rdx, rbp
add r8, r8
mov rcx, rax
mov rsi, rax
call fcn.180004e58
xor ecx, ecx
test rsi, rsi
jne 0x1800dbd05
cmp dword [rbx + 0x24], esi
ja 0x1800dbcf7
mov rcx, qword [rbx + 0x18]
mov edx, 0x200
mov dword [rbx + 0x24], 0xff
call fcn.180005df3
mov qword [rbx + 0x18], rax
xor esi, esi
mov dword [rbx + 0x20], esi
mov rax, qword [rbx + 0x18]
mov word [rax], si
jmp 0x1800dbd5c
mov edi, ecx
mov rax, rsi
cmp cx, word [rsi]
je 0x1800dbd1b
nop
inc edi
lea rax, [rax + 2]
cmp cx, word [rax]
jne 0x1800dbd10
cmp edi, dword [rbx + 0x24]
jb 0x1800dbd3c
mov rcx, qword [rbx + 0x18]
lea eax, [rdi + 0xff]
lea edx, [rax + 1]
mov dword [rbx + 0x24], eax
add rdx, rdx
call fcn.180005df3
mov qword [rbx + 0x18], rax
mov dword [rbx + 0x20], edi
lea r8d, [rdi + 1]
mov rcx, qword [rbx + 0x18]
add r8, r8
mov rdx, rsi
call fcn.180004e58
mov rcx, rsi
call fcn.180003427
xor esi, esi
mov rcx, rbp
mov qword [rbx + 8], r15
call qword [0x180259130]
mov r9, rbx
mov qword [rsp + 0x20], rsi
mov rdx, rbp
mov rcx, r15
lea r8d, [rax + rax]
call qword [0x1802495f0]
mov dword [rbx + 0x10], eax
test eax, eax
je 0x1800dbe2d
cmp eax, 0x65
je 0x1800dbe2d
mov rcx, r15
call qword [0x180249668]
cmp dword [0x1802492d4], 0
mov rdi, rax
je 0x1800dbe90
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1800047e1
mov rcx, rax
lea rdx, str.DeleakerSDK::SQLiteWrappers::CStmt::Prepare
call fcn.180002621
mov rcx, rax
lea rdx, str.:_sqlite3_prepare16__
call fcn.180001faa
mov rcx, rax
mov rdx, rbp
call fcn.180001faa
mov rcx, rax
lea rdx, str.___failed__error_
call fcn.180002621
mov edx, dword [rbx + 0x10]
mov rcx, rax
call fcn.1800010a0
mov rcx, rax
lea rdx, str.__message:__
call fcn.180002621
mov rcx, rax
mov rdx, rdi
call fcn.180001faa
mov rcx, rax
lea rdx, [0x180158e9c]
call fcn.180002621
lea rcx, [rsp + 0x30]
jmp 0x1800dbe8b
cmp dword [0x1802492d4], 0
je 0x1800dbe90
cmp dword [0x1802492d8], 4
jb 0x1800dbe90
mov edx, 4
lea rcx, [rsp + 0x40]
call fcn.1800047e1
mov rcx, rax
lea rdx, str.DeleakerSDK::SQLiteWrappers::CStmt::Prepare
call fcn.180002621
mov rcx, rax
lea rdx, str.:_sqlite3_prepare16__
call fcn.180001faa
mov rcx, rax
mov rdx, rbp
call fcn.180001faa
mov rcx, rax
lea rdx, str.___returned_OK_r_n
call fcn.180002621
lea rcx, [rsp + 0x40]
call fcn.18000561e
cmp dword [rbx + 0x10], 0
jne 0x1800dbeb3
inc r12d
add r14, 0x10
cmp r12d, 2
jb 0x1800dbc60
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x28]
jmp 0x1800dbeb8
mov eax, 0x80004005
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret