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

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
push rsi
push r12
push r13
push r14
sub rsp, 0xa0
mov rax, qword [rdx]
mov r12, qword [rdx + 0x28]
mov rbx, qword [rcx + 0x10]
mov r14d, dword [rax]
mov rax, qword [rdx + 0x50]
xor r9d, r9d
mov rsi, rdx
lea edx, [r9 + 0x21]
xor r8d, r8d
mov qword [rsp + 0x50], rax
mov r13, rcx
mov dword [rsp + 0xd0], r9d
mov qword [rsp + 0x20], r9
call fcn.1400b1a80
test eax, eax
jne 0x1400d841a
mov qword [rsp + 0x98], rbp
mov qword [rsp + 0x90], rdi
mov rdi, qword [rbx + 0x18]
movsxd rbp, dword [rdi + 0x48]
mov qword [rsp + 0x88], r15
lea eax, [rbp + 1]
mov dword [rdi + 0x48], eax
lea eax, [rbp - 1]
test ebp, eax
jne 0x1400d7c5d
mov rdx, qword [rdi + 0x50]
mov rcx, qword [rdi]
lea eax, [rbp + rbp + 1]
movsxd r8, eax
shl r8, 2
call fcn.1400635f0
mov qword [rdi + 0x50], rax
mov rcx, qword [rdi + 0x50]
or edx, 0xffffffff
test rcx, rcx
je 0x1400d7c6c
mov dword [rcx + rbp*4], edx
mov eax, edx
mov ecx, 0x140
mov rdx, rsi
sub eax, ebp
mov word [rsi + 0xa], cx
mov rcx, r13
mov r8d, eax
mov dword [rsp + 0xd8], eax
call fcn.1400d77a0
mov rax, qword [rsi + 0x60]
mov rdi, qword [rsi + 0x48]
xor r10d, r10d
mov qword [rsp + 0x58], rax
mov eax, dword [rsi + 0x10]
mov dword [rsp + 0x44], eax
mov eax, dword [rsi + 0x14]
mov qword [rsi + 0x60], r10
mov dword [rsi + 0x14], r10d
mov dword [rsi + 0x10], r10d
mov edx, dword [r12]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x48], rdi
mov ecx, r10d
test edx, edx
jle 0x1400d7cf9
lea rax, [r12 + 0x48]
nop dword [rax]
test byte [rax], 0x20
jne 0x1400d7ce4
inc ecx
add rax, 0x70
cmp ecx, edx
jl 0x1400d7cd0
mov edx, r10d
jmp 0x1400d7cfb
movsxd rax, ecx
imul rax, rax, 0x70
mov edx, dword [rax + r12 + 0x4c]
mov dword [rsp + 0xd0], edx
jmp 0x1400d7cfb
mov edx, ecx
mov ebp, dword [r13 + 0x34]
lea eax, [rbp + 1]
mov dword [r13 + 0x34], eax
cmp byte [rsi + 8], 0x7b
jne 0x1400d7d29
test rdi, rdi
mov ecx, 6
mov r8d, 8
cmovne ecx, r8d
mov r12d, eax
inc eax
mov dword [r13 + 0x34], eax
jmp 0x1400d7d3c
mov ecx, 5
mov eax, 7
test rdi, rdi
cmovne ecx, eax
mov r12d, r10d
inc dword [r13 + 0x38]
mov r15d, dword [r13 + 0x38]
mov byte [rsp + 0x60], cl
mov dword [rsp + 0x64], ebp
mov qword [rsp + 0x70], r10
mov dword [rsp + 0x68], r10d
mov dword [rsp + 0x6c], r10d
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x1400d7d88
mov r8d, edx
mov r9d, r15d
mov rcx, rbx
mov edx, reloc.WS2_32.dll_WSACleanup
mov dword [rsp + 0x20], r14d
call fcn.140087c10
xor r10d, r10d
jmp 0x1400d7dbb
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8], reloc.WS2_32.dll_WSACleanup
mov word [rax + rcx*8 + 2], r10w
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r10
mov byte [rax + rcx*8 + 1], r10b
test rdi, rdi
je 0x1400d7ecf
mov r8d, 1
mov rdx, rsi
mov rcx, r13
call fcn.1400d7a80
mov rcx, qword [rbx + 0x18]
movsxd rdx, dword [rbx + 0xb8]
mov rdi, rax
mov rax, qword [rsp + 0x48]
mov r8d, dword [rax]
add r8d, 2
cmp dword [rcx + 0x3c], edx
jg 0x1400d7e13
xor r9d, r9d
mov edx, WSACleanup
mov rcx, rbx
mov dword [rsp + 0x20], r9d
mov r9d, r8d
mov r8d, ebp
call fcn.140087c10
mov edx, eax
jmp 0x1400d7e49
lea rcx, [rdx + rdx*2]
xor r9d, r9d
lea eax, [rdx + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8], WSACleanup
mov word [rax + rcx*8 + 2], r9w
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov byte [rax + rcx*8 + 1], r9b
mov rcx, qword [rbx]
cmp byte [rcx + 0x61], 0
je 0x1400d7e71
mov r8, rdi
mov edx, 0xfffffff7
call fcn.1400889a0
mov rdi, qword [rsp + 0x48]
xor r10d, r10d
mov qword [rsp + 0x78], rdi
jmp 0x1400d7f2f
test edx, edx
jns 0x1400d7e7d
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 0x1400d7eb3
mov r9d, 0xfffffff7
mov r8, rdi
mov rcx, rbx
call fcn.140088ba0
mov rdi, qword [rsp + 0x48]
xor r10d, r10d
mov qword [rsp + 0x78], rdi
jmp 0x1400d7f2f
test rdi, rdi
je 0x1400d7ec0
mov qword [rdx + 0x10], rdi
mov byte [rdx + 1], 0xf7
mov rdi, qword [rsp + 0x48]
xor r10d, r10d
mov qword [rsp + 0x78], rdi
jmp 0x1400d7f2f
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x1400d7efc
mov r9d, r14d
mov r8d, ebp
mov edx, WSACleanup
mov rcx, rbx
mov dword [rsp + 0x20], r10d
call fcn.140087c10
xor r10d, r10d
jmp 0x1400d7f2f
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8], WSACleanup
mov word [rax + rcx*8 + 2], r10w
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], r10
mov byte [rax + rcx*8 + 1], 0
test r12d, r12d
je 0x1400d7fa1
mov rax, qword [rbx + 0x18]
movsxd r9, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], r9d
jg 0x1400d7f64
xor r9d, r9d
mov r8d, r12d
mov rcx, rbx
lea edx, [r9 + 0x71]
mov dword [rsp + 0x20], r10d
call fcn.140087c10
xor r10d, r10d
mov r9d, eax
jmp 0x1400d7f99
lea rcx, [r9 + r9*2]
lea eax, [r9 + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8], WSACleanup
mov word [rax + rcx*8 + 2], r10w
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], r10d
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], r10
mov byte [rax + rcx*8 + 1], 0
or dword [rsi + 0xc], 0x20
mov dword [rsi + 0x1c], r9d
mov r12, qword [rsp + 0x50]
mov qword [rsi + 0x48], r10
lea r8, str.SETUP
mov edx, 1
mov rcx, r13
mov qword [r12 + 0x58], r10
call fcn.140088140
lea r8, [rsp + 0x60]
mov rdx, r12
mov rcx, r13
call fcn.1400de5c0
mov qword [r12 + 0x58], rsi
test eax, eax
jne 0x1400d83de
mov rax, qword [rbx + 0x18]
movsxd r12, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], r12d
jg 0x1400d801c
mov r14d, dword [rsp + 0xd8]
xor r9d, r9d
mov r8d, ebp
mov dword [rsp + 0x20], r9d
mov edx, 0x24
mov rcx, rbx
mov r9d, r14d
call fcn.140087c10
xor r8d, r8d
mov r12d, eax
jmp 0x1400d805c
mov r14d, dword [rsp + 0xd8]
lea rcx, [r12 + r12*2]
xor r8d, r8d
lea eax, [r12 + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8], 0x24
mov word [rax + rcx*8 + 2], r8w
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov byte [rax + rcx*8 + 1], r8b
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x1400d808e
mov dword [rsp + 0x20], r8d
mov r8d, dword [rsp + 0xd0]
xor r9d, r9d
mov edx, 0x82
mov rcx, rbx
call fcn.140087c10
xor r8d, r8d
jmp 0x1400d80c8
mov edx, dword [rsp + 0xd0]
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8], 0x82
mov word [rax + rcx*8 + 2], r8w
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov byte [rax + rcx*8 + 1], 0
test rdi, rdi
je 0x1400d80ed
mov r9d, dword [rdi]
mov r8d, ebp
mov edx, 0x5a
mov rcx, rbx
inc r9d
mov dword [rsp + 0x20], r15d
call fcn.140087c80
xor r15d, r15d
jmp 0x1400d8150
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x1400d811a
mov dword [rsp + 0x20], r8d
mov r9d, r15d
mov edx, 0x80
mov r8d, ebp
mov rcx, rbx
call fcn.140087c10
xor r15d, r15d
jmp 0x1400d8150
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8 + 8], r15d
xor r15d, r15d
mov byte [rax + rcx*8], 0x80
mov word [rax + rcx*8 + 2], r8w
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
mov byte [rax + rcx*8 + 1], r15b
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x1400d8179
xor r9d, r9d
mov r8d, ebp
mov rcx, rbx
lea edx, [r9 + 0x7c]
mov dword [rsp + 0x20], r15d
call fcn.140087c10
jmp 0x1400d81ac
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8], 0x7c
mov word [rax + rcx*8 + 2], r15w
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
mov byte [rax + rcx*8 + 1], 0
mov rbp, qword [rbx + 0x18]
movsxd rdi, dword [rbp + 0x48]
lea eax, [rdi + 1]
mov dword [rbp + 0x48], eax
lea eax, [rdi - 1]
test edi, eax
jne 0x1400d81dd
mov rdx, qword [rbp + 0x50]
mov rcx, qword [rbp]
lea eax, [rdi + rdi + 1]
movsxd r8, eax
shl r8, 2
call fcn.1400635f0
mov qword [rbp + 0x50], rax
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x1400d81ee
or ebp, 0xffffffff
mov dword [rcx + rdi*4], ebp
jmp 0x1400d81f1
or ebp, 0xffffffff
mov edx, dword [rsp + 0x40]
sub ebp, edi
test edx, edx
jle 0x1400d825d
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x1400d8228
mov r8d, edx
mov r9d, ebp
mov rcx, rbx
mov edx, 0x2f
mov dword [rsp + 0x20], 1
call fcn.140087c10
jmp 0x1400d825d
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8], 0x2f
mov word [rax + rcx*8 + 2], r15w
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], 1
mov qword [rax + rcx*8 + 0x10], r15
mov byte [rax + rcx*8 + 1], 0
mov rax, qword [rsp + 0xe0]
mov r8d, dword [rsp + 0xd0]
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov rdx, rsi
mov rcx, r13
mov qword [rsp + 0x20], r15
call fcn.1400d4de0
mov edx, dword [rsp + 0x44]
test edx, edx
je 0x1400d82f3
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x1400d82c0
mov r8d, edx
mov r9d, r14d
mov rcx, rbx
mov edx, 0x31
mov dword [rsp + 0x20], r15d
call fcn.140087c10
jmp 0x1400d82f3
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8], 0x31
mov word [rax + rcx*8 + 2], r15w
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
mov byte [rax + rcx*8 + 1], 0
mov rax, qword [rbx + 0x18]
mov rcx, qword [rax + 0x50]
test rcx, rcx
je 0x1400d8316
movsxd rax, ebp
lea rax, [rax*4 + 4]
sub rcx, rax
mov eax, dword [rbx + 0xb8]
mov dword [rcx], eax
test byte [rsi + 0xc], 8
je 0x1400d832d
lea rdx, str.recursive_aggregate_queries_not_supported
mov rcx, r13
call fcn.1400668e0
jmp 0x1400d835e
lea r8, str.RECURSIVE_STEP
mov edx, 1
mov rcx, r13
mov qword [rsi + 0x50], r15
call fcn.140088140
lea r8, [rsp + 0x60]
mov rdx, rsi
mov rcx, r13
call fcn.1400de5c0
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x50], rax
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x1400d8387
xor r8d, r8d
mov r9d, r12d
mov rcx, rbx
lea edx, [r8 + 0xb]
mov dword [rsp + 0x20], r15d
call fcn.140087c10
jmp 0x1400d83bb
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8], reloc.Config.dll_Ordinal_11
mov word [rax + rcx*8 + 2], r15w
mov dword [rax + rcx*8 + 4], r15d
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
mov byte [rax + rcx*8 + 1], 0
mov rax, qword [rbx + 0x18]
mov rcx, qword [rax + 0x50]
test rcx, rcx
je 0x1400d83de
movsxd rax, r14d
lea rax, [rax*4 + 4]
sub rcx, rax
mov eax, dword [rbx + 0xb8]
mov dword [rcx], eax
mov rdx, qword [rsi + 0x48]
mov r15, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x98]
test rdx, rdx
je 0x1400d8408
mov rcx, qword [r13]
call fcn.1400a3a20
mov rax, qword [rsp + 0x48]
mov qword [rsi + 0x48], rax
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0x60], rax
add rsp, 0xa0
pop r14
pop r13
pop r12
pop rsi
pop rbx
ret