Function at 0x14008ad20
Capabilities:
Reference sql statements

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x140
vmovaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14025e2c0]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r13d, edx
mov ebx, ecx
mov esi, dword [0x14026e444]
call fcn.14000e160
mov rdi, rax
mov dword [rsp + 0x60], ebx
vmovups xmm0, xmmword [rsp + 0x60]
vmovdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x40], 2
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, str.SELECT__player_id____sale____itemtype____amount____price____created__FROM__market_offers__WHERE__id___:d
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], WSASetLastError
vmovups xmm0, xmmword [rsp + 0x40]
vmovdqa xmmword [rsp + 0x40], xmm0
vmovups xmm1, xmmword [rbp - 0x80]
vmovdqa xmmword [rbp - 0x80], xmm1
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
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 - 0x60]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14003e8a0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x14008ae19
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008ae14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008ae14
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401d177c
vmovdqu xmm6, xmmword [0x140217f50]
vmovdqu xmmword [rbp - 0x50], xmm6
mov byte [rbp - 0x60], 0
mov r12, qword [rsp + 0x40]
test r12, r12
je 0x14008b222
mov dword [rsp + 0x60], ebx
vmovups xmm0, xmmword [rsp + 0x60]
vmovdqa xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x80], 2
lea rax, [rbp - 0x20]
mov qword [rbp - 0x78], rax
lea rax, str.DELETE_FROM__market_offers__WHERE__id___:d
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0x2d
vmovups xmm0, xmmword [rbp - 0x80]
vmovdqa xmmword [rbp - 0x80], xmm0
vmovups xmm1, xmmword [rsp + 0x60]
vmovdqa xmmword [rsp + 0x60], xmm1
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x40]
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 rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.14003e690
movzx ebx, al
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14008aee3
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008aede
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008aede
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401d177c
test bl, bl
je 0x14008b222
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x60], xmm0
vmovdqu xmm1, xmmword [0x140217fc0]
vmovdqu xmmword [rbp - 0x50], xmm1
mov rax, qword [str.created]
mov dword [rbp - 0x60], eax
movzx eax, word [0x1401ff504]
mov word [rbp - 0x5c], ax
movzx eax, byte [0x1401ff506]
mov byte [rbp - 0x5a], al
mov byte [rbp - 0x59], 0
lea rdx, [rbp - 0x60]
mov rcx, r12
call fcn.14000f2d0
lea r15d, [rsi + rax]
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x80], xmm0
vmovdqu xmm1, xmmword [0x140217fa0]
vmovdqu xmmword [rbp - 0x70], xmm1
mov eax, dword [str.price]
mov dword [rbp - 0x80], eax
movzx eax, byte [0x1401ff4f8]
mov byte [rbp - 0x7c], al
mov byte [rbp - 0x7b], 0
lea rdx, [rbp - 0x80]
mov rcx, r12
call fcn.14000f2d0
mov r14d, eax
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x60], xmm0
vmovdqu xmm1, xmmword [0x140217fb0]
vmovdqu xmmword [rsp + 0x70], xmm1
mov ecx, dword [str.amount]
mov dword [rsp + 0x60], ecx
movzx ecx, word [0x1401ff4d4]
mov word [rsp + 0x64], cx
mov byte [rsp + 0x66], 0
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.14006cb90
movzx esi, ax
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x40], xmm0
vmovdqu xmm1, xmmword [0x140217fd0]
vmovdqu xmmword [rbp - 0x30], xmm1
movabs rax, 0x657079746d657469
mov qword [rbp - 0x40], rax
mov byte [rbp - 0x38], 0
lea rdx, [rbp - 0x40]
mov rcx, r12
call fcn.14006cb90
movzx edi, ax
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp], xmm0
vmovdqu xmm1, xmmword [0x140217f90]
vmovdqu xmmword [rbp + 0x10], xmm1
mov dword [rbp], 0x656c6173
mov byte [rbp + 4], 0
lea rdx, [rbp]
mov rcx, r12
call fcn.14006cb90
movzx ebx, ax
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x20], xmm0
vmovdqu xmm1, xmmword [0x140217fe0]
vmovdqu xmmword [rbp - 0x10], xmm1
vmovsd xmm0, qword [str.player_id]
vmovsd qword [rbp - 0x20], xmm0
movzx eax, byte [0x1401fd810]
mov byte [rbp - 0x18], al
mov byte [rbp - 0x17], 0
lea rdx, [rbp - 0x20]
mov rcx, r12
call fcn.14000f2d0
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r14d
movzx r9d, si
movzx r8d, di
mov edx, ebx
mov ecx, eax
call fcn.14008abd0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x14008b0b6
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b0b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008b0b1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401d177c
vmovdqu xmmword [rbp - 0x10], xmm6
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x14008b0fd
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b0f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008b0f8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401d177c
vmovdqu xmmword [rbp + 0x10], xmm6
mov byte [rbp], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14008b144
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b13f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008b13f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401d177c
vmovdqu xmmword [rbp - 0x30], xmm6
mov byte [rbp - 0x40], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x14008b18d
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b188
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008b188
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401d177c
vmovdqu xmmword [rsp + 0x70], xmm6
mov byte [rsp + 0x60], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x14008b1d6
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b1d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008b1d1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401d177c
vmovdqu xmmword [rbp - 0x70], xmm6
mov byte [rbp - 0x80], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x14008b21d
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b218
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008b218
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401d177c
mov sil, 1
jmp 0x14008b225
xor sil, sil
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14008b262
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14008b262
mov rbx, qword [rsp + 0x48]
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14008b262
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_htonl]
movzx eax, sil
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1401d1730
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
vmovaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret