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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x188
mov al, byte [rdx]
mov r15, qword [rcx + 0x28]
cmp al, 0x4b
mov qword [rsp + 0x1d0], rcx
mov rbx, rdx
mov r14, qword [r15]
je 0x140272427
ja 0x1402723f3
cmp al, 0x14
je case.0x1402723f1.4
sub eax, 0x2d
cmp al, 0xe
ja case.0x1402723f1.1
lea rdx, [0x1403eb880]
movzx eax, al
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
cmp al, 0x9c
je 0x1402738d5
ja 0x140272412
cmp al, 0x8a
je case.0x1402723f1.4
cmp al, 0x8d
je 0x140272514
jmp case.0x1402723f1.1
cmp al, 0xab
je case.0x1402723f1.0
cmp al, 0xac
je 0x140273190
jmp case.0x1402723f1.1
mov rax, qword [r15 + 8]
mov rdx, qword [rax + 0x28]
mov eax, dword [rax + 0x4c]
mov word [rbx], 0x44a7
dec word [rbx + 0x30]
mov qword [rbx + 0x40], rdx
mov dword [rbx + 0x2c], eax
jmp case.0x1402723f1.1
lea rsi, [rsp + 0xc0]
mov rdx, r15
mov eax, 1
mov ecx, dword [rdx + 0x20]
mov rdx, qword [rdx + 0x18]
mov dword [rsi + rax*4 - 4], ecx
test rdx, rdx
setne r8b
cmp eax, 7
setle cl
inc rax
test r8b, cl
jne 0x140272457
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rsp + 0x1d0]
call fcn.1402bbb20
mov r9, qword [rbx + 0x10]
mov rcx, r9
call fcn.1402880f0
test eax, eax
jne 0x14027331d
cmp byte [r14 + 0x134], 1
ja 0x14027331d
xor eax, eax
cmp byte [rbx], 0x33
mov byte [rbx], 0x9b
sete al
or dword [rbx + 4], 0x800
mov dword [rbx + 8], eax
mov eax, 1
mov edx, dword [rsi + rax*4 - 4]
mov dword [r15 + 0x20], edx
mov r15, qword [r15 + 0x18]
test r15, r15
setne cl
cmp eax, 7
setle dl
inc rax
test cl, dl
jne 0x1402724c4
mov rcx, qword [r14]
mov rdx, r9
xor r12d, r12d
call fcn.14028a9a0
mov qword [rbx + 0x10], r12
jmp 0x14027331d
mov rax, qword [rbx + 8]
xor ebp, ebp
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rax
jmp 0x14027259a
mov rsi, qword [rdx + 0x10]
mov edx, dword [r15 + 0x28]
test dl, 0x28
je 0x140272538
mov qword [rsp + 0x20], rbx
lea r8, str.the__.__operator
xor r9d, r9d
mov rcx, r14
call fcn.140268d30
mov r8, qword [rbx + 0x18]
mov rax, qword [rsi + 8]
cmp byte [r8], 0x3b
mov qword [rsp + 0x50], rax
je 0x140272555
mov rsi, qword [r8 + 0x10]
mov r8, qword [r8 + 0x18]
jmp 0x14027255c
xor edi, edi
mov qword [rsp + 0x50], rdi
mov rax, qword [rsi + 8]
cmp byte [r14 + 0x134], 1
mov qword [rsp + 0x38], rax
mov rax, qword [r8 + 8]
mov qword [rsp + 0x40], rax
jbe 0x14027259a
mov rcx, qword [r14 + 0x1a0]
mov rdx, rbx
call fcn.1402a7110
mov rcx, qword [r14 + 0x1a0]
lea rdx, [rbx + 0x40]
mov r8, rsi
call fcn.1402a7110
mov rax, qword [r14]
xor r10d, r10d
xor r11d, r11d
mov dword [rbx + 0x2c], 0xffffffff
cmp qword [rsp + 0x50], 0
mov qword [rsp + 0xc0], r10
mov qword [rsp + 0x58], r11
mov qword [rsp + 0x48], rax
je 0x140272652
test byte [r15 + 0x28], 6
jne 0x140272645
mov esi, dword [rax + 0x28]
xor r11d, r11d
cmp esi, r11d
jle 0x140272609
mov rax, qword [rsp + 0x48]
mov rdi, r11
inc r11
shl rdi, 5
mov rdx, qword [rsp + 0x50]
add rdi, qword [rax + 0x20]
mov rcx, qword [rdi]
call fcn.1402ad440
test eax, eax
jne 0x1402725d5
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x58], rax
jmp 0x140272652
mov qword [rsp + 0x58], 0
jne 0x140272652
mov rdx, qword [rsp + 0x50]
lea rcx, str.main
call fcn.1402ad440
test eax, eax
jne 0x140272652
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x20]
mov rdi, qword [rax + 0x18]
mov rax, qword [rax]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rax
jmp 0x140272652
xor r9d, r9d
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x50], r9
xor r8d, r8d
mov rdi, r15
mov dword [rsp + 0x68], 0xa7
xor ebp, ebp
lea rax, [rsp + 0xa0]
mov dword [rsp + 0x8c], r8d
mov dword [rsp + 0x6c], r8d
mov qword [rsp + 0x98], rax
mov rax, qword [rdi + 8]
xor esi, esi
test rax, rax
mov qword [rsp + 0x70], rax
je 0x140272a77
lea r12, [rax + 8]
xor ecx, ecx
mov dword [rsp + 0x88], ecx
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x88]
cmp ecx, dword [rax]
jge 0x140272a4e
mov rax, qword [r12 + 0x20]
test byte [r12 + 0x41], 0x20
mov qword [rsp + 0x60], rax
je 0x140272831
mov rax, qword [r12 + 0x28]
xor edx, edx
xor r13d, r13d
mov dword [rsp + 0x90], edx
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x78], rax
add rax, 8
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x78]
cmp r13d, dword [rax]
jge 0x140272816
xor eax, eax
mov r9, qword [rsp + 0x50]
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0x98]
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
call fcn.14029ce90
test eax, eax
je 0x140272805
cmp dword [rsp + 0xa0], 0
jne 0x1402727d7
test esi, esi
jle 0x1402727c8
test byte [r12 + 0x41], 4
je 0x140272765
mov rcx, qword [r12 + 0x48]
mov rdx, qword [rsp + 0x40]
call fcn.1402995a0
test eax, eax
jns 0x140272783
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x48]
call fcn.14028b700
xor eax, eax
mov qword [rsp + 0xc0], rax
jmp 0x1402727c8
mov al, byte [r12 + 0x3c]
test al, 0x10
je 0x140272805
test al, 8
jne 0x1402727b0
mov rdx, qword [rsp + 0xc0]
xor esi, esi
mov rcx, qword [rsp + 0x48]
call fcn.14028b700
xor eax, eax
mov qword [rsp + 0xc0], rax
jmp 0x1402727c8
movsx r9d, word [rbx + 0x30]
lea rdx, [rsp + 0xc0]
mov r8, rbp
mov rcx, r14
call fcn.140238510
mov dword [rsp + 0x90], 1
inc esi
jmp 0x1402727db
test esi, esi
jg 0x140272805
mov rcx, qword [rsp + 0x78]
movsxd rax, r13d
mov word [rbx + 0x30], r13w
mov rbp, r12
inc dword [rsp + 0x6c]
shl rax, 5
lea rdx, [rcx + rax + 0x10]
mov al, byte [rdx + 0xc]
or eax, 0x40
test al, al
mov byte [rdx + 0xc], al
js 0x140272816
add qword [rsp + 0x80], 0x20
inc r13d
jmp 0x1402726f0
cmp qword [rsp + 0x38], 0
je 0x140272a3e
cmp dword [rsp + 0x90], 0
je 0x14027283d
jmp 0x140272a3e
cmp qword [rsp + 0x38], 0
je 0x1402728f2
cmp qword [rsp + 0x50], 0
je 0x140272877
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
cmp qword [rax + 0x60], rcx
jne 0x140272a3e
test rcx, rcx
jne 0x140272877
mov rcx, qword [rsp + 0x50]
lea rdx, [0x1403e9a17]
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140272a3e
mov rdx, qword [r12 + 0x18]
test rdx, rdx
je 0x140272895
mov rcx, qword [rsp + 0x38]
call fcn.1402ad440
test eax, eax
jne 0x140272a3e
jmp 0x1402728d6
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rax]
call fcn.1402ad440
test eax, eax
je 0x1402728f2
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0x28], 1
jne 0x140272a3e
mov r8, qword [rsp + 0x58]
mov rdx, rax
mov rcx, qword [rsp + 0x38]
call fcn.14025e690
test eax, eax
je 0x140272a3e
jmp 0x1402728f2
cmp byte [r14 + 0x134], 1
jbe 0x1402728f2
mov rcx, qword [r14 + 0x1a0]
lea r8, [rbx + 0x40]
xor edx, edx
call fcn.1402a7110
mov rcx, qword [rsp + 0x40]
xor r13d, r13d
call fcn.1402ad480
mov byte [rsp + 0x78], al
mov rax, qword [rsp + 0x60]
mov r8, qword [rax + 8]
movsx eax, word [rax + 0x36]
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x80]
cmp r13d, eax
jge 0x140272a28
mov al, byte [rsp + 0x78]
cmp al, byte [r8 + 0xe]
jne 0x140272a1c
mov rcx, qword [r8]
mov qword [rsp + 0x90], r8
mov rdx, qword [rsp + 0x40]
call fcn.1402ad440
mov r8, qword [rsp + 0x90]
test eax, eax
jne 0x140272a1c
test esi, esi
mov al, byte [r12 + 0x41]
jle 0x1402729e9
test al, 4
je 0x140272986
mov rcx, qword [r12 + 0x48]
mov rdx, qword [rsp + 0x40]
call fcn.1402995a0
mov r8, qword [rsp + 0x90]
test eax, eax
jns 0x1402729a4
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x48]
call fcn.14028b700
xor eax, eax
mov qword [rsp + 0xc0], rax
jmp 0x1402729e9
mov al, byte [r12 + 0x3c]
test al, 0x10
je 0x140272a1c
test al, 8
jne 0x1402729d1
mov rdx, qword [rsp + 0xc0]
xor esi, esi
mov rcx, qword [rsp + 0x48]
call fcn.14028b700
xor eax, eax
mov qword [rsp + 0xc0], rax
jmp 0x1402729e9
movsx r9d, word [rbx + 0x30]
lea rdx, [rsp + 0xc0]
mov r8, rbp
mov rcx, r14
call fcn.140238510
mov rax, qword [rsp + 0x60]
movsx eax, word [rax + 0x34]
cmp eax, r13d
mov eax, 0xffffffff
cmovne eax, r13d
test byte [r12 + 0x41], 0x20
mov word [rbx + 0x30], ax
je 0x140272a15
mov edx, r13d
mov rcx, r12
call fcn.1402ac480
inc esi
mov rbp, r12
jmp 0x140272a28
inc r13d
add r8, 0x18
jmp 0x140272917
test esi, esi
jne 0x140272a3e
mov rax, qword [rsp + 0x60]
test byte [rax + 0x31], 2
jne 0x140272a3e
inc dword [rsp + 0x6c]
mov rbp, r12
inc dword [rsp + 0x88]
add r12, 0x68
jmp 0x1402726a0
test rbp, rbp
je 0x140272a77
mov eax, dword [rbp + 0x44]
mov dword [rbx + 0x2c], eax
mov rax, qword [rbp + 0x20]
mov qword [rbx + 0x40], rax
test byte [rbp + 0x3c], 0x48
je 0x140272a6e
or dword [rbx + 4], 0x200000
mov rax, qword [rax + 0x60]
mov qword [rsp + 0x58], rax
test esi, esi
jne 0x140272f23
cmp qword [rsp + 0x50], 0
jne 0x140272ced
cmp qword [rsp + 0x38], 0
mov r13, qword [r14 + 0xb8]
setne r11b
test r13, r13
je 0x140272b31
cmp byte [r14 + 0xe3], 0
movzx esi, byte [r14 + 0xe2]
je 0x140272ae1
test byte [rdi + 0x29], 4
je 0x140272b2e
cmp qword [rsp + 0x38], 0
je 0x140272ad7
mov rdx, qword [r13]
mov rcx, qword [rsp + 0x38]
call fcn.1402ad440
test eax, eax
jne 0x140272b2e
xor eax, eax
add esi, 0xffffff80
setne al
jmp 0x140272b29
cmp esi, 0x80
je 0x140272b03
test r11b, r11b
je 0x140272b03
mov rdx, qword [rsp + 0x38]
lea rcx, [0x1403eb60b]
call fcn.1402ad440
test eax, eax
je 0x140272b24
cmp esi, 0x7f
je 0x140272b2e
test r11b, r11b
je 0x140272b2e
mov rdx, qword [rsp + 0x38]
lea rcx, [0x1403eb60f]
call fcn.1402ad440
test eax, eax
jne 0x140272b2e
jmp 0x140272b29
mov eax, 1
mov dword [rbx + 0x2c], eax
jmp 0x140272b31
xor r13d, r13d
test byte [rdi + 0x29], 2
je 0x140272b69
test r11b, r11b
je 0x140272b69
mov r11, qword [rdi + 0x10]
test r11, r11
je 0x140272b69
mov rdx, qword [rsp + 0x38]
lea rcx, str.excluded
call fcn.1402ad440
test eax, eax
jne 0x140272b69
mov rax, qword [r11 + 0x40]
mov r13, qword [rax + 0x28]
mov dword [rbx + 0x2c], 2
xor esi, esi
test r13, r13
je 0x140272ced
mov rcx, qword [rsp + 0x40]
xor r11d, r11d
call fcn.1402ad480
mov rsi, qword [r13 + 8]
mov r8d, eax
mov rax, qword [r13 + 0x60]
inc dword [rsp + 0x6c]
movsx r12d, word [r13 + 0x36]
mov qword [rsp + 0x58], rax
cmp r11d, r12d
jge 0x140272bd5
cmp r8b, byte [rsi + 0xe]
jne 0x140272bcc
mov rdx, qword [rsp + 0x40]
mov byte [rsp + 0x60], r8b
mov rcx, qword [rsi]
call fcn.1402ad440
mov r8b, byte [rsp + 0x60]
test eax, eax
jne 0x140272bcc
movsx eax, word [r13 + 0x34]
cmp eax, r11d
jne 0x140272c03
jmp 0x140272bff
inc r11d
add rsi, 0x18
jmp 0x140272b9a
mov rcx, qword [rsp + 0x40]
call fcn.14029bff0
test eax, eax
mov esi, eax
je 0x140272cf5
xor esi, esi
test byte [r13 + 0x31], 2
jne 0x140272ced
test r12d, r12d
js 0x140272ced
or r11d, 0xffffffff
mov eax, dword [rbx + 0x2c]
cmp eax, 2
jne 0x140272c3f
cmp byte [r14 + 0x134], 1
jbe 0x140272c28
mov word [rbx + 0x30], r11w
mov qword [rbx + 0x40], r13
mov dword [rsp + 0x68], 0xa7
jmp 0x140272c7d
mov rax, qword [rdi + 0x10]
mov edx, r11d
mov rcx, r13
mov esi, dword [rax + 0x48]
call fcn.1402ad950
cwde
add eax, esi
jmp 0x140272c72
mov qword [rbx + 0x40], r13
cmp byte [r14 + 0xe3], 0
je 0x140272c86
inc r12d
mov byte [rbx + 2], 0xa7
mov edx, r11d
mov rcx, r13
imul r12d, eax
add r12d, dword [rdi + 0x10]
mov word [rbx + 0x30], r11w
call fcn.1402ad950
cwde
lea eax, [r12 + rax + 1]
mov dword [rbx + 0x2c], eax
mov dword [rsp + 0x68], 0xb0
xor ebp, ebp
mov esi, 1
jmp 0x140272ced
cmp r11d, 0xffffffff
mov word [rbx + 0x30], r11w
jne 0x140272c97
mov byte [rbx + 1], 0x44
jmp 0x140272cbe
test eax, eax
jne 0x140272cc8
or eax, 0xffffffff
cmp r11d, 0x1f
mov edx, dword [r14 + 0xd8]
jg 0x140272cb5
mov eax, 1
mov ecx, r11d
shl eax, cl
or edx, eax
mov dword [r14 + 0xd8], edx
mov dword [rsp + 0x68], 0x4d
jmp 0x140272c7d
or eax, 0xffffffff
cmp r11d, 0x1f
mov edx, dword [r14 + 0xdc]
jg 0x140272ce2
mov eax, 1
mov ecx, r11d
shl eax, cl
or edx, eax
mov dword [r14 + 0xdc], edx
jmp 0x140272cbe
test esi, esi
jne 0x140272f23
cmp dword [rsp + 0x6c], 1
jne 0x140272d43
test rbp, rbp
je 0x140272d4b
test byte [rdi + 0x28], 0x28
jne 0x140272d4b
mov rcx, qword [rsp + 0x40]
call fcn.14029bff0
test eax, eax
je 0x140272d4b
mov al, byte [rbp + 0x41]
mov rdx, qword [rbp + 0x20]
and eax, 0x20
test byte [rdx + 0x31], 2
je 0x140272d2b
test al, al
jne 0x140272d35
jmp 0x140272d4b
test al, al
jne 0x140272d35
mov word [rbx + 0x30], 0xffff
mov byte [rbx + 1], 0x44
mov esi, 1
jmp 0x140272e84
test esi, esi
jne 0x140272f23
mov r12d, dword [rdi + 0x28]
test r12b, r12b
jns 0x140272e6e
cmp qword [rsp + 0x38], 0
jne 0x140272e6e
mov r13, qword [rdi + 0x10]
xor r11d, r11d
mov eax, dword [r13]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], r11d
mov dword [rsp + 0x60], r11d
jle 0x140272e6e
movsxd rax, r11d
shl rax, 5
lea rsi, [r13 + rax]
test byte [rsi + 0x1c], 3
jne 0x140272e66
mov rax, r11
mov rdx, qword [rsp + 0x40]
shl rax, 5
mov r8, qword [r13 + rax + 0x10]
mov rcx, r8
mov qword [rsp + 0x78], r8
call fcn.1402c9100
mov r8, qword [rsp + 0x78]
test eax, eax
jne 0x140272e66
mov rcx, qword [rsi + 8]
test r12d, 1
mov eax, dword [rcx + 4]
jne 0x140272ddf
lea rdx, str.misuse_of_aliased_aggregate__s
test al, 0x10
jne 0x140272df8
bt eax, 0xf
jae 0x140272e0a
bt r12d, 0xe
jae 0x140272df1
cmp r15, rdi
je 0x140272e0a
lea rdx, str.misuse_of_aliased_window_function__s
mov rcx, r14
call fcn.140287890
mov eax, 2
jmp 0x1402739a5
call fcn.14028bc50
dec eax
je 0x140272e24
lea rdx, str.row_value_misused
mov rcx, r14
call fcn.140287890
jmp 0x140272e00
mov eax, dword [rsp + 0x8c]
mov r9, rbx
mov rdx, r13
mov rcx, r14
mov r8d, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
call fcn.140272220
cmp byte [r14 + 0x134], 1
jbe 0x1402730c8
mov rcx, qword [r14 + 0x1a0]
mov r8, rbx
xor edx, edx
call fcn.1402a7110
jmp 0x1402730c8
inc r11
jmp 0x140272d73
mov rdi, qword [rdi + 0x18]
inc dword [rsp + 0x8c]
test rdi, rdi
jne 0x14027267f
xor esi, esi
test esi, esi
jne 0x140272f23
cmp qword [rsp + 0x38], 0
jne 0x140272f23
test byte [rbx + 4], 0x80
je 0x140272f01
mov rax, qword [rsp + 0x48]
cmp byte [rax + 0xc5], 0
jne 0x140272edc
test byte [r15 + 0x2a], 1
mov rax, qword [rax + 0x30]
je 0x140272ed1
mov rdx, rax
and edx, 0x10000001
dec rdx
jne 0x140272ecb
bt eax, 0x1e
jb 0x140272edc
shr rax, 0x1d
jmp 0x140272ed5
shr rax, 0x1e
and eax, 1
test eax, eax
je 0x140272f01
mov r8, qword [rsp + 0x40]
lea rdx, str.double_quoted_string_literal:___w_
mov ecx, 0x1c
xor r13d, r13d
call fcn.1402c53a0
mov byte [rbx], 0x75
mov qword [rbx + 0x40], r13
jmp 0x14027331d
mov rcx, rbx
call fcn.14028abc0
test eax, eax
jne 0x14027331d
mov rdx, qword [rsp + 0xc0]
test rdx, rdx
jne 0x140272f2e
jmp 0x140272fbd
cmp esi, 1
je 0x14027305b
jmp 0x140272f11
lea eax, [rsi - 1]
cmp dword [rdx], eax
jne 0x140272fa8
mov eax, dword [rbx + 4]
bt eax, 0x17
jae 0x140272f48
and eax, 0xff7fffff
mov dword [rbx + 4], eax
jmp 0x140272f71
mov rdx, qword [rbx + 0x10]
xor esi, esi
xor r12d, r12d
mov rcx, qword [rsp + 0x48]
call fcn.14028a9a0
mov rdx, qword [rbx + 0x18]
mov qword [rbx + 0x10], rsi
mov rcx, qword [rsp + 0x48]
call fcn.14028a9a0
mov qword [rbx + 0x18], r12
movsx r9d, word [rbx + 0x30]
lea rdx, [rsp + 0xc0]
mov r8, rbp
mov rcx, r14
call fcn.140238510
lea rax, str.coalesce
mov byte [rbx], 0xac
mov qword [rbx + 8], rax
mov rax, qword [rsp + 0xc0]
mov qword [rbx + 0x20], rax
jmp 0x1402730c8
mov rcx, qword [rsp + 0x48]
call fcn.14028b700
xor r11d, r11d
mov qword [rsp + 0xc0], r11
lea r8, str.ambiguous_column_name
test esi, esi
lea rax, str.no_such_column
cmove r8, rax
cmp qword [rsp + 0x50], 0
je 0x140273003
mov rax, qword [rsp + 0x40]
lea rdx, str._s:__s._s._s
mov rcx, r14
mov r9, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
call fcn.140287890
jmp 0x14027303f
cmp qword [rsp + 0x38], 0
je 0x14027302b
mov rax, qword [rsp + 0x40]
lea rdx, str._s:__s._s
mov rcx, r14
mov r9, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
call fcn.140287890
jmp 0x14027303f
mov r9, qword [rsp + 0x40]
lea rdx, str._s:__s
mov rcx, r14
call fcn.140287890
mov rcx, qword [r14]
mov rdx, rbx
call fcn.1402a6a60
mov byte [r14 + 0x1d], 1
inc dword [r15 + 0x24]
mov dword [rsp + 0x68], 0x79
test dword [rbx + 4], 0x810000
jne 0x140273095
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rsp + 0x48]
call fcn.14028a9a0
mov rdx, qword [rbx + 0x18]
xor r9d, r9d
mov rcx, qword [rsp + 0x48]
mov qword [rbx + 0x10], r9
call fcn.14028a9a0
xor r10d, r10d
or dword [rbx + 4], 0x800000
mov qword [rbx + 0x18], r10
cmp word [rbx + 0x30], 0
mov al, byte [rsp + 0x68]
js 0x1402730be
cmp esi, 1
jne 0x1402730be
test rbp, rbp
je 0x1402730be
mov rcx, rbx
call fcn.14028a340
or qword [rbp + 0x50], rax
mov al, byte [rsp + 0x68]
mov byte [rbx], al
jmp 0x1402730c8
dec esi
mov byte [rbx], al
jne 0x140272e00
mov rcx, qword [r14]
cmp qword [rcx + 0x200], 0
je 0x14027317d
mov r11b, byte [rbx]
cmp r11b, 0xa7
je 0x1402730ec
cmp r11b, 0x4d
jne 0x14027317d
mov rdx, qword [rsp + 0x58]
mov r10, qword [rdi + 8]
call fcn.1402a8640
test eax, eax
mov r9d, eax
js 0x14027317d
cmp r11b, 0x4d
je 0x14027310e
mov ecx, dword [r10]
xor eax, eax
jmp 0x14027311a
mov rdx, qword [r14 + 0xb8]
jmp 0x14027313f
mov rax, rdx
cmp ecx, eax
jle 0x14027313d
lea rdx, [rax + 1]
imul r8, rdx, 0x68
mov esi, dword [r10 + r8 - 0x1c]
cmp dword [rbx + 0x2c], esi
jne 0x140273117
cdqe
imul rax, rax, 0x68
mov rdx, qword [r10 + rax + 0x28]
jmp 0x14027313f
xor edx, edx
test rdx, rdx
movsx rax, word [rbx + 0x30]
je 0x14027317d
test ax, ax
jns 0x14027315f
movsx rax, word [rdx + 0x34]
lea r8, str.ROWID
test ax, ax
js 0x14027316a
imul rax, rax, 0x18
add rax, qword [rdx + 8]
mov r8, qword [rax]
mov rdx, qword [rdx]
mov rcx, r14
call fcn.14027daf0
cmp eax, 2
jne 0x14027317d
mov byte [rbx], 0x79
inc dword [r15 + 0x20]
cmp rdi, r15
je 0x14027331d
mov r15, qword [r15 + 0x18]
jmp 0x14027317d
mov r13, qword [rdx + 0x20]
xor edi, edi
test r13, r13
je 0x14027319f
mov edi, dword [r13]
mov rcx, qword [r14]
xor ebp, ebp
mov eax, dword [r15 + 0x28]
test byte [rbx + 7], 1
movzx r9d, byte [rcx + 0x64]
mov dword [rsp + 0x40], eax
je 0x1402731c3
mov rbp, qword [rbx + 0x40]
cmp byte [rbp + 0x20], 0xa6
jne 0x1402731c3
xor ebp, ebp
mov rsi, qword [rbx + 8]
xor r8d, r8d
mov dword [rsp + 0x38], r9d
mov dword [rsp + 0x20], r8d
mov r8d, edi
mov rdx, rsi
call fcn.14028be50
mov r9d, dword [rsp + 0x38]
test rax, rax
mov r12, rax
jne 0x14027321e
xor ecx, ecx
mov rdx, rsi
mov r8d, 0xfffffffe
mov dword [rsp + 0x20], ecx
mov rcx, qword [r14]
xor esi, esi
call fcn.14028be50
cmp rax, 1
mov r12, rax
sbb edi, edi
xor edx, edx
inc edi
cmp rax, 1
setb dl
jmp 0x1402733c8
xor esi, esi
cmp qword [rax + 0x20], 0
setne sil
test byte [rax + 5], 4
je 0x1402732de
or dword [rbx + 4], 0x80000
cmp edi, 2
jne 0x1402732c7
mov rax, qword [r13 + 0x28]
mov rdi, qword [0x1403f4418]
mov qword [rsp + 0xc0], rdi
cmp byte [rax], 0x99
je 0x140273264
mov dword [rbx + 0x2c], 0xffffffff
jmp 0x1402732af
mov rdi, qword [rax + 8]
mov rcx, rdi
call fcn.1402ad4c0
lea rdx, [rsp + 0xc0]
mov r9d, 1
mov rcx, rdi
mov r8d, eax
call fcn.14027d260
movsd xmm0, qword [rsp + 0xc0]
comisd xmm0, xmmword [0x1403f4290]
ja 0x14027325b
mulsd xmm0, qword [0x1403f4420]
cvttsd2si eax, xmm0
test eax, eax
mov dword [rbx + 0x2c], eax
jns 0x1402732de
lea rdx, str.second_argument_to__T___must_be_a_constant_between_0.0_and_1.0
mov r8, rbx
mov rcx, r14
call fcn.140287890
inc dword [r15 + 0x24]
jmp 0x1402732de
mov rax, qword [rax + 0x38]
mov edx, 0x800000
cmp byte [rax], 0x75
mov eax, 0x7800000
cmove eax, edx
mov dword [rbx + 0x2c], eax
mov r9, qword [r12 + 0x38]
xor edx, edx
xor r8d, r8d
mov rcx, r14
mov qword [rsp + 0x20], rdx
mov edx, 0x1f
call fcn.14027da50
test eax, eax
mov edi, eax
je 0x140273327
dec edi
jne 0x14027331a
lea rdx, str.not_authorized_to_use_function:__T
mov r8, rbx
mov rcx, r14
call fcn.140287890
inc dword [r15 + 0x24]
mov byte [rbx], 0x79
mov eax, 1
jmp 0x1402739a5
mov ecx, dword [r12 + 4]
mov edx, dword [r15 + 0x28]
test ch, 0x28
jne 0x140273353
test dl, 0x2a
je 0x140273380
mov qword [rsp + 0x20], rbx
lea r8, str.non_deterministic_functions
xor r9d, r9d
mov rcx, r14
call fcn.140268d30
jmp 0x140273380
mov eax, dword [rbx + 4]
mov r8d, eax
or r8d, 0x100000
bt ecx, 0xb
mov dword [rbx + 4], r8d
jae 0x140273335
mov ecx, edx
and ecx, 0x2e
bt edx, 0x12
mov byte [rbx + 2], cl
jae 0x140273380
or eax, 0x40100000
mov dword [rbx + 4], eax
mov eax, dword [r12 + 4]
bt eax, 0x12
jae 0x14027339b
cmp byte [r14 + 0x1e], 0
jne 0x14027339b
mov rdx, qword [r14]
test byte [rdx + 0x2c], 0x20
je 0x1402733c0
test eax, 0x280000
je 0x1402733ac
cmp byte [r14 + 0x134], 1
jbe 0x1402733b0
xor edx, edx
jmp 0x1402733c8
mov r8, r12
mov rdx, rbx
mov rcx, r14
call fcn.14028ab90
jmp 0x1402733ac
xor r12d, r12d
mov edx, 1
cmp byte [r14 + 0x134], 1
ja 0x1402734d1
test r12, r12
je 0x1402733f4
cmp qword [r12 + 0x28], 0
jne 0x1402733f4
test rbp, rbp
je 0x1402733f4
lea rdx, str._T___may_not_be_used_as_a_window_function
mov r8, rbx
jmp 0x14027346e
test esi, esi
je 0x140273454
mov ecx, dword [r15 + 0x28]
movzx eax, word [r12 + 6]
and eax, 1
test cl, 1
je 0x140273420
test rbp, rbp
jne 0x140273418
test al, al
jne 0x140273430
test rbp, rbp
je 0x140273454
bt ecx, 0xe
jae 0x140273430
jmp 0x140273454
test rbp, rbp
jne 0x140273430
lea r8, str.aggregate
test al, al
je 0x140273437
lea r8, str.window
lea rdx, str.misuse_of__s_function__T__
mov r9, rbx
mov rcx, r14
call fcn.140287890
inc dword [r15 + 0x24]
xor esi, esi
jmp 0x1402734dc
test edx, edx
je 0x140273486
mov rax, qword [r14]
cmp byte [rax + 0xc5], 0
jne 0x140273486
lea rdx, str.no_such_function:__T
mov r8, rbx
mov rcx, r14
call fcn.140287890
mov eax, dword [r15 + 0x24]
inc eax
test esi, esi
mov dword [r15 + 0x24], eax
jne 0x140273498
jmp 0x14027344d
lea rdx, str.wrong_number_of_arguments_to_function__T__
test edi, edi
mov r8, rbx
jne 0x14027346e
test esi, esi
je 0x1402734a9
cmp rbp, 1
sbb eax, eax
sub eax, 0x4001
and dword [r15 + 0x28], eax
jmp 0x1402734d7
test byte [rbx + 7], 1
lea rdx, str.FILTER_may_not_be_used_with_non_aggregate__T__
jne 0x1402734c4
cmp qword [rbx + 0x10], 0
je 0x14027344d
lea rdx, str.ORDER_BY_may_not_be_used_with_non_aggregate__T__
mov rcx, r14
call fcn.140287890
jmp 0x140273449
test byte [rbx + 7], 1
je 0x1402734dc
mov esi, 1
mov rcx, qword [rsp + 0x1d0]
mov rdx, r13
call fcn.1402bbb30
test esi, esi
je 0x14027331d
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14027350e
mov rdx, qword [rax + 0x20]
mov rcx, qword [rsp + 0x1d0]
call fcn.1402bbb30
test rbp, rbp
je 0x14027371f
cmp byte [r14 + 0x134], 1
mov rbx, qword [r15 + 0x30]
jbe 0x140273570
mov rdx, qword [rbp + 0x10]
mov rcx, qword [rsp + 0x1d0]
call fcn.1402bbb30
mov rdx, qword [rbp + 0x18]
mov rcx, qword [rsp + 0x1d0]
call fcn.1402bbb30
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rsp + 0x1d0]
call fcn.1402bbb20
mov rdx, rbp
mov rcx, rbx
call fcn.1402c06a0
or dword [r15 + 0x28], 0x8000
jmp 0x14027386b
xor edx, edx
test rbx, rbx
je 0x14027357b
mov rdx, qword [rbx + 0x78]
mov r8, qword [rbp]
test r8, r8
je 0x140273608
cmp byte [rbp + 0x20], 0
jne 0x140273608
mov rcx, r14
call fcn.1402dc7c0
test rax, rax
mov rsi, rax
je 0x14027370d
mov rdx, qword [rax + 0x10]
xor r8d, r8d
mov rcx, qword [r14]
call fcn.14028b710
mov rdx, qword [rsi + 0x18]
xor r8d, r8d
mov rcx, qword [r14]
mov qword [rbp + 0x10], rax
call fcn.14028b710
mov rdx, qword [rsi + 0x28]
xor r8d, r8d
mov rcx, qword [r14]
mov qword [rbp + 0x18], rax
call fcn.14028aa40
mov rdx, qword [rsi + 0x30]
xor r8d, r8d
mov rcx, qword [r14]
mov qword [rbp + 0x28], rax
call fcn.14028aa40
mov qword [rbp + 0x30], rax
mov al, byte [rsi + 0x21]
mov byte [rbp + 0x21], al
mov al, byte [rsi + 0x22]
mov byte [rbp + 0x22], al
mov al, byte [rsi + 0x20]
mov byte [rbp + 0x20], al
mov al, byte [rsi + 0x24]
mov byte [rbp + 0x24], al
jmp 0x140273616
mov r8, rdx
mov rcx, r14
mov rdx, rbp
call fcn.1402c0340
cmp byte [rbp + 0x20], 0x59
jne 0x140273641
cmp qword [rbp + 0x28], 0
jne 0x14027362a
cmp qword [rbp + 0x30], 0
je 0x140273641
mov rax, qword [rbp + 0x18]
test rax, rax
je 0x140273638
cmp dword [rax], 1
je 0x140273641
lea rdx, str.RANGE_with_offset_PRECEDING_FOLLOWING_requires_one_ORDER_BY_expression
jmp 0x14027365e
test byte [r12 + 6], 1
je 0x140273709
cmp qword [rbp + 0x48], 0
mov r13, qword [r14]
je 0x14027366b
lea rdx, str.FILTER_clause_may_only_be_used_with_aggregate_window_functions
mov rcx, r14
call fcn.140287890
jmp 0x140273709
mov rdx, qword [r12 + 0x38]
lea rdi, [rsp + 0xc0]
mov ecx, 0x30
lea rsi, str.row_number
rep movsd dword [rdi], dword [rsi]
lea rax, [rsp + 0xc0]
xor esi, esi
cmp rdx, qword [rax]
jne 0x1402736fe
mov rdx, qword [rbp + 0x28]
mov rcx, r13
movsxd rsi, esi
imul rsi, rsi, 0x18
call fcn.14028a9a0
mov rdx, qword [rbp + 0x30]
mov rcx, r13
call fcn.14028a9a0
xor eax, eax
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], rax
mov eax, dword [rsp + rsi + 0xc8]
mov byte [rbp + 0x20], al
mov eax, dword [rsp + rsi + 0xcc]
mov byte [rbp + 0x21], al
mov edx, dword [rsp + rsi + 0xd0]
cmp al, 0x56
mov byte [rbp + 0x24], 0
mov byte [rbp + 0x22], dl
jne 0x140273709
lea r8, [0x1403e9cb9]
mov edx, 0x9b
mov rcx, r13
call fcn.140287a00
mov qword [rbp + 0x28], rax
jmp 0x140273709
inc esi
add rax, 0x18
cmp esi, 8
jne 0x140273690
mov qword [rbp + 0x50], r12
mov rax, qword [r14]
cmp byte [rax + 0x67], 0
je 0x140273525
jmp case.0x1402723f1.1
test byte [rbx + 7], 1
mov byte [rbx], 0xa8
mov byte [rbx + 2], 0
je 0x140273741
mov rax, qword [rbx + 0x40]
mov rcx, qword [rsp + 0x1d0]
mov rdx, qword [rax + 0x48]
call fcn.1402bbb20
lea r13, [0x140238220]
mov rbp, r15
lea rsi, [0x14027a3f0]
lea rax, [rsp + 0xc0]
mov ecx, 0xa
mov r9, qword [rbp + 8]
mov qword [rsp + 0x38], rax
mov rdi, qword [rsp + 0x38]
xor eax, eax
lea rdx, [rsp + 0xb0]
lea r10, [rsp + 0xa0]
rep stosd dword [rdi], eax
mov rdi, rdx
mov ecx, 4
mov rdx, qword [rbx + 0x20]
rep stosd dword [rdi], eax
lea rax, [0x14027a370]
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0xc8], r13
mov qword [rsp + 0xd0], rax
mov rax, qword [r14]
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 0xe8], r10
mov qword [rsp + 0xa8], r9
mov qword [rsp + 0xa0], rax
call fcn.1402bbb30
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1402737ea
mov rdx, qword [rax + 0x20]
mov rcx, qword [rsp + 0x38]
call fcn.1402bbb30
test byte [rbx + 7], 1
je 0x140273802
mov rax, qword [rbx + 0x40]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rax + 0x48]
call fcn.1402bbb20
mov rdx, qword [rsp + 0xb8]
test rdx, rdx
je 0x140273817
mov rcx, qword [r14]
call fcn.1402850d0
mov eax, dword [rsp + 0xe4]
test al, 1
jne 0x140273843
test ax, ax
je 0x140273843
mov edx, dword [rbp + 0x2c]
mov al, byte [rbx + 2]
lea eax, [rax + rdx + 1]
mov byte [rbx + 2], al
mov rbp, qword [rbp + 0x18]
test rbp, rbp
jne 0x140273752
jmp 0x14027386b
test rbp, rbp
je 0x14027386b
test r12, r12
je 0x14027386b
mov eax, dword [rbp + 0x2c]
add byte [rbx + 2], al
mov eax, dword [r12 + 4]
xor eax, 0x8000000
and eax, 0x8001000
or eax, dword [rbp + 0x28]
or eax, 0x10
mov dword [rbp + 0x28], eax
mov r14d, dword [rsp + 0x40]
and r14d, 0x4001
or dword [r15 + 0x28], r14d
jmp 0x14027331d
test byte [rbx + 5], 0x10
je case.0x1402723f1.1
mov edx, dword [r15 + 0x28]
mov esi, dword [r15 + 0x20]
test dl, 0x2e
je 0x1402738b0
mov qword [rsp + 0x20], rbx
lea r8, str.subqueries
mov r9, rbx
mov rcx, r14
call fcn.140268d30
jmp 0x1402738c1
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rsp + 0x1d0]
call fcn.1402bbc30
cmp dword [r15 + 0x20], esi
je 0x1402738cb
or dword [rbx + 4], 0x40
or dword [r15 + 0x28], 0x40
jmp case.0x1402723f1.1
mov edx, dword [r15 + 0x28]
test dl, 0x2e
je case.0x1402723f1.1
mov qword [rsp + 0x20], rbx
lea r8, str.parameters
mov r9, rbx
mov rcx, r14
call fcn.140268d30
jmp case.0x1402723f1.1
mov rcx, qword [rbx + 0x18]
call fcn.14028bbc0
test rax, rax
mov rsi, rax
je case.0x1402723f1.3
mov al, byte [rax]
cmp al, 0x3b
je 0x140273919
cmp al, 0xaa
jne case.0x1402723f1.3
mov rcx, qword [rsp + 0x1d0]
mov rdx, rsi
call fcn.1402723a0
cmp eax, 2
je 0x1402739a5
cmp byte [rsi], 0xaa
jne case.0x1402723f1.3
mov al, byte [rbx]
mov byte [rbx], 0xaf
mov byte [rbx + 2], al
xor eax, eax
jmp 0x1402739a5
mov rax, qword [r14]
cmp byte [rax + 0x67], 0
jne case.0x1402723f1.1
mov rcx, qword [rbx + 0x10]
call fcn.14028bc50
cmp byte [rbx], 0x30
mov r8d, eax
jne 0x140273971
mov r9, qword [rbx + 0x20]
mov rcx, qword [r9 + 8]
call fcn.14028bc50
cmp r8d, eax
jne 0x14027397f
mov rcx, qword [r9 + 0x28]
jmp 0x140273975
mov rcx, qword [rbx + 0x18]
call fcn.14028bc50
cmp eax, r8d
je case.0x1402723f1.1
lea rdx, str.row_value_misused
mov rcx, r14
call fcn.140287890
mov rcx, qword [r14]
mov rdx, rbx
call fcn.1402a6a60
xor eax, eax
cmp dword [r14 + 0x30], 0
setne al
add eax, eax
add rsp, 0x188
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret