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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x20], r9d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
xor r13d, r13d
or edi, 0xffffffff
mov r14d, r9d
mov r15d, r8d
mov rbp, rdx
mov rbx, rcx
mov dword [rsp + 0x3c], edi
mov r12d, r13d
mov dword [rsp + 0x38], r13d
call fcn.14026fe90
mov rsi, rax
test rax, rax
je 0x140249d9c
inc dword [rbx + 0x74]
test byte [rbp + 4], 0x20
jne 0x140249b25
mov rcx, rbx
call fcn.14026fe90
mov r8d, dword [rbx + 0x60]
lea edx, [rdi + 0x2c]
mov rcx, rax
lea eax, [r8 + 1]
xor r9d, r9d
mov dword [rbx + 0x60], eax
mov dword [rsp + 0x20], r13d
call fcn.1402355c0
mov edi, eax
mov dword [rsp + 0x3c], eax
cmp byte [rbx + 0x1f2], 2
jne 0x140249bf8
cmp byte [rbp], 0x4b
mov rcx, qword [rbx]
lea rax, str.LIST
lea r9, str.SCALAR
lea r8, str.CORRELATED
lea rdx, str.EXECUTE__s_s_SUBQUERY__d
cmove r9, rax
lea rax, [0x1403349b5]
test edi, edi
cmovns r8, rax
mov eax, dword [rbx + 0x204]
mov dword [rsp + 0x20], eax
call fcn.1402177f0
mov r8d, dword [rbx + 0x200]
xor r9d, r9d
mov edx, 0x9c
mov rcx, rsi
mov r14, rax
mov dword [rsp + 0x20], r13d
call fcn.1402355c0
mov r8, qword [rsi + 8]
mov rcx, qword [rsi]
test r8, r8
je 0x140249be5
cmp byte [rcx + 0x50], r12b
jne 0x140249be5
test eax, eax
jns 0x140249baf
mov eax, dword [rsi + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rdi, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rdi + 0x10]
call fcn.140235b90
mov qword [rdi + 0x10], r13
test r14, r14
jne 0x140249bdb
mov qword [rdi + 0x10], r13
mov byte [rdi + 1], r12b
jmp 0x140249bf0
mov qword [rdi + 0x10], r14
mov byte [rdi + 1], 0xff
jmp 0x140249bf0
mov r8, r14
or edx, 0xffffffff
call fcn.140235b90
mov r14d, dword [rsp + 0xb8]
cmp byte [rbp], 0x4b
je 0x140249cd0
mov r9d, dword [rbx + 0x58]
mov rdi, qword [rbp + 0x20]
xor r8d, r8d
inc r9d
mov byte [rsp + 0x49], r12b
mov qword [rsp + 0x50], r13
mov dword [rbx + 0x58], r9d
cmp byte [rbp], 0x77
mov dword [rsp + 0x20], r13d
mov dword [rsp + 0x4c], r9d
mov rcx, rsi
jne 0x140249c3c
mov byte [rsp + 0x48], 6
lea edx, [r8 + 0x1c]
jmp 0x140249c46
mov byte [rsp + 0x48], 3
mov edx, 0x19
call fcn.1402355c0
mov rdx, qword [rdi + 0x60]
mov rcx, qword [rbx]
call fcn.140248640
mov rcx, qword [rbx]
lea r8, [0x14032afd8]
mov r9d, 1
mov edx, 0x84
call fcn.140247e20
mov rcx, qword [rbx]
xor r9d, r9d
mov rdx, rax
xor r8d, r8d
mov rbp, rax
call fcn.140247fa0
test rbp, rbp
je 0x140249ca6
mov rcx, qword [rbx]
mov r8d, dword [rcx + 0x74]
cmp dword [rbp + 0x28], r8d
jle 0x140249ca6
lea rdx, str.Expression_tree_is_too_large__maximum_depth__d_
mov rcx, rbx
call fcn.140218760
lea r8, [rsp + 0x48]
mov rdx, rdi
mov rcx, rbx
mov qword [rdi + 0x60], rbp
mov dword [rdi + 0xc], r13d
call fcn.140274f80
test eax, eax
jne 0x140249d9c
mov r12d, dword [rsp + 0x4c]
jmp 0x14024a0d0
mov rdi, qword [rbp + 0x10]
test r15d, r15d
je 0x140249cf0
xor r8d, r8d
mov r9d, r15d
mov rcx, rsi
lea edx, [r8 + 0x1c]
mov dword [rsp + 0x20], r13d
call fcn.1402355c0
mov rcx, rdi
call fcn.1402474d0
mov r9d, r13d
mov edx, 0x37
mov byte [rsp + 0x30], al
mov eax, dword [rbx + 0x54]
mov rcx, rsi
mov dword [rbp + 0x2c], eax
inc dword [rbx + 0x54]
mov r8d, dword [rbp + 0x2c]
test r14d, r14d
mov dword [rsp + 0x20], r13d
sete r9b
call fcn.1402355c0
mov edi, eax
mov dword [rsp + 0x34], eax
test r14d, r14d
jne 0x140249d43
mov rcx, qword [rbx]
mov edx, 1
mov r8d, edx
call fcn.14026e770
mov r13, rax
test dword [rbp + 4], 0x800
mov qword [rsp + 0x68], r13
je 0x140249dc6
mov ecx, dword [rbp + 0x2c]
mov rax, qword [rbp + 0x20]
xor edx, edx
mov dword [rsp + 0x4c], ecx
movzx ecx, byte [rsp + 0x30]
mov qword [rsp + 0x50], rdx
mov byte [rsp + 0x49], cl
mov byte [rsp + 0x48], 7
mov dword [rax + 0xc], edx
mov rdx, qword [rbp + 0x20]
lea r8, [rsp + 0x48]
mov rcx, rbx
call fcn.140274f80
test eax, eax
je 0x140249da3
test r13, r13
je 0x140249d9c
dec dword [r13]
jne 0x140249d9c
mov rcx, r13
call fcn.140215ac0
xor eax, eax
jmp 0x14024a140
mov rax, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x10]
mov rcx, qword [rax]
mov r8, qword [rcx + 8]
mov rcx, rbx
mov r8, qword [r8]
call fcn.140247a90
mov qword [r13 + 0x20], rax
jmp 0x14024a07b
mov rdi, qword [rbp + 0x20]
test rdi, rdi
je 0x14024a077
movzx eax, byte [rsp + 0x30]
mov edx, 0x62
test al, al
mov ecx, eax
cmove ecx, edx
mov byte [rsp + 0x30], cl
test r13, r13
je 0x140249dfd
mov rdx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140247700
mov qword [r13 + 0x20], rax
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x140249e0e
inc dword [rbx + 0x58]
mov r15d, dword [rbx + 0x58]
jmp 0x140249e1b
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov r15d, dword [rbx + rax*4 + 0x28]
movzx eax, byte [rbx + 0x1f]
mov dword [rsp + 0x40], r15d
test al, al
jne 0x140249e31
inc dword [rbx + 0x58]
mov r14d, dword [rbx + 0x58]
jmp 0x140249e3e
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov r14d, dword [rbx + rax*4 + 0x28]
xor r8d, r8d
mov r9d, r14d
mov rcx, rsi
lea edx, [r8 + 0x1c]
mov dword [rsp + 0x20], r12d
call fcn.1402355c0
mov r12d, dword [rdi]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x60], rax
test r12d, r12d
jle 0x140249ffe
mov r13d, dword [rsp + 0x40]
nop
mov r15d, dword [rsp + 0x3c]
mov rdi, qword [rax]
test r15d, r15d
js 0x140249e9c
mov rcx, rdi
call fcn.140249320
test eax, eax
jne 0x140249e9c
mov edx, r15d
mov rcx, rsi
call fcn.140235d70
mov dword [rsp + 0x3c], 0xffffffff
cmp dword [rsp + 0xb8], 0
je 0x140249ee7
test dword [rdi + 4], 0x400
je 0x140249ec4
mov eax, dword [rdi + 8]
mov edx, 0x49
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x20], eax
jmp 0x140249fcb
lea rdx, [rsp + 0x44]
mov rcx, rdi
call fcn.140249400
test eax, eax
je 0x140249ee7
mov eax, dword [rsp + 0x44]
mov edx, 0x49
mov dword [rsp + 0x20], eax
jmp 0x140249fcb
mov r8d, r13d
mov rdx, rdi
mov rcx, rbx
call fcn.14024ae10
cmp dword [rsp + 0xb8], 0
mov rcx, rsi
mov r15d, eax
mov r8d, eax
je 0x140249f31
mov r9d, dword [rsi + 0x3c]
mov edx, 0x26
mov dword [rsp + 0x20], 0
add r9d, 2
call fcn.1402355c0
mov dword [rsp + 0x20], r15d
mov edx, 0x46
jmp 0x140249fcb
mov r9d, 1
mov dword [rsp + 0x20], r14d
lea edx, [r9 + 0x2f]
call fcn.1402355c0
mov r8, qword [rsi + 8]
mov rcx, qword [rsi]
test r8, r8
je 0x140249f9e
cmp byte [rcx + 0x50], 0
jne 0x140249f9e
test eax, eax
jns 0x140249f60
mov eax, dword [rsi + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rdi, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rdi + 0x10]
call fcn.140235b90
mov qword [rdi + 0x10], 0
mov rcx, qword [rsi]
lea rdx, [rsp + 0x30]
mov r8d, 1
call fcn.140216030
mov byte [rdi + 1], 0xff
mov qword [rdi + 0x10], rax
jmp 0x140249fad
lea r8, [rsp + 0x30]
mov edx, 1
call fcn.140235b90
mov r8d, 1
mov edx, r15d
mov rcx, rbx
call fcn.14024a940
mov dword [rsp + 0x20], 0
mov edx, 0x6b
mov r8d, dword [rbp + 0x2c]
mov r9d, r14d
mov rcx, rsi
call fcn.1402355c0
mov rax, qword [rsp + 0x60]
dec r12d
add rax, 0x28
mov qword [rsp + 0x60], rax
test r12d, r12d
jg 0x140249e70
mov r13, qword [rsp + 0x68]
mov r15d, dword [rsp + 0x40]
test r15d, r15d
je 0x14024a037
movzx edx, byte [rbx + 0x1f]
cmp dl, 8
jae 0x14024a037
xor ecx, ecx
lea rax, [rbx + 0x88]
cmp dword [rax + 0xc], r15d
je 0x14024a033
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x14024a015
movzx eax, dl
mov dword [rbx + rax*4 + 0x28], r15d
inc byte [rbx + 0x1f]
jmp 0x14024a037
mov byte [rax + 6], 1
test r14d, r14d
je 0x14024a072
movzx edx, byte [rbx + 0x1f]
cmp dl, 8
jae 0x14024a072
xor ecx, ecx
lea rax, [rbx + 0x88]
nop
cmp dword [rax + 0xc], r14d
je 0x14024a06e
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x14024a050
movzx eax, dl
mov dword [rbx + rax*4 + 0x28], r14d
inc byte [rbx + 0x1f]
jmp 0x14024a072
mov byte [rax + 6], 1
mov r12d, dword [rsp + 0x38]
mov edi, dword [rsp + 0x34]
test r13, r13
je 0x14024a0cd
mov r8, qword [rsi + 8]
mov rcx, qword [rsi]
test r8, r8
je 0x14024a0c0
cmp byte [rcx + 0x50], 0
jne 0x14024a0c0
test edi, edi
jns 0x14024a09b
mov edi, dword [rsi + 0x3c]
dec edi
movsxd rax, edi
lea rdx, [rax + rax*2]
lea rdi, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rdi + 0x10]
call fcn.140235b90
mov qword [rdi + 0x10], r13
mov byte [rdi + 1], 0xfa
jmp 0x14024a0cd
mov r8, r13
mov edx, 0xfffffffa
call fcn.140235b90
xor r13d, r13d
mov eax, dword [rsp + 0x3c]
test eax, eax
js 0x14024a0f7
mov edx, dword [rsi + 0x3c]
cmp edx, eax
jbe 0x14024a0eb
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
dec ecx
mov dword [rax + 0x68], ecx
dec dword [rbx + 0x74]
lea rcx, [rbx + 0x94]
mov r8d, 0xa
mov edx, dword [rcx]
test edx, edx
je 0x14024a134
mov eax, dword [rbx + 0x74]
cmp dword [rcx - 4], eax
jle 0x14024a134
cmp byte [rcx - 6], 0
je 0x14024a131
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x14024a12d
movzx eax, al
mov dword [rbx + rax*4 + 0x28], edx
inc byte [rbx + 0x1f]
mov byte [rcx - 6], 0
mov dword [rcx], r13d
add rcx, 0x14
dec r8
jne 0x14024a107
mov eax, r12d
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret