Function at 0x140040b90
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x14025e2c0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, rdx
mov rbx, rcx
call fcn.14000e160
mov rdi, rax
mov r9d, dword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140040bce
mov rbx, qword [rbx]
mov r8, rbx
lea rdx, [rbp - 9]
mov rcx, rdi
call fcn.14003eb40
nop
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 0xf
cmova rcx, qword [rbp - 9]
mov rax, qword [rbp + 7]
mov qword [rbp - 0x41], rcx
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x59], reloc.WS2_32.dll_listen
lea rax, [rbp - 0x41]
mov qword [rbp - 0x51], rax
lea rax, str.SELECT__value__FROM__server_config__WHERE__config___:s
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], 0x39
vmovups xmm0, xmmword [rbp - 0x59]
vmovdqa xmmword [rbp - 0x59], xmm0
vmovups xmm1, xmmword [rbp - 0x29]
vmovdqa xmmword [rbp - 0x29], xmm1
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x29]
lea rcx, [rbp + 0x17]
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 + 0x17]
lea rdx, [rbp - 0x41]
mov rcx, rdi
call fcn.14003e8a0
nop
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x140040c91
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040c8c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140040c8c
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 + 0x27], xmm0
mov byte [rbp + 0x17], 0
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x140040ce0
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040cdb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140040cdb
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 - 0x41]
test rcx, rcx
jne 0x140040cee
xor sil, sil
jmp 0x140040d67
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x29], xmm0
vmovdqu xmm1, xmmword [0x140217fa0]
vmovdqu xmmword [rbp - 0x19], xmm1
mov eax, dword [str.value]
mov dword [rbp - 0x29], eax
movzx eax, byte [0x1401f9638]
mov byte [rbp - 0x25], al
mov byte [rbp - 0x24], 0
lea rdx, [rbp - 0x29]
call fcn.1400410c0
mov dword [rsi], eax
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x140040d64
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040d5f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140040d5f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401d177c
mov sil, 1
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x140040da1
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140040da1
mov rbx, qword [rbp - 0x39]
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140040da1
mov rcx, qword [rbp - 0x39]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_htonl]
movzx eax, sil
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1401d1730
mov rbx, qword [rsp + 0xf0]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret