Function at 0x14012a180
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov rax, qword [0x1405f98c0]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov rbx, r8
mov qword [rsp + 0x48], rbx
mov r12, rdx
mov qword [rsp + 0x50], rcx
xor r15d, r15d
mov dword [rsp + 0x44], r15d
lea r13, [r8 + 0x2e8]
mov rcx, qword [r13 + 0x10]
movabs rsi, 0x7fffffffffffffff
mov rax, rsi
sub rax, rcx
cmp rax, 7
jb 0x14012a8e6
mov r9, r13
cmp qword [r13 + 0x18], 0xf
jbe 0x14012a1fb
mov r9, qword [r13]
mov qword [rsp + 0x30], 7
lea rax, str._backup
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x1c0]
call fcn.1400e5120
mov r14d, reloc.WS2_32.dll_recv
mov r8, r12
lea rdx, [rbp + 0x1c0]
call fcn.140108e00
test al, al
je 0x14012a7db
lea edi, [r14 - 0xf]
lea rbx, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea r8, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea rdx, [0x140541ff0]
lea rcx, [0x140542058]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x70], rdx
mov qword [rbp], r15
mov qword [rbp + 8], r15
mov dword [rbp + 0x10], r15d
mov qword [rbp + 0x18], r15
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x30], xmm1
mov qword [rbp - 8], r8
movdqa xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x50], 0
or r14d, 1
mov dword [rsp + 0x44], r14d
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x60]
call fcn.1400c86e0
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], rbx
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x78]
call fcn.1400c8860
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x20], r15
mov dword [rbp - 0x18], r15d
mov edx, edi
lea rcx, [rsp + 0x70]
call fcn.140115d80
lea rdx, [rbp + 0x200]
lea rcx, [rsp + 0x78]
call fcn.1400c8630
or r14d, 2
lea r8, [rbp + 0x1c0]
cmp qword [rbp + 0x1d8], 0xf
cmova r8, qword [rbp + 0x1c0]
mov r9, qword [rbp + 0x1d0]
lea rcx, [rbp + 0x200]
call fcn.1400e5410
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
mov qword [rbp + 0x1b0], r15
mov qword [rbp + 0x1b8], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1a0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1b0], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], recv
mov byte [rax], 0
or r14d, 4
mov rdx, qword [rbp + 0x218]
cmp rdx, 0xf
jbe 0x14012a3b9
inc rdx
mov rcx, qword [rbp + 0x200]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14012a3b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14012a8ec
call fcn.1403e3650
mov qword [rbp + 0x210], r15
mov qword [rbp + 0x218], recv
mov byte [rbp + 0x200], 0
mov byte [rsp + 0x40], 0
lea rcx, [rbp + 0xa0]
call fcn.1400c7ff0
nop
lea rdx, str.SELECT_COUNT___FROM_sqlite_master_WHERE_type__
lea rcx, [rbp + 0xb0]
call fcn.1400c90c0
mov rcx, rax
lea rdx, [0x140571320]
call fcn.1400c90c0
mov rcx, rax
lea rdx, str._AND_name__
call fcn.1400c90c0
lea rdx, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 0xf
cmova rdx, qword [rbp + 0x1a0]
mov r8, qword [rbp + 0x1b0]
mov rcx, rax
call fcn.1400c8cd0
mov rcx, rax
lea rdx, [0x14054368c]
call fcn.1400c90c0
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp + 0xb8]
call fcn.1400c8630
or r14d, 8
lea rdx, [rbp + 0x1e0]
cmp qword [rbp + 0x1f8], 0xf
cmova rdx, qword [rbp + 0x1e0]
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x40]
lea r8, [0x140108fe0]
mov rcx, r12
call fcn.1402e36f0
test eax, eax
jne 0x14012a88d
movzx ebx, byte [rsp + 0x40]
mov rdx, qword [rbp + 0x1f8]
cmp rdx, 0xf
jbe 0x14012a4df
inc rdx
mov rcx, qword [rbp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14012a4da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14012a8f2
call fcn.1403e3650
mov qword [rbp + 0x1f0], r15
mov qword [rbp + 0x1f8], recv
mov byte [rbp + 0x1e0], 0
lea rcx, [rbp + 0xa0]
call fcn.1400c77b0
test bl, bl
je 0x14012a623
inc edi
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 0xf
jbe 0x14012a54f
inc rdx
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14012a54a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14012a904
call fcn.1403e3650
mov qword [rbp + 0x1b0], r15
mov qword [rbp + 0x1b8], recv
mov byte [rbp + 0x1a0], 0
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x60], rbx
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x78]
call fcn.1400c7ea0
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rsp + rcx + 0x5c], edx
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x6c], edx
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rsp + rcx + 0x5c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.1403c2944
nop
jmp 0x14012a249
mov rdi, qword [rbp + 0x1b0]
lea r15, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 0xf
cmova r15, qword [rbp + 0x1a0]
mov r14, qword [rbp + 0x1d8]
cmp rdi, r14
ja 0x14012a67e
lea rbx, [rbp + 0x1c0]
cmp r14, 0xf
cmova rbx, qword [rbp + 0x1c0]
mov qword [rbp + 0x1d0], rdi
mov r8, rdi
mov rdx, r15
mov rcx, rbx
call fcn.14043cc20
mov byte [rbx + rdi], 0
jmp 0x14012a76e
cmp rdi, rsi
ja 0x14012a8f8
mov rcx, rdi
or rcx, 0xf
cmp rcx, rsi
ja 0x14012a6ce
mov rdx, r14
shr rdx, 1
mov rax, rsi
sub rax, rdx
cmp r14, rax
ja 0x14012a6ce
lea rax, [rdx + r14]
mov rsi, rcx
cmp rcx, rax
cmovb rsi, rax
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x14012a6fb
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14012a8e0
jmp 0x14012a6dc
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1403e3660
test rax, rax
je 0x14012a8fe
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14012a70c
test rcx, rcx
je 0x14012a70a
call fcn.1403e3660
mov rbx, rax
jmp 0x14012a70c
xor ebx, ebx
mov qword [rbp + 0x1d0], rdi
mov qword [rbp + 0x1d8], rsi
mov r8, rdi
mov rdx, r15
mov rcx, rbx
call fcn.14043cc20
mov byte [rbx + rdi], 0
cmp r14, 0xf
jbe 0x14012a767
lea rdx, [r14 + 1]
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14012a762
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14012a8fe
call fcn.1403e3650
mov qword [rbp + 0x1c0], rbx
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 0xf
jbe 0x14012a7af
inc rdx
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14012a7aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14012a904
call fcn.1403e3650
mov qword [rbp + 0x1b0], 0
mov qword [rbp + 0x1b8], recv
mov byte [rbp + 0x1a0], 0
lea rcx, [rsp + 0x60]
call fcn.1400c77b0
mov rbx, qword [rsp + 0x48]
mov r9, rbx
lea r8, [rbp + 0x1c0]
mov rdx, r12
mov rcx, qword [rsp + 0x50]
call fcn.140129e50
lea r8, [rbp + 0x1c0]
mov rdx, r12
mov rcx, rbx
call fcn.14012ae10
mov r8, r12
mov rdx, r13
call fcn.14010a550
mov r9, r13
lea r8, [rbp + 0x1c0]
mov rdx, r12
call fcn.140109010
nop
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 0xf
jbe 0x14012a863
inc rdx
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14012a85e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14012a90a
call fcn.1403e3650
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.1403e3630
mov rbx, qword [rsp + 0x388]
add rsp, 0x330
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, r12
call fcn.1402e5f00
mov rdi, rax
call fcn.140107b30
mov rbx, rax
mov rcx, r12
call fcn.1402e5e30
mov r8, rbx
mov edx, eax
lea rcx, [rbp + 0x60]
call fcn.1400c5100
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x50], xmm0
mov r8, rdi
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x70]
call fcn.1400c5420
lea rdx, [0x1405e65d0]
lea rcx, [rbp + 0x70]
call fcn.1403e644c
nop
call fcn.1400c4e70
nop
call fcn.1400c4f10
nop
call fcn.1403fd768
nop
call fcn.1403fd768
nop
call fcn.1400c4f10
int3
call fcn.1403fd768
nop
call fcn.1403fd768
nop
call fcn.1403fd768
int3