Function at 0x1400893b0
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x14025e2c0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov edi, r8d
mov esi, edx
mov r14, rcx
mov qword [rbp - 0x19], rcx
mov dword [rbp - 0x59], 1
xor r12d, r12d
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov ecx, 0x20
call fcn.1401d19cc
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [r14], rax
mov dword [rbp - 0x59], 1
call fcn.14000e160
mov rbx, rax
mov dword [rbp - 0x11], edi
mov dword [rbp - 1], esi
vmovups ymm0, ymmword [rbp - 0x11]
vmovups ymmword [rbp - 0x11], ymm0
mov qword [rbp - 0x39], setsockopt
lea rax, [rbp - 0x11]
mov qword [rbp - 0x31], rax
lea rax, str.SELECT__itemtype____amount____price____expires_at____state__FROM__market_history__WHERE__player_id___:d_AND__sale___:d
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], 0x7c
vmovups xmm0, xmmword [rbp - 0x39]
vmovdqa xmmword [rbp - 0x29], xmm0
vmovups xmm1, xmmword [rbp - 0x49]
vmovdqa xmmword [rbp - 0x39], xmm1
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0xf]
vzeroupper
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__]
mov r13d, 3
mov dword [rbp - 0x59], r13d
lea r8, [rbp + 0xf]
lea rdx, [rbp - 0x49]
mov rcx, rbx
call fcn.14003e8a0
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x1400894d7
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400894d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400894d2
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 + 0x1f], xmm0
mov byte [rbp + 0xf], 0
mov rdi, qword [rbp - 0x49]
test rdi, rdi
jne 0x14008955c
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x14008952c
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14008952c
mov rbx, qword [rbp - 0x41]
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14008952c
mov rcx, qword [rbp - 0x41]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_htonl]
nop
mov rax, r14
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1401d1730
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
movabs rsi, 0x657079746d657469
movabs r15, 0x7ffffffffffffff
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], 8
mov qword [rbp + 7], setsockopt
mov qword [rbp - 0x11], rsi
mov byte [rbp - 9], 0
lea rdx, [rbp - 0x11]
mov rcx, rdi
call fcn.14006cb90
mov word [rbp - 0x31], ax
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x1400895dc
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400895d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008987c
call fcn.1401d177c
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], 6
mov qword [rbp + 7], setsockopt
mov eax, dword [str.amount]
mov dword [rbp - 0x11], eax
movzx eax, word [0x1401ff4d4]
mov word [rbp - 0xd], ax
mov byte [rbp - 0xb], 0
lea rdx, [rbp - 0x11]
mov rcx, rdi
call fcn.14006cb90
mov word [rbp - 0x2f], ax
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x140089658
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140089653
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140089883
call fcn.1401d177c
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], 5
mov qword [rbp + 7], setsockopt
mov eax, dword [str.price]
mov dword [rbp - 0x11], eax
movzx eax, byte [0x1401ff4f8]
mov byte [rbp - 0xd], al
mov byte [rbp - 0xc], 0
lea rdx, [rbp - 0x11]
mov rcx, rdi
call fcn.14000f2d0
mov dword [rbp - 0x35], eax
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x1400896d2
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400896cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008988a
call fcn.1401d177c
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], 0xa
mov qword [rbp + 7], setsockopt
vmovsd xmm0, qword [str.expires_at]
vmovsd qword [rbp - 0x11], xmm0
movzx eax, word [0x1401f4f48]
mov word [rbp - 9], ax
mov byte [rbp - 7], 0
lea rdx, [rbp - 0x11]
mov rcx, rdi
call fcn.14000f2d0
mov dword [rbp - 0x39], eax
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x140089751
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008974c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140089891
call fcn.1401d177c
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], 5
mov qword [rbp + 7], setsockopt
mov eax, dword [str.state]
mov dword [rbp - 0x11], eax
movzx eax, byte [0x1401ff594]
mov byte [rbp - 0xd], al
mov byte [rbp - 0xc], 0
lea rdx, [rbp - 0x11]
mov rcx, rdi
call fcn.14006cb90
movzx ebx, ax
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x1400897cb
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400897c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140089898
call fcn.1401d177c
cmp ebx, 0xff
cmove ebx, r13d
mov dword [rbp - 0x2d], ebx
mov rbx, qword [r14]
cmp qword [r14 + 8], r15
je 0x14008989f
mov qword [rbp - 0x29], r14
mov qword [rbp - 0x21], r12
mov ecx, 0x20
call fcn.1401d19cc
vmovups xmm0, xmmword [rbp - 0x39]
vmovups xmmword [rax + 0x10], xmm0
inc qword [r14 + 8]
mov rcx, qword [rbx + 8]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov qword [rbp - 0x21], r12
mov qword [rbx + 8], rax
mov qword [rcx], rax
mov rcx, qword [rdi]
call qword [sym.imp.libmariadb.dll_mysql_fetch_row]
mov qword [rdi + 8], rax
test rax, rax
jne 0x140089570
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x14008952c
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14008952c
mov rbx, qword [rbp - 0x41]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14008952c
mov rcx, qword [rbp - 0x41]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x14008952c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rcx, str.list_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3