Function at 0x1400156f0
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x80
mov r14, rdx
mov rbx, rcx
lea rdx, str.GetBoolForValue_is_running
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000b220
lea rdx, [0x14000b3f0]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call fcn.140013e40
mov rbp, rax
mov eax, 4
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
lea r12, [0x14024fe70]
mov ecx, dword [rax + rcx]
cmp dword [0x14024fe60], ecx
jle 0x140015809
lea rcx, [0x14024fe60]
call fcn.1401cd6d8
cmp dword [0x14024fe60], 0xffffffff
jne 0x140015809
xorps xmm0, xmm0
movups xmmword [0x14024fe70], xmm0
lea rax, [0x1401f3eb8]
mov qword [rsp + 0x50], rax
lea rax, str.SELECT_model_id_FROM_models_WHERE_LOWER_model___LOWER___
mov qword [rsp + 0x58], rax
lea rax, [0x1401f3ef8]
mov qword [rsp + 0x60], rax
lea rax, str.SELECT_category_id_FROM_categories_WHERE_LOWER_category___LOWER___
mov qword [rsp + 0x68], rax
lea rax, [0x1401f40a8]
mov qword [rsp + 0x70], rax
lea rax, str.SELECT_color_id_FROM_colors_WHERE_LOWER_color___LOWER___
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
mov rcx, r12
call fcn.140019df0
lea rcx, [0x1401d33f0]
call fcn.1401cd9c4
nop
lea rcx, [0x14024fe60]
call fcn.1401cd66c
xor sil, sil
mov rdi, qword [0x14024fe70]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x50], rax
xor r15d, r15d
mov dword [rsp + 0x58], r15d
mov rdx, rdi
cmp byte [rax + 0x19], sil
jne 0x14001585a
nop dword [rax]
mov qword [rsp + 0x50], rax
cmp qword [rax + 0x20], rbx
jae 0x140015846
mov dword [rsp + 0x58], r15d
mov rax, qword [rax + 0x10]
jmp 0x140015854
mov dword [rsp + 0x58], 1
mov rdx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], sil
je 0x140015830
cmp byte [rdx + 0x19], sil
jne 0x140015866
cmp rbx, qword [rdx + 0x20]
jae 0x1400158c8
movabs rax, 0x555555555555555
cmp qword [0x14024fe78], rax
je 0x1400159c1
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r15
mov ecx, 0x30
call fcn.1401cd750
nop
mov qword [rax + 0x20], rbx
mov qword [rax + 0x28], r15
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, r12
call fcn.1400038d0
mov rdx, rax
mov qword [rsp + 0x30], r15
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9d, 0x80
mov r8d, 0xffffffff
mov rdx, qword [rdx + 0x28]
mov rcx, rbp
call fcn.14017ffa0
mov rdi, qword [rsp + 0x40]
test eax, eax
jne 0x140015953
mov byte [rsp + 0x28], 1
mov qword [rsp + 0x20], r15
mov r9, 0xffffffffffffffff
mov r8, r14
lea edx, [rax + 1]
mov rcx, rdi
call fcn.140130230
mov rcx, rdi
call fcn.14012ed10
cmp eax, 0x64
jne 0x14001592e
mov sil, 1
jmp 0x14001598f
lea rdx, str.GetBoolForValue:_No_rows_returned.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000b220
lea rdx, [0x14000b3f0]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x14001598f
lea rdx, str.Error_preparing_SQL_statement:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000b220
mov rbx, rax
mov rcx, rbp
call fcn.1401c17c0
mov rdx, rax
mov rcx, rbx
call fcn.14000b220
lea rdx, [0x14000b3f0]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor sil, sil
mov rcx, rdi
call fcn.14012ddb0
xor edx, edx
mov rcx, rbp
call fcn.1401bfa10
movzx eax, sil
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.140001330
int3
mov rdx, qword [rcx + 8]
lea rcx, [0x1401f40a8]
add rdx, 0x4d8
jmp 0x1400156f0