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

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [rdx + 0x20]
mov rsi, rdx
mov rdi, qword [rdx + 0x28]
mov r14, rcx
mov rbx, qword [rcx + 0x10]
mov ebp, dword [rax]
xor eax, eax
mov r15d, eax
mov dword [rsp + 0xd0], eax
cmp qword [rdx + 0x70], rax
je 0x1400ac786
lea rdx, str.cannot_use_window_functions_in_recursive_queries
call fcn.1400d8a30
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea edx, [r9 + 0x21]
call fcn.1400ca540
test eax, eax
jne 0x1400acf0b
mov eax, dword [r14 + 0x44]
mov ecx, 0x140
dec eax
mov qword [rsp + 0x90], r12
mov dword [r14 + 0x44], eax
mov r8d, eax
mov word [rsi + 2], cx
mov rdx, rsi
mov rcx, r14
mov qword [rsp + 0x88], r13
mov dword [rsp + 0xe8], eax
call fcn.14009d240
mov rax, qword [rsi + 0x60]
xor r9d, r9d
mov r12, qword [rsi + 0x48]
mov edx, r9d
mov qword [rsp + 0x50], rax
mov eax, dword [rsi + 8]
mov dword [rsp + 0x44], eax
mov eax, dword [rsi + 0xc]
mov qword [rsi + 8], r9
mov qword [rsi + 0x60], r9
movsxd r8, dword [rdi]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x48], r12
test r8, r8
jle 0x1400ac845
mov ecx, r9d
lea rax, [rdi + 0x48]
test byte [rax], 0x40
jne 0x1400ac82f
inc edx
inc rcx
add rax, 0x68
cmp rcx, r8
jl 0x1400ac817
mov r8d, r9d
jmp 0x1400ac848
movsxd rax, edx
imul rcx, rax, 0x68
mov r8d, dword [rcx + rdi + 0x4c]
mov dword [rsp + 0xd0], r8d
jmp 0x1400ac848
mov r8d, edx
mov r13d, dword [r14 + 0x34]
lea eax, [r13 + 1]
mov dword [r14 + 0x34], eax
cmp byte [rsi], 0x86
jne 0x1400ac870
test r12, r12
mov ecx, r9d
mov r15d, eax
setne cl
add ecx, 5
inc eax
mov dword [r14 + 0x34], eax
jmp 0x1400ac87b
mov rax, r12
neg rax
sbb ecx, ecx
add ecx, 8
inc dword [r14 + 0x38]
mov edx, dword [r14 + 0x38]
mov byte [rsp + 0x58], cl
mov dword [rsp + 0x5c], r13d
mov qword [rsp + 0x60], r9
mov qword [rsp + 0x70], r9
mov dword [rsp + 0x68], r9d
movsxd rcx, dword [rbx + 0x90]
mov dword [rsp + 0xd8], edx
cmp dword [rbx + 0x94], ecx
jg 0x1400ac8ca
mov r9d, edx
mov dword [rsp + 0x20], ebp
mov edx, 0x79
mov rcx, rbx
call fcn.1400ad9d0
xor r9d, r9d
jmp 0x1400ac8f7
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x79
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], r9
test r12, r12
je 0x1400aca02
mov r8d, 1
mov rdx, rsi
mov rcx, r14
call fcn.1400b7340
mov r8d, dword [r12]
mov rdi, rax
movsxd rdx, dword [rbx + 0x90]
add r8d, 2
cmp dword [rbx + 0x94], edx
jg 0x1400ac946
xor eax, eax
mov r9d, r8d
mov r8d, r13d
mov dword [rsp + 0x20], eax
mov rcx, rbx
lea edx, [rax + 0x76]
call fcn.1400ad9d0
mov edx, eax
jmp 0x1400ac978
lea rcx, [rdx + rdx*2]
xor r9d, r9d
lea eax, [rdx + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x76
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov rax, qword [rbx]
cmp byte [rax + 0x67], 0
je 0x1400ac9ad
cmp qword [rax + 0x300], 0
jne 0x1400ac9f9
test rdi, rdi
je 0x1400ac9f9
add dword [rdi], 0xffffffff
jne 0x1400ac9f9
mov rcx, qword [rdi + 0x10]
mov rdx, rdi
call fcn.1400d5ef0
xor ebp, ebp
mov qword [rsp + 0x78], r12
jmp 0x1400aca5c
test edx, edx
jns 0x1400ac9b9
mov edx, dword [rbx + 0x90]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x1400ac9ec
mov r9d, 0xfffffff8
mov r8, rdi
mov rcx, rbx
call fcn.1401246b0
xor ebp, ebp
mov qword [rsp + 0x78], r12
jmp 0x1400aca5c
test rdi, rdi
je 0x1400ac9f9
mov qword [rdx + 0x10], rdi
mov byte [rdx + 1], 0xf8
mov qword [rsp + 0x78], r12
xor ebp, ebp
jmp 0x1400aca5c
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1400aca2d
mov dword [rsp + 0x20], r9d
mov r8d, r13d
mov r9d, ebp
mov edx, 0x76
mov rcx, rbx
call fcn.1400ad9d0
xor ebp, ebp
jmp 0x1400aca5c
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8 + 8], ebp
xor ebp, ebp
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov dword [rax + rcx*8], 0x76
mov dword [rax + rcx*8 + 4], r13d
test r15d, r15d
je 0x1400acac3
movsxd r9, dword [rbx + 0x90]
cmp dword [rbx + 0x94], r9d
jg 0x1400aca8c
xor r9d, r9d
mov dword [rsp + 0x20], ebp
mov r8d, r15d
mov rcx, rbx
lea edx, [r9 + 0x76]
call fcn.1400ad9d0
mov r9d, eax
jmp 0x1400acabb
lea rcx, [r9 + r9*2]
lea eax, [r9 + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x76
mov dword [rax + rcx*8 + 4], r15d
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], rbp
or dword [rsi + 4], 0x20
mov dword [rsi + 0x14], r9d
mov qword [rsi + 0x48], rbp
mov rdi, rsi
nop word [rax + rax]
test byte [rdi + 4], 8
jne 0x1400acf2d
mov rax, qword [rdi + 0x50]
mov byte [rdi], 0x87
test dword [rax + 4], 0x2000
je 0x1400acaf2
mov rdi, rax
test rax, rax
jne 0x1400acad0
mov r12, qword [rdi + 0x50]
lea r8, [0x14018bf6c]
mov edx, 1
mov rcx, r14
mov qword [r12 + 0x58], rbp
call fcn.14010ed00
lea r8, [rsp + 0x58]
mov rdx, r12
mov rcx, r14
call fcn.1400f96c0
mov qword [r12 + 0x58], rsi
test eax, eax
jne 0x1400aced8
movsxd r15, dword [rbx + 0x90]
cmp dword [rbx + 0x94], r15d
jg 0x1400acb5b
mov r9d, dword [rsp + 0xe8]
lea edx, [rax + 0x23]
mov r8d, r13d
mov dword [rsp + 0x20], ebp
mov rcx, rbx
call fcn.1400ad9d0
mov r15d, eax
jmp 0x1400acb90
mov edx, dword [rsp + 0xe8]
lea rcx, [r15 + r15*2]
lea eax, [r15 + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x23
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1400acbbd
mov r8d, dword [rsp + 0xd0]
xor r9d, r9d
mov edx, 0x88
mov dword [rsp + 0x20], ebp
mov rcx, rbx
call fcn.1400ad9d0
jmp 0x1400acbf1
mov edx, dword [rsp + 0xd0]
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x88
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], rbp
mov rax, qword [rsp + 0x48]
movsxd rcx, dword [rbx + 0x90]
test rax, rax
je 0x1400acc59
mov edx, dword [rax]
mov r8d, dword [rsp + 0xd8]
inc edx
cmp dword [rbx + 0x94], ecx
jg 0x1400acc33
mov dword [rsp + 0x20], r8d
mov r9d, edx
mov r8d, r13d
mov edx, 0x5e
mov rcx, rbx
call fcn.1400ad9d0
jmp 0x1400accb5
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x5e
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
jmp 0x1400accab
cmp dword [rbx + 0x94], ecx
jg 0x1400acc7f
mov r9d, dword [rsp + 0xd8]
mov r8d, r13d
mov edx, 0x86
mov dword [rsp + 0x20], ebp
mov rcx, rbx
call fcn.1400ad9d0
jmp 0x1400accb5
mov r8d, dword [rsp + 0xd8]
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x86
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov dword [rax + rcx*8 + 4], r13d
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1400accdd
xor r9d, r9d
mov dword [rsp + 0x20], ebp
mov r8d, r13d
mov edx, 0x82
mov rcx, rbx
call fcn.1400ad9d0
jmp 0x1400acd0b
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x82
mov dword [rax + rcx*8 + 4], r13d
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], rbp
dec dword [r14 + 0x44]
mov edx, dword [rsp + 0x40]
mov ebp, dword [r14 + 0x44]
test edx, edx
jle 0x1400acd7a
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1400acd47
mov r8d, edx
mov dword [rsp + 0x20], 1
mov edx, 0x31
mov r9d, ebp
mov rcx, rbx
call fcn.1400ad9d0
jmp 0x1400acd7a
lea eax, [rcx + 1]
xor r13d, r13d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x31
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], r13
mov rax, qword [rsp + 0xe0]
xor r9d, r9d
mov r13d, dword [rsp + 0xe8]
mov rdx, rsi
mov r8d, dword [rsp + 0xd0]
mov rcx, r14
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x28], rax
xor eax, eax
mov qword [rsp + 0x20], rax
call fcn.1400c5530
mov edx, dword [rsp + 0x44]
test edx, edx
je 0x1400ace16
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1400acde5
xor eax, eax
mov r8d, edx
mov r9d, r13d
mov dword [rsp + 0x20], eax
mov rcx, rbx
lea edx, [rax + 0x3c]
call fcn.1400ad9d0
jmp 0x1400ace16
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x3c
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov rcx, qword [rbx + 0x18]
not ebp
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x1400ace31
mov r8d, ebp
mov rdx, rbx
call fcn.1400c1500
jmp 0x1400ace42
mov rcx, qword [rcx + 0x50]
mov eax, dword [rbx + 0x90]
movsxd r8, ebp
mov dword [rcx + r8*4], eax
xor ebp, ebp
lea r8, str.RECURSIVE_STEP
mov rcx, r14
mov qword [rdi + 0x50], rbp
lea edx, [rbp + 1]
call fcn.14010ed00
lea r8, [rsp + 0x58]
mov rdx, rsi
mov rcx, r14
call fcn.1400f96c0
mov qword [rdi + 0x50], r12
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1400ace94
mov r9d, r15d
mov dword [rsp + 0x20], ebp
xor r8d, r8d
lea edx, [rbp + 8]
mov rcx, rbx
call fcn.1400ad9d0
jmp 0x1400acebe
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov qword [rax + rcx*8], 8
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov rcx, qword [rbx + 0x18]
not r13d
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x1400acf1b
mov r8d, r13d
mov rdx, rbx
call fcn.1400c1500
mov r12, qword [rsp + 0x48]
mov rdx, qword [rsi + 0x48]
mov r13, qword [rsp + 0x88]
test rdx, rdx
je 0x1400acef6
mov rcx, qword [r14]
call fcn.1400a4e20
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x48], r12
mov r12, qword [rsp + 0x90]
mov qword [rsi + 0x60], rax
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rcx, qword [rcx + 0x50]
mov eax, dword [rbx + 0x90]
movsxd rdx, r13d
mov dword [rcx + rdx*4], eax
jmp 0x1400aced8
lea rdx, str.recursive_aggregate_queries_not_supported
mov rcx, r14
call fcn.1400d8a30
jmp 0x1400acedd