Function at 0x1400c7f00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xf0
movups xmm0, xmmword [r8]
mov r14, qword [rcx + 0x10]
xor r13d, r13d
mov rax, qword [rcx]
mov rdi, r8
mov rsi, qword [rdx + 0x50]
mov r15, rdx
mov qword [rsp + 0x48], r13
mov r12, rcx
mov qword [rsp + 0x40], rax
mov qword [rbp - 0x49], r14
movups xmm1, xmmword [r8 + 0x10]
movups xmmword [rbp - 0x79], xmm0
movsd xmm0, qword [r8 + 0x20]
movsd qword [rbp - 0x59], xmm0
movups xmmword [rbp - 0x69], xmm1
test r14, r14
jne 0x1400c7f81
cmp qword [rcx + 0xb0], r13
jne 0x1400c7f75
test byte [rax + 0x60], 8
jne 0x1400c7f75
mov byte [rcx + 0x23], 1
call fcn.14011aea0
mov r14, rax
mov qword [rbp - 0x49], rax
movzx edx, byte [rbp - 0x79]
cmp dl, 0xc
jne 0x1400c7fef
mov rcx, qword [r15 + 0x20]
mov r8d, dword [rbp - 0x75]
mov edx, dword [rcx]
movsxd rcx, dword [r14 + 0x90]
cmp dword [r14 + 0x94], ecx
jg 0x1400c7fbb
mov r9d, edx
mov dword [rsp + 0x20], r13d
mov edx, 0x75
mov rcx, r14
call fcn.1400bb2e0
jmp 0x1400c7fea
lea eax, [rcx + 1]
mov dword [r14 + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r14 + 0x88]
mov dword [rax + rcx*8], 0x75
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r13d
mov qword [rax + rcx*8 + 0x10], r13
mov dl, ntohs
mov byte [rbp - 0x79], dl
test dword [r15 + 4], 0x400
mov qword [rsp + 0xe8], rbx
je 0x1400c803c
mov r13, qword [r15 + 0x60]
xor ecx, ecx
test r13, r13
mov rbx, r15
mov edi, 1
sete cl
cmp qword [r15 + 0x70], 0
jne 0x1400c8035
nop dword [rax]
mov rax, qword [rbx + 0x50]
test rax, rax
je 0x1400c8088
add edi, ecx
mov rbx, rax
cmp qword [rax + 0x70], 0
je 0x1400c8020
mov rdi, qword [rbp + 0x77]
xor r13d, r13d
test dword [r15 + 4], 0x2000
je 0x1400c8066
mov rax, r15
nop dword [rax]
test dword [rax + 4], 0x2000
je 0x1400c811b
mov rax, qword [rax + 0x50]
test rax, rax
jne 0x1400c8050
cmp qword [r15 + 0x48], 0
lea rbx, [r15 + 0x48]
je 0x1400c8133
mov r8, rdi
mov rdx, r15
mov rcx, r12
call fcn.1400c8a10
jmp 0x1400c897d
lea rcx, [0x14017ef61]
cmp edi, 1
lea rax, [0x140179df0]
mov r9d, edi
cmove rax, rcx
lea r8, str.SCAN__d_CONSTANT_ROW_s
xor edx, edx
mov qword [rsp + 0x20], rax
mov rcx, r12
call fcn.140124690
xor esi, esi
nop dword [rax + rax]
mov dword [rsp + 0x38], 1
lea rax, [rbp - 0x79]
mov dword [rsp + 0x30], 1
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov r8d, 0xffffffff
mov rdx, rbx
mov qword [rsp + 0x20], rsi
mov rcx, r12
call fcn.1400d9420
test r13, r13
jne 0x1400c8104
mov word [rbx + 2], di
mov rbx, qword [rbx + 0x58]
test rbx, rbx
jne 0x1400c80c0
mov rdx, qword [rbp + 0x77]
mov ecx, esi
mov eax, dword [rbp - 0x6d]
mov dword [rdx + 0xc], eax
mov eax, dword [rbp - 0x69]
mov dword [rdx + 0x10], eax
jmp 0x1400c897b
lea r8, [rbp - 0x79]
mov rdx, r15
mov rcx, r12
call fcn.1400ba070
mov dword [rbp + 0x67], r13d
jmp 0x1400c87a8
cmp qword [rsi + 0x50], 0
jne 0x1400c816a
lea r8, str.COMPOUND_QUERY
mov edx, 1
mov rcx, r12
call fcn.140124690
lea r8, str.LEFT_MOST_SUBQUERY
mov edx, 1
mov rcx, r12
call fcn.140124690
movzx edx, byte [rbp - 0x79]
lea rbx, [r15 + 0x48]
movzx ecx, byte [r15]
sub ecx, 0x87
je 0x1400c85d5
sub ecx, 1
je 0x1400c83b9
cmp ecx, 1
je 0x1400c85d5
mov edi, dword [r12 + 0x38]
xor r9d, r9d
mov r8d, edi
mov edx, 0x75
mov rcx, r14
lea ebx, [rdi + 1]
lea eax, [rbx + 1]
mov dword [r12 + 0x38], eax
call fcn.14011a580
mov dword [r15 + 0x14], eax
mov rcx, r15
mov rax, qword [r15 + 0x58]
test rax, rax
je 0x1400c81cc
nop
mov rcx, rax
mov rax, qword [rax + 0x58]
test rax, rax
jne 0x1400c81c0
or dword [rcx + 4], 0x20
lea r8, [rbp - 0x39]
mov rcx, r12
mov byte [rbp - 0x39], 1
mov rdx, rsi
mov dword [rbp - 0x35], edi
mov qword [rbp - 0x31], 0
mov qword [rbp - 0x21], r13
mov dword [rbp - 0x29], r13d
call fcn.14010edd0
mov dword [rbp + 0x67], eax
mov ecx, eax
test eax, eax
jne 0x1400c894c
xor r9d, r9d
mov r8d, ebx
mov edx, 0x75
mov rcx, r14
call fcn.14011a580
movzx ecx, byte [r15]
mov dword [r15 + 0x18], eax
mov qword [r15 + 0x50], r13
mov r13, qword [r15 + 0x60]
mov qword [r15 + 0x60], 0
mov dword [rbp - 0x35], ebx
call fcn.140112c90
mov r9, rax
lea r8, str._s_USING_TEMP_B_TREE
mov rcx, r12
mov edx, 1
call fcn.140124690
lea r8, [rbp - 0x39]
mov rdx, r15
mov rcx, r12
call fcn.14010edd0
mov ebx, eax
mov dword [rbp + 0x67], eax
mov rax, qword [r15 + 0x50]
mov qword [rsp + 0x48], rax
mov qword [r15 + 0x50], rsi
movzx eax, word [rsi + 2]
cmp word [r15 + 2], ax
jle 0x1400c827e
mov word [r15 + 2], ax
mov rdx, qword [r15 + 0x60]
test rdx, rdx
je 0x1400c8291
mov rcx, qword [rsp + 0x40]
call fcn.1400f1cf0
mov qword [r15 + 0x60], r13
test ebx, ebx
jne 0x1400c8799
mov esi, dword [r12 + 0x48]
mov rdx, r15
dec esi
mov rcx, r12
mov r8d, esi
lea r13d, [rsi - 1]
mov dword [r12 + 0x48], r13d
call fcn.1400a9560
mov r9d, esi
mov r8d, edi
mov edx, 0x24
mov rcx, r14
call fcn.14011a580
movzx eax, byte [r12 + 0x1f]
test al, al
jne 0x1400c82e4
inc dword [r12 + 0x3c]
mov ebx, dword [r12 + 0x3c]
jmp 0x1400c82f6
dec al
movzx eax, al
mov byte [r12 + 0x1f], al
mov ebx, dword [r12 + rax*4 + 0xe8]
mov r9d, ebx
mov r8d, edi
mov edx, 0x86
mov rcx, r14
call fcn.14011a580
mov r9d, r13d
mov dword [rsp + 0x28], 0
lea r8d, [rdi + 1]
mov dword [rbp + 0x6f], eax
mov edx, 0x1c
mov dword [rsp + 0x20], ebx
mov rcx, r14
call fcn.14011a7a0
test ebx, ebx
je 0x1400c8348
movzx ecx, byte [r12 + 0x1f]
cmp cl, 8
jae 0x1400c8348
mov dword [r12 + rcx*4 + 0xe8], ebx
inc byte [r12 + 0x1f]
mov dword [rsp + 0x38], esi
lea rax, [rbp - 0x79]
mov dword [rsp + 0x30], r13d
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov r8d, edi
mov rdx, r15
mov qword [rsp + 0x20], 0
mov rcx, r12
call fcn.1400d9420
mov edx, r13d
mov rcx, r14
call fcn.140128210
mov r9d, dword [rbp + 0x6f]
mov r8d, edi
mov edx, 0x27
mov rcx, r14
call fcn.14011a580
mov edx, esi
mov rcx, r14
call fcn.140128210
xor r9d, r9d
lea r8d, [rdi + 1]
mov edx, 0x7a
mov rcx, r14
call fcn.14011a580
mov r8d, edi
jmp 0x1400c8789
mov eax, dword [r15 + 8]
lea r8, [rbp - 0x79]
mov dword [rsi + 8], eax
mov rdx, rsi
mov eax, dword [r15 + 0xc]
mov rcx, r12
mov dword [rsi + 0xc], eax
mov ebx, r13d
mov rax, qword [r15 + 0x60]
mov qword [rsi + 0x60], rax
mov dword [rbp + 0x6f], r13d
call fcn.14010edd0
mov dword [rbp + 0x67], eax
mov ecx, eax
mov qword [rsi + 0x60], r13
test eax, eax
jne 0x1400c894c
mov qword [r15 + 0x50], r13
mov r8d, dword [rsi + 8]
mov dword [r15 + 8], r8d
mov eax, dword [rsi + 0xc]
mov dword [r15 + 0xc], eax
test r8d, r8d
je 0x1400c843e
mov edx, reloc.WS2_32.dll_recvfrom
mov rcx, r14
call fcn.14011a510
mov ecx, dword [r15 + 0xc]
mov ebx, eax
test ecx, ecx
je 0x1400c843e
mov r8d, dword [r15 + 8]
lea r9d, [rcx + 1]
mov dword [rsp + 0x20], ecx
mov edx, 0xa0
mov rcx, r14
call fcn.14011a5f0
lea r8, str.UNION_ALL
mov edx, 1
mov rcx, r12
call fcn.140124690
lea r8, [rbp - 0x79]
mov rdx, r15
mov rcx, r12
call fcn.14010edd0
movzx ecx, word [r15 + 2]
mov dword [rbp + 0x67], eax
mov rax, qword [r15 + 0x50]
mov qword [r15 + 0x50], rsi
movzx edx, word [rsi + 2]
mov qword [rsp + 0x48], rax
call fcn.1401006e0
mov rcx, qword [r15 + 0x60]
mov word [r15 + 2], ax
test rcx, rcx
je 0x1400c85be
mov rcx, qword [rcx + 0x10]
lea rdx, [rbp + 0x6f]
mov r8, r12
call fcn.1400f2a90
test eax, eax
je 0x1400c85be
movsxd rax, dword [rbp + 0x6f]
test eax, eax
jle 0x1400c85be
lea r9, [0x14019a1d0]
mov edx, 0x28
movzx r8d, dx
mov rcx, rax
cmp rax, 8
jae 0x1400c84f0
cmp rax, 2
jae 0x1400c84e0
movzx r8d, r13w
jmp 0x1400c853b
add r8w, 0xfff6
add rcx, rcx
cmp rcx, 8
jb 0x1400c84e0
jmp 0x1400c852e
cmp rax, 0xff
jbe 0x1400c8511
nop dword [rax + rax]
add r8w, dx
shr rcx, 4
cmp rcx, 0xff
ja 0x1400c8500
cmp rcx, 0xf
jbe 0x1400c852e
nop word [rax + rax]
add r8w, 0xa
shr rcx, 1
cmp rcx, 0xf
ja 0x1400c8520
and ecx, 7
sub r8w, 0xa
add r8w, word [r9 + rcx*2]
cmp word [r15 + 2], r8w
jle 0x1400c85be
cmp rax, 8
jae 0x1400c856f
cmp rax, 2
jae 0x1400c8560
movzx edx, r13w
jmp 0x1400c85b9
add dx, 0xfff6
add rax, rax
cmp rax, 8
jb 0x1400c8560
jmp 0x1400c85ad
cmp rax, 0xff
jbe 0x1400c8590
nop word [rax + rax]
add dx, 0x28
shr rax, 4
cmp rax, 0xff
ja 0x1400c8580
cmp rax, 0xf
jbe 0x1400c85ad
nop word [rax + rax]
add dx, 0xa
shr rax, 1
cmp rax, 0xf
ja 0x1400c85a0
and eax, 7
sub dx, 0xa
add dx, word [r9 + rax*2]
mov word [r15 + 2], dx
test ebx, ebx
je 0x1400c8799
mov edx, ebx
mov rcx, r14
call fcn.140125290
jmp 0x1400c8799
cmp dl, 1
jne 0x1400c85e0
mov r13d, dword [rbp - 0x75]
jmp 0x1400c8625
mov r13d, dword [r12 + 0x38]
xor r9d, r9d
mov r8d, r13d
mov edx, 0x75
mov rcx, r14
lea eax, [r13 + 1]
mov dword [r12 + 0x38], eax
call fcn.14011a580
mov dword [r15 + 0x14], eax
mov rcx, r15
mov rax, qword [r15 + 0x58]
test rax, rax
je 0x1400c8621
mov rcx, rax
mov rax, qword [rax + 0x58]
test rax, rax
jne 0x1400c8611
lea rbx, [r15 + 0x48]
or dword [rcx + 4], 0x20
xor edi, edi
mov byte [rbp - 0x11], 1
lea r8, [rbp - 0x11]
mov qword [rbp - 9], rdi
mov rdx, rsi
mov qword [rbp + 7], rdi
mov rcx, r12
mov dword [rbp - 1], edi
mov dword [rbp - 0xd], r13d
call fcn.14010edd0
mov dword [rbp + 0x67], eax
mov ecx, eax
test eax, eax
jne 0x1400c894c
movzx ecx, byte [r15]
xor eax, eax
cmp cl, 0x89
mov qword [r15 + 0x50], rdi
mov rdi, qword [r15 + 0x60]
mov qword [r15 + 0x60], rax
sete al
inc al
mov byte [rbp - 0x11], al
call fcn.140112c90
mov r9, rax
lea r8, str._s_USING_TEMP_B_TREE
mov rcx, r12
mov edx, 1
call fcn.140124690
lea r8, [rbp - 0x11]
mov rdx, r15
mov rcx, r12
call fcn.14010edd0
mov dword [rbp + 0x67], eax
mov rax, qword [r15 + 0x50]
mov qword [rsp + 0x48], rax
xor eax, eax
cmp byte [r15], 0x87
mov qword [r15 + 0x50], rsi
mov qword [rbx], rax
jne 0x1400c86cc
movzx edx, word [rsi + 2]
movzx ecx, word [r15 + 2]
call fcn.1401006e0
mov word [r15 + 2], ax
mov rdx, qword [r15 + 0x60]
mov rbx, qword [rsp + 0x40]
test rdx, rdx
je 0x1400c86e2
mov rcx, rbx
call fcn.1400f1cf0
xor eax, eax
mov qword [r15 + 0x60], rdi
cmp byte [rbp - 0x79], 1
mov qword [r15 + 8], rax
je 0x1400c8799
cmp byte [rbx + 0x67], al
jne 0x1400c8799
mov esi, dword [r12 + 0x48]
mov rdx, r15
dec esi
mov rcx, r12
mov r8d, esi
lea edi, [rsi - 1]
mov dword [r12 + 0x48], edi
call fcn.1400a9560
mov r9d, esi
mov r8d, r13d
mov edx, 0x24
mov rcx, r14
call fcn.14011a580
mov ebx, dword [r14 + 0x90]
lea rax, [rbp - 0x79]
mov dword [rsp + 0x38], esi
xor r9d, r9d
mov dword [rsp + 0x30], edi
mov r8d, r13d
mov qword [rsp + 0x28], rax
mov rdx, r15
xor eax, eax
mov rcx, r12
mov qword [rsp + 0x20], rax
call fcn.1400d9420
mov edx, edi
mov rcx, r14
call fcn.140128210
mov r9d, ebx
mov r8d, r13d
mov edx, 0x27
mov rcx, r14
call fcn.14011a580
mov edx, esi
mov rcx, r14
call fcn.140128210
mov r8d, r13d
xor r9d, r9d
mov edx, 0x7a
mov rcx, r14
call fcn.14011a580
cmp qword [r15 + 0x58], 0
jne 0x1400c87a8
mov rcx, r12
call fcn.1401247f0
cmp dword [r12 + 0x34], 0
jne 0x1400c8949
test byte [r15 + 4], 0x20
je 0x1400c8949
mov rax, qword [r15 + 0x20]
mov r8d, 1
mov rcx, qword [rsp + 0x40]
movsxd r13, dword [rax]
mov edx, r13d
mov dword [rbp + 0x7f], r13d
call fcn.1400ff3f0
mov qword [rbp - 0x41], rax
mov rbx, rax
test rax, rax
jne 0x1400c87f6
mov ecx, 7
mov dword [rbp + 0x67], ecx
jmp 0x1400c894c
xor ecx, ecx
mov qword [rbp - 0x51], r13
lea rdi, [rax + 0x20]
mov esi, ecx
test r13d, r13d
jle 0x1400c8873
mov rbx, qword [rsp + 0x40]
xor r14d, r14d
mov r13d, r14d
mov rdx, qword [r15 + 0x50]
test rdx, rdx
je 0x1400c882d
mov r8d, esi
mov rcx, r12
call fcn.1400c89a0
test rax, rax
jne 0x1400c8845
jmp 0x1400c8830
mov rax, r14
mov rdx, qword [r15 + 0x20]
cmp esi, dword [rdx]
jge 0x1400c8845
mov rdx, qword [rdx + r13 + 8]
mov rcx, r12
call fcn.1400f15a0
mov qword [rdi], rax
test rax, rax
jne 0x1400c8854
mov rax, qword [rbx + 0x10]
mov qword [rdi], rax
inc esi
add r13, 0x20
add rdi, 8
sub qword [rbp - 0x51], 1
jne 0x1400c8812
mov rbx, qword [rbp - 0x41]
xor ecx, ecx
mov r14, qword [rbp - 0x49]
mov r13d, dword [rbp + 0x7f]
mov rsi, rcx
lea rdi, [r15 + 0x14]
nop word [rax + rax]
movsxd rdx, dword [rdi]
test edx, edx
js 0x1400c8926
mov rax, qword [r14]
cmp byte [rax + 0x67], 0
je 0x1400c889d
lea rax, [0x14019e058]
jmp 0x1400c88ac
mov rax, qword [r14 + 0x88]
lea rcx, [rdx + rdx*2]
lea rax, [rax + rcx*8]
mov dword [rax + 8], r13d
mov ecx, dword [rbx]
lea eax, [rcx + 1]
mov dword [rbx], eax
mov rax, qword [r14]
cmp byte [rax + 0x67], 0
je 0x1400c88de
cmp qword [rax + 0x308], 0
jne 0x1400c890f
mov dword [rbx], ecx
test ecx, ecx
jne 0x1400c890f
mov rcx, qword [rbx + 0x10]
mov rdx, rbx
call fcn.1400ea6d0
jmp 0x1400c890f
mov rax, qword [r14 + 0x88]
lea rcx, [rdx + rdx*2]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x1400c8907
mov r9d, 0xfffffff8
mov r8, rbx
mov rcx, r14
call fcn.14013a520
jmp 0x1400c890f
mov qword [rdx + 0x10], rbx
mov byte [rdx + 1], 0xf8
mov dword [rdi], 0xffffffff
inc rsi
add rdi, 4
cmp rsi, 2
jl 0x1400c8880
mov r15, qword [r15 + 0x50]
mov ecx, 0
test r15, r15
jne 0x1400c8873
add dword [rbx], 0xffffffff
jne 0x1400c8949
mov rcx, qword [rbx + 0x10]
mov rdx, rbx
call fcn.1400ea6d0
mov ecx, dword [rbp + 0x67]
mov eax, dword [rbp - 0x6d]
mov rdx, qword [rbp + 0x77]
mov dword [rdx + 0xc], eax
mov eax, dword [rbp - 0x69]
mov dword [rdx + 0x10], eax
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x1400c897b
mov r8, rax
lea rdx, [fcn.1401124b0]
mov rcx, r12
call fcn.140104b90
mov ecx, dword [rbp + 0x67]
mov eax, ecx
mov rbx, qword [rsp + 0xe8]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret