Function at 0x14008a4d0
Capabilities:
Reference sql statements

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
vmovaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x14025e2c0]
xor rax, rsp
mov qword [rbp + 0x27], rax
movzx esi, r8w
mov edi, edx
mov r14, rcx
mov qword [rbp - 0x49], rcx
mov dword [rbp - 0x59], 1
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rcx + 0x20], xmm0
mov qword [rcx + 0x30], 0
mov qword [rcx + 0x38], setsockopt
mov byte [rcx + 0x20], 0
mov dword [rbp - 0x59], 1
sub edi, dword [0x14026e444]
call fcn.14000e160
mov rbx, rax
mov dword [rbp - 0x39], edi
mov dword [rbp - 0x29], esi
vmovups ymm0, ymmword [rbp - 0x39]
vmovups ymmword [rbp + 7], ymm0
mov qword [rbp - 0x69], 0x21
lea rax, [rbp + 7]
mov qword [rbp - 0x61], rax
lea rax, str.SELECT__id____sale____itemtype____amount____created____price____player_id____anonymous____SELECT__name__FROM__players__WHERE__id____player_id___AS__player_name__FROM__market_offers__WHERE__created___:d_AND___id___65535___:d_LIMIT_1
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], 0xef
vmovups xmm0, xmmword [rbp - 0x69]
vmovdqa xmmword [rbp - 0x69], xmm0
vmovups xmm1, xmmword [rbp - 0x39]
vmovdqa xmmword [rbp - 0x39], xmm1
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x19]
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 dword [rbp - 0x59], 3
lea r8, [rbp - 0x19]
lea rdx, [rbp - 0x69]
mov rcx, rbx
call fcn.14003e8a0
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x14008a5fa
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008a5f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008a5f5
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 rbx, qword [rbp - 0x69]
test rbx, rbx
jne 0x14008a662
mov qword [r14], rbx
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14008ab98
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14008ab98
mov rbx, qword [rbp - 0x61]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14008ab98
mov rcx, qword [rbp - 0x61]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x14008ab98
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x39], xmm0
vmovdqu xmm1, xmmword [0x140217f70]
vmovdqu xmmword [rbp - 0x29], xmm1
mov edi, 0x6469
mov word [rbp - 0x39], di
mov byte [rbp - 0x37], 0
lea rdx, [rbp - 0x39]
mov rcx, rbx
call fcn.14000f2d0
mov dword [r14], eax
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x14008a6d2
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008a6cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008a6cd
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 - 0x39], xmm0
vmovdqu xmm1, xmmword [0x140217f90]
vmovdqu xmmword [rbp - 0x29], xmm1
mov dword [rbp - 0x39], 0x656c6173
mov byte [rbp - 0x35], 0
lea rdx, [rbp - 0x39]
mov rcx, rbx
call fcn.14006cb90
movzx eax, ax
mov dword [r14 + 0x18], eax
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x14008a744
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008a73f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008a73f
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 - 0x39], xmm0
vmovdqu xmm1, xmmword [0x140217fb0]
vmovdqu xmmword [rbp - 0x29], xmm1
mov eax, dword [str.amount]
mov dword [rbp - 0x39], eax
movzx eax, word [0x1401ff4d4]
mov word [rbp - 0x35], ax
mov byte [rbp - 0x33], 0
lea rdx, [rbp - 0x39]
mov rcx, rbx
call fcn.14006cb90
mov word [r14 + 0x10], ax
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x14008a7c1
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008a7bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008a7bc
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 - 0x39], xmm0
vmovdqu xmm1, xmmword [0x140217f70]
vmovdqu xmmword [rbp - 0x29], xmm1
mov word [rbp - 0x39], di
mov byte [rbp - 0x37], 0
lea rdx, [rbp - 0x39]
mov rcx, rbx
call fcn.14000f2d0
mov word [r14 + 0x12], ax
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x14008a82e
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008a829
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008a829
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 - 0x39], xmm0
vmovdqu xmm1, xmmword [0x140217fc0]
vmovdqu xmmword [rbp - 0x29], xmm1
mov rax, qword [str.created]
mov dword [rbp - 0x39], eax
movzx eax, word [0x1401ff504]
mov word [rbp - 0x35], ax
movzx eax, byte [0x1401ff506]
mov byte [rbp - 0x33], al
mov byte [rbp - 0x32], 0
lea rdx, [rbp - 0x39]
mov rcx, rbx
call fcn.14000f2d0
mov dword [r14 + 8], eax
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x14008a8b5
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008a8b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008a8b0
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 - 0x39], xmm0
vmovdqu xmm1, xmmword [0x140217fa0]
vmovdqu xmmword [rbp - 0x29], xmm1
mov eax, dword [str.price]
mov dword [rbp - 0x39], eax
movzx eax, byte [0x1401ff4f8]
mov byte [rbp - 0x35], al
mov byte [rbp - 0x34], 0
lea rdx, [rbp - 0x39]
mov rcx, rbx
call fcn.14000f2d0
mov dword [r14 + 0xc], eax
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x14008a930
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008a92b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008a92b
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 - 0x39], xmm0
vmovdqu xmm1, xmmword [0x140217fd0]
vmovdqu xmmword [rbp - 0x29], xmm1
movabs rax, 0x657079746d657469
mov qword [rbp - 0x39], rax
mov byte [rbp - 0x31], 0
lea rdx, [rbp - 0x39]
mov rcx, rbx
call fcn.14006cb90
mov word [r14 + 0x14], ax
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x14008a9a7
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008a9a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008a9a2
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 - 0x39], xmm0
vmovdqu xmm6, xmmword [0x140217fe0]
vmovdqu xmmword [rbp - 0x29], xmm6
vmovsd xmm0, qword [str.player_id]
vmovsd qword [rbp - 0x39], xmm0
movzx eax, byte [0x1401fd810]
mov byte [rbp - 0x31], al
mov byte [rbp - 0x30], 0
lea rdx, [rbp - 0x39]
mov rcx, rbx
call fcn.14000f2d0
mov dword [r14 + 4], eax
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x14008aa2e
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008aa21
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008aa21
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401d177c
vmovdqu xmm6, xmmword [0x140217fe0]
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x39], xmm0
vmovdqu xmmword [rbp - 0x29], xmm6
vmovsd xmm0, qword [str.anonymous]
vmovsd qword [rbp - 0x39], xmm0
movzx eax, byte [reloc.WS2_32.dll_WSAStartup]
mov byte [rbp - 0x31], al
mov byte [rbp - 0x30], 0
lea rdx, [rbp - 0x39]
mov rcx, rbx
call fcn.14006cb90
movzx edi, ax
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x14008aaa4
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008aa9f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008aa9f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401d177c
test di, di
jne 0x14008ab46
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x39], xmm0
vmovdqu xmm1, xmmword [0x140218000]
vmovdqu xmmword [rbp - 0x29], xmm1
vmovsd xmm0, qword [str.player_name]
vmovsd qword [rbp - 0x39], xmm0
movzx eax, word [0x1401ff4f0]
mov word [rbp - 0x31], ax
movzx eax, byte [0x1401ff4f2]
mov byte [rbp - 0x2f], al
mov byte [rbp - 0x2e], dil
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x19]
mov rcx, rbx
call fcn.14003ef90
mov rdx, rax
lea rcx, [r14 + 0x20]
call fcn.14000ff80
mov r8, qword [rbp - 1]
cmp r8, 0xf
jbe 0x14008ab1c
mov rdx, qword [rbp - 0x19]
lea rcx, [rbp - 0x19]
call fcn.14000e060
vmovdqu xmm0, xmmword [0x140217f50]
vmovdqu xmmword [rbp - 9], xmm0
mov byte [rbp - 0x19], 0
mov r8, qword [rbp - 0x21]
cmp r8, 0xf
jbe 0x14008ab5d
mov rdx, qword [rbp - 0x39]
lea rcx, [rbp - 0x39]
call fcn.14000e060
jmp 0x14008ab5d
mov r8d, 9
lea rdx, str.Anonymous
lea rcx, [r14 + 0x20]
call fcn.14000da10
nop
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14008ab98
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14008ab98
mov rbx, qword [rbp - 0x61]
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14008ab98
mov rcx, qword [rbp - 0x61]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_htonl]
nop
mov rax, r14
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1401d1730
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
vmovaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret