Function at 0x14008ba70
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1008]
mov eax, 0x1108
call fcn.1401546b0
sub rsp, rax
mov rax, qword [0x1402d7d18]
xor rax, rsp
mov qword [rbp + 0xff0], rax
mov rdi, r9
mov qword [rbp + 0xf38], r9
mov r15d, r8d
mov dword [rbp + 0xf30], r8d
mov qword [rsp + 0x30], rdx
mov r14, rcx
mov r13, qword [rbp + 0x1088]
mov qword [rbp + 0xf40], r13
mov rax, qword [rbp + 0x1090]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xf80], xmm0
movups xmmword [rbp + 0xf90], xmm0
mov qword [rbp + 0xfb0], rax
mov rax, qword [rcx + 0x38]
add rax, 0x10
lea rcx, vtable.SqliteStatement.0
mov qword [rbp + 0xf80], rcx
mov dword [rbp + 0xf88], 0
mov qword [rbp + 0xf90], rax
lea rdx, str.SELECT_1_FROM_FILES_WHERE_FILE_ID___id
mov qword [rbp + 0xf98], rdx
movdqu xmmword [rbp + 0xfa0], xmm0
mov byte [rbp + 0xfb0], 0
mov r8d, 6
lea rcx, [0x14028bee0]
call fcn.1400e3d60
movzx ecx, byte [rbp + 0xfb0]
mov edx, 1
test eax, eax
cmove ecx, edx
mov byte [rbp + 0xfb0], cl
lea rax, vtable.TransactionSafeStatement.0
mov qword [rbp + 0xf80], rax
xor eax, eax
mov qword [rsp + 0x50], rax
mov ebx, eax
mov r12d, eax
test r15d, r15d
je 0x14008bd39
mov r15, r13
mov rsi, rdi
lea r13, [rsp + 0x50]
sub r13, rdi
jmp 0x14008bba5
xor eax, eax
lea edx, [rax + 1]
mov dword [r15], eax
mov qword [rsi + r13], rax
mov r8, qword [rsi]
lea rcx, [rbp + 0xf80]
call fcn.14002ab40
test eax, eax
jne 0x14008bbcb
lea rcx, [rbp + 0xf80]
call fcn.14002afd0
cmp eax, 0x64
je 0x14008bd13
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xfb8], xmm0
movups xmmword [rbp + 0xfc8], xmm0
movups xmmword [rbp + 0xfd8], xmm0
mov qword [rbp + 0xfe8], rax
mov rdx, qword [r14 + 0x28]
lea rcx, [rbp + 0xfb8]
call fcn.140037540
nop
mov rdx, qword [rsi]
lea rcx, [rbp + 0xfb8]
call fcn.1400375f0
test eax, eax
jne 0x14008bd00
mov rax, qword [rbp + 0xfc0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0xfe0]
movzx ecx, word [rax + 0x10]
shl rcx, 0x30
or rcx, rdx
cmp qword [rsi], rcx
jne 0x14008bd00
mov edx, 0x20
mov ecx, 0x300
call fcn.1400e4e34
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14008bce2
mov rdx, qword [r14 + 0x28]
xor eax, eax
mov qword [rdi], rax
mov dword [rdi + 8], eax
lea r8, [rdx + 0xa8]
lea rcx, [rdi + 0x10]
call fcn.140037f30
nop
lea rcx, [rdi + 0x40]
call fcn.140037cc0
nop
lea rbx, [rdi + 0x260]
mov qword [rsp + 0x48], rbx
mov rcx, rbx
call fcn.140037c70
lea rax, vtable.ParentResolver.0
mov qword [rbx], rax
xor ecx, ecx
mov qword [rbx + 8], rcx
mov dword [rbx + 0x10], ecx
lea rax, [rbx + 0x20]
mov qword [rax + 0x40], rcx
mov dword [rax + 0x48], ecx
mov dword [rax + 0x4c], 1
movdqa xmm0, xmmword [0x1402618d0]
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
mov qword [rbx + 0x80], rax
jmp 0x14008bce4
xor edi, edi
mov qword [rsi + r13], rdi
mov ebx, r12d
mov r8, rdi
lea rdx, [rbp + 0xfb8]
mov rcx, qword [r14 + 0x28]
call fcn.1400c2c50
jmp 0x14008bd07
mov dword [r15], 2
lea rcx, [rbp + 0xfb8]
call fcn.140037bf0
inc r12d
add rsi, 8
add r15, 4
cmp r12d, dword [rbp + 0xf30]
jb 0x14008bba0
mov r15d, dword [rbp + 0xf30]
mov r13, qword [rbp + 0xf40]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xf48], xmm0
movups xmmword [rbp + 0xf58], xmm0
movups xmmword [rbp + 0xf68], xmm0
mov qword [rbp + 0xf78], rax
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 1
mov r9d, CreateErrorInfo
lea r8, str.PinningController::setPinningState
mov rdx, qword [r14 + 0x38]
lea rcx, [rbp + 0xf48]
call fcn.140085860
nop
lea rdi, [rsp + 0x50]
lea esi, [rbx + 1]
nop word [rax + rax]
mov rbx, qword [rdi]
test rbx, rbx
je 0x14008bdcd
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [r14 + 0x38]
call fcn.1400bdfb0
lea rcx, [rbx + 0x260]
call fcn.140088240
lea rcx, [rbx + 0x40]
call fcn.140037cb0
lea rcx, [rbx + 0x10]
call fcn.140037ee0
mov rcx, rbx
call fcn.1400e4e18
add rdi, 8
sub rsi, 1
jne 0x14008bd90
mov qword [rsp + 0x28], r13
mov rax, qword [rbp + 0xf38]
mov qword [rsp + 0x20], rax
movzx r9d, byte [rbp + 0x1078]
mov r8d, r15d
mov rdi, qword [rsp + 0x30]
mov rdx, rdi
mov rcx, qword [r14 + 0x38]
call fcn.1400bfcb0
mov ebx, eax
test eax, eax
jne 0x14008c041
cmp byte [rbp + 0x1080], al
jne 0x14008be27
lea rcx, [rbp + 0xf48]
call fcn.140089fc0
jmp 0x14008c041
mov rcx, qword [0x1402e0770]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [case.0x140047d56.0]
mov rcx, rax
mov r8, rdi
mov rdi, qword [rbp + 0x1070]
mov rdx, rdi
call fcn.1400b1d20
mov ebx, eax
test eax, eax
jne 0x14008c041
lea rsi, [0x1402daa50]
cmp rdi, 2
jne 0x14008bfdb
lea rcx, [r14 + 0x88]
call fcn.14002afd0
cmp eax, 0x64
je 0x14008be86
mov ebx, 0x10d9
jmp 0x14008c041
xor edi, edi
mov qword [rbp + 0xf30], rdi
mov qword [rbp + 0xf40], rdi
mov qword [rbp + 0xf38], rdi
lea r8, [rbp + 0xf40]
xor edx, edx
lea rcx, [r14 + 0x88]
call fcn.14002aec0
test eax, eax
jne 0x14008be7c
lea r8, [rbp + 0xf30]
lea edx, [rdi + 1]
lea rcx, [r14 + 0x88]
call fcn.14002aec0
test eax, eax
jne 0x14008be7c
lea r8, [rbp + 0xf38]
lea edx, [rdi + 2]
lea rcx, [r14 + 0x88]
call fcn.14002aec0
test eax, eax
jne 0x14008be7c
lea rcx, [r14 + 0x88]
call fcn.14002b130
mov rcx, qword [0x1402daa50]
cmp rcx, rsi
je 0x14008bf3e
test dword [rcx + 0x44], 0x100000
je 0x14008bf3e
cmp byte [rcx + 0x41], 4
jb 0x14008bf3e
lea edx, [rdi + 0xf]
mov rax, qword [rbp + 0xf38]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0xf30]
lea r8, [0x1402615b0]
mov rcx, qword [rcx + 0x38]
call fcn.14008cdd0
mov rcx, qword [0x1402daa50]
mov rax, qword [rbp + 0xf30]
mov rdx, qword [rbp + 0xf38]
cmp rax, rdx
jae 0x14008bf84
cmp rcx, rsi
je 0x14008bf7a
test dword [rcx + 0x44], 0x100000
je 0x14008bf7a
cmp byte [rcx + 0x41], 3
jb 0x14008bf7a
mov edx, 0x10
lea r8, [0x1402615b0]
mov rcx, qword [rcx + 0x38]
call fcn.140024250
mov ebx, 0xd
jmp 0x14008c041
sub rax, rdx
mov rdx, qword [rbp + 0xf40]
cmp rdx, rax
jbe 0x14008bfc3
cmp rcx, rsi
je 0x14008bfbc
test dword [rcx + 0x44], 0x100000
je 0x14008bfbc
cmp byte [rcx + 0x41], 3
jb 0x14008bfbc
mov edx, 0x11
lea r8, [0x1402615b0]
mov rcx, qword [rcx + 0x38]
call fcn.140024250
mov ebx, 0x70
jmp 0x14008c041
mov ebx, edi
lea rcx, [rdx + rdx*4]
add rcx, rcx
lea rax, [rax + rax*8]
mov edx, 0x13a
cmp rcx, rax
cmovae ebx, edx
mov rcx, r14
call fcn.14008a090
mov edi, eax
test eax, eax
je 0x14008c020
mov rcx, qword [0x1402daa50]
cmp rcx, rsi
je 0x14008c01c
test dword [rcx + 0x44], 0x100000
je 0x14008c01c
cmp byte [rcx + 0x41], 2
jb 0x14008c01c
mov edx, 0x12
mov r9d, eax
lea r8, [0x1402615b0]
mov rcx, qword [rcx + 0x38]
call fcn.140026620
mov ebx, edi
jmp 0x14008c041
mov rax, qword [r14 + 0x30]
mov rcx, qword [rsp + 0x38]
mov qword [rcx], rax
mov rcx, r14
call fcn.14008a790
lea rcx, [rbp + 0xf48]
call fcn.140089fc0
nop
cmp byte [rbp + 0xf50], 0
jne 0x14008c0ea
mov byte [rbp + 0xf50], 1
cmp byte [rbp + 0xf68], 0
je 0x14008c0a6
lea r9, str.ROLLBACK
mov r8d, dword [rbp + 0xf78]
mov rdx, qword [rbp + 0xf70]
lea rcx, [rbp + 0xf48]
call fcn.1400bfee0
mov rcx, qword [rbp + 0xf48]
call fcn.1400bfca0
cmp eax, 0x65
je 0x14008c0a6
mov r8d, eax
lea rdx, str.Rollback
lea rcx, [rbp + 0xf48]
call fcn.1400bfe70
lea rcx, [0x1402e0728]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rbp + 0xf48]
call fcn.14007fd90
mov edi, eax
lea rcx, [0x1402e0728]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp edi, 0x65
je 0x14008c0ea
mov r8d, edi
lea rdx, str.Begin
lea rcx, [rbp + 0xf48]
call fcn.1400bfe70
nop
lea rax, vtable.SqliteStatement.0
mov qword [rbp + 0xf80], rax
lea rcx, [rbp + 0xf80]
call fcn.14002b150
nop
mov eax, ebx
mov rcx, qword [rbp + 0xff0]
xor rcx, rsp
call fcn.140154660
add rsp, 0x1108
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret