Function at 0x140155940
Capabilities:
Reference sql statements

Disassembly:
push rbx
push rdi
sub rsp, 0x48
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rsi
mov rsi, rcx
mov qword [rsp + 0x40], r14
xor ecx, ecx
mov r14, rdx
xor edx, edx
call qword [sym.imp.CoreFoundation.dll_CFStringCreateMutable]
mov rdi, rax
lea rax, [0x14037aed8]
cmp qword [rsi], rax
jne 0x140155b6a
mov rbx, qword [0x14037a9a8]
lea rcx, str.SELECT_crowid______rowid_data_FROM__SELECT_cert.rowid_AS_crowid__cert.labl_AS_labl__cert.issr_AS_issr__cert.slnr_AS_slnr__cert.skid_AS_skid__keys._cert.data_AS____FROM_keys__cert_WHERE_keys.priv__1_AND_cert.pkhh__keys.klbl
call qword [sym.imp.CoreFoundation.dll___CFStringMakeConstantString]
mov r9, rbx
mov qword [rsp + 0x20], rbx
mov r8, rax
xor edx, edx
mov rcx, rdi
call qword [sym.imp.CoreFoundation.dll_CFStringAppendFormat]
lea rcx, str.cert.agrp
call qword [sym.imp.CoreFoundation.dll___CFStringMakeConstantString]
xor r9d, r9d
mov r8, r14
mov rdx, rax
mov rcx, rdi
call fcn.140152dd0
mov rbx, qword [rsi + 0x48]
lea rcx, str.crowid
call qword [sym.imp.CoreFoundation.dll___CFStringMakeConstantString]
mov rbp, rax
test rbx, rbx
jle 0x140155a07
xor edx, edx
mov rcx, rdi
call fcn.140149a10
lea rcx, str.___lld
call qword [sym.imp.CoreFoundation.dll___CFStringMakeConstantString]
mov r9, rbp
mov qword [rsp + 0x20], rbx
mov r8, rax
xor edx, edx
mov rcx, rdi
call qword [sym.imp.CoreFoundation.dll_CFStringAppendFormat]
lea rcx, [0x1402ba52c]
call qword [sym.imp.CoreFoundation.dll___CFStringMakeConstantString]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.CoreFoundation.dll_CFStringAppend]
mov rcx, rsi
mov byte [rsp + 0x60], 1
call fcn.140145f20
xor ebx, ebx
mov rbp, rax
test rax, rax
jle 0x140155a68
nop word [rax + rax]
mov r8, rbx
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.140151a40
lea r8, [rsp + 0x60]
mov rcx, rdi
mov rdx, qword [rax]
call fcn.140149a80
inc rbx
cmp rbx, rbp
jl 0x140155a40
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.140149a10
mov rcx, qword [rsi + 0x70]
call fcn.1401512b0
test al, al
jne 0x140155abf
mov rcx, qword [rsi + 0x70]
test rcx, rcx
je 0x140155aa6
call qword [sym.imp.CoreFoundation.dll_CFGetTypeID]
mov rbx, rax
call qword [sym.imp.CoreFoundation.dll_CFNullGetTypeID]
lea rcx, [0x1402ba990]
cmp rbx, rax
je 0x140155aad
lea rcx, str.musr___
call qword [sym.imp.CoreFoundation.dll___CFStringMakeConstantString]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.CoreFoundation.dll_CFStringAppend]
lea rcx, [0x1402ba9c4]
call qword [sym.imp.CoreFoundation.dll___CFStringMakeConstantString]
mov rbp, rax
test r14, r14
je 0x140155ba0
mov rcx, r14
call qword [sym.imp.CoreFoundation.dll_CFArrayGetCount]
mov rbx, rax
test rax, rax
je 0x140155ba0
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.140149a10
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.CoreFoundation.dll_CFStringAppend]
lea rcx, str._IN___
call qword [sym.imp.CoreFoundation.dll___CFStringMakeConstantString]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.CoreFoundation.dll_CFStringAppend]
cmp rbx, 1
jle 0x140155b4f
dec rbx
nop dword [rax + rax]
lea rcx, [0x1402ba504]
call qword [sym.imp.CoreFoundation.dll___CFStringMakeConstantString]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.CoreFoundation.dll_CFStringAppend]
sub rbx, 1
jne 0x140155b30
lea rcx, [0x1402ba51c]
call qword [sym.imp.CoreFoundation.dll___CFStringMakeConstantString]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.CoreFoundation.dll_CFStringAppend]
jmp 0x140155ba0
lea rcx, str.SELECT_rowid__data_FROM
call qword [sym.imp.CoreFoundation.dll___CFStringMakeConstantString]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.CoreFoundation.dll_CFStringAppend]
mov rdx, qword [rsi]
mov rcx, rdi
mov rdx, qword [rdx]
call qword [sym.imp.CoreFoundation.dll_CFStringAppend]
mov r8, r14
mov rdx, rsi
mov rcx, rdi
call fcn.140152e90
mov rbx, qword [rsi + 0x60]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
cmp rbx, 0xffffffffffffffff
je 0x140155bd7
lea rcx, str._LIMIT__lld
call qword [sym.imp.CoreFoundation.dll___CFStringMakeConstantString]
mov r9, rbx
xor edx, edx
mov r8, rax
mov rcx, rdi
call qword [sym.imp.CoreFoundation.dll_CFStringAppendFormat]
mov rax, rdi
add rsp, 0x48
pop rdi
pop rbx
ret