Function at 0x140011740
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x140209000]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov esi, ecx
xor r12d, r12d
mov dword [rsp + 0x40], r12d
mov rbx, qword [0x140213d58]
mov rax, qword [rbx + 8]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], r12d
mov rcx, rbx
lea r13d, [r12 + 1]
cmp byte [rax + 0x19], r12b
jne 0x1400117cb
mov qword [rsp + 0x50], rax
cmp dword [rax + 0x1c], esi
jae 0x1400117ba
mov dword [rsp + 0x58], r12d
mov rax, qword [rax + 0x10]
jmp 0x1400117c5
mov dword [rsp + 0x58], r13d
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r12b
je 0x1400117a5
cmp byte [rcx + 0x19], r12b
jne 0x1400117d6
cmp esi, dword [rcx + 0x1c]
jae 0x14001183e
movabs rax, 0x666666666666666
cmp qword [0x140213d60], rax
je 0x140011e34
lea rdi, [0x140213d58]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], r12
mov ecx, 0x28
call fcn.1401981c0
nop
mov dword [rax + 0x1c], esi
mov byte [rax + 0x20], 0
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov word [rax + 0x18], 0
movups xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x40], xmm0
mov r8, rax
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140006830
mov rcx, rax
mov byte [rcx + 0x20], 1
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1401cd010]
mov qword [rbp - 0x70], rax
lea rax, [0x1401ccf50]
mov qword [rbp - 0x60], rax
lea rcx, [rbp + 0x28]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x40], r13d
xor r8d, r8d
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x70], rax
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp - 0x58], rax
mov qword [rbp + 0x10], r12
mov dword [rbp + 0x18], r12d
lea rdx, str.SELECT_fileData__fileSize_FROM_thumbnails_WHERE_archiveId
lea rcx, [rbp - 0x60]
call fcn.14001af10
mov edx, esi
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int____ptr64]
mov rcx, rax
lea rdx, [0x1401cb280]
call fcn.14001af10
mov qword [rsp + 0x40], r12
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x58]
call fcn.14001a9c0
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
mov qword [rsp + 0x30], r12
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9d, 0x80
mov r8d, 0xffffffff
mov rcx, qword [0x140214e20]
call fcn.140124010
nop
lea rcx, [rsp + 0x50]
call fcn.140005310
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call fcn.1400d19c0
movabs r14, 0x3ffffffffffffff
lea r15, [0x140213d38]
cmp eax, 0x64
jne 0x140011cff
test rdi, rdi
jne 0x140011989
lea rbx, [0x1401c5b90]
jmp 0x1400119cc
mov rax, qword [rdi]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x14001199b
call qword [0x1402093f0]
mov rcx, qword [rdi + 0xa0]
lea rbx, [0x1401c5b90]
test rcx, rcx
je 0x1400119b8
cmp r12w, word [rdi + 0xc0]
jb 0x1400119cf
mov rcx, qword [rdi]
mov dword [rcx + 0x50], 0x19
mov edx, 0x19
call fcn.1400a1b50
mov rcx, rbx
call fcn.1400d0cc0
mov r15, rax
test rdi, rdi
je 0x140011a52
mov edx, dword [rdi + 0x34]
mov rcx, qword [rdi]
cmp byte [rcx + 0x67], 0
jne 0x1400119f1
test edx, edx
jne 0x1400119f1
mov eax, r12d
jmp 0x1400119f6
call fcn.14009e680
mov dword [rdi + 0x34], eax
mov rax, qword [rdi]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140011a0b
call qword [0x140209400]
test rdi, rdi
je 0x140011a52
mov rax, qword [rdi]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140011a22
call qword [0x1402093f0]
mov rax, qword [rdi + 0xa0]
test rax, rax
je 0x140011a3e
cmp r13w, word [rdi + 0xc0]
jae 0x140011a3e
lea rbx, [rax + 0x38]
jmp 0x140011a52
mov rcx, qword [rdi]
mov dword [rcx + 0x50], 0x19
mov edx, 0x19
call fcn.1400a1b50
movzx eax, word [rbx + 0x14]
movabs rcx, 0x7fffffffffffffff
test al, 0x24
je 0x140011a69
mov rbx, qword [rbx]
jmp 0x140011abc
test al, 8
je 0x140011aa1
movsd xmm1, qword [rbx]
movsd xmm0, qword [0x1401e8f80]
comisd xmm0, xmm1
jbe 0x140011a8b
movabs rbx, 0x8000000000000000
jmp 0x140011abc
comisd xmm1, xmmword [0x1401e8eb8]
jbe 0x140011a9a
mov rbx, rcx
jmp 0x140011abc
cvttsd2si rbx, xmm1
jmp 0x140011abc
test al, 0x12
je 0x140011ab9
cmp qword [rbx + 8], 0
je 0x140011ab9
mov rcx, rbx
call fcn.1400c9790
mov rbx, rax
jmp 0x140011abc
mov rbx, r12
test rdi, rdi
je 0x140011af0
mov edx, dword [rdi + 0x34]
mov rcx, qword [rdi]
cmp byte [rcx + 0x67], 0
jne 0x140011ad6
test edx, edx
jne 0x140011ad6
mov eax, r12d
jmp 0x140011adb
call fcn.14009e680
mov dword [rdi + 0x34], eax
mov rax, qword [rdi]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140011af0
call qword [0x140209400]
mov r14d, ebx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r12
test ebx, ebx
je 0x140011b74
movabs rax, 0x7fffffffffffffff
cmp r14, rax
ja 0x140011e3a
cmp r14, 0x1000
jb 0x140011b4c
lea rcx, [r14 + 0x27]
cmp rcx, r14
jbe 0x140011e40
call fcn.1401981c0
mov rcx, rax
test rax, rax
je 0x140011ce2
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140011b54
mov rcx, r14
call fcn.1401981c0
mov qword [rsp + 0x70], rax
lea rbx, [rax + r14]
mov qword [rbp - 0x80], rbx
mov r8, r14
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x78], rbx
mov r14, qword [0x140213d38]
mov rax, qword [r14 + 8]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], r12d
mov rbx, r14
cmp byte [rax + 0x19], 0
jne 0x140011bb8
mov qword [rsp + 0x50], rax
cmp dword [rax + 0x20], esi
jae 0x140011ba7
mov dword [rsp + 0x58], r12d
mov rax, qword [rax + 0x10]
jmp 0x140011bb2
mov dword [rsp + 0x58], r13d
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140011b92
cmp byte [rbx + 0x19], 0
jne 0x140011bcc
cmp esi, dword [rbx + 0x20]
jb 0x140011bcc
lea r15, [0x140213d38]
jmp 0x140011c3c
movabs rax, 0x3ffffffffffffff
cmp qword [0x140213d40], rax
je 0x140011e46
lea r15, [0x140213d38]
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r12
mov ecx, 0x40
call fcn.1401981c0
nop
mov dword [rax + 0x20], esi
mov qword [rax + 0x28], r12
mov qword [rax + 0x30], r12
mov qword [rax + 0x38], r12
mov qword [rax], r14
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
mov word [rax + 0x18], 0
movups xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x40], xmm0
mov r8, rax
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.140006830
mov rbx, rax
add rbx, 0x28
lea rax, [rsp + 0x70]
cmp rbx, rax
je 0x140011cb0
mov rcx, qword [rbx]
test rcx, rcx
je 0x140011c8a
mov rdx, qword [rbx + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140011c7a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140011ce9
mov rcx, r8
call fcn.140198514
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov qword [rbx + 0x10], r12
mov rax, qword [rsp + 0x70]
mov qword [rbx], rax
mov rax, qword [rsp + 0x78]
mov qword [rbx + 8], rax
mov rax, qword [rbp - 0x80]
mov qword [rbx + 0x10], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r12
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140011cf5
mov rdx, qword [rbp - 0x80]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011cf0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011cf0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140198514
movabs r14, 0x3ffffffffffffff
mov rcx, rdi
call fcn.1400d0a40
mov rdi, qword [0x140213d38]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], r12d
mov rbx, rdi
cmp byte [rax + 0x19], 0
jne 0x140011d4b
mov qword [rsp + 0x50], rax
cmp dword [rax + 0x20], esi
jae 0x140011d3a
mov dword [rsp + 0x58], r12d
mov rax, qword [rax + 0x10]
jmp 0x140011d45
mov dword [rsp + 0x58], r13d
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140011d25
cmp byte [rbx + 0x19], 0
jne 0x140011d56
cmp esi, dword [rbx + 0x20]
jae 0x140011db5
cmp qword [0x140213d40], r14
je 0x140011e2e
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r12
mov ecx, 0x40
call fcn.1401981c0
nop
mov dword [rax + 0x20], esi
mov qword [rax + 0x28], r12
mov qword [rax + 0x30], r12
mov qword [rax + 0x38], r12
mov qword [rax], rdi
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
mov word [rax + 0x18], 0
movups xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x40], xmm0
mov r8, rax
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.140006830
mov rbx, rax
mov rcx, qword [rbp - 0x70]
movsxd rdx, dword [rcx + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rdx - 0x70], rax
mov rcx, qword [rbp - 0x70]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x98]
mov dword [rbp + rdx - 0x74], r8d
lea rcx, [rbp - 0x58]
call fcn.14001a6e0
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x28]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rax, [rbx + 0x28]
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.1401981a0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400026f0
nop
call fcn.1400026f0
nop
call fcn.140006a90
int3
call fcn.140002570
nop
call fcn.1400026f0
int3