Function at 0x140013ea0
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
mov rax, qword [0x140245028]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, rcx
mov qword [rsp + 0x48], rcx
lea rdx, str.QueryCustomerIDByPhone_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
xor r14d, r14d
mov qword [rsp + 0x30], r14
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov r9d, 0x80
lea r8d, [r14 - 1]
lea rdx, str.SELECT_customer_id_FROM_customers_WHERE_phone___
mov rcx, rbp
call fcn.14017ffa0
mov rbx, qword [rsp + 0x40]
test eax, eax
jne 0x140014084
mov r8, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140013f55
mov r8, qword [rsi]
movsxd r9, dword [rsi + 0x10]
mov byte [rsp + 0x28], 1
mov qword [rsp + 0x20], r14
mov edx, 1
mov rcx, rbx
call fcn.140130230
mov edi, r14d
mov rcx, rbx
call fcn.14012ed10
cmp eax, 0x64
jne 0x140014089
lea r15, [0x1402050a8]
movabs r12, 0x8000000000000000
movabs r13, 0x7fffffffffffffff
movsd xmm7, qword [0x140222b80]
movsd xmm6, qword [0x140222a58]
nop
test rbx, rbx
je 0x140013ff1
mov rax, qword [rbx]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140013fc7
call qword [0x140249900]
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x140013fdd
cmp r14w, word [rbx + 0xc0]
jb 0x140013ff4
mov rcx, qword [rbx]
mov dword [rcx + 0x50], 0x19
mov edx, 0x19
call fcn.1400ffec0
mov rcx, r15
movzx eax, word [rcx + 0x14]
test al, 0x24
je 0x140014001
mov rdi, qword [rcx]
jmp 0x14001403d
test al, 8
je 0x140014026
movsd xmm0, qword [rcx]
comisd xmm7, xmm0
jbe 0x140014014
mov rdi, r12
jmp 0x14001403d
comisd xmm0, xmm6
jbe 0x14001401f
mov rdi, r13
jmp 0x14001403d
cvttsd2si rdi, xmm0
jmp 0x14001403d
test al, 0x12
je 0x14001403a
cmp qword [rcx + 8], r14
je 0x14001403a
call fcn.140127130
mov rdi, rax
jmp 0x14001403d
mov rdi, r14
test rbx, rbx
je 0x140014071
mov edx, dword [rbx + 0x34]
mov rcx, qword [rbx]
cmp byte [rcx + 0x67], r14b
jne 0x140014057
test edx, edx
jne 0x140014057
mov eax, r14d
jmp 0x14001405c
call fcn.1400fcac0
mov dword [rbx + 0x34], eax
mov rax, qword [rbx]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140014071
call qword [0x140249910]
mov rcx, rbx
call fcn.14012ed10
cmp eax, 0x64
je 0x140013fb0
jmp 0x140014089
mov edi, 0xffffffff
mov rcx, rbx
call fcn.14012ddb0
xor edx, edx
mov rcx, rbp
call fcn.1401bfa10
nop
mov rcx, rsi
call fcn.140001c20
mov eax, edi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401cd610
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x60]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret