Function at 0x14006c950
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x14025e2c0]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
xor esi, esi
call fcn.14000e160
mov rdi, rax
mov r9d, dword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14006c995
mov rbx, qword [rbx]
mov r8, rbx
lea rdx, [rbp + 7]
mov rcx, rdi
call fcn.14003eb40
nop
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], 0xf
cmova rcx, qword [rbp + 7]
mov rax, qword [rbp + 0x17]
mov qword [rbp - 0x31], rcx
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x49], reloc.WS2_32.dll_listen
lea rax, [rbp - 0x31]
mov qword [rbp - 0x41], rax
lea rax, str.SELECT__id__FROM__guilds__WHERE__name___:s
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], 0x2d
vmovups xmm0, xmmword [rbp - 0x49]
vmovdqa xmmword [rbp - 0x49], xmm0
vmovups xmm1, xmmword [rbp - 0x19]
vmovdqa xmmword [rbp - 0x19], xmm1
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 0x27]
call qword [sym.imp.fmt.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_fmt::v11::vformat_class_fmt::v11::basic_string_view_char___class_fmt::v11::basic_format_args_class_fmt::v11::context__]
nop
lea r8, [rbp + 0x27]
lea rdx, [rbp - 0x31]
mov rcx, rdi
call fcn.14003e8a0
nop
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0xf
jbe 0x14006ca58
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006ca53
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006ca53
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401d177c
vmovdqu xmm0, xmmword [0x140217f50]
vmovdqu xmmword [rbp + 0x37], xmm0
mov byte [rbp + 0x27], 0
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x14006caa7
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006caa2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006caa2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401d177c
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x14006cb2d
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x19], xmm0
vmovdqu xmm1, xmmword [0x140217f70]
vmovdqu xmmword [rbp - 9], xmm1
mov eax, 0x6469
mov word [rbp - 0x19], ax
mov byte [rbp - 0x17], 0
lea rdx, [rbp - 0x19]
call fcn.14000f2d0
mov esi, eax
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x14006cb1c
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006cb17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006cb17
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401d177c
vmovdqu xmm0, xmmword [0x140217f50]
vmovdqu xmmword [rbp - 9], xmm0
mov byte [rbp - 0x19], 0
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x14006cb67
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14006cb67
mov rbx, qword [rbp - 0x29]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14006cb67
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov eax, esi
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1401d1730
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret