Function at 0x1400262c0
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x590
call fcn.140189b00
sub rsp, rax
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x5e0], rbx
mov rax, qword [0x1401f3660]
xor rax, rsp
mov qword [rsp + 0x580], rax
mov rsi, rdx
mov r12, rcx
mov byte [rsp + 0x180], 0
xor edx, edx
mov r8d, 0x3ff
lea rcx, [rsp + 0x181]
call fcn.140041940
lea r8, str.SELECT_HS__HI__STID_FROM_TBL_DAA_WHERE_HS__:HS_
mov edx, 0x400
lea rcx, [rsp + 0x180]
call fcn.1400418a0
cmp qword [rsi + 0x20], 0x10
jb 0x140026348
lea rdi, [rsi + 8]
mov rax, qword [rdi]
jmp 0x14002634f
lea rdi, [rsi + 8]
mov rax, rdi
mov qword [rsp + 0x28], rax
lea r14, str.QueryDuplicateSampleTableBySHA1
mov qword [rsp + 0x20], r14
lea r9, str._s_______s
mov r8d, 0x22e
lea rdx, str..cntmss_dbDda.cpp
mov ecx, 0x44
call fcn.1400382e0
xor bl, bl
xor ebp, ebp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x30]
mov r8d, 0x400
lea rdx, [rsp + 0x180]
mov rcx, r12
call fcn.140036934
test eax, eax
je 0x1400263d7
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
lea r9, str._s___sqlite3_prepare_v2___d
mov r8d, 0x236
lea rdx, str..cntmss_dbDda.cpp
lea ecx, [rbp + 0x44]
call fcn.1400382e0
xor al, al
jmp 0x1400266c2
cmp qword [rsi + 0x20], 0x10
jb 0x1400263e1
mov rdi, qword [rdi]
lea rdx, [0x14018dd70]
mov rcx, qword [rsp + 0x30]
call fcn.140036940
mov edx, eax
mov qword [rsp + 0x20], 0xffffffffffffffff
or r9d, 0xffffffff
mov r8, rdi
mov rcx, qword [rsp + 0x30]
call fcn.140036946
mov rcx, qword [rsp + 0x30]
call fcn.14003692e
cmp eax, 0x64
je 0x14002645c
cmp eax, 0x65
je 0x14002665f
test eax, eax
je 0x14002665f
xor bl, bl
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
lea r9, str._s___sqlite3_step_____d
mov r8d, 0x240
lea rdx, str..cntmss_dbDda.cpp
mov ecx, 0x45
call fcn.1400382e0
jmp 0x14002665f
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x58], rbp
mov byte [rsp + 0x48], bpl
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.140036952
mov rsi, rax
test rax, rax
je 0x14002658a
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasb al, byte [rdi]
not rcx
lea rdi, [rcx - 1]
lea rdx, [rsp + 0x48]
mov r8, qword [rsp + 0x48]
mov r10, qword [rsp + 0x60]
cmp r10, 0x10
cmovae rdx, r8
mov rcx, qword [rsp + 0x58]
cmp rsi, rdx
jb 0x1400264f9
lea rax, [rsp + 0x48]
cmp r10, 0x10
cmovae rax, r8
add rax, rcx
cmp rax, rsi
jbe 0x1400264f9
lea rax, [rsp + 0x48]
cmp r10, 0x10
cmovae rax, r8
sub rsi, rax
mov r9, rdi
mov r8, rsi
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.1400023d0
jmp 0x14002658a
cmp rdi, 0xfffffffffffffffe
jbe 0x140026513
call fcn.14003b3f0
mov r10, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x48]
cmp r10, rdi
jae 0x140026534
mov r8, rcx
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.1400026b0
mov r10, qword [rsp + 0x60]
mov r8, qword [rsp + 0x48]
jmp 0x140026550
test rdi, rdi
jne 0x140026550
mov qword [rsp + 0x58], rbp
lea rax, [rsp + 0x48]
cmp r10, 0x10
cmovae rax, r8
mov byte [rax], dil
jmp 0x14002658a
test rdi, rdi
je 0x14002658a
lea rcx, [rsp + 0x48]
cmp r10, 0x10
cmovae rcx, r8
mov r9, rdi
mov r8, rsi
mov rdx, r10
call fcn.140041310
mov qword [rsp + 0x58], rdi
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rax, qword [rsp + 0x48]
mov byte [rax + rdi], 0
mov r15d, 1
mov edx, r15d
mov rcx, qword [rsp + 0x30]
call fcn.140036952
mov rdi, rax
test rax, rax
je 0x140026647
mov byte [rsp + 0x70], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x71]
call fcn.140041940
mov r9, rdi
lea r8, str._CRYPTEX__s
mov edx, 0x104
lea rcx, [rsp + 0x70]
call fcn.1400418a0
lea rcx, [rsp + 0x70]
call fcn.14003af20
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x70]
repne scasb al, byte [rdi]
not rcx
lea r12, [rcx - 1]
lea rcx, [rsp + 0x48]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x60]
cmp rdi, 0x10
cmovae rcx, rsi
mov r8, r12
mov r13, qword [rsp + 0x58]
cmp r13, r12
cmovb r8, r13
lea rdx, [rsp + 0x70]
call fcn.140041240
movsxd rcx, eax
test eax, eax
jne 0x14002663c
cmp r13, r12
jb 0x140026651
cmp r13, r12
setne bpl
mov ecx, ebp
movzx ebx, bl
test ecx, ecx
cmove ebx, r15d
jmp 0x140026651
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x48]
cmp rdi, 0x10
jb 0x14002665f
mov rcx, rsi
call fcn.140041700
mov rcx, qword [rsp + 0x30]
call fcn.140036928
test eax, eax
je 0x140026696
xor bl, bl
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
lea r9, str._s___sqlite3_finalize_____d
mov r8d, 0x25f
lea rdx, str..cntmss_dbDda.cpp
mov ecx, 0x45
call fcn.1400382e0
movzx ecx, bl
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], r14
lea r9, str._s_______d
mov r8d, 0x262
lea rdx, str..cntmss_dbDda.cpp
mov ecx, 0x44
call fcn.1400382e0
mov al, bl
mov rcx, qword [rsp + 0x580]
xor rcx, rsp
call fcn.140041910
mov rbx, qword [rsp + 0x5e0]
add rsp, 0x590
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret