Function at 0x1401fb4d0
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, 0x178
mov r15, qword [rcx + 0x28]
mov al, byte [rdx]
mov r14, qword [r15]
mov qword [rsp + 0x1c0], rcx
mov rbx, rdx
cmp al, 0x4b
je 0x1401fb557
ja 0x1401fb523
cmp al, 0x14
je case.0x1401fb521.4
sub eax, 0x2d
cmp al, 0xe
ja case.0x1401fb521.1
lea rdx, [0x14034d344]
movzx eax, al
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
cmp al, 0x9c
je 0x1401fcafa
ja 0x1401fb542
cmp al, 0x8a
je case.0x1401fb521.4
cmp al, 0x8d
je 0x1401fb659
jmp case.0x1401fb521.1
cmp al, 0xab
je case.0x1401fb521.0
cmp al, 0xac
je 0x1401fc360
jmp case.0x1401fb521.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.0x1401fb521.1
mov rdx, r15
mov eax, 1
lea rsi, [rsp + 0xb0]
mov ecx, dword [rdx + 0x20]
mov rdx, qword [rdx + 0x18]
test rdx, rdx
mov dword [rsi + rax*4 - 4], ecx
setne r8b
cmp eax, 7
setle cl
inc rax
test r8b, cl
jne 0x1401fb587
mov rcx, qword [rsp + 0x1c0]
mov rdx, qword [rbx + 0x10]
call fcn.140243fa0
mov r9, qword [rbx + 0x10]
mov rcx, r9
call fcn.140211750
test eax, eax
jne 0x1401fc4cf
cmp byte [r14 + 0x134], 1
ja 0x1401fc4cf
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 0x1401fb5f4
mov rcx, qword [r14]
mov rdx, r9
xor r13d, r13d
call fcn.140213ed0
mov qword [rbx + 0x10], r13
jmp 0x1401fc4cf
mov rax, qword [rbx + 8]
xor ebp, ebp
xor r12d, r12d
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rax
mov rax, qword [r14]
mov qword [rsp + 0xb0], rbp
mov qword [rsp + 0x48], rax
mov dword [rbx + 0x2c], 0xffffffff
jmp 0x1401fb78a
mov rsi, qword [rdx + 0x10]
mov edx, dword [r15 + 0x28]
test dl, 0x28
je 0x1401fb67d
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, str.the__.__operator
mov rcx, r14
call fcn.1401f1f20
mov r8, qword [rbx + 0x18]
mov rax, qword [rsi + 8]
cmp byte [r8], 0x3b
mov qword [rsp + 0x50], rax
je 0x1401fb69a
mov rsi, qword [r8 + 0x10]
mov r8, qword [r8 + 0x18]
jmp 0x1401fb6a1
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 0x1401fb6df
mov rcx, qword [r14 + 0x1a0]
mov rdx, rbx
call fcn.14022f950
mov rcx, qword [r14 + 0x1a0]
lea rdx, [rbx + 0x40]
mov r8, rsi
call fcn.14022f950
mov rax, qword [r14]
xor r10d, r10d
xor r11d, r11d
cmp qword [rsp + 0x50], 0
mov qword [rsp + 0xb0], r10
mov qword [rsp + 0x48], rax
mov dword [rbx + 0x2c], 0xffffffff
mov qword [rsp + 0x58], r11
je 0x1401fb797
test byte [r15 + 0x28], 6
jne 0x1401fb78a
mov esi, dword [rax + 0x28]
xor r11d, r11d
cmp esi, r11d
jle 0x1401fb74e
mov rax, qword [rsp + 0x48]
mov rdi, r11
mov rdx, qword [rsp + 0x50]
inc r11
shl rdi, 5
add rdi, qword [rax + 0x20]
mov rcx, qword [rdi]
call fcn.140235850
test eax, eax
jne 0x1401fb71a
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x58], rax
jmp 0x1401fb797
mov qword [rsp + 0x58], 0
jne 0x1401fb797
mov rdx, qword [rsp + 0x50]
lea rcx, str.main
call fcn.140235850
test eax, eax
jne 0x1401fb797
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 0x1401fb797
xor r9d, r9d
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x50], r9
xor r8d, r8d
mov dword [rsp + 0x78], 0xa7
mov rbp, r15
xor r12d, r12d
mov dword [rsp + 0x80], r8d
mov dword [rsp + 0x64], r8d
mov rax, qword [rbp + 8]
xor esi, esi
mov qword [rsp + 0x68], rax
test rax, rax
je 0x1401fbb82
xor ecx, ecx
lea r13, [rax + 8]
mov dword [rsp + 0x7c], ecx
mov rax, qword [rsp + 0x68]
mov edi, dword [rsp + 0x7c]
cmp edi, dword [rax]
jge 0x1401fbb54
mov rdi, qword [r13 + 0x20]
test byte [r13 + 0x41], 0x20
je 0x1401fb942
mov rax, qword [r13 + 0x28]
xor edx, edx
mov dword [rsp + 0x84], edx
mov rax, qword [rax + 0x20]
mov dword [rsp + 0x60], edx
mov qword [rsp + 0x70], rax
add rax, 8
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x60]
cmp ecx, dword [rax]
jge 0x1401fb927
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x88]
call fcn.140225880
test eax, eax
je 0x1401fb915
test esi, esi
je 0x1401fb8b5
test byte [r13 + 0x41], 4
je 0x1401fb86b
mov rcx, qword [r13 + 0x48]
mov rdx, qword [rsp + 0x40]
call fcn.140221e80
test eax, eax
jns 0x1401fb889
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x48]
call fcn.140214bb0
xor eax, eax
mov qword [rsp + 0xb0], rax
jmp 0x1401fb8d1
mov al, byte [r13 + 0x3c]
test al, 0x10
je 0x1401fb915
test al, 8
jne 0x1401fb8b9
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x48]
call fcn.140214bb0
xor eax, eax
mov qword [rsp + 0xb0], rax
xor esi, esi
jmp 0x1401fb8d1
movsx r9d, word [rbx + 0x30]
lea rdx, [rsp + 0xb0]
mov r8, r12
mov rcx, r14
call fcn.1401c7f60
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
inc esi
mov r12, r13
mov word [rbx + 0x30], ax
movsxd rax, dword [rsp + 0x60]
shl rax, 5
lea rdx, [rcx + rax + 0x10]
mov al, byte [rdx + 0xc]
or eax, 0x40
mov byte [rdx + 0xc], al
test al, al
js 0x1401fbb3f
mov dword [rsp + 0x84], 1
mov dword [rsp + 0x64], 2
inc dword [rsp + 0x60]
add qword [rsp + 0x88], 0x20
jmp 0x1401fb819
cmp qword [rsp + 0x38], 0
je 0x1401fbb47
cmp dword [rsp + 0x84], 0
je 0x1401fb94e
jmp 0x1401fbb47
cmp qword [rsp + 0x38], 0
je 0x1401fb9f3
cmp qword [rsp + 0x50], 0
je 0x1401fb983
mov rax, qword [rsp + 0x58]
cmp qword [rdi + 0x60], rax
jne 0x1401fbb47
test rax, rax
jne 0x1401fb983
mov rcx, qword [rsp + 0x50]
lea rdx, [0x14034b5cb]
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1401fbb47
mov rdx, qword [r13 + 0x18]
test rdx, rdx
je 0x1401fb9a0
mov rcx, qword [rsp + 0x38]
call fcn.140235850
test eax, eax
jne 0x1401fbb47
jmp 0x1401fb9d7
mov rdx, qword [rdi]
mov rcx, qword [rsp + 0x38]
call fcn.140235850
test eax, eax
je 0x1401fb9f3
cmp dword [rdi + 0x28], 1
jne 0x1401fbb47
mov r8, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
mov rdx, rdi
call fcn.1401eb450
test eax, eax
je 0x1401fbb47
jmp 0x1401fb9f3
cmp byte [r14 + 0x134], 1
jbe 0x1401fb9f3
mov rcx, qword [r14 + 0x1a0]
lea r8, [rbx + 0x40]
xor edx, edx
call fcn.14022f950
mov rcx, qword [rsp + 0x40]
call fcn.140235890
mov r8, qword [rdi + 8]
mov byte [rsp + 0x70], al
movsx eax, word [rdi + 0x36]
mov dword [rsp + 0x84], eax
xor eax, eax
mov dword [rsp + 0x60], eax
mov ecx, dword [rsp + 0x84]
cmp dword [rsp + 0x60], ecx
jge 0x1401fbb2c
mov al, byte [rsp + 0x70]
cmp al, byte [r8 + 0xe]
jne 0x1401fbb1f
mov rcx, qword [r8]
mov rdx, qword [rsp + 0x40]
mov qword [rsp + 0x88], r8
call fcn.140235850
mov r8, qword [rsp + 0x88]
test eax, eax
jne 0x1401fbb1f
mov al, byte [r13 + 0x41]
test esi, esi
je 0x1401fbae6
test al, 4
je 0x1401fba84
mov rcx, qword [r13 + 0x48]
mov rdx, qword [rsp + 0x40]
call fcn.140221e80
mov r8, qword [rsp + 0x88]
test eax, eax
jns 0x1401fbaa2
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x48]
call fcn.140214bb0
xor eax, eax
mov qword [rsp + 0xb0], rax
jmp 0x1401fbae6
mov al, byte [r13 + 0x3c]
test al, 0x10
je 0x1401fbb1f
test al, 8
jne 0x1401fbace
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x48]
xor esi, esi
call fcn.140214bb0
xor eax, eax
mov qword [rsp + 0xb0], rax
jmp 0x1401fbae6
movsx r9d, word [rbx + 0x30]
lea rdx, [rsp + 0xb0]
mov r8, r12
mov rcx, r14
call fcn.1401c7f60
mov al, byte [r13 + 0x41]
movsx edx, word [rdi + 0x34]
mov edi, dword [rsp + 0x60]
and eax, 0x20
cmp edx, edi
je 0x1401fbb17
mov edi, dword [rsp + 0x60]
mov word [rbx + 0x30], di
test al, al
jne 0x1401fbb09
inc esi
jmp 0x1401fbb3a
mov edx, dword [rsp + 0x60]
mov rcx, r13
call fcn.140234880
jmp 0x1401fbb05
mov word [rbx + 0x30], 0xffff
jmp 0x1401fbb01
inc dword [rsp + 0x60]
add r8, 0x18
jmp 0x1401fba16
test esi, esi
jne 0x1401fbb47
test byte [rdi + 0x31], 2
jne 0x1401fbb47
inc dword [rsp + 0x64]
mov r12, r13
jmp 0x1401fbb47
mov dword [rsp + 0x64], 2
inc dword [rsp + 0x7c]
add r13, 0x68
jmp 0x1401fb7d3
test r12, r12
je 0x1401fbb82
mov eax, dword [r12 + 0x44]
mov dword [rbx + 0x2c], eax
mov rax, qword [r12 + 0x20]
mov qword [rbx + 0x40], rax
test byte [r12 + 0x3c], 0x48
je 0x1401fbb79
or dword [rbx + 4], 0x200000
mov rax, qword [rax + 0x60]
mov qword [rsp + 0x58], rax
test esi, esi
jne 0x1401fcc37
cmp qword [rsp + 0x50], 0
jne 0x1401fbec3
mov rdi, qword [r14 + 0xb0]
test rdi, rdi
je 0x1401fbcd2
cmp byte [r14 + 0xe1], 0
movzx r11d, byte [r14 + 0xe0]
je 0x1401fbc18
mov r13d, dword [rbp + 0x28]
mov esi, r13d
and esi, 0x400
je 0x1401fbcb5
cmp qword [rsp + 0x38], 0
jne 0x1401fbbe7
xor eax, eax
cmp r11d, 0x80
setne al
mov dword [rbx + 0x2c], eax
jmp 0x1401fbd49
mov rdx, qword [rdi]
mov rcx, qword [rsp + 0x38]
mov esi, r13d
and esi, 0x200
call fcn.140235850
test eax, eax
jne 0x1401fbcab
xor eax, eax
cmp r11d, 0x80
setne al
test esi, esi
mov dword [rbx + 0x2c], eax
jmp 0x1401fbc50
cmp qword [rsp + 0x38], 0
setne sil
cmp r11d, 0x80
je 0x1401fbc5b
test sil, sil
je 0x1401fbc5b
mov rdx, qword [rsp + 0x38]
lea rcx, [0x14034d0cf]
call fcn.140235850
test eax, eax
jne 0x1401fbc5b
mov dword [rbx + 0x2c], 1
test byte [rbp + 0x29], 2
jne 0x1401fbd11
jmp 0x1401fbd49
cmp r11d, 0x7f
je 0x1401fbc9c
test sil, sil
je 0x1401fbc9c
mov rdx, qword [rsp + 0x38]
lea rcx, [0x14034d0d3]
call fcn.140235850
mov esi, dword [rbp + 0x28]
test eax, eax
jne 0x1401fbc94
xor r13d, r13d
bt esi, 9
mov dword [rbx + 0x2c], r13d
jb 0x1401fbd11
jmp 0x1401fbd49
and esi, 0x200
jmp 0x1401fbcad
test byte [rbp + 0x29], 2
je 0x1401fbec1
test sil, sil
jmp 0x1401fbce2
test esi, esi
je 0x1401fbecb
jmp 0x1401fbce8
bt r13d, 9
jae 0x1401fbec3
cmp qword [rsp + 0x38], 0
je 0x1401fbec3
mov r11, qword [rbp + 0x10]
jmp 0x1401fbcee
test byte [rbp + 0x29], 2
je 0x1401fbec1
cmp qword [rsp + 0x38], 0
je 0x1401fbec1
mov r11, qword [rbp + 0x10]
xor esi, esi
test r11, r11
je 0x1401fbec3
mov rdx, qword [rsp + 0x38]
lea rcx, str.excluded
call fcn.140235850
test eax, eax
je 0x1401fbd2f
jmp 0x1401fbec3
mov r11, qword [rbp + 0x10]
test r11, r11
je 0x1401fbd49
mov rdx, qword [rsp + 0x38]
lea rcx, str.excluded
call fcn.140235850
test eax, eax
jne 0x1401fbd49
mov rax, qword [r11 + 0x40]
xor esi, esi
mov rdi, qword [rax + 0x28]
mov dword [rbx + 0x2c], 2
test rdi, rdi
je 0x1401fbec3
mov rcx, qword [rsp + 0x40]
xor r11d, r11d
call fcn.140235890
inc dword [rsp + 0x64]
mov rsi, qword [rdi + 8]
mov r8d, eax
mov rax, qword [rdi + 0x60]
movsx r13d, word [rdi + 0x36]
mov qword [rsp + 0x58], rax
cmp r11d, r13d
jge 0x1401fbda9
cmp r8b, byte [rsi + 0xe]
jne 0x1401fbda0
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsi]
mov byte [rsp + 0x60], r8b
call fcn.140235850
mov r8b, byte [rsp + 0x60]
test eax, eax
jne 0x1401fbda0
movsx eax, word [rdi + 0x34]
cmp eax, r11d
jne 0x1401fbdd6
jmp 0x1401fbdd2
inc r11d
add rsi, 0x18
jmp 0x1401fbd6f
mov rcx, qword [rsp + 0x40]
call fcn.1402249d0
mov esi, eax
test eax, eax
je 0x1401fbecb
xor esi, esi
test byte [rdi + 0x31], 2
jne 0x1401fbec3
test r13d, r13d
js 0x1401fbec3
or r11d, 0xffffffff
mov eax, dword [rbx + 0x2c]
cmp eax, 2
jne 0x1401fbe12
cmp byte [r14 + 0x134], 1
jbe 0x1401fbdfb
mov word [rbx + 0x30], r11w
mov qword [rbx + 0x40], rdi
mov dword [rsp + 0x78], 0xa7
jmp 0x1401fbe50
mov rax, qword [rbp + 0x10]
mov edx, r11d
mov rcx, rdi
mov esi, dword [rax + 0x48]
call fcn.140235d50
cwde
add eax, esi
jmp 0x1401fbe45
mov qword [rbx + 0x40], rdi
cmp byte [r14 + 0xe1], 0
je 0x1401fbe5a
mov byte [rbx + 2], 0xa7
inc r13d
mov edx, r11d
mov rcx, rdi
mov word [rbx + 0x30], r11w
imul r13d, eax
add r13d, dword [rbp + 0x10]
call fcn.140235d50
cwde
lea eax, [r13 + rax + 1]
mov dword [rbx + 0x2c], eax
mov dword [rsp + 0x78], 0xb0
xor r12d, r12d
mov esi, 1
jmp 0x1401fbec3
mov word [rbx + 0x30], r11w
cmp r11d, 0xffffffff
jne 0x1401fbe6b
mov byte [rbx + 1], 0x44
jmp 0x1401fbe92
test eax, eax
jne 0x1401fbe9c
mov edx, dword [r14 + 0xd4]
or eax, 0xffffffff
cmp r11d, 0x1f
jg 0x1401fbe89
mov eax, 1
mov ecx, r11d
shl eax, cl
or edx, eax
mov dword [r14 + 0xd4], edx
mov dword [rsp + 0x78], 0x4d
jmp 0x1401fbe50
mov edx, dword [r14 + 0xd8]
or eax, 0xffffffff
cmp r11d, 0x1f
jg 0x1401fbeb6
mov eax, 1
mov ecx, r11d
shl eax, cl
or edx, eax
mov dword [r14 + 0xd8], edx
jmp 0x1401fbe92
xor esi, esi
test esi, esi
jne 0x1401fcc37
cmp dword [rsp + 0x64], 1
jne 0x1401fbf0a
test r12, r12
je 0x1401fbf12
test byte [rbp + 0x28], 0x28
jne 0x1401fbf12
mov rcx, qword [rsp + 0x40]
call fcn.1402249d0
test eax, eax
je 0x1401fbf12
mov rax, qword [r12 + 0x20]
test byte [rax + 0x31], 2
jne 0x1401fbf12
mov word [rbx + 0x30], 0xffff
mov esi, 1
mov byte [rbx + 1], 0x44
jmp 0x1401fc237
test esi, esi
jne 0x1401fcc37
mov edi, dword [rbp + 0x28]
test dil, dil
jns 0x1401fc030
cmp qword [rsp + 0x38], 0
jne 0x1401fc030
mov r13, qword [rbp + 0x10]
xor r11d, r11d
mov eax, dword [r13]
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x60], r11d
cmp dword [rsp + 0x68], r11d
jle 0x1401fc030
movsxd rax, r11d
shl rax, 5
lea rsi, [r13 + rax]
test byte [rsi + 0x1c], 3
jne 0x1401fc028
mov rax, r11
mov rdx, qword [rsp + 0x40]
shl rax, 5
mov r8, qword [r13 + rax + 0x10]
mov rcx, r8
mov qword [rsp + 0x70], r8
call fcn.140250ed0
mov r8, qword [rsp + 0x70]
test eax, eax
jne 0x1401fc028
mov rcx, qword [rsi + 8]
mov eax, dword [rcx + 4]
test dil, 1
jne 0x1401fbfa2
lea rdx, str.misuse_of_aliased_aggregate__s
test al, 0x10
jne 0x1401fbfba
bt eax, 0xf
jae 0x1401fbfcc
bt edi, 0xe
jae 0x1401fbfb3
cmp r15, rbp
je 0x1401fbfcc
lea rdx, str.misuse_of_aliased_window_function__s
mov rcx, r14
call fcn.140210f90
mov eax, 2
jmp 0x1401fcc56
call fcn.1402150f0
dec eax
je 0x1401fbfe6
lea rdx, str.row_value_misused
mov rcx, r14
call fcn.140210f90
jmp 0x1401fbfc2
mov eax, dword [rsp + 0x80]
mov r9, rbx
mov rdx, r13
mov rcx, r14
mov r8d, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
call fcn.1401fb350
cmp byte [r14 + 0x134], 1
jbe 0x1401fc298
mov rcx, qword [r14 + 0x1a0]
mov r8, rbx
xor edx, edx
call fcn.14022f950
jmp 0x1401fc298
inc r11
jmp 0x1401fbf39
mov rbp, qword [rbp + 0x18]
inc dword [rsp + 0x80]
test rbp, rbp
jne 0x1401fb7b5
cmp qword [rsp + 0x38], 0
jne 0x1401fc0de
test byte [rbx + 4], 0x80
je 0x1401fc0b8
mov rax, qword [rsp + 0x48]
cmp byte [rax + 0xc5], 0
jne 0x1401fc094
mov rax, qword [rax + 0x30]
test byte [r15 + 0x2a], 1
je 0x1401fc089
mov rdx, rax
and edx, 0x10000001
dec rdx
jne 0x1401fc083
bt eax, 0x1e
jb 0x1401fc094
shr rax, 0x1d
jmp 0x1401fc08d
shr rax, 0x1e
and eax, 1
test eax, eax
je 0x1401fc0b8
mov r8, qword [rsp + 0x40]
lea rdx, str.double_quoted_string_literal:___w_
mov ecx, 0x1c
xor ebp, ebp
call fcn.14024d610
mov byte [rbx], 0x75
mov qword [rbx + 0x40], rbp
jmp 0x1401fc4cf
mov rcx, rbx
call fcn.1402140e0
mov esi, eax
test eax, eax
jne 0x1401fc4cf
mov rdi, qword [rsp + 0xb0]
xor ebp, ebp
test rdi, rdi
jne 0x1401fc0f1
jmp 0x1401fc1fd
mov rdi, qword [rsp + 0xb0]
xor esi, esi
test rdi, rdi
je 0x1401fc19c
lea eax, [rsi - 1]
cmp dword [rdi], eax
jne 0x1401fc16a
mov eax, dword [rbx + 4]
bt eax, 0x17
jae 0x1401fc10b
and eax, 0xff7fffff
mov dword [rbx + 4], eax
jmp 0x1401fc133
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rsp + 0x48]
xor esi, esi
xor edi, edi
call fcn.140213ed0
mov qword [rbx + 0x10], rsi
mov rdx, qword [rbx + 0x18]
mov rcx, qword [rsp + 0x48]
call fcn.140213ed0
mov qword [rbx + 0x18], rdi
movsx r9d, word [rbx + 0x30]
lea rdx, [rsp + 0xb0]
mov r8, r12
mov rcx, r14
call fcn.1401c7f60
lea rax, str.coalesce
mov byte [rbx], 0xac
mov qword [rbx + 8], rax
mov rax, qword [rsp + 0xb0]
mov qword [rbx + 0x20], rax
jmp 0x1401fc298
mov rcx, qword [rsp + 0x48]
mov rdx, rdi
mov rdi, rbp
call fcn.140214bb0
xor r11d, r11d
lea r8, str.no_such_column
mov qword [rsp + 0xb0], r11
test esi, esi
je 0x1401fc1a3
mov rdi, rbp
lea r8, str.ambiguous_column_name
jmp 0x1401fc1a3
lea r8, str.no_such_column
cmp qword [rsp + 0x50], 0
je 0x1401fc1d5
mov rax, qword [rsp + 0x40]
mov r9, qword [rsp + 0x50]
lea rdx, str._s:__s._s._s
mov rcx, r14
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
call fcn.140210f90
jmp 0x1401fc220
cmp qword [rsp + 0x38], 0
je 0x1401fc20c
mov rax, qword [rsp + 0x40]
mov r9, qword [rsp + 0x38]
lea rdx, str._s:__s._s
mov rcx, r14
mov qword [rsp + 0x20], rax
call fcn.140210f90
jmp 0x1401fc220
cmp qword [rsp + 0x50], 0
lea r8, str.no_such_column
jne 0x1401fc1ab
mov r9, qword [rsp + 0x40]
lea rdx, str._s:__s
mov rcx, r14
call fcn.140210f90
mov rcx, qword [r14]
mov rdx, rbx
mov rbp, rdi
call fcn.14022f440
mov byte [r14 + 0x1d], 1
inc dword [r15 + 0x24]
test dword [rbx + 4], 0x810000
jne 0x1401fc271
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rsp + 0x48]
call fcn.140213ed0
xor r9d, r9d
mov rdx, qword [rbx + 0x18]
mov rcx, qword [rsp + 0x48]
mov qword [rbx + 0x10], r9
call fcn.140213ed0
xor r10d, r10d
or dword [rbx + 4], 0x800000
mov qword [rbx + 0x18], r10
cmp word [rbx + 0x30], 0
js 0x1401fc28a
test r12, r12
je 0x1401fc28a
mov rcx, rbx
call fcn.140213880
or qword [r12 + 0x50], rax
mov al, byte [rsp + 0x78]
dec esi
mov byte [rbx], al
jne 0x1401fbfc2
mov rcx, qword [r14]
cmp qword [rcx + 0x200], 0
je 0x1401fc34d
mov r11b, byte [rbx]
cmp r11b, 0xa7
je 0x1401fc2bc
cmp r11b, 0x4d
jne 0x1401fc34d
mov rdx, qword [rsp + 0x58]
mov r10, qword [rbp + 8]
call fcn.140230df0
mov r9d, eax
test eax, eax
js 0x1401fc34d
cmp r11b, 0x4d
je 0x1401fc2de
mov ecx, dword [r10]
xor eax, eax
jmp 0x1401fc2ea
mov rdx, qword [r14 + 0xb0]
jmp 0x1401fc30f
mov rax, rdx
cmp ecx, eax
jle 0x1401fc30d
lea rdx, [rax + 1]
imul r8, rdx, 0x68
mov edi, dword [r10 + r8 - 0x1c]
cmp dword [rbx + 0x2c], edi
jne 0x1401fc2e7
cdqe
imul rax, rax, 0x68
mov rdx, qword [r10 + rax + 0x28]
jmp 0x1401fc30f
xor edx, edx
movsx rax, word [rbx + 0x30]
test rdx, rdx
je 0x1401fc34d
test ax, ax
jns 0x1401fc32f
movsx rax, word [rdx + 0x34]
lea r8, str.ROWID
test ax, ax
js 0x1401fc33a
imul rax, rax, 0x18
add rax, qword [rdx + 8]
mov r8, qword [rax]
mov rdx, qword [rdx]
mov rcx, r14
call fcn.140206d70
cmp eax, 2
jne 0x1401fc34d
mov byte [rbx], 0x79
inc dword [r15 + 0x20]
cmp rbp, r15
je 0x1401fc4cf
mov r15, qword [r15 + 0x18]
jmp 0x1401fc34d
mov rsi, qword [rdx + 0x20]
xor edi, edi
test rsi, rsi
je 0x1401fc36d
mov edi, dword [rsi]
mov rcx, qword [r14]
mov eax, dword [r15 + 0x28]
xor ebp, ebp
mov dword [rsp + 0x40], eax
movzx r9d, byte [rcx + 0x64]
test byte [rbx + 7], 1
je 0x1401fc391
mov rbp, qword [rbx + 0x40]
cmp byte [rbp + 0x20], 0xa6
jne 0x1401fc391
xor ebp, ebp
xor r8d, r8d
mov r13, qword [rbx + 8]
mov dword [rsp + 0x38], r9d
mov dword [rsp + 0x20], r8d
mov r8d, edi
mov rdx, r13
call fcn.1402152f0
mov r9d, dword [rsp + 0x38]
test rax, rax
mov r12, rax
jne 0x1401fc3e2
xor ecx, ecx
mov r8d, 0xfffffffe
mov rdx, r13
mov dword [rsp + 0x20], ecx
mov rcx, qword [r14]
call fcn.1402152f0
mov r12, rax
test rax, rax
jne 0x1401fc5ab
jmp 0x1401fc588
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x38], rax
test byte [r12 + 5], 4
je 0x1401fc490
or dword [rbx + 4], 0x80000
cmp edi, 2
jne 0x1401fc478
mov rax, qword [rsi + 0x28]
cmp byte [rax], 0x99
je 0x1401fc415
mov dword [rbx + 0x2c], 0xffffffff
jmp 0x1401fc460
mov rdi, qword [rax + 8]
mov rcx, rdi
call fcn.1402358d0
lea rdx, [rsp + 0xb0]
mov r9d, 1
mov rcx, rdi
mov r8d, eax
call fcn.140206690
movsd xmm0, qword [rsp + 0xb0]
comisd xmm0, xmmword [0x140355520]
ja 0x1401fc40c
mulsd xmm0, qword [0x140355640]
cvttsd2si eax, xmm0
mov dword [rbx + 0x2c], eax
test eax, eax
jns 0x1401fc490
mov r8, rbx
lea rdx, str.second_argument_to__T___must_be_a_constant_between_0.0_and_1.0
mov rcx, r14
call fcn.140210f90
inc dword [r15 + 0x24]
jmp 0x1401fc490
mov rax, qword [r12 + 0x38]
mov edx, 0x800000
cmp byte [rax], 0x75
mov eax, 0x7800000
cmove eax, edx
mov dword [rbx + 0x2c], eax
xor edx, edx
mov r9, qword [r12 + 0x38]
xor r8d, r8d
mov rcx, r14
mov qword [rsp + 0x20], rdx
mov edx, 0x1f
call fcn.140206cd0
mov edi, eax
test eax, eax
je 0x1401fc4d9
dec edi
jne 0x1401fc4cc
mov r8, rbx
lea rdx, str.not_authorized_to_use_function:__T
mov rcx, r14
call fcn.140210f90
inc dword [r15 + 0x24]
mov byte [rbx], 0x79
mov eax, 1
jmp 0x1401fcc56
mov eax, dword [r12 + 4]
test ah, 0x28
je 0x1401fc4ea
or dword [rbx + 4], 0x100000
bt eax, 0xb
mov edx, dword [r15 + 0x28]
jb 0x1401fc512
test dl, 0x2a
je 0x1401fc527
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, str.non_deterministic_functions
mov rcx, r14
call fcn.1401f1f20
jmp 0x1401fc527
mov eax, edx
and eax, 0x2e
bt edx, 0x12
mov byte [rbx + 2], al
jae 0x1401fc527
or dword [rbx + 4], 0x40000000
mov edx, dword [r12 + 4]
xor r13d, r13d
cmp qword [rsp + 0x38], 0
setne r13b
mov al, byte [r14 + 0x134]
bt edx, 0x12
jae 0x1401fc556
cmp byte [r14 + 0x1e], 0
jne 0x1401fc556
mov rcx, qword [r14]
test byte [rcx + 0x2c], 0x20
je 0x1401fc59b
and edx, 0x280000
je 0x1401fc57e
cmp al, 1
ja 0x1401fc73b
mov r8, r12
mov rdx, rbx
mov rcx, r14
call fcn.1402140b0
cmp byte [r14 + 0x134], 1
jmp 0x1401fc580
cmp al, 1
ja 0x1401fc73b
jmp 0x1401fc5c1
xor r13d, r13d
cmp byte [r14 + 0x134], 1
ja 0x1401fc73b
jmp 0x1401fc602
xor r12d, r12d
cmp al, 1
ja 0x1401fc73b
jmp 0x1401fc656
xor r13d, r13d
cmp byte [r14 + 0x134], 1
ja 0x1401fc73b
mov edi, 1
cmp qword [r12 + 0x28], 0
jne 0x1401fcbd6
test rbp, rbp
je 0x1401fcbd6
mov r8, rbx
lea rdx, str._T___may_not_be_used_as_a_window_function
mov rcx, r14
call fcn.140210f90
inc dword [r15 + 0x24]
test r13d, r13d
je 0x1401fc6c5
and dword [r15 + 0x28], 0xffffbfff
jmp 0x1401fc707
mov rax, qword [r14]
cmp byte [rax + 0xc5], 0
jne 0x1401fc634
xor r12d, r12d
xor r13d, r13d
mov r8, rbx
lea rdx, str.no_such_function:__T
mov rcx, r14
mov edi, r13d
call fcn.140210f90
mov eax, dword [r15 + 0x24]
inc eax
jmp 0x1401fc6bd
test byte [rbx + 7], 1
je 0x1401fc6c5
mov r8, rbx
lea rdx, str.FILTER_may_not_be_used_with_non_aggregate__T__
mov rcx, r14
call fcn.140210f90
inc dword [r15 + 0x24]
jmp 0x1401fc6c5
cmp qword [rsp + 0x38], 0
je 0x1401fc602
xor r12d, r12d
mov ecx, 1
mov eax, dword [r15 + 0x28]
mov edx, dword [r12 + 4]
mov r13d, eax
and edx, 0x10000
and r13d, 1
je 0x1401fcbe3
test edx, edx
je 0x1401fc6da
test rbp, rbp
je 0x1401fcbf3
bt eax, 0xe
jae 0x1401fcbf3
test ecx, ecx
jne 0x1401fc6e3
test edi, edi
je 0x1401fcc11
mov r8, rbx
lea rdx, str.wrong_number_of_arguments_to_function__T__
mov rcx, r14
call fcn.140210f90
mov eax, dword [r15 + 0x24]
inc eax
mov dword [r15 + 0x24], eax
test edi, edi
jne 0x1401fc6f7
mov rcx, qword [rsp + 0x1c0]
mov rdx, rsi
call fcn.140243fb0
jmp 0x1401fc4cf
test rbp, rbp
jne 0x1401fc68f
test ecx, ecx
je 0x1401fc719
mov rax, qword [r14]
cmp byte [rax + 0xc5], 0
je 0x1401fc614
test edi, edi
jne 0x1401fc6a5
mov eax, dword [r15 + 0x28]
test rbp, rbp
je 0x1401fc71d
and ah, 0xbf
mov dword [r15 + 0x28], eax
mov rcx, qword [rsp + 0x1c0]
mov rdx, rsi
call fcn.140243fb0
jmp 0x1401fc76a
test edi, edi
jne 0x1401fc6a5
and eax, 0xffffbffe
mov rcx, qword [rsp + 0x1c0]
mov rdx, rsi
mov dword [r15 + 0x28], eax
call fcn.140243fb0
jmp 0x1401fc972
mov rcx, qword [rsp + 0x1c0]
mov rdx, rsi
test byte [rbx + 7], 1
je 0x1401fc753
call fcn.140243fb0
jmp 0x1401fc761
call fcn.140243fb0
test r13d, r13d
je 0x1401fc4cf
test rbp, rbp
je 0x1401fc972
cmp byte [r14 + 0x134], 1
mov rbx, qword [r15 + 0x30]
jbe 0x1401fc7c3
mov rdx, qword [rbp + 0x10]
mov rcx, qword [rsp + 0x1c0]
call fcn.140243fb0
mov rdx, qword [rbp + 0x18]
mov rcx, qword [rsp + 0x1c0]
call fcn.140243fb0
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rsp + 0x1c0]
call fcn.140243fa0
mov rdx, rbp
mov rcx, rbx
call fcn.140248a60
or dword [r15 + 0x28], 0x8000
jmp 0x1401fca90
xor edx, edx
test rbx, rbx
je 0x1401fc7ce
mov rdx, qword [rbx + 0x78]
mov r8, qword [rbp]
test r8, r8
je 0x1401fc85b
cmp byte [rbp + 0x20], 0
jne 0x1401fc85b
mov rcx, r14
call fcn.140263b50
mov rsi, rax
test rax, rax
je 0x1401fc960
mov rdx, qword [rax + 0x10]
mov rcx, qword [r14]
xor r8d, r8d
call fcn.140214bc0
mov rdx, qword [rsi + 0x18]
mov rcx, qword [r14]
xor r8d, r8d
mov qword [rbp + 0x10], rax
call fcn.140214bc0
mov rdx, qword [rsi + 0x28]
mov rcx, qword [r14]
xor r8d, r8d
mov qword [rbp + 0x18], rax
call fcn.140213f70
mov rdx, qword [rsi + 0x30]
mov rcx, qword [r14]
xor r8d, r8d
mov qword [rbp + 0x28], rax
call fcn.140213f70
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 0x1401fc869
mov r8, rdx
mov rcx, r14
mov rdx, rbp
call fcn.140248700
cmp byte [rbp + 0x20], 0x59
jne 0x1401fc894
cmp qword [rbp + 0x28], 0
jne 0x1401fc87d
cmp qword [rbp + 0x30], 0
je 0x1401fc894
mov rax, qword [rbp + 0x18]
test rax, rax
je 0x1401fc88b
cmp dword [rax], 1
je 0x1401fc894
lea rdx, str.RANGE_with_offset_PRECEDING_FOLLOWING_requires_one_ORDER_BY_expression
jmp 0x1401fc8b1
test byte [r12 + 6], 1
je 0x1401fc95c
cmp qword [rbp + 0x48], 0
mov r13, qword [r14]
je 0x1401fc8be
lea rdx, str.FILTER_clause_may_only_be_used_with_aggregate_window_functions
mov rcx, r14
call fcn.140210f90
jmp 0x1401fc95c
mov rdx, qword [r12 + 0x38]
lea rdi, [rsp + 0xb0]
lea rsi, str.row_number
mov ecx, 0x30
rep movsd dword [rdi], dword [rsi]
lea rax, [rsp + 0xb0]
xor esi, esi
cmp rdx, qword [rax]
jne 0x1401fc951
mov rdx, qword [rbp + 0x28]
mov rcx, r13
movsxd rsi, esi
imul rsi, rsi, 0x18
call fcn.140213ed0
mov rdx, qword [rbp + 0x30]
mov rcx, r13
call fcn.140213ed0
xor eax, eax
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], rax
mov eax, dword [rsp + rsi + 0xb8]
mov byte [rbp + 0x20], al
mov eax, dword [rsp + rsi + 0xbc]
mov byte [rbp + 0x21], al
mov edx, dword [rsp + rsi + 0xc0]
mov byte [rbp + 0x24], 0
mov byte [rbp + 0x22], dl
cmp al, 0x56
jne 0x1401fc95c
lea r8, [0x14034b863]
mov edx, 0x9b
mov rcx, r13
call fcn.140211100
mov qword [rbp + 0x28], rax
jmp 0x1401fc95c
inc esi
add rax, 0x18
cmp esi, 8
jne 0x1401fc8e3
mov qword [rbp + 0x50], r12
mov rax, qword [r14]
cmp byte [rax + 0x67], 0
je 0x1401fc778
jmp case.0x1401fb521.1
mov byte [rbx], 0xa8
mov byte [rbx + 2], 0
test byte [rbx + 7], 1
je 0x1401fc994
mov rax, qword [rbx + 0x40]
mov rcx, qword [rsp + 0x1c0]
mov rdx, qword [rax + 0x48]
call fcn.140243fa0
mov rbp, r15
lea r13, [0x1401c7c70]
lea rsi, [0x140203880]
lea rax, [rsp + 0xb0]
mov ecx, 0xa
mov rdx, qword [rbp + 8]
xorps xmm0, xmm0
mov qword [rsp + 0x38], rax
mov rdi, qword [rsp + 0x38]
xor eax, eax
movaps xmmword [rsp + 0xa0], xmm0
rep stosd dword [rdi], eax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0x38]
lea rdi, [0x140203800]
mov qword [rsp + 0xd8], rax
mov rax, qword [r14]
mov qword [rsp + 0x98], rdx
mov rdx, qword [rbx + 0x20]
mov qword [rsp + 0xb8], r13
mov qword [rsp + 0xc0], rdi
mov qword [rsp + 0xc8], rsi
mov qword [rsp + 0x90], rax
call fcn.140243fb0
test byte [rbx + 7], 1
je 0x1401fca37
mov rax, qword [rbx + 0x40]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rax + 0x48]
call fcn.140243fa0
mov rdx, qword [rsp + 0xa8]
test rdx, rdx
je 0x1401fca4c
mov rcx, qword [r14]
call fcn.14020e880
mov eax, dword [rsp + 0xd4]
test al, 1
jne 0x1401fca6e
test ax, ax
je 0x1401fca6e
inc byte [rbx + 2]
mov rbp, qword [rbp + 0x18]
test rbp, rbp
jne 0x1401fc9a5
jmp 0x1401fca90
test rbp, rbp
je 0x1401fca90
test r12, r12
je 0x1401fca90
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 0x1401fc4cf
test byte [rbx + 5], 0x10
je case.0x1401fb521.1
mov edx, dword [r15 + 0x28]
mov esi, dword [r15 + 0x20]
test dl, 0x2e
je 0x1401fcad5
mov qword [rsp + 0x20], rbx
mov r9, rbx
lea r8, str.subqueries
mov rcx, r14
call fcn.1401f1f20
jmp 0x1401fcae6
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rsp + 0x1c0]
call fcn.140244000
cmp dword [r15 + 0x20], esi
je 0x1401fcaf0
or dword [rbx + 4], 0x40
or dword [r15 + 0x28], 0x40
jmp case.0x1401fb521.1
mov edx, dword [r15 + 0x28]
test dl, 0x2e
je case.0x1401fb521.1
mov qword [rsp + 0x20], rbx
mov r9, rbx
lea r8, str.parameters
mov rcx, r14
call fcn.1401f1f20
jmp case.0x1401fb521.1
mov rcx, qword [rbx + 0x18]
call fcn.140215060
mov rsi, rax
test rax, rax
je case.0x1401fb521.3
mov al, byte [rax]
cmp al, 0x3b
je 0x1401fcb3e
cmp al, 0xaa
jne case.0x1401fb521.3
mov rcx, qword [rsp + 0x1c0]
mov rdx, rsi
call fcn.1401fb4d0
cmp eax, 2
je 0x1401fcc56
cmp byte [rsi], 0xaa
jne case.0x1401fb521.3
mov al, byte [rbx]
mov byte [rbx], 0xaf
mov byte [rbx + 2], al
xor eax, eax
jmp 0x1401fcc56
mov rax, qword [r14]
cmp byte [rax + 0x67], 0
jne case.0x1401fb521.1
mov rcx, qword [rbx + 0x10]
call fcn.1402150f0
cmp byte [rbx], 0x30
mov r8d, eax
jne 0x1401fcb9d
mov r9, qword [rbx + 0x20]
mov rcx, qword [r9 + 8]
call fcn.1402150f0
cmp r8d, eax
jne 0x1401fcbab
mov rcx, qword [r9 + 0x28]
jmp 0x1401fcba1
mov rcx, qword [rbx + 0x18]
call fcn.1402150f0
cmp eax, r8d
je case.0x1401fb521.1
lea rdx, str.row_value_misused
mov rcx, r14
call fcn.140210f90
mov rcx, qword [r14]
mov rdx, rbx
call fcn.14022f440
xor eax, eax
cmp dword [r14 + 0x30], 0
setne al
add eax, eax
jmp 0x1401fcc56
xor ecx, ecx
test r13d, r13d
jne 0x1401fc666
jmp 0x1401fcc28
test rbp, rbp
jne 0x1401fcbf3
lea r8, str.aggregate
test edx, edx
je 0x1401fcbfa
lea r8, str.window
mov r9, rbx
lea rdx, str.misuse_of__s_function__T__
mov rcx, r14
call fcn.140210f90
jmp 0x1401fc650
and ah, 0xbf
mov rcx, qword [rsp + 0x1c0]
mov rdx, rsi
mov dword [r15 + 0x28], eax
jmp 0x1401fc74c
test edi, edi
je 0x1401fc634
xor edi, edi
jmp 0x1401fc6a5
cmp esi, 1
je 0x1401fc237
mov rdi, qword [rsp + 0xb0]
test rdi, rdi
jne 0x1401fc0f1
jmp 0x1401fc190
add rsp, 0x178
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret