Function at 0x140204c00
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 0x140204c87
ja 0x140204c53
cmp al, 0x14
je case.0x140204c51.4
sub eax, 0x2d
cmp al, 0xe
ja case.0x140204c51.1
lea rdx, [0x140357720]
movzx eax, al
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
cmp al, 0x9c
je 0x14020604a
ja 0x140204c72
cmp al, 0x8a
je case.0x140204c51.4
cmp al, 0x8d
je 0x140204d8c
jmp case.0x140204c51.1
cmp al, 0xab
je case.0x140204c51.0
cmp al, 0xac
je 0x140205975
jmp case.0x140204c51.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.0x140204c51.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 0x140204cb7
mov rcx, qword [rsp + 0x1c0]
mov rdx, qword [rbx + 0x10]
call fcn.14023f320
mov r9, qword [rbx + 0x10]
mov rcx, r9
call fcn.1402160b0
test eax, eax
jne 0x140205aef
cmp byte [r14 + 0x124], 1
ja 0x140205aef
mov ecx, dword [rbx + 4]
lea rdx, str.false
mov eax, ecx
or eax, 0x20000000
cmp byte [rbx], 0x33
jne 0x140204d2e
mov eax, ecx
lea rdx, str.true
or eax, 0x10000000
mov qword [rbx + 8], rdx
mov byte [rbx], 0xaa
mov dword [rbx + 4], 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 0x140204d3d
mov rcx, qword [r14]
mov rdx, r9
xor edi, edi
call fcn.140218670
mov qword [rbx + 0x10], rdi
jmp 0x140205aef
mov rax, qword [rbx + 8]
xor esi, esi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
jmp 0x140204e13
mov rsi, qword [rdx + 0x10]
mov edx, dword [r15 + 0x28]
test dl, 0x28
je 0x140204db0
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, str.the__.__operator
mov rcx, r14
call fcn.1401fc700
mov r8, qword [rbx + 0x18]
mov rax, qword [rsi + 8]
cmp byte [r8], 0x3b
mov qword [rsp + 0x48], rax
je 0x140204dcd
mov rsi, qword [r8 + 0x10]
mov r8, qword [r8 + 0x18]
jmp 0x140204dd5
xor r11d, r11d
mov qword [rsp + 0x48], r11
mov rax, qword [rsi + 8]
cmp byte [r14 + 0x124], 1
mov qword [rsp + 0x30], rax
mov rax, qword [r8 + 8]
mov qword [rsp + 0x38], rax
jbe 0x140204e13
mov rcx, qword [r14 + 0x190]
mov rdx, rbx
call fcn.14022b5b0
mov rcx, qword [r14 + 0x190]
lea rdx, [rbx + 0x40]
mov r8, rsi
call fcn.14022b5b0
mov rax, qword [r14]
xor r9d, r9d
xor r10d, r10d
cmp qword [rsp + 0x48], 0
mov qword [rsp + 0xb0], r9
mov qword [rsp + 0x40], rax
mov dword [rbx + 0x2c], 0xffffffff
mov qword [rsp + 0x50], r10
je 0x140204ecb
test byte [r15 + 0x28], 6
jne 0x140204ebe
mov esi, dword [rax + 0x28]
xor r11d, r11d
cmp esi, r11d
jle 0x140204e82
mov rax, qword [rsp + 0x40]
mov rdi, r11
mov rdx, qword [rsp + 0x48]
inc r11
shl rdi, 5
add rdi, qword [rax + 0x20]
mov rcx, qword [rdi]
call fcn.140231340
test eax, eax
jne 0x140204e4e
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x50], rax
jmp 0x140204ecb
mov qword [rsp + 0x50], 0
jne 0x140204ecb
mov rdx, qword [rsp + 0x48]
lea rcx, str.main
call fcn.140231340
test eax, eax
jne 0x140204ecb
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x20]
mov rdi, qword [rax + 0x18]
mov rax, qword [rax]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rax
jmp 0x140204ecb
xor r8d, r8d
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x48], r8
xor ecx, ecx
mov dword [rsp + 0x64], 0xa7
mov rdi, r15
xor ebp, ebp
mov dword [rsp + 0x84], ecx
mov dword [rsp + 0x60], ecx
mov rax, qword [rdi + 8]
xor esi, esi
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140205283
xor edx, edx
lea r12, [rax + 8]
mov dword [rsp + 0x80], edx
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x80]
cmp ecx, dword [rax]
jge 0x14020525a
mov rax, qword [r12 + 0x20]
mov qword [rsp + 0x58], rax
test byte [r12 + 0x41], 0x20
je 0x14020506c
mov rax, qword [r12 + 0x28]
xor r13d, r13d
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x70], rax
add rax, 8
mov qword [rsp + 0x78], rax
xor eax, eax
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x70]
cmp r13d, dword [rax]
jge 0x140205051
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
call fcn.140221e70
test eax, eax
je 0x140205043
test esi, esi
jle 0x140205004
test byte [r12 + 0x41], 4
je 0x140204fa1
mov rcx, qword [r12 + 0x48]
mov rdx, qword [rsp + 0x38]
call fcn.14021e6b0
test eax, eax
jns 0x140204fbf
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x40]
call fcn.140219340
xor eax, eax
mov qword [rsp + 0xb0], rax
jmp 0x140205004
mov al, byte [r12 + 0x3c]
test al, 0x10
je 0x140205043
test al, 8
jne 0x140204fec
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x40]
xor esi, esi
call fcn.140219340
xor eax, eax
mov qword [rsp + 0xb0], rax
jmp 0x140205004
movsx r9d, word [rbx + 0x30]
lea rdx, [rsp + 0xb0]
mov r8, rbp
mov rcx, r14
call fcn.1401f04c0
mov rcx, qword [rsp + 0x70]
movsxd rax, r13d
mov word [rbx + 0x30], r13w
inc esi
shl rax, 5
mov rbp, r12
lea rdx, [rcx + rax + 0x10]
mov al, byte [rdx + 0xc]
or eax, 0x40
mov byte [rdx + 0xc], al
test al, al
js 0x140205242
mov dword [rsp + 0x88], 1
mov dword [rsp + 0x60], 2
add qword [rsp + 0x78], 0x20
inc r13d
jmp 0x140204f53
cmp qword [rsp + 0x30], 0
je 0x14020524a
cmp dword [rsp + 0x88], 0
je 0x140205078
jmp 0x14020524a
cmp qword [rsp + 0x30], 0
je 0x1402050fa
cmp qword [rsp + 0x48], 0
je 0x1402050b2
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
cmp qword [rax + 0x60], rcx
jne 0x14020524a
test rcx, rcx
jne 0x1402050b2
mov rcx, qword [rsp + 0x48]
lea rdx, [0x1403574aa]
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x14020524a
mov r11, qword [r12 + 0x18]
mov rcx, r11
test r11, r11
jne 0x1402050c7
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax]
mov rdx, qword [rsp + 0x30]
call fcn.140231340
test eax, eax
jne 0x14020524a
cmp byte [r14 + 0x124], 1
jbe 0x1402050fa
test r11, r11
je 0x1402050fa
mov rcx, qword [r14 + 0x190]
lea r8, [rbx + 0x40]
xor edx, edx
call fcn.14022b5b0
mov rcx, qword [rsp + 0x38]
xor r13d, r13d
call fcn.140231380
mov byte [rsp + 0x70], al
mov rax, qword [rsp + 0x58]
mov r8, qword [rax + 8]
movsx eax, word [rax + 0x36]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x78]
cmp r13d, eax
jge 0x14020522a
mov al, byte [rsp + 0x70]
cmp al, byte [r8 + 0xe]
jne 0x14020521e
mov rcx, qword [r8]
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x88], r8
call fcn.140231340
mov r8, qword [rsp + 0x88]
test eax, eax
jne 0x14020521e
mov al, byte [r12 + 0x41]
test esi, esi
jle 0x1402051eb
test al, 4
je 0x140205188
mov rcx, qword [r12 + 0x48]
mov rdx, qword [rsp + 0x38]
call fcn.14021e6b0
mov r8, qword [rsp + 0x88]
test eax, eax
jns 0x1402051a6
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x40]
call fcn.140219340
xor eax, eax
mov qword [rsp + 0xb0], rax
jmp 0x1402051eb
mov al, byte [r12 + 0x3c]
test al, 0x10
je 0x14020521e
test al, 8
jne 0x1402051d3
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x40]
xor esi, esi
call fcn.140219340
xor eax, eax
mov qword [rsp + 0xb0], rax
jmp 0x1402051eb
movsx r9d, word [rbx + 0x30]
lea rdx, [rsp + 0xb0]
mov r8, rbp
mov rcx, r14
call fcn.1401f04c0
mov rax, qword [rsp + 0x58]
movsx eax, word [rax + 0x34]
cmp eax, r13d
mov eax, 0xffffffff
cmovne eax, r13d
mov word [rbx + 0x30], ax
test byte [r12 + 0x41], 0x20
je 0x140205217
mov edx, r13d
mov rcx, r12
call fcn.1402304a0
inc esi
mov rbp, r12
jmp 0x14020522a
inc r13d
add r8, 0x18
jmp 0x14020511c
test esi, esi
jne 0x14020524a
mov rax, qword [rsp + 0x58]
test byte [rax + 0x31], 2
jne 0x14020524a
inc dword [rsp + 0x60]
mov rbp, r12
jmp 0x14020524a
mov dword [rsp + 0x60], 2
inc dword [rsp + 0x80]
add r12, 0x68
jmp 0x140204f06
test rbp, rbp
je 0x140205283
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 0x14020527a
or dword [rbx + 4], 0x200000
mov rax, qword [rax + 0x60]
mov qword [rsp + 0x50], rax
test esi, esi
jne 0x14020571d
cmp qword [rsp + 0x48], 0
jne 0x1402054f7
mov r13, qword [r14 + 0xa8]
cmp qword [rsp + 0x30], 0
setne r11b
test r13, r13
je 0x140205340
cmp byte [r14 + 0xd5], 0
movzx esi, byte [r14 + 0xd4]
je 0x1402052f0
test byte [rdi + 0x29], 4
je 0x14020533d
cmp qword [rsp + 0x30], 0
je 0x1402052e3
mov rdx, qword [r13]
mov rcx, qword [rsp + 0x30]
call fcn.140231340
test eax, eax
jne 0x14020533d
xor eax, eax
cmp esi, 0x80
setne al
jmp 0x140205338
cmp esi, 0x80
je 0x140205312
test r11b, r11b
je 0x140205312
mov rdx, qword [rsp + 0x30]
lea rcx, [0x1403574ac]
call fcn.140231340
test eax, eax
je 0x140205333
cmp esi, 0x7f
je 0x14020533d
test r11b, r11b
je 0x14020533d
mov rdx, qword [rsp + 0x30]
lea rcx, [0x1403574b0]
call fcn.140231340
test eax, eax
jne 0x14020533d
jmp 0x140205338
mov eax, 1
mov dword [rbx + 0x2c], eax
jmp 0x140205340
xor r13d, r13d
test byte [rdi + 0x29], 2
je 0x140205378
test r11b, r11b
je 0x140205378
mov r11, qword [rdi + 0x10]
test r11, r11
je 0x140205378
mov rdx, qword [rsp + 0x30]
lea rcx, str.excluded
call fcn.140231340
test eax, eax
jne 0x140205378
mov rax, qword [r11 + 0x40]
mov r13, qword [rax + 0x28]
mov dword [rbx + 0x2c], 2
xor esi, esi
test r13, r13
je 0x1402054f7
mov rcx, qword [rsp + 0x38]
xor r11d, r11d
call fcn.140231380
inc dword [rsp + 0x60]
mov rsi, qword [r13 + 8]
mov r8d, eax
mov rax, qword [r13 + 0x60]
movsx r12d, word [r13 + 0x36]
mov qword [rsp + 0x50], rax
cmp r11d, r12d
jge 0x1402053e4
cmp r8b, byte [rsi + 0xe]
jne 0x1402053db
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsi]
mov byte [rsp + 0x58], r8b
call fcn.140231340
mov r8b, byte [rsp + 0x58]
test eax, eax
jne 0x1402053db
movsx eax, word [r13 + 0x34]
cmp eax, r11d
jne 0x140205412
jmp 0x14020540e
inc r11d
add rsi, 0x18
jmp 0x1402053a9
mov rcx, qword [rsp + 0x38]
call fcn.140221010
mov esi, eax
test eax, eax
je 0x1402054ff
xor esi, esi
test byte [r13 + 0x31], 2
jne 0x1402054f7
test r12d, r12d
js 0x1402054f7
or r11d, 0xffffffff
mov eax, dword [rbx + 0x2c]
cmp eax, 2
jne 0x14020544e
cmp byte [r14 + 0x124], 1
jbe 0x140205437
mov word [rbx + 0x30], r11w
mov qword [rbx + 0x40], r13
mov dword [rsp + 0x64], 0xa7
jmp 0x140205487
mov rax, qword [rdi + 0x10]
mov edx, r11d
mov rcx, r13
mov esi, dword [rax + 0x48]
call fcn.1402315f0
cwde
add eax, esi
jmp 0x14020547c
mov qword [rbx + 0x40], r13
cmp byte [r14 + 0xd5], 0
je 0x140205490
mov byte [rbx + 2], 0xa7
inc r12d
mov edx, r11d
mov rcx, r13
imul r12d, eax
add r12d, dword [rdi + 0x10]
call fcn.1402315f0
cwde
lea eax, [r12 + rax + 1]
mov dword [rbx + 0x2c], eax
mov dword [rsp + 0x64], 0xb0
xor ebp, ebp
mov esi, 1
jmp 0x1402054f7
mov word [rbx + 0x30], r11w
cmp r11d, 0xffffffff
jne 0x1402054a1
mov byte [rbx + 1], 0x44
jmp 0x1402054c8
test eax, eax
jne 0x1402054d2
mov edx, dword [r14 + 0xcc]
or eax, 0xffffffff
cmp r11d, 0x1f
jg 0x1402054bf
mov eax, 1
mov ecx, r11d
shl eax, cl
or edx, eax
mov dword [r14 + 0xcc], edx
mov dword [rsp + 0x64], 0x4d
jmp 0x140205487
mov edx, dword [r14 + 0xd0]
or eax, 0xffffffff
cmp r11d, 0x1f
jg 0x1402054ec
mov eax, 1
mov ecx, r11d
shl eax, cl
or edx, eax
mov dword [r14 + 0xd0], edx
jmp 0x1402054c8
test esi, esi
jne 0x14020571d
cmp dword [rsp + 0x60], 1
jne 0x14020553d
test rbp, rbp
je 0x140205545
test byte [rdi + 0x28], 0x28
jne 0x140205545
mov rcx, qword [rsp + 0x38]
call fcn.140221010
test eax, eax
je 0x140205545
mov rax, qword [rbp + 0x20]
test byte [rax + 0x31], 2
jne 0x140205545
mov word [rbx + 0x30], 0xffff
mov esi, 1
mov byte [rbx + 1], 0x44
jmp 0x14020567e
test esi, esi
jne 0x14020571d
mov r12d, dword [rdi + 0x28]
test r12b, r12b
jns 0x140205668
cmp qword [rsp + 0x30], 0
jne 0x140205668
mov r13, qword [rdi + 0x10]
xor r11d, r11d
mov eax, dword [r13]
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x58], r11d
cmp dword [rsp + 0x68], r11d
jle 0x140205668
movsxd rax, r11d
shl rax, 5
lea rsi, [r13 + rax]
test byte [rsi + 0x1c], 3
jne 0x140205660
mov rax, r11
mov rdx, qword [rsp + 0x38]
shl rax, 5
mov r8, qword [r13 + rax + 0x10]
mov rcx, r8
mov qword [rsp + 0x70], r8
call fcn.14024b4d0
mov r8, qword [rsp + 0x70]
test eax, eax
jne 0x140205660
mov rcx, qword [rsi + 8]
mov eax, dword [rcx + 4]
test r12d, 1
jne 0x1402055d9
lea rdx, str.misuse_of_aliased_aggregate__s
test al, 0x10
jne 0x1402055f2
bt eax, 0xf
jae 0x140205604
bt r12d, 0xe
jae 0x1402055eb
cmp r15, rdi
je 0x140205604
lea rdx, str.misuse_of_aliased_window_function__s
mov rcx, r14
call fcn.1402159b0
mov eax, 2
jmp 0x14020611a
call fcn.140219800
dec eax
je 0x14020561e
lea rdx, str.row_value_misused
mov rcx, r14
call fcn.1402159b0
jmp 0x1402055fa
mov eax, dword [rsp + 0x84]
mov r9, rbx
mov rdx, r13
mov rcx, r14
mov r8d, dword [rsp + 0x58]
mov dword [rsp + 0x20], eax
call fcn.140204a80
cmp byte [r14 + 0x124], 1
jbe 0x1402058ad
mov rcx, qword [r14 + 0x190]
mov r8, rbx
xor edx, edx
call fcn.14022b5b0
jmp 0x1402058ad
inc r11
jmp 0x14020556d
mov rdi, qword [rdi + 0x18]
inc dword [rsp + 0x84]
test rdi, rdi
jne 0x140204ee5
xor esi, esi
test esi, esi
jne 0x14020571d
cmp qword [rsp + 0x30], 0
jne 0x14020571d
test byte [rbx + 4], 0x80
je 0x1402056fb
mov rax, qword [rsp + 0x40]
cmp byte [rax + 0xc5], 0
jne 0x1402056d6
mov rax, qword [rax + 0x30]
test byte [r15 + 0x2a], 1
je 0x1402056cb
mov rdx, rax
and edx, 0x10000001
dec rdx
jne 0x1402056c5
bt eax, 0x1e
jb 0x1402056d6
shr rax, 0x1d
jmp 0x1402056cf
shr rax, 0x1e
and eax, 1
test eax, eax
je 0x1402056fb
mov r8, qword [rsp + 0x38]
lea rdx, str.double_quoted_string_literal:___w_
mov ecx, 0x1c
xor r13d, r13d
call fcn.140248320
mov byte [rbx], 0x75
mov qword [rbx + 0x40], r13
jmp 0x140205aef
mov rcx, rbx
call fcn.140218890
test eax, eax
jne 0x140205aef
mov rdx, qword [rsp + 0xb0]
test rdx, rdx
jne 0x140205728
jmp 0x1402057b7
cmp esi, 1
je 0x14020584d
jmp 0x14020570b
lea eax, [rsi - 1]
cmp dword [rdx], eax
jne 0x1402057a2
mov eax, dword [rbx + 4]
bt eax, 0x17
jae 0x140205742
and eax, 0xff7fffff
mov dword [rbx + 4], eax
jmp 0x14020576b
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rsp + 0x40]
xor esi, esi
xor r12d, r12d
call fcn.140218670
mov qword [rbx + 0x10], rsi
mov rdx, qword [rbx + 0x18]
mov rcx, qword [rsp + 0x40]
call fcn.140218670
mov qword [rbx + 0x18], r12
movsx r9d, word [rbx + 0x30]
lea rdx, [rsp + 0xb0]
mov r8, rbp
mov rcx, r14
call fcn.1401f04c0
lea rax, str.coalesce
mov byte [rbx], 0xac
mov qword [rbx + 8], rax
mov rax, qword [rsp + 0xb0]
mov qword [rbx + 0x20], rax
jmp 0x1402058ad
mov rcx, qword [rsp + 0x40]
call fcn.140219340
xor r11d, r11d
mov qword [rsp + 0xb0], r11
test esi, esi
lea r8, str.ambiguous_column_name
lea rax, str.no_such_column
cmove r8, rax
cmp qword [rsp + 0x48], 0
je 0x1402057fd
mov rax, qword [rsp + 0x38]
mov r9, qword [rsp + 0x48]
lea rdx, str._s:__s._s._s
mov rcx, r14
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
call fcn.1402159b0
jmp 0x140205839
cmp qword [rsp + 0x30], 0
je 0x140205825
mov rax, qword [rsp + 0x38]
mov r9, qword [rsp + 0x30]
lea rdx, str._s:__s._s
mov rcx, r14
mov qword [rsp + 0x20], rax
call fcn.1402159b0
jmp 0x140205839
mov r9, qword [rsp + 0x38]
lea rdx, str._s:__s
mov rcx, r14
call fcn.1402159b0
mov rcx, qword [r14]
mov rdx, rbx
call fcn.14022b0a0
mov byte [r14 + 0x1d], 1
inc dword [r15 + 0x24]
test dword [rbx + 4], 0x810000
jne 0x140205887
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rsp + 0x40]
call fcn.140218670
xor r9d, r9d
mov rdx, qword [rbx + 0x18]
mov rcx, qword [rsp + 0x40]
mov qword [rbx + 0x10], r9
call fcn.140218670
xor r10d, r10d
or dword [rbx + 4], 0x800000
mov qword [rbx + 0x18], r10
cmp word [rbx + 0x30], 0
js 0x14020589f
test rbp, rbp
je 0x14020589f
mov rcx, rbx
call fcn.140218180
or qword [rbp + 0x50], rax
mov al, byte [rsp + 0x64]
dec esi
mov byte [rbx], al
jne 0x1402055fa
mov rcx, qword [r14]
cmp qword [rcx + 0x1f8], 0
je 0x140205962
mov r11b, byte [rbx]
cmp r11b, 0xa7
je 0x1402058d1
cmp r11b, 0x4d
jne 0x140205962
mov rdx, qword [rsp + 0x50]
mov r10, qword [rdi + 8]
call fcn.14022c900
mov r9d, eax
test eax, eax
js 0x140205962
cmp r11b, 0x4d
je 0x1402058f3
mov ecx, dword [r10]
xor eax, eax
jmp 0x1402058ff
mov rdx, qword [r14 + 0xa8]
jmp 0x140205924
mov rax, rdx
cmp ecx, eax
jle 0x140205922
lea rdx, [rax + 1]
imul r8, rdx, 0x68
mov esi, dword [r10 + r8 - 0x1c]
cmp dword [rbx + 0x2c], esi
jne 0x1402058fc
cdqe
imul rax, rax, 0x68
mov rdx, qword [r10 + rax + 0x28]
jmp 0x140205924
xor edx, edx
movsx rax, word [rbx + 0x30]
test rdx, rdx
je 0x140205962
test ax, ax
jns 0x140205944
movsx rax, word [rdx + 0x34]
lea r8, str.ROWID
test ax, ax
js 0x14020594f
imul rax, rax, 0x18
add rax, qword [rdx + 8]
mov r8, qword [rax]
mov rdx, qword [rdx]
mov rcx, r14
call fcn.14020ba60
cmp eax, 2
jne 0x140205962
mov byte [rbx], 0x79
inc dword [r15 + 0x20]
cmp rdi, r15
je 0x140205aef
mov r15, qword [r15 + 0x18]
jmp 0x140205962
mov r13, qword [rdx + 0x20]
xor edi, edi
test r13, r13
je 0x140205984
mov edi, dword [r13]
mov rcx, qword [r14]
mov eax, dword [r15 + 0x28]
xor ebp, ebp
mov dword [rsp + 0x38], eax
movzx r9d, byte [rcx + 0x64]
test byte [rbx + 7], 1
je 0x1402059a8
mov rbp, qword [rbx + 0x40]
cmp byte [rbp + 0x20], 0xa6
jne 0x1402059a8
xor ebp, ebp
xor r8d, r8d
mov rsi, qword [rbx + 8]
mov dword [rsp + 0x30], r9d
mov dword [rsp + 0x20], r8d
mov r8d, edi
mov rdx, rsi
call fcn.1402199c0
mov r9d, dword [rsp + 0x30]
test rax, rax
mov r12, rax
jne 0x140205a03
xor ecx, ecx
mov rdx, rsi
mov r8d, 0xfffffffe
xor esi, esi
mov dword [rsp + 0x20], ecx
mov rcx, qword [r14]
call fcn.1402199c0
cmp rax, 1
mov r12, rax
sbb edi, edi
xor edx, edx
inc edi
cmp rax, 1
setb dl
jmp 0x140205b9a
xor esi, esi
cmp qword [rax + 0x20], 0
setne sil
test byte [rax + 5], 4
je 0x140205ab0
or dword [rbx + 4], 0x80000
cmp edi, 2
jne 0x140205a99
mov rax, qword [r13 + 0x28]
cmp byte [rax], 0x99
je 0x140205a36
mov dword [rbx + 0x2c], 0xffffffff
jmp 0x140205a81
mov rdi, qword [rax + 8]
mov rcx, rdi
call fcn.1402313c0
lea rdx, [rsp + 0xb0]
mov r9d, 1
mov rcx, rdi
mov r8d, eax
call fcn.14020b3a0
movsd xmm0, qword [rsp + 0xb0]
comisd xmm0, xmmword [0x14035cdf8]
ja 0x140205a2d
mulsd xmm0, qword [0x14035cec8]
cvttsd2si eax, xmm0
mov dword [rbx + 0x2c], eax
test eax, eax
jns 0x140205ab0
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.1402159b0
inc dword [r15 + 0x24]
jmp 0x140205ab0
mov rax, qword [rax + 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.14020b9c0
mov edi, eax
test eax, eax
je 0x140205af9
dec edi
jne 0x140205aec
mov r8, rbx
lea rdx, str.not_authorized_to_use_function:__T
mov rcx, r14
call fcn.1402159b0
inc dword [r15 + 0x24]
mov byte [rbx], 0x79
mov eax, 1
jmp 0x14020611a
mov ecx, dword [r12 + 4]
mov edx, dword [r15 + 0x28]
test ch, 0x28
jne 0x140205b25
test dl, 0x2a
je 0x140205b52
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, str.non_deterministic_functions
mov rcx, r14
call fcn.1401fc700
jmp 0x140205b52
mov eax, dword [rbx + 4]
mov r8d, eax
or r8d, 0x100000
bt ecx, 0xb
mov dword [rbx + 4], r8d
jae 0x140205b07
mov ecx, edx
and ecx, 0x2e
bt edx, 0x12
mov byte [rbx + 2], cl
jae 0x140205b52
or eax, 0x40100000
mov dword [rbx + 4], eax
mov eax, dword [r12 + 4]
bt eax, 0x12
jae 0x140205b6d
cmp byte [r14 + 0x1e], 0
jne 0x140205b6d
mov rdx, qword [r14]
test byte [rdx + 0x2c], 0x20
je 0x140205b92
test eax, 0x280000
je 0x140205b7e
cmp byte [r14 + 0x124], 1
jbe 0x140205b82
xor edx, edx
jmp 0x140205b9a
mov r8, r12
mov rdx, rbx
mov rcx, r14
call fcn.140218860
jmp 0x140205b7e
xor r12d, r12d
mov edx, 1
cmp byte [r14 + 0x124], 1
ja 0x140205c8f
test r12, r12
je 0x140205bc6
cmp qword [r12 + 0x28], 0
jne 0x140205bc6
test rbp, rbp
je 0x140205bc6
mov r8, rbx
lea rdx, str._T___may_not_be_used_as_a_window_function
jmp 0x140205c3d
test esi, esi
je 0x140205c23
movzx eax, word [r12 + 6]
mov ecx, dword [r15 + 0x28]
and eax, 1
test cl, 1
je 0x140205bf2
test rbp, rbp
jne 0x140205bea
test al, al
jne 0x140205c02
test rbp, rbp
je 0x140205c23
bt ecx, 0xe
jae 0x140205c02
jmp 0x140205c23
test rbp, rbp
jne 0x140205c02
lea r8, str.aggregate
test al, al
je 0x140205c09
lea r8, str.window
mov r9, rbx
lea rdx, str.misuse_of__s_function__T__
mov rcx, r14
call fcn.1402159b0
inc dword [r15 + 0x24]
xor esi, esi
jmp 0x140205c9a
test edx, edx
je 0x140205c55
mov rax, qword [r14]
cmp byte [rax + 0xc5], 0
jne 0x140205c55
mov r8, rbx
lea rdx, str.no_such_function:__T
mov rcx, r14
call fcn.1402159b0
mov eax, dword [r15 + 0x24]
inc eax
mov dword [r15 + 0x24], eax
test esi, esi
jne 0x140205c67
jmp 0x140205c1f
mov r8, rbx
lea rdx, str.wrong_number_of_arguments_to_function__T__
test edi, edi
jne 0x140205c3d
test esi, esi
je 0x140205c78
cmp rbp, 1
sbb eax, eax
sub eax, 0x4001
and dword [r15 + 0x28], eax
jmp 0x140205c95
test byte [rbx + 7], 1
je 0x140205c1f
lea rdx, str.FILTER_may_not_be_used_with_non_aggregate__T__
mov rcx, r14
call fcn.1402159b0
jmp 0x140205c1b
test byte [rbx + 7], 1
je 0x140205c9a
mov esi, 1
mov rcx, qword [rsp + 0x1c0]
mov rdx, r13
call fcn.14023f330
test esi, esi
je 0x140205aef
test rbp, rbp
je 0x140205ec3
cmp byte [r14 + 0x124], 1
mov rbx, qword [r15 + 0x30]
jbe 0x140205d14
mov rdx, qword [rbp + 0x10]
mov rcx, qword [rsp + 0x1c0]
call fcn.14023f330
mov rdx, qword [rbp + 0x18]
mov rcx, qword [rsp + 0x1c0]
call fcn.14023f330
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rsp + 0x1c0]
call fcn.14023f320
mov rdx, rbp
mov rcx, rbx
call fcn.140243e20
or dword [r15 + 0x28], 0x8000
jmp 0x140205fdc
xor edx, edx
test rbx, rbx
je 0x140205d1f
mov rdx, qword [rbx + 0x78]
mov r8, qword [rbp]
test r8, r8
je 0x140205dac
cmp byte [rbp + 0x20], 0
jne 0x140205dac
mov rcx, r14
call fcn.14025a370
mov rsi, rax
test rax, rax
je 0x140205eb1
mov rdx, qword [rax + 0x10]
mov rcx, qword [r14]
xor r8d, r8d
call fcn.140219350
mov rdx, qword [rsi + 0x18]
mov rcx, qword [r14]
xor r8d, r8d
mov qword [rbp + 0x10], rax
call fcn.140219350
mov rdx, qword [rsi + 0x28]
mov rcx, qword [r14]
xor r8d, r8d
mov qword [rbp + 0x18], rax
call fcn.140218720
mov rdx, qword [rsi + 0x30]
mov rcx, qword [r14]
xor r8d, r8d
mov qword [rbp + 0x28], rax
call fcn.140218720
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 0x140205dba
mov r8, rdx
mov rcx, r14
mov rdx, rbp
call fcn.140243ac0
cmp byte [rbp + 0x20], 0x59
jne 0x140205de5
cmp qword [rbp + 0x28], 0
jne 0x140205dce
cmp qword [rbp + 0x30], 0
je 0x140205de5
mov rax, qword [rbp + 0x18]
test rax, rax
je 0x140205ddc
cmp dword [rax], 1
je 0x140205de5
lea rdx, str.RANGE_with_offset_PRECEDING_FOLLOWING_requires_one_ORDER_BY_expression
jmp 0x140205e02
test byte [r12 + 6], 1
je 0x140205ead
cmp qword [rbp + 0x48], 0
mov r13, qword [r14]
je 0x140205e0f
lea rdx, str.FILTER_clause_may_only_be_used_with_aggregate_window_functions
mov rcx, r14
call fcn.1402159b0
jmp 0x140205ead
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 0x140205ea2
mov rdx, qword [rbp + 0x28]
mov rcx, r13
movsxd rsi, esi
imul rsi, rsi, 0x18
call fcn.140218670
mov rdx, qword [rbp + 0x30]
mov rcx, r13
call fcn.140218670
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 0x140205ead
lea r8, [0x1403561ec]
mov edx, 0x9b
mov rcx, r13
call fcn.140215b20
mov qword [rbp + 0x28], rax
jmp 0x140205ead
inc esi
add rax, 0x18
cmp esi, 8
jne 0x140205e34
mov qword [rbp + 0x50], r12
mov rax, qword [r14]
cmp byte [rax + 0x67], 0
je 0x140205cc9
jmp case.0x140204c51.1
mov byte [rbx], 0xa8
mov byte [rbx + 2], 0
test byte [rbx + 7], 1
je 0x140205ee5
mov rax, qword [rbx + 0x40]
mov rcx, qword [rsp + 0x1c0]
mov rdx, qword [rax + 0x48]
call fcn.14023f320
mov rbp, r15
lea r13, [0x1401f0130]
lea rsi, [0x140208d60]
lea rax, [rsp + 0xb0]
mov ecx, 0xa
mov rdx, qword [rbp + 8]
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
mov rdi, qword [rsp + 0x30]
xor eax, eax
movaps xmmword [rsp + 0xa0], xmm0
rep stosd dword [rdi], eax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0x30]
lea rdi, [0x140208ce0]
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.14023f330
test byte [rbx + 7], 1
je 0x140205f88
mov rax, qword [rbx + 0x40]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rax + 0x48]
call fcn.14023f320
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [r14]
call fcn.1402131b0
mov eax, dword [rsp + 0xd4]
test al, 1
jne 0x140205fba
test ax, ax
je 0x140205fba
inc byte [rbx + 2]
mov rbp, qword [rbp + 0x18]
test rbp, rbp
jne 0x140205ef6
jmp 0x140205fdc
test rbp, rbp
je 0x140205fdc
test r12, r12
je 0x140205fdc
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 + 0x38]
and r14d, 0x4001
or dword [r15 + 0x28], r14d
jmp 0x140205aef
test byte [rbx + 5], 0x10
je case.0x140204c51.1
mov edx, dword [r15 + 0x28]
mov esi, dword [r15 + 0x20]
test dl, 0x2e
je 0x140206021
mov qword [rsp + 0x20], rbx
mov r9, rbx
lea r8, str.subqueries
mov rcx, r14
call fcn.1401fc700
jmp 0x140206032
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rsp + 0x1c0]
call fcn.14023f380
cmp dword [r15 + 0x20], esi
je case.0x140204c51.1
or dword [rbx + 4], 0x40
or dword [r15 + 0x28], 0x40
jmp case.0x140204c51.1
mov edx, dword [r15 + 0x28]
test dl, 0x2e
je case.0x140204c51.1
mov qword [rsp + 0x20], rbx
mov r9, rbx
lea r8, str.parameters
mov rcx, r14
call fcn.1401fc700
jmp case.0x140204c51.1
mov rcx, qword [rbx + 0x18]
call fcn.140219770
mov rsi, rax
test rax, rax
je case.0x140204c51.3
mov al, byte [rax]
cmp al, 0x3b
je 0x14020608e
cmp al, 0xaa
jne case.0x140204c51.3
mov rcx, qword [rsp + 0x1c0]
mov rdx, rsi
call fcn.140204c00
cmp eax, 2
je 0x14020611a
cmp byte [rsi], 0xaa
jne case.0x140204c51.3
mov al, byte [rbx]
mov byte [rbx], 0xaf
mov byte [rbx + 2], al
xor eax, eax
jmp 0x14020611a
mov rax, qword [r14]
cmp byte [rax + 0x67], 0
jne case.0x140204c51.1
mov rcx, qword [rbx + 0x10]
call fcn.140219800
cmp byte [rbx], 0x30
mov r8d, eax
jne 0x1402060e6
mov r9, qword [rbx + 0x20]
mov rcx, qword [r9 + 8]
call fcn.140219800
cmp r8d, eax
jne 0x1402060f4
mov rcx, qword [r9 + 0x28]
jmp 0x1402060ea
mov rcx, qword [rbx + 0x18]
call fcn.140219800
cmp eax, r8d
je case.0x140204c51.1
lea rdx, str.row_value_misused
mov rcx, r14
call fcn.1402159b0
mov rcx, qword [r14]
mov rdx, rbx
call fcn.14022b0a0
xor eax, eax
cmp dword [r14 + 0x30], 0
setne al
add eax, eax
add rsp, 0x178
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret