Function at 0x1400795a0
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x14025e2c0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rbx, r8
mov r15, rdx
mov r14, rcx
xor edi, edi
call fcn.14000e160
mov rsi, rax
mov r8, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400795e6
mov r8, qword [rbx]
mov r9d, dword [rbx + 0x10]
lea rdx, [rbp - 0x51]
mov rcx, rsi
call fcn.14003eb40
nop
lea rcx, [rbp - 0x51]
cmp qword [rbp - 0x39], 0xf
cmova rcx, qword [rbp - 0x51]
mov rax, qword [rbp - 0x41]
mov qword [rbp - 0x31], rcx
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x69], reloc.WS2_32.dll_listen
lea rax, [rbp - 0x31]
mov qword [rbp - 0x61], rax
lea rax, str.SELECT__name____id____group_id____account_id__FROM__players__WHERE__name___:s
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], 0x50
vmovups xmm0, xmmword [rbp - 0x69]
vmovdqa xmmword [rbp - 0x69], xmm0
vmovups xmm1, xmmword [rbp - 0x19]
vmovdqa xmmword [rbp - 0x19], xmm1
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 7]
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 + 7]
lea rdx, [rbp - 0x31]
mov rcx, rsi
call fcn.14003e8a0
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x1400796aa
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400796a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400796a5
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 + 0x17], xmm0
mov byte [rbp + 7], 0
mov rdx, qword [rbp - 0x39]
cmp rdx, 0xf
jbe 0x1400796f9
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400796f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400796f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401d177c
mov rsi, qword [rbp - 0x31]
test rsi, rsi
je 0x1400798fe
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x51], xmm0
vmovdqu xmm1, xmmword [0x140217f90]
vmovdqu xmmword [rbp - 0x41], xmm1
mov dword [rbp - 0x51], 0x656d616e
mov byte [rbp - 0x4d], 0
lea r8, [rbp - 0x51]
lea rdx, [rbp + 7]
mov rcx, rsi
call fcn.14003ef90
mov rdx, rax
mov rcx, rbx
call fcn.14000ff80
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x140079780
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007977b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007977b
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 + 0x17], xmm0
mov byte [rbp + 7], 0
mov rdx, qword [rbp - 0x39]
cmp rdx, 0xf
jbe 0x1400797cf
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400797ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400797ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401d177c
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x51], xmm0
vmovdqu xmm1, xmmword [0x140217f70]
vmovdqu xmmword [rbp - 0x41], xmm1
mov eax, 0x6469
mov word [rbp - 0x51], ax
mov byte [rbp - 0x4f], 0
lea rdx, [rbp - 0x51]
mov rcx, rsi
call fcn.14000f2d0
mov dword [r14], eax
mov rdx, qword [rbp - 0x39]
cmp rdx, 0xf
jbe 0x14007983f
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007983a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007983a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401d177c
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x19], xmm0
vmovdqu xmm1, xmmword [0x140217fd0]
vmovdqu xmmword [rbp - 9], xmm1
movabs rax, 0x64695f70756f7267
mov qword [rbp - 0x19], rax
mov byte [rbp - 0x11], 0
lea rdx, [rbp - 0x19]
mov rcx, rsi
call fcn.14006cb90
mov rbx, qword [0x14026dbb0]
mov rcx, qword [0x14026dbb8]
cmp rbx, rcx
je 0x140079895
cmp word [rbx + 0x30], ax
je 0x140079898
add rbx, 0x38
cmp rbx, rcx
jne 0x140079886
mov rbx, rdi
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x1400798d6
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400798d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400798d1
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
test rbx, rbx
je 0x1400798f0
mov rdi, qword [rbx + 0x20]
shr rdi, 0x1e
and dil, 1
mov byte [r15], dil
mov sil, 1
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x140079938
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140079938
mov rbx, qword [rbp - 0x29]
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140079938
mov rcx, qword [rbp - 0x29]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_htonl]
movzx eax, sil
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1401d1730
mov rbx, qword [rsp + 0x108]
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret