Function at 0x140079280
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1018]
mov eax, 0x1118
call fcn.140189cb0
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x14028cab8]
xor rax, rsp
mov qword [rbp + 0x1000], rax
mov rbx, r9
mov qword [rbp + 0xf48], rbx
mov r12d, r8d
mov dword [rbp + 0xf40], r8d
mov qword [rsp + 0x30], rdx
mov rsi, rcx
mov rdi, qword [rbp + 0x1098]
mov qword [rbp + 0xf50], rdi
mov rax, qword [rbp + 0x10a0]
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rbp + 0xf98], rax
mov qword [rbp + 0xfc0], rax
mov rcx, qword [rcx + 0x38]
lea rax, vtable.SqliteStatement.0
mov qword [rbp + 0xf90], rax
xor edx, edx
mov dword [rbp + 0xf98], edx
lea rax, [rcx + 0x10]
test rcx, rcx
cmove rax, rdx
mov qword [rbp + 0xfa0], rax
lea rdx, str.SELECT_1_FROM_FILES_WHERE_FILE_ID___id
mov qword [rbp + 0xfa8], rdx
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xfb0], xmm0
mov byte [rbp + 0xfc0], 0
mov r8d, 6
lea rcx, str.SELECT
call fcn.140197e90
movzx ecx, byte [rbp + 0xfc0]
mov edx, 1
test eax, eax
cmove ecx, edx
mov byte [rbp + 0xfc0], cl
lea rax, vtable.TransactionSafeStatement.0
mov qword [rbp + 0xf90], rax
xor eax, eax
mov qword [rsp + 0x60], rax
mov r13d, eax
mov r15d, eax
test r12d, r12d
je 0x14007950b
mov r14, rdi
mov rdi, rbx
lea r12, [rsp + 0x60]
sub r12, rbx
jmp 0x1400793b2
xor eax, eax
mov dword [r14], eax
mov qword [r12 + rdi], rax
mov r8, qword [rdi]
lea rcx, [rbp + 0xf90]
call fcn.140023760
test eax, eax
jne 0x1400793d8
lea rcx, [rbp + 0xf90]
call fcn.140023bb0
cmp eax, 0x64
je 0x1400794e7
xor eax, eax
mov qword [rbp + 0xfc8], rax
mov qword [rbp + 0xfd0], rax
mov qword [rbp + 0xfd8], rax
mov qword [rbp + 0xfe0], rax
mov qword [rbp + 0xfe8], rax
mov qword [rbp + 0xff0], rax
mov qword [rbp + 0xff8], rax
mov rdx, qword [rsi + 0x28]
lea rcx, [rbp + 0xfc8]
call fcn.140030230
nop
mov rdx, qword [rdi]
lea rcx, [rbp + 0xfc8]
call fcn.1400302e0
test eax, eax
jne 0x1400794d4
mov rax, qword [rbp + 0xfd0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0xff0]
movzx ecx, word [rax + 0x10]
shl rcx, 0x30
or rcx, rdx
cmp qword [rdi], rcx
jne 0x1400794d4
mov edx, 0x20
mov ecx, 0x300
call fcn.1401983a0
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400794b6
mov rdx, qword [rsi + 0x28]
xor eax, eax
mov qword [rbx], rax
mov dword [rbx + 8], eax
lea r8, [rdx + 0xa8]
test rdx, rdx
cmove r8, rax
lea rcx, [rbx + 0x10]
call fcn.140030ad0
nop
lea rcx, [rbx + 0x40]
call fcn.140030850
nop
lea rcx, [rbx + 0x260]
call fcn.1400771a0
nop
jmp 0x1400794b8
xor ebx, ebx
mov qword [r12 + rdi], rbx
mov r13d, r15d
mov r8, rbx
lea rdx, [rbp + 0xfc8]
mov rcx, qword [rsi + 0x28]
call fcn.1400a8ce0
jmp 0x1400794db
mov dword [r14], 2
lea rcx, [rbp + 0xfc8]
call fcn.140030780
inc r15d
add rdi, 8
add r14, 4
cmp r15d, dword [rbp + 0xf40]
mov edx, 1
jb 0x1400793b0
mov r12d, dword [rbp + 0xf40]
xor eax, eax
mov qword [rbp + 0xf58], rax
mov qword [rbp + 0xf60], rax
mov qword [rbp + 0xf68], rax
mov qword [rbp + 0xf70], rax
mov qword [rbp + 0xf78], rax
mov qword [rbp + 0xf80], rax
mov qword [rbp + 0xf88], rax
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 1
mov r9d, SetErrorInfo
lea r8, str.PinningController::setPinningState
mov rdx, qword [rsi + 0x38]
lea rcx, [rbp + 0xf58]
call fcn.14006d3f0
nop
lea rdi, [rsp + 0x60]
lea r14d, [r13 + 1]
nop
mov rbx, qword [rdi]
test rbx, rbx
je 0x1400795aa
mov rdx, rbx
mov rcx, qword [rsi + 0x38]
call fcn.1400a5a00
lea rcx, [rbx + 0x260]
call fcn.140075e40
lea rcx, [rbx + 0x40]
call fcn.140030840
lea rcx, [rbx + 0x10]
call fcn.140030a80
mov rcx, rbx
call fcn.140198368
add rdi, 8
sub r14, 1
jne 0x140079570
mov rax, qword [rbp + 0xf50]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0xf48]
mov qword [rsp + 0x20], rax
movzx r9d, byte [rbp + 0x1088]
mov r8d, r12d
mov r14, qword [rsp + 0x30]
mov rdx, r14
mov rcx, qword [rsi + 0x38]
call fcn.1400a6cc0
mov ebx, eax
mov edi, 0x65
lea r13, [0x140293938]
test eax, eax
jne 0x1400797a2
cmp byte [rbp + 0x1090], al
jne 0x140079753
mov byte [rbp + 0xf60], 1
mov esi, edi
cmp byte [rbp + 0xf78], al
je 0x14007964a
lea r9, str.COMMIT
mov r8d, dword [rbp + 0xf88]
mov rdx, qword [rbp + 0xf80]
lea rcx, [rbp + 0xf58]
call fcn.1400a6eb0
mov rcx, qword [rbp + 0xf58]
call fcn.1400a6760
mov esi, eax
mov qword [rsp + 0x40], r13
mov rcx, r13
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov byte [rsp + 0x48], 1
mov ebx, edi
xor r14d, r14d
mov qword [0x140293930], r14
mov rdx, qword [0x140293920]
test rdx, rdx
je 0x140079695
mov qword [0x140293930], rdx
mov rax, qword [rdx + 0x10]
mov qword [0x140293920], rax
test rax, rax
jne 0x1400796c8
mov qword [0x140293928], r14
jmp 0x1400796c8
mov rdx, qword [0x140293910]
test rdx, rdx
je 0x140079700
mov qword [0x140293930], rdx
mov rax, qword [rdx + 0x10]
mov qword [0x140293910], rax
mov rcx, qword [0x140293918]
test rax, rax
cmove rcx, r14
mov qword [0x140293918], rcx
mov byte [0x140293908], 1
cmp byte [rdx + 0x20], r14b
je 0x1400796ea
mov rcx, qword [rbp + 0xf58]
call fcn.1400a6e40
mov ebx, eax
mov rdx, qword [0x140293930]
mov rax, qword [rdx + 0x18]
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
inc qword [0x1402938f8]
jmp 0x140079709
mov byte [0x140293908], r14b
mov ebx, edi
mov byte [rsp + 0x48], r14b
mov rcx, r13
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
cmp esi, 0x65
je 0x140079732
mov r8d, esi
lea rdx, str.Commit
lea rcx, [rbp + 0xf58]
call fcn.1400a6e50
cmp ebx, 0x65
je 0x14007974e
mov r8d, ebx
lea rdx, str.Begin
lea rcx, [rbp + 0xf58]
call fcn.1400a6e50
nop
mov ebx, r14d
jmp 0x1400797a2
mov rcx, qword [0x140293988]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, rax
mov r8, r14
mov r14, qword [rbp + 0x1080]
mov rdx, r14
call fcn.14009bc70
mov ebx, eax
test eax, eax
jne 0x1400797a2
lea r12, [0x14028d9b0]
cmp r14, 2
jne 0x140079912
lea rcx, [rsi + 0x88]
call fcn.140023bb0
cmp eax, 0x64
je 0x1400797aa
mov ebx, 0x10d9
xor r15d, r15d
jmp 0x14007997d
xor r15d, r15d
mov qword [rbp + 0xf40], r15
mov qword [rbp + 0xf50], r15
mov qword [rbp + 0xf48], r15
lea r8, [rbp + 0xf50]
xor edx, edx
lea rcx, [rsi + 0x88]
call fcn.140023aa0
test eax, eax
jne 0x14007980f
lea r8, [rbp + 0xf40]
lea edx, [rax + 1]
lea rcx, [rsi + 0x88]
call fcn.140023aa0
test eax, eax
jne 0x14007980f
lea r8, [rbp + 0xf48]
lea edx, [rax + 2]
lea rcx, [rsi + 0x88]
call fcn.140023aa0
test eax, eax
je 0x140079819
mov ebx, 0x10d9
jmp 0x14007997d
lea rcx, [rsi + 0x88]
call fcn.140023c40
mov rcx, qword [0x14028d9b0]
cmp rcx, r12
je 0x14007986f
test dword [rcx + 0x44], 0x100000
je 0x14007986f
cmp byte [rcx + 0x41], 4
jb 0x14007986f
mov edx, 0xf
mov rax, qword [rbp + 0xf48]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0xf40]
lea r8, [0x140203590]
mov rcx, qword [rcx + 0x38]
call fcn.14007a4c0
mov rcx, qword [0x14028d9b0]
mov rax, qword [rbp + 0xf40]
mov rdx, qword [rbp + 0xf48]
cmp rax, rdx
jae 0x1400798b5
cmp rcx, r12
je 0x1400798ab
test dword [rcx + 0x44], 0x100000
je 0x1400798ab
cmp byte [rcx + 0x41], 3
jb 0x1400798ab
mov edx, 0x10
lea r8, [0x140203590]
mov rcx, qword [rcx + 0x38]
call fcn.14001d350
mov ebx, 0xd
jmp 0x14007997d
sub rax, rdx
mov rdx, qword [rbp + 0xf50]
cmp rdx, rax
jbe 0x1400798f7
cmp rcx, r12
je 0x1400798ed
test dword [rcx + 0x44], 0x100000
je 0x1400798ed
cmp byte [rcx + 0x41], 3
jb 0x1400798ed
mov edx, 0x11
lea r8, [0x140203590]
mov rcx, qword [rcx + 0x38]
call fcn.14001d350
mov ebx, 0x70
jmp 0x14007997d
mov ebx, r15d
lea rcx, [rdx + rdx*4]
add rcx, rcx
lea rax, [rax + rax*8]
mov edx, 0x13a
cmp rcx, rax
cmovae ebx, edx
jmp 0x140079915
xor r15d, r15d
mov rcx, rsi
call fcn.140078080
mov r14d, eax
test eax, eax
je 0x14007995c
mov rcx, qword [0x14028d9b0]
cmp rcx, r12
je 0x140079957
test dword [rcx + 0x44], 0x100000
je 0x140079957
cmp byte [rcx + 0x41], 2
jb 0x140079957
mov edx, 0x12
mov r9d, eax
lea r8, [0x140203590]
mov rcx, qword [rcx + 0x38]
call fcn.14001ef30
mov ebx, r14d
jmp 0x14007997d
mov rax, qword [rsi + 0x30]
mov rcx, qword [rsp + 0x38]
mov qword [rcx], rax
mov rcx, rsi
call fcn.140078550
lea rcx, [rbp + 0xf58]
call fcn.14006d650
nop
cmp byte [rbp + 0xf60], 0
jne 0x140079ab5
mov byte [rbp + 0xf60], 1
cmp byte [rbp + 0xf78], 0
je 0x1400799e2
lea r9, str.ROLLBACK
mov r8d, dword [rbp + 0xf88]
mov rdx, qword [rbp + 0xf80]
lea rcx, [rbp + 0xf58]
call fcn.1400a6eb0
mov rcx, qword [rbp + 0xf58]
call fcn.1400a6cb0
cmp eax, 0x65
je 0x1400799e2
mov r8d, eax
lea rdx, str.Rollback
lea rcx, [rbp + 0xf58]
call fcn.1400a6e50
mov rcx, r13
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov qword [0x140293930], r15
mov rdx, qword [0x140293920]
test rdx, rdx
je 0x140079a1e
mov qword [0x140293930], rdx
mov rax, qword [rdx + 0x10]
mov qword [0x140293920], rax
test rax, rax
jne 0x140079a51
mov qword [0x140293928], r15
jmp 0x140079a51
mov rdx, qword [0x140293910]
test rdx, rdx
je 0x140079a89
mov qword [0x140293930], rdx
mov rax, qword [rdx + 0x10]
mov qword [0x140293910], rax
mov rcx, qword [0x140293918]
test rax, rax
cmove rcx, r15
mov qword [0x140293918], rcx
mov byte [0x140293908], 1
cmp byte [rdx + 0x20], 0
je 0x140079a73
mov rcx, qword [rbp + 0xf58]
call fcn.1400a6e40
mov edi, eax
mov rdx, qword [0x140293930]
mov rax, qword [rdx + 0x18]
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
inc qword [0x1402938f8]
jmp 0x140079a90
mov byte [0x140293908], 0
mov rcx, r13
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
cmp edi, 0x65
je 0x140079ab5
mov r8d, edi
lea rdx, str.Begin
lea rcx, [rbp + 0xf58]
call fcn.1400a6e50
nop
lea rax, vtable.SqliteStatement.0
mov qword [rbp + 0xf90], rax
lea rcx, [rbp + 0xf90]
call fcn.140023c60
nop
mov eax, ebx
mov rcx, qword [rbp + 0x1000]
xor rcx, rsp
call fcn.140189c60
add rsp, 0x1118
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret