Function at 0x140089bd0
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.140140150
sub rsp, rax
mov rax, qword [0x1402a7d08]
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, str.SELECT
call fcn.1400e0530
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 0x140089e99
mov r15, r13
mov rsi, rdi
lea r13, [rsp + 0x50]
sub r13, rdi
jmp 0x140089d05
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.14002ab90
test eax, eax
jne 0x140089d2b
lea rcx, [rbp + 0xf80]
call fcn.14002afe0
cmp eax, 0x64
je 0x140089e73
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.140037880
nop
mov rdx, qword [rsi]
lea rcx, [rbp + 0xfb8]
call fcn.140037930
test eax, eax
jne 0x140089e60
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 0x140089e60
mov edx, 0x20
mov ecx, 0x300
call fcn.1400e1620
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140089e42
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.1400382e0
nop
lea rcx, [rdi + 0x40]
call fcn.140038060
nop
lea rbx, [rdi + 0x260]
mov qword [rsp + 0x48], rbx
mov rcx, rbx
call fcn.140038010
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 [0x140230940]
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 0x140089e44
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.1400bf630
jmp 0x140089e67
mov dword [r15], 2
lea rcx, [rbp + 0xfb8]
call fcn.140037f90
inc r12d
add rsi, 8
add r15, 4
cmp r12d, dword [rbp + 0xf30]
jb 0x140089d00
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.140084010
nop
lea rdi, [rsp + 0x50]
lea esi, [rbx + 1]
nop word [rax + rax]
mov rbx, qword [rdi]
test rbx, rbx
je 0x140089f2d
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [r14 + 0x38]
call fcn.1400baae0
lea rcx, [rbx + 0x260]
call fcn.140086860
lea rcx, [rbx + 0x40]
call fcn.140038050
lea rcx, [rbx + 0x10]
call fcn.140038290
mov rcx, rbx
call fcn.1400e1604
add rdi, 8
sub rsi, 1
jne 0x140089ef0
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.1400bc6b0
mov ebx, eax
test eax, eax
jne 0x14008a1ad
cmp byte [rbp + 0x1080], al
jne 0x140089f87
lea rcx, [rbp + 0xf48]
call fcn.140088610
jmp 0x14008a1ad
mov rcx, qword [0x1402b0640]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [case.0x140047660.0]
mov rcx, rax
mov r8, rdi
mov rdi, qword [rbp + 0x1070]
mov rdx, rdi
call fcn.1400aebb0
mov ebx, eax
test eax, eax
jne 0x14008a1ad
lea rsi, [0x1402aa8a0]
cmp rdi, 2
jne 0x14008a147
lea rcx, [r14 + 0x88]
call fcn.14002afe0
cmp eax, 0x64
je 0x140089fe6
mov ebx, 0x10d9
jmp 0x14008a1ad
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.14002aed0
test eax, eax
jne 0x14008a04a
lea r8, [rbp + 0xf30]
lea edx, [rdi + 1]
lea rcx, [r14 + 0x88]
call fcn.14002aed0
test eax, eax
jne 0x14008a04a
lea r8, [rbp + 0xf38]
lea edx, [rdi + 2]
lea rcx, [r14 + 0x88]
call fcn.14002aed0
test eax, eax
je 0x14008a054
mov ebx, 0x10d9
jmp 0x14008a1ad
lea rcx, [r14 + 0x88]
call fcn.14002b140
mov rcx, qword [0x1402aa8a0]
cmp rcx, rsi
je 0x14008a0aa
test dword [rcx + 0x44], 0x100000
je 0x14008a0aa
cmp byte [rcx + 0x41], 4
jb 0x14008a0aa
mov edx, 0xf
mov rax, qword [rbp + 0xf38]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0xf30]
lea r8, [0x140230620]
mov rcx, qword [rcx + 0x38]
call fcn.14008abc0
mov rcx, qword [0x1402aa8a0]
mov rax, qword [rbp + 0xf30]
mov rdx, qword [rbp + 0xf38]
cmp rax, rdx
jae 0x14008a0f0
cmp rcx, rsi
je 0x14008a0e6
test dword [rcx + 0x44], 0x100000
je 0x14008a0e6
cmp byte [rcx + 0x41], 3
jb 0x14008a0e6
mov edx, 0x10
lea r8, [0x140230620]
mov rcx, qword [rcx + 0x38]
call fcn.140024300
mov ebx, 0xd
jmp 0x14008a1ad
sub rax, rdx
mov rdx, qword [rbp + 0xf40]
cmp rdx, rax
jbe 0x14008a12f
cmp rcx, rsi
je 0x14008a128
test dword [rcx + 0x44], 0x100000
je 0x14008a128
cmp byte [rcx + 0x41], 3
jb 0x14008a128
mov edx, 0x11
lea r8, [0x140230620]
mov rcx, qword [rcx + 0x38]
call fcn.140024300
mov ebx, 0x70
jmp 0x14008a1ad
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.1400886e0
mov edi, eax
test eax, eax
je 0x14008a18c
mov rcx, qword [0x1402aa8a0]
cmp rcx, rsi
je 0x14008a188
test dword [rcx + 0x44], 0x100000
je 0x14008a188
cmp byte [rcx + 0x41], 2
jb 0x14008a188
mov edx, 0x12
mov r9d, eax
lea r8, [0x140230620]
mov rcx, qword [rcx + 0x38]
call fcn.140026630
mov ebx, edi
jmp 0x14008a1ad
mov rax, qword [r14 + 0x30]
mov rcx, qword [rsp + 0x38]
mov qword [rcx], rax
mov rcx, r14
call fcn.140088de0
lea rcx, [rbp + 0xf48]
call fcn.140088610
nop
cmp byte [rbp + 0xf50], 0
jne 0x14008a256
mov byte [rbp + 0xf50], 1
cmp byte [rbp + 0xf68], 0
je 0x14008a212
lea r9, str.ROLLBACK
mov r8d, dword [rbp + 0xf78]
mov rdx, qword [rbp + 0xf70]
lea rcx, [rbp + 0xf48]
call fcn.1400bc8e0
mov rcx, qword [rbp + 0xf48]
call fcn.1400bc6a0
cmp eax, 0x65
je 0x14008a212
mov r8d, eax
lea rdx, str.Rollback
lea rcx, [rbp + 0xf48]
call fcn.1400bc870
lea rcx, [0x1402b05f8]
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
lea rcx, [rbp + 0xf48]
call fcn.14007e640
mov edi, eax
lea rcx, [0x1402b05f8]
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp edi, 0x65
je 0x14008a256
mov r8d, edi
lea rdx, str.Begin
lea rcx, [rbp + 0xf48]
call fcn.1400bc870
nop
lea rax, vtable.SqliteStatement.0
mov qword [rbp + 0xf80], rax
lea rcx, [rbp + 0xf80]
call fcn.14002b160
nop
mov eax, ebx
mov rcx, qword [rbp + 0xff0]
xor rcx, rsp
call fcn.140140100
add rsp, 0x1108
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret