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

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
push rdi
push r12
push r14
push r15
sub rsp, 0xc0
mov rax, qword [rdx]
xor r9d, r9d
mov r14, qword [rdx + 0x20]
mov rdi, rdx
mov rbx, qword [rcx + 0x10]
xor r8d, r8d
mov r12, rcx
mov dword [rsp + 0xf0], r9d
mov r15d, dword [rax]
mov rax, qword [rdx + 0x48]
lea edx, [r9 + 0x21]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0xf8], r9d
mov qword [rsp + 0x20], r9
call fcn.1400dd420
test eax, eax
jne 0x140104d01
mov qword [rsp + 0xb8], rbp
mov qword [rsp + 0xb0], rsi
mov rsi, qword [rbx + 0x18]
mov qword [rsp + 0xa8], r13
movsxd rbp, dword [rsi + 0x54]
lea eax, [rbp + 1]
mov dword [rsi + 0x54], eax
lea eax, [rbp - 1]
test ebp, eax
jne 0x140104598
mov rdx, qword [rsi + 0x58]
lea eax, [rbp*2 + 1]
mov rcx, qword [rsi]
movsxd r8, eax
shl r8, 2
call fcn.140097e80
mov qword [rsi + 0x58], rax
mov rcx, qword [rsi + 0x58]
test rcx, rcx
je 0x1401045a8
mov dword [rcx + rbp*4], 0xffffffff
mov eax, 0x140
not ebp
mov r8d, ebp
mov word [rdi + 0xa], ax
mov rdx, rdi
mov rcx, r12
call fcn.140103f10
mov rax, qword [rdi + 0x58]
xor r10d, r10d
mov r9, qword [rdi + 0x40]
mov edx, r10d
mov qword [rsp + 0x68], rax
mov rax, qword [rdi + 0x60]
mov qword [rsp + 0x70], rax
mov eax, dword [rdi + 0x10]
mov dword [rsp + 0x50], eax
mov eax, dword [rdi + 0x14]
mov qword [rdi + 0x10], r10
mov qword [rdi + 0x60], r10
mov qword [rdi + 0x58], r10
movsxd r8, dword [r14]
mov dword [rsp + 0x108], eax
mov qword [rsp + 0x58], r9
test r8, r8
jle 0x14010463e
mov ecx, r10d
lea rax, [r14 + 0x48]
nop
test byte [rax], 0x20
jne 0x140104628
inc edx
inc rcx
add rax, 0x78
cmp rcx, r8
jl 0x140104610
mov r8d, r10d
jmp 0x140104641
movsxd rax, edx
imul rcx, rax, 0x78
mov r8d, dword [rcx + r14 + 0x50]
mov dword [rsp + 0xf0], r8d
jmp 0x140104641
mov r8d, edx
mov esi, dword [r12 + 0x34]
lea eax, [rsi + 1]
mov dword [r12 + 0x34], eax
cmp byte [rdi + 8], 0x73
jne 0x140104674
test r9, r9
mov dword [rsp + 0xf8], eax
mov ecx, 6
mov edx, 8
cmovne ecx, edx
inc eax
mov dword [r12 + 0x34], eax
jmp 0x140104684
test r9, r9
mov ecx, 5
mov eax, 7
cmovne ecx, eax
inc dword [r12 + 0x38]
mov r13d, dword [r12 + 0x38]
mov byte [rsp + 0x78], cl
mov dword [rsp + 0x88], esi
mov qword [rsp + 0x80], r10
mov qword [rsp + 0x8c], r10
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x1401046d8
mov r9d, r13d
mov dword [rsp + 0x20], r15d
mov edx, reloc.WSOCK32.dll_WSAGetLastError
mov rcx, rbx
call fcn.1400b9830
mov r9, qword [rsp + 0x58]
xor r10d, r10d
jmp 0x140104704
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8], reloc.WSOCK32.dll_WSAGetLastError
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r10
test r9, r9
je 0x140104810
mov rdx, rdi
mov rcx, r12
call fcn.140104300
mov rcx, qword [rbx + 0x18]
mov r14, rax
mov rax, qword [rsp + 0x58]
xor r9d, r9d
movsxd rdx, dword [rbx + 0xb8]
mov r8d, dword [rax]
add r8d, 2
cmp dword [rcx + 0x3c], edx
jg 0x140104756
mov dword [rsp + 0x20], r9d
mov edx, WSASetLastError
mov r9d, r8d
mov rcx, rbx
mov r8d, esi
call fcn.1400b9830
mov edx, eax
jmp 0x140104781
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8], WSASetLastError
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov rcx, qword [rbx]
cmp byte [rcx + 0x55], 0
je 0x1401047ac
mov r8, r14
mov edx, 0xfffffffb
call fcn.1400ba120
mov r14, qword [rsp + 0x58]
xor r10d, r10d
mov qword [rsp + 0x98], r14
jmp 0x14010486d
test edx, edx
jns 0x1401047b8
mov edx, dword [rbx + 0xb8]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x1401047f1
mov r9d, 0xfffffffb
mov r8, r14
mov rcx, rbx
call fcn.1400ba320
mov r14, qword [rsp + 0x58]
xor r10d, r10d
mov qword [rsp + 0x98], r14
jmp 0x14010486d
test r14, r14
je 0x1401047fe
mov qword [rdx + 0x10], r14
mov byte [rdx + 1], 0xfb
mov r14, qword [rsp + 0x58]
xor r10d, r10d
mov qword [rsp + 0x98], r14
jmp 0x14010486d
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x14010483d
mov r9d, r15d
mov dword [rsp + 0x20], r10d
mov r8d, esi
mov edx, WSASetLastError
mov rcx, rbx
call fcn.1400b9830
xor r10d, r10d
jmp 0x140104868
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8], WSASetLastError
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], r10
mov r14, qword [rsp + 0x58]
mov edx, dword [rsp + 0xf8]
test edx, edx
je 0x1401048db
mov rax, qword [rbx + 0x18]
movsxd r9, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], r9d
jg 0x1401048a8
xor r9d, r9d
mov dword [rsp + 0x20], r10d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x6c]
call fcn.1400b9830
mov r9d, eax
xor r10d, r10d
jmp 0x1401048d3
lea rcx, [r9 + r9*2]
lea eax, [r9 + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8], WSASetLastError
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r10
mov dword [rdi + 0x18], r9d
or dword [rdi + 0xc], 0x20
mov r15, qword [rsp + 0x60]
lea r8, [rsp + 0x78]
mov qword [rdi + 0x40], r10
mov rdx, r15
mov rcx, r12
mov qword [r15 + 0x50], r10
call fcn.14010a390
mov qword [r15 + 0x50], rdi
test eax, eax
jne 0x140104cbc
mov rax, qword [rbx + 0x18]
movsxd r15, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], r15d
jg 0x140104938
xor r9d, r9d
mov r8d, esi
mov dword [rsp + 0x20], r9d
mov edx, Ordinal_60
mov r9d, ebp
mov rcx, rbx
call fcn.1400b9830
mov r15d, eax
xor r8d, r8d
jmp 0x140104966
lea rcx, [r15 + r15*2]
xor r8d, r8d
lea eax, [r15 + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8], Ordinal_60
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x140104997
xor r9d, r9d
mov dword [rsp + 0x20], r8d
mov r8d, dword [rsp + 0xf0]
mov rcx, rbx
lea edx, [r9 + 0x7c]
call fcn.1400b9830
xor r8d, r8d
jmp 0x1401049c8
mov edx, dword [rsp + 0xf0]
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8], 0x7c
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r8
movsxd rcx, dword [rbx + 0xb8]
mov rax, qword [rbx + 0x18]
test r14, r14
je 0x140104a25
mov edx, dword [r14]
inc edx
cmp dword [rax + 0x3c], ecx
jg 0x1401049ff
mov r9d, edx
mov dword [rsp + 0x20], r13d
mov edx, 0x62
mov r8d, esi
mov rcx, rbx
call fcn.1400b9830
xor r13d, r13d
jmp 0x140104a75
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8 + 0xc], r13d
xor r13d, r13d
mov dword [rax + rcx*8], 0x62
mov dword [rax + rcx*8 + 8], edx
jmp 0x140104a6c
cmp dword [rax + 0x3c], ecx
jg 0x140104a47
mov dword [rsp + 0x20], r8d
mov r9d, r13d
mov r8d, esi
mov edx, 0x7a
mov rcx, rbx
call fcn.1400b9830
xor r13d, r13d
jmp 0x140104a75
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8 + 8], r13d
xor r13d, r13d
mov dword [rax + rcx*8 + 0xc], r13d
mov dword [rax + rcx*8], 0x7a
mov qword [rax + rcx*8 + 0x10], r13
mov dword [rax + rcx*8 + 4], esi
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x140104a9e
xor r9d, r9d
mov dword [rsp + 0x20], r13d
mov r8d, esi
mov rcx, rbx
lea edx, [r9 + 0x76]
call fcn.1400b9830
jmp 0x140104ac8
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8], 0x76
mov dword [rax + rcx*8 + 4], esi
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r13
mov r14, qword [rbx + 0x18]
movsxd rsi, dword [r14 + 0x54]
lea eax, [rsi + 1]
mov dword [r14 + 0x54], eax
lea eax, [rsi - 1]
test esi, eax
jne 0x140104afc
mov rdx, qword [r14 + 0x58]
lea eax, [rsi*2 + 1]
mov rcx, qword [r14]
movsxd r8, eax
shl r8, 2
call fcn.140097e80
mov qword [r14 + 0x58], rax
mov rcx, qword [r14 + 0x58]
test rcx, rcx
je 0x140104b0c
mov dword [rcx + rsi*4], 0xffffffff
mov edx, dword [rsp + 0x108]
not esi
test edx, edx
jle 0x140104b73
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x140104b46
mov r8d, edx
mov dword [rsp + 0x20], 1
mov edx, 0x43
mov r9d, esi
mov rcx, rbx
call fcn.1400b9830
jmp 0x140104b73
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8], 0x43
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], 1
mov qword [rax + rcx*8 + 0x10], r13
mov rax, qword [rsp + 0x100]
mov rdx, rdi
mov r9d, dword [rsp + 0xf0]
mov rcx, r12
mov r8, qword [rdi]
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call fcn.1401011d0
mov edx, dword [rsp + 0x50]
test edx, edx
je 0x140104c04
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x140104bda
mov r8d, edx
mov dword [rsp + 0x20], r13d
mov edx, 0x45
mov r9d, ebp
mov rcx, rbx
call fcn.1400b9830
jmp 0x140104c04
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8], 0x45
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r13d
mov qword [rax + rcx*8 + 0x10], r13
mov rax, qword [rbx + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x140104c1f
mov eax, dword [rbx + 0xb8]
not esi
movsxd rcx, esi
mov dword [rdx + rcx*4], eax
test byte [rdi + 0xc], 8
mov rcx, r12
je 0x140104c36
lea rdx, str.recursive_aggregate_queries_not_supported
call fcn.14009a710
jmp 0x140104c50
lea r8, [rsp + 0x78]
mov qword [rdi + 0x48], r13
mov rdx, rdi
call fcn.14010a390
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x48], rax
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x140104c79
xor r8d, r8d
mov dword [rsp + 0x20], r13d
mov r9d, r15d
mov rcx, rbx
lea edx, [r8 + 0xd]
call fcn.1400b9830
jmp 0x140104ca1
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov qword [rax + rcx*8], reloc.WSOCK32.dll_listen
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], r13d
mov qword [rax + rcx*8 + 0x10], r13
mov rax, qword [rbx + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x140104cbc
mov eax, dword [rbx + 0xb8]
not ebp
movsxd rcx, ebp
mov dword [rdx + rcx*4], eax
mov rdx, qword [rdi + 0x40]
mov r13, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xb8]
test rdx, rdx
je 0x140104ce6
mov rcx, qword [r12]
call fcn.1400d11e0
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x40], rax
mov rax, qword [rsp + 0x68]
mov qword [rdi + 0x58], rax
mov rax, qword [rsp + 0x70]
mov qword [rdi + 0x60], rax
add rsp, 0xc0
pop r15
pop r14
pop r12
pop rdi
pop rbx
ret