Function at 0x1400802b0
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.1401b1970
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x1402b8d08]
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 r14, 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, [0x14025c780]
call fcn.1401bfb60
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 0x140080539
mov rsi, rdi
mov rdi, rbx
lea r12, [rsp + 0x60]
sub r12, rbx
jmp 0x1400803e2
xor eax, eax
mov dword [rsi], eax
mov qword [r12 + rdi], rax
mov r8, qword [rdi]
lea rcx, [rbp + 0xf90]
call fcn.1400297f0
test eax, eax
jne 0x140080407
lea rcx, [rbp + 0xf90]
call fcn.140029c40
cmp eax, 0x64
je 0x140080515
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 [r14 + 0x28]
lea rcx, [rbp + 0xfc8]
call fcn.140036210
nop
mov rdx, qword [rdi]
lea rcx, [rbp + 0xfc8]
call fcn.1400362c0
test eax, eax
jne 0x140080503
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 0x140080503
mov edx, 0x20
mov ecx, 0x300
call fcn.1401c0070
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400804e5
mov rdx, qword [r14 + 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.140036ab0
nop
lea rcx, [rbx + 0x40]
call fcn.140036830
nop
lea rcx, [rbx + 0x260]
call fcn.14007e1c0
nop
jmp 0x1400804e7
xor ebx, ebx
mov qword [r12 + rdi], rbx
mov r13d, r15d
mov r8, rbx
lea rdx, [rbp + 0xfc8]
mov rcx, qword [r14 + 0x28]
call fcn.1400b0210
jmp 0x140080509
mov dword [rsi], 2
lea rcx, [rbp + 0xfc8]
call fcn.140036760
inc r15d
add rdi, 8
add rsi, 4
cmp r15d, dword [rbp + 0xf40]
mov edx, 1
jb 0x1400803e0
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 [r14 + 0x38]
lea rcx, [rbp + 0xf58]
call fcn.140074410
nop
lea rdi, [rsp + 0x60]
lea esi, [r13 + 1]
nop dword [rax]
mov rbx, qword [rdi]
test rbx, rbx
je 0x1400805dd
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [r14 + 0x38]
call fcn.1400acb70
lea rcx, [rbx + 0x260]
call fcn.14007ce90
lea rcx, [rbx + 0x40]
call fcn.140036820
lea rcx, [rbx + 0x10]
call fcn.140036a60
mov rcx, rbx
call fcn.1401c0038
add rdi, 8
sub rsi, 1
jne 0x1400805a0
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 rsi, qword [rsp + 0x30]
mov rdx, rsi
mov rcx, qword [r14 + 0x38]
call fcn.1400ade50
mov ebx, eax
mov edi, 0x65
lea r13, [0x1402bf838]
test eax, eax
jne 0x1400807d5
cmp byte [rbp + 0x1090], al
jne 0x140080786
mov byte [rbp + 0xf60], 1
mov esi, edi
cmp byte [rbp + 0xf78], al
je 0x14008067d
lea r9, str.COMMIT
mov r8d, dword [rbp + 0xf88]
mov rdx, qword [rbp + 0xf80]
lea rcx, [rbp + 0xf58]
call fcn.1400ae080
mov rcx, qword [rbp + 0xf58]
call fcn.1400ad8f0
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 [0x1402bf830], r14
mov rdx, qword [0x1402bf820]
test rdx, rdx
je 0x1400806c8
mov qword [0x1402bf830], rdx
mov rax, qword [rdx + 0x10]
mov qword [0x1402bf820], rax
test rax, rax
jne 0x1400806fb
mov qword [0x1402bf828], r14
jmp 0x1400806fb
mov rdx, qword [0x1402bf810]
test rdx, rdx
je 0x140080733
mov qword [0x1402bf830], rdx
mov rax, qword [rdx + 0x10]
mov qword [0x1402bf810], rax
mov rcx, qword [0x1402bf818]
test rax, rax
cmove rcx, r14
mov qword [0x1402bf818], rcx
mov byte [0x1402bf808], 1
cmp byte [rdx + 0x20], r14b
je 0x14008071d
mov rcx, qword [rbp + 0xf58]
call fcn.1400adfd0
mov ebx, eax
mov rdx, qword [0x1402bf830]
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 [0x1402bf7f8]
jmp 0x14008073c
mov byte [0x1402bf808], 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 0x140080765
mov r8d, esi
lea rdx, str.Commit
lea rcx, [rbp + 0xf58]
call fcn.1400ae020
cmp ebx, 0x65
je 0x140080781
mov r8d, ebx
lea rdx, str.Begin
lea rcx, [rbp + 0xf58]
call fcn.1400ae020
nop
mov ebx, r14d
jmp 0x1400807d5
mov rcx, qword [0x1402bf880]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, rax
mov r8, rsi
mov rsi, qword [rbp + 0x1080]
mov rdx, rsi
call fcn.1400a2c40
mov ebx, eax
test eax, eax
jne 0x1400807d5
lea r12, [0x1402b9860]
cmp rsi, 2
jne 0x140080945
lea rcx, [r14 + 0x88]
call fcn.140029c40
cmp eax, 0x64
je 0x1400807dd
mov ebx, 0x10d9
xor r15d, r15d
jmp 0x1400809ae
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, [r14 + 0x88]
call fcn.140029b30
test eax, eax
jne 0x140080842
lea r8, [rbp + 0xf40]
lea edx, [rax + 1]
lea rcx, [r14 + 0x88]
call fcn.140029b30
test eax, eax
jne 0x140080842
lea r8, [rbp + 0xf48]
lea edx, [rax + 2]
lea rcx, [r14 + 0x88]
call fcn.140029b30
test eax, eax
je 0x14008084c
mov ebx, 0x10d9
jmp 0x1400809ae
lea rcx, [r14 + 0x88]
call fcn.140029cd0
mov rcx, qword [0x1402b9860]
cmp rcx, r12
je 0x1400808a2
test dword [rcx + 0x44], 0x100000
je 0x1400808a2
cmp byte [rcx + 0x41], 4
jb 0x1400808a2
mov edx, 0xf
mov rax, qword [rbp + 0xf48]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0xf40]
lea r8, [0x14022b670]
mov rcx, qword [rcx + 0x38]
call fcn.1400814f0
mov rcx, qword [0x1402b9860]
mov rax, qword [rbp + 0xf40]
mov rdx, qword [rbp + 0xf48]
cmp rax, rdx
jae 0x1400808e8
cmp rcx, r12
je 0x1400808de
test dword [rcx + 0x44], 0x100000
je 0x1400808de
cmp byte [rcx + 0x41], 3
jb 0x1400808de
mov edx, 0x10
lea r8, [0x14022b670]
mov rcx, qword [rcx + 0x38]
call fcn.140022ad0
mov ebx, 0xd
jmp 0x1400809ae
sub rax, rdx
mov rdx, qword [rbp + 0xf50]
cmp rdx, rax
jbe 0x14008092a
cmp rcx, r12
je 0x140080920
test dword [rcx + 0x44], 0x100000
je 0x140080920
cmp byte [rcx + 0x41], 3
jb 0x140080920
mov edx, 0x11
lea r8, [0x14022b670]
mov rcx, qword [rcx + 0x38]
call fcn.140022ad0
mov ebx, 0x70
jmp 0x1400809ae
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 0x140080948
xor r15d, r15d
mov rcx, r14
call fcn.14007f0b0
mov esi, eax
test eax, eax
je 0x14008098d
mov rcx, qword [0x1402b9860]
cmp rcx, r12
je 0x140080989
test dword [rcx + 0x44], 0x100000
je 0x140080989
cmp byte [rcx + 0x41], 2
jb 0x140080989
mov edx, 0x12
mov r9d, eax
lea r8, [0x14022b670]
mov rcx, qword [rcx + 0x38]
call fcn.140024fa0
mov ebx, esi
jmp 0x1400809ae
mov rax, qword [r14 + 0x30]
mov rcx, qword [rsp + 0x38]
mov qword [rcx], rax
mov rcx, r14
call fcn.14007f580
lea rcx, [rbp + 0xf58]
call fcn.140074670
nop
cmp byte [rbp + 0xf60], 0
jne 0x140080ae6
mov byte [rbp + 0xf60], 1
cmp byte [rbp + 0xf78], 0
je 0x140080a13
lea r9, str.ROLLBACK
mov r8d, dword [rbp + 0xf88]
mov rdx, qword [rbp + 0xf80]
lea rcx, [rbp + 0xf58]
call fcn.1400ae080
mov rcx, qword [rbp + 0xf58]
call fcn.1400ade40
cmp eax, 0x65
je 0x140080a13
mov r8d, eax
lea rdx, str.Rollback
lea rcx, [rbp + 0xf58]
call fcn.1400ae020
mov rcx, r13
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov qword [0x1402bf830], r15
mov rdx, qword [0x1402bf820]
test rdx, rdx
je 0x140080a4f
mov qword [0x1402bf830], rdx
mov rax, qword [rdx + 0x10]
mov qword [0x1402bf820], rax
test rax, rax
jne 0x140080a82
mov qword [0x1402bf828], r15
jmp 0x140080a82
mov rdx, qword [0x1402bf810]
test rdx, rdx
je 0x140080aba
mov qword [0x1402bf830], rdx
mov rax, qword [rdx + 0x10]
mov qword [0x1402bf810], rax
mov rcx, qword [0x1402bf818]
test rax, rax
cmove rcx, r15
mov qword [0x1402bf818], rcx
mov byte [0x1402bf808], 1
cmp byte [rdx + 0x20], 0
je 0x140080aa4
mov rcx, qword [rbp + 0xf58]
call fcn.1400adfd0
mov edi, eax
mov rdx, qword [0x1402bf830]
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 [0x1402bf7f8]
jmp 0x140080ac1
mov byte [0x1402bf808], 0
mov rcx, r13
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
cmp edi, 0x65
je 0x140080ae6
mov r8d, edi
lea rdx, str.Begin
lea rcx, [rbp + 0xf58]
call fcn.1400ae020
nop
lea rax, vtable.SqliteStatement.0
mov qword [rbp + 0xf90], rax
lea rcx, [rbp + 0xf90]
call fcn.140029cf0
nop
mov eax, ebx
mov rcx, qword [rbp + 0x1000]
xor rcx, rsp
call fcn.1401b1920
add rsp, 0x1118
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret