Function at 0x14007b570
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x14025e2c0]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rbx, rdx
mov rdi, rcx
mov dword [rsp + 0x20], 0
call fcn.14000e160
mov rsi, rax
lea rax, [0x1401f8840]
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x48]
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 + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x30], r12
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x2c], edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea r15, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x38], r15
mov qword [rbp - 0x60], 0
mov dword [rbp - 0x58], 4
lea rdx, str.SELECT__id__FROM__accounts__WHERE__
lea rcx, [rsp + 0x30]
call fcn.14000d520
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x14007b64f
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.14000f490
lea rdx, [0x1401fe3d8]
mov rcx, rax
call fcn.14000d520
mov rdi, rax
mov r9d, dword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14007b67a
mov rbx, qword [rbx]
mov r8, rbx
lea rdx, [rbp + 0x20]
mov rcx, rsi
call fcn.14003eb40
nop
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rdx, qword [rbp + 0x20]
mov r8, qword [rbp + 0x30]
mov rcx, rdi
call fcn.14000f490
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x14007b6e4
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007b6de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007b6de
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401d177c
nop
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x40], xmm0
vmovdqu xmm1, xmmword [0x140217f50]
vmovdqu xmmword [rbp + 0x50], xmm1
mov byte [rbp + 0x40], 0
mov dword [rsp + 0x20], listen
xor eax, eax
vmovups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], rax
mov ecx, dword [rbp - 0x58]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14007b747
mov rax, qword [rsp + 0x78]
mov r8, qword [rax]
test r8, r8
je 0x14007b747
mov rax, qword [rsp + 0x58]
mov rdx, qword [rax]
mov qword [rbp + 0x20], rdx
cmp r8, qword [rbp - 0x60]
cmovb r8, qword [rbp - 0x60]
sub r8, rdx
mov qword [rbp + 0x28], r8
jmp 0x14007b780
test cl, 4
jne 0x14007b778
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
test rcx, rcx
je 0x14007b778
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax]
mov qword [rbp + 0x20], rdx
mov rax, qword [rbp - 0x78]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
mov qword [rbp + 0x28], r8
jmp 0x14007b780
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x20]
test rdx, rdx
je 0x14007b78f
lea rcx, [rbp + 0x40]
call fcn.14000da10
nop
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x20]
mov rcx, rsi
call fcn.14003e8a0
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x14007b7de
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007b7d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007b7d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401d177c
cmp qword [rbp + 0x20], 0
setne sil
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14007b822
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14007b822
mov rbx, qword [rbp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14007b822
mov rcx, qword [rbp + 0x28]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x30], r12
mov rcx, qword [rsp + 0x30]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x88]
mov dword [rsp + rdx + 0x2c], r8d
mov qword [rsp + 0x38], r15
lea rcx, [rsp + 0x38]
call fcn.140037370
lea rcx, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
movzx eax, sil
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1401d1730
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x170
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret