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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x108]
sub rsp, 0x1c8
mov rdi, qword [rcx]
xor r15d, r15d
mov qword [rbp + 0x48], r15
mov rbx, r8
mov qword [rsp + 0x48], rdi
mov r13, rdx
mov r12, rcx
mov esi, 1
call fcn.140063bc8
mov qword [rbp - 0x40], rax
mov r14, rax
test r13, r13
je 0x140069949
cmp byte [rdi + 0x61], r15b
jne 0x140069949
cmp dword [r12 + 0x30], r15d
jne 0x140069949
xor r9d, r9d
mov qword [rsp + 0x20], r15
xor r8d, r8d
lea edx, [rsi + 0x14]
mov rcx, r12
call fcn.14004bfc8
test eax, eax
jne 0x140069949
xor edx, edx
lea r8d, [rsi + 0x3f]
lea rcx, [rbp]
call fcn.1400e8100
lea eax, [rsi + 7]
cmp byte [rbx], al
ja 0x140068176
mov rdx, qword [r13 + 0x48]
test rdx, rdx
je 0x140068169
mov rcx, rdi
call fcn.14004311c
lea rbx, [r13 + 0xc]
mov qword [r13 + 0x48], r15
and dword [rbx], 0xfffffffe
jmp 0x14006817a
lea rbx, [r13 + 0xc]
xor r8d, r8d
mov rdx, r13
mov rcx, r12
call fcn.140067960
cmp dword [r12 + 0x30], r15d
jne 0x140069905
cmp byte [rdi + 0x61], r15b
jne 0x140069905
mov rax, qword [rbp + 0x120]
mov qword [rbp - 0x58], rbx
cmp byte [rax], 9
jne 0x1400681c0
mov rdx, r13
mov rcx, r12
call fcn.1400634dc
lea rax, [r13 + 0xc]
mov qword [rbp - 0x58], rax
mov rdx, r13
mov rcx, r12
call fcn.140079518
test eax, eax
jne 0x140069905
mov r10d, dword [rbx]
xorps xmm0, xmm0
mov rdi, qword [r13 + 0x28]
mov ecx, r15d
mov rax, qword [r13 + 0x48]
shr r10d, 3
and r10d, esi
mov qword [rbp - 0x68], rdi
movups xmmword [rbp - 0x38], xmm0
mov dword [rsp + 0x40], r10d
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x38], rax
movups xmmword [rbp - 0x18], xmm0
mov dword [rbp + 0x128], ecx
cmp qword [r13 + 0x50], r15
jne 0x1400698bb
mov r11, qword [rsp + 0x48]
mov rax, r15
mov qword [rbp - 0x60], rax
cmp ecx, dword [rdi]
jge 0x14006838b
imul rbx, rax, 0x70
mov rax, qword [rbx + rdi + 0x30]
mov r9, qword [rbx + rdi + 0x28]
mov qword [rsp + 0x60], rax
mov eax, 8
mov qword [rsp + 0x68], r9
test byte [rbx + rdi + 0x44], al
je 0x14006828f
mov edx, dword [rbx + rdi + 0x4c]
mov rcx, qword [r13 + 0x30]
call fcn.1400475d8
mov r11, qword [rsp + 0x48]
test eax, eax
je 0x14006827f
mov eax, 0x2000
test word [r11 + 0x5c], ax
jne 0x14006827f
and byte [rbx + rdi + 0x44], 0xd7
mov rcx, qword [r13 + 0x30]
mov edx, dword [rbx + rdi + 0x4c]
call fcn.140061994
mov ecx, dword [rbp + 0x128]
mov r9, qword [rsp + 0x68]
mov r10d, dword [rsp + 0x40]
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x140068344
mov rax, qword [rbx]
movsx r8d, word [r9 + 0x46]
mov edx, dword [rax]
cmp r8d, edx
jne 0x14006836b
mov eax, 8
test byte [rbx + 0xc], al
jne 0x140068344
cmp qword [rbx + 0x48], r15
je 0x1400682e1
test ecx, ecx
jne 0x1400682e1
mov rax, qword [rbp - 0x58]
test dword [rax], 0x40000
je 0x1400682e1
cmp dword [rdi], esi
je 0x140068344
test byte [rdi + 0xb4], 0xa
jne 0x140068344
mov r8d, ecx
mov r9d, r10d
mov rcx, r12
mov rdx, r13
call fcn.140066094
test eax, eax
je 0x14006830f
cmp dword [r12 + 0x30], r15d
jne 0x140068381
or rax, 0xffffffffffffffff
mov dword [rbp + 0x128], eax
mov qword [rbp - 0x60], rax
mov r11, qword [rsp + 0x48]
mov rdi, qword [r13 + 0x28]
mov qword [rbp - 0x68], rdi
cmp byte [r11 + 0x61], r15b
jne 0x1400698fd
mov rax, qword [rbp + 0x120]
mov ecx, 8
cmp byte [rax], cl
mov ecx, dword [rbp + 0x128]
jbe 0x140068344
mov rax, qword [r13 + 0x48]
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 0x60]
add ecx, esi
add rax, rsi
mov dword [rbp + 0x128], ecx
mov qword [rbp - 0x60], rax
cmp qword [r13 + 0x50], r15
jne 0x1400698bb
mov r10d, dword [rsp + 0x40]
jmp 0x140068220
mov r9, qword [r9]
mov rcx, r12
mov dword [rsp + 0x20], edx
lea rdx, str.expected__d_columns_for__s_but_got__d
call fcn.14001864c
mov rdi, qword [rsp + 0x48]
jmp 0x140069905
cmp dword [rdi], esi
jle 0x1400683a1
cmp word [r11 + 0x5c], r15w
jl 0x1400683a1
mov rdx, r13
mov rcx, r12
call fcn.1400668f4
lea rcx, [0x14010bf9c]
mov dword [rsp + 0x58], r15d
cmp dword [rdi], r15d
jle 0x1400686ae
mov rax, r15
mov qword [rbp - 0x68], rdi
mov qword [rsp + 0x68], rax
imul rax, rax, 0x70
lea rbx, [rdi + 8]
add rbx, rax
mov qword [rbp + 0x128], rbx
cmp qword [rbx + 0x58], r15
jne 0x1400683fc
mov r8, qword [rbx + 0x10]
test r8, r8
je 0x1400683fc
mov rax, qword [rbx + 8]
mov r9, rcx
mov rcx, r12
mov qword [rsp + 0x20], rax
mov edx, SQLAllocHandle
call fcn.14004bfc8
mov rcx, qword [rbx + 0x28]
mov qword [rbp - 0x80], rcx
test rcx, rcx
je 0x140068688
mov rax, qword [rsp + 0x48]
mov edx, 0x1000
test word [rax + 0x5c], dx
jne 0x14006843d
movzx eax, byte [rbx + 0x3c]
mov rdx, rcx
mov r9d, dword [rbx + 0x44]
mov rcx, r12
mov r8, qword [r13 + 0x30]
shr eax, 5
and eax, esi
mov dword [rsp + 0x20], eax
call fcn.1400669b8
mov rax, qword [r12 + 0x148]
mov qword [rbp - 0x58], rax
mov rax, qword [rbx + 0x10]
mov qword [r12 + 0x148], rax
cmp qword [rsp + 0x68], r15
jne 0x14006852d
cmp dword [rdi], esi
je 0x140068471
test byte [rdi + 0xb4], 0xa
je 0x14006852d
mov edi, dword [r14 + 0x90]
xor r9d, r9d
add dword [r12 + 0x38], esi
mov rcx, r14
mov rax, qword [rbp + 0x128]
mov r8d, dword [r12 + 0x38]
lea ebx, [rdi + 1]
lea edx, [r9 + 0xd]
mov dword [rsp + 0x20], ebx
mov dword [rax + 0x34], r8d
call fcn.1400311e0
mov rax, qword [rbp + 0x128]
lea r8, str.CO_ROUTINE__u
mov r9, qword [rbp - 0x80]
mov edx, esi
mov byte [rbp + 0x50], reloc.Cabinet.dll_FCIFlushCabinet
mov rcx, r12
mov qword [rbp + 0x60], r15
mov dword [rax + 0x30], ebx
mov rbx, rax
mov eax, dword [rax + 0x34]
mov dword [rbp + 0x54], eax
mov qword [rbp + 0x58], r15
mov r9d, dword [r9 + 0x18]
call fcn.1400313fc
mov rdx, qword [rbp - 0x80]
lea r8, [rbp + 0x50]
mov rcx, r12
call fcn.1400680b4
mov rax, qword [rbp - 0x80]
mov rcx, qword [rbx + 0x20]
movzx eax, word [rax + 0xa]
mov word [rcx + 0x48], ax
mov rcx, r14
mov eax, dword [rbp + 0x58]
mov edx, dword [rbx + 0x34]
or dword [rbx + 0x40], 0x10
mov dword [rbx + 0x38], eax
call fcn.140031534
mov edx, edi
mov rcx, r14
call fcn.140031bd0
mov ecx, dword [r14 + 0x90]
mov rdi, qword [rbp - 0x68]
mov dword [rax + 8], ecx
jmp 0x140068663
mov r9d, dword [r12 + 0x38]
xor r8d, r8d
inc r9d
mov dword [rbp + 0x128], r15d
mov dword [r12 + 0x38], r9d
mov rcx, r14
mov dword [rbx + 0x34], r9d
lea edx, [r8 + 0x46]
mov dword [rsp + 0x20], r15d
call fcn.1400311e0
mov dword [rsp + 0x7c], eax
lea ecx, [rax + 1]
mov eax, 8
mov dword [rbx + 0x30], ecx
test byte [rbx + 0x40], al
jne 0x140068589
xor r9d, r9d
mov dword [rsp + 0x20], r15d
xor r8d, r8d
lea edx, [rax + 9]
mov rcx, r14
call fcn.1400311e0
mov dword [rbp + 0x128], eax
mov rdx, rbx
mov rcx, rdi
call fcn.140067fec
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1400685cf
mov r9d, dword [rax + 0x44]
mov edx, SQLExecDirectW
mov r8d, dword [rbx + 0x44]
mov rcx, r14
mov dword [rsp + 0x20], r15d
call fcn.1400311e0
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx + 0x28]
movzx ecx, word [rax + 0xa]
mov rax, qword [rbp - 0x80]
mov word [rax + 0xa], cx
jmp 0x14006860e
mov eax, dword [rbx + 0x44]
lea r8, str.MATERIALIZE__u
mov dword [rbp + 0x54], eax
mov edx, esi
mov rax, qword [rbp - 0x80]
mov rcx, r12
mov byte [rbp + 0x50], reloc.WLDAP32.dll_Ordinal_12
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x58], r15
mov r9d, dword [rax + 0x18]
call fcn.1400313fc
mov rdx, qword [rbp - 0x80]
lea r8, [rbp + 0x50]
mov rcx, r12
call fcn.1400680b4
mov rax, qword [rbp - 0x80]
movzx eax, word [rax + 0xa]
mov rcx, qword [rbx + 0x20]
mov word [rcx + 0x48], ax
mov eax, dword [rbp + 0x128]
test eax, eax
je 0x140068638
mov edx, eax
mov rcx, r14
call fcn.140031bd0
mov ecx, dword [r14 + 0x90]
mov dword [rax + 8], ecx
mov r8d, dword [rbx + 0x34]
xor r9d, r9d
mov rcx, r14
mov dword [rsp + 0x20], r15d
lea edx, [r9 + 0x42]
call fcn.1400311e0
mov edx, dword [rsp + 0x7c]
mov rcx, r14
mov r9d, eax
call fcn.140031bd0
mov dword [rax + 4], r9d
mov rax, qword [rsp + 0x48]
mov byte [r12 + 0x1f], r15b
mov dword [r12 + 0x28], r15d
cmp byte [rax + 0x61], r15b
jne 0x140069902
mov rax, qword [rbp - 0x58]
mov qword [r12 + 0x148], rax
mov ecx, dword [rsp + 0x58]
mov rax, qword [rsp + 0x68]
add ecx, esi
add rax, rsi
mov dword [rsp + 0x58], ecx
cmp ecx, dword [rdi]
lea rcx, [0x14010bf9c]
mov qword [rsp + 0x68], rax
jl 0x1400683c2
mov rax, qword [r13 + 0x30]
mov rbx, qword [r13]
mov qword [rsp + 0x70], rax
mov rax, qword [r13 + 0x38]
mov qword [rbp - 0x60], rax
mov rax, qword [r13 + 0x40]
mov qword [rsp + 0x68], rax
mov al, byte [r13 + 0xc]
and al, sil
mov qword [rbp - 0x58], rbx
mov byte [rbp - 0x78], al
mov eax, dword [r13 + 0xc]
and al, 9
cmp al, sil
jne 0x140068716
mov rcx, qword [rbp - 0x38]
or r8d, 0xffffffff
mov rdx, rbx
call fcn.1400471ac
test eax, eax
jne 0x140068716
and dword [r13 + 0xc], 0xfffffffe
xor r8d, r8d
mov rcx, qword [rsp + 0x48]
mov rdx, rbx
call fcn.14004281c
mov qword [rbp - 0x60], rax
mov qword [r13 + 0x38], rax
mov rdx, qword [rbp - 0x38]
test rdx, rdx
je 0x140068780
mov r9d, dword [rbx]
xor r8d, r8d
mov rcx, r12
call fcn.140062d78
mov r8d, dword [r12 + 0x34]
mov rdi, rax
mov dword [rbp - 0x2c], r8d
mov dword [rsp + 0x20], r15d
lea ecx, [r8 + 1]
mov dword [r12 + 0x34], ecx
mov rcx, qword [rbp - 0x38]
mov r9d, dword [rbx]
mov edx, dword [rcx]
mov rcx, r14
inc edx
add r9d, edx
mov edx, Ordinal_113
call fcn.1400311e0
mov r9d, 0xfffffff7
mov r8, rdi
mov edx, eax
mov rcx, r14
mov ebx, eax
call fcn.140031ae4
mov dword [rbp - 0x20], ebx
mov rbx, qword [rbp - 0x58]
jmp 0x140068784
or dword [rbp - 0x20], 0xffffffff
mov rax, qword [rbp + 0x120]
cmp byte [rax], 0xc
jne 0x1400687a9
mov r9d, dword [rbx]
mov edx, Ordinal_113
mov r8d, dword [rax + 4]
mov rcx, r14
mov dword [rsp + 0x20], r15d
call fcn.1400311e0
dec dword [r12 + 0x44]
mov ecx, 0x4000
mov eax, dword [r12 + 0x44]
mov dword [rbp - 0x80], eax
test dword [r13 + 0xc], ecx
jne 0x1400687c8
mov word [r13 + 0xa], 0x140
mov r8d, eax
mov rdx, r13
mov rcx, r12
call fcn.140063bf8
cmp dword [r13 + 0x10], r15d
jne 0x1400687f2
mov edx, dword [rbp - 0x20]
test edx, edx
js 0x1400687f2
mov rcx, r14
call fcn.140031bd0
mov byte [rax], 0x72
or byte [rbp - 0x14], sil
test byte [r13 + 0xc], sil
je 0x14006886f
mov eax, dword [r12 + 0x34]
xor r9d, r9d
mov dword [rbp - 0x74], eax
xor r8d, r8d
inc eax
mov rcx, r12
mov dword [r12 + 0x34], eax
mov rdx, qword [r13]
call fcn.140062d78
mov r8d, dword [rbp - 0x74]
xor r9d, r9d
mov rcx, r14
mov dword [rsp + 0x20], r15d
mov rdi, rax
lea edx, [r9 + 0x70]
call fcn.1400311e0
mov r9d, 0xfffffff7
mov r8, rdi
mov edx, eax
mov rcx, r14
mov ebx, eax
call fcn.140031ae4
mov dword [rbp - 0x70], ebx
movsxd rax, dword [r14 + 0x90]
test eax, eax
jle 0x140068869
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 0x88]
mov word [rax + rcx*8 - 0x16], 8
mov byte [rbp - 0x77], 3
jmp 0x140068873
mov byte [rbp - 0x77], r15b
mov rdi, qword [rbp - 0x60]
cmp dword [rsp + 0x40], r15d
jne 0x140068a84
test rdi, rdi
jne 0x140068a84
movzx ebx, word [r13 + 0xc]
mov eax, 0x4000
mov rdi, qword [r13 + 0x70]
and bx, ax
mov al, byte [rbp - 0x78]
neg al
mov eax, 0x100
sbb cx, cx
and cx, ax
or bx, cx
test rdi, rdi
je 0x1400688bf
mov rdx, rdi
mov rcx, r12
call fcn.140079e94
movsx eax, word [r13 + 0xa]
mov rcx, r12
mov r9, qword [rbp - 0x38]
mov r8, qword [rsp + 0x70]
mov rdx, qword [rbp - 0x68]
mov dword [rsp + 0x30], eax
mov rax, qword [r13]
mov word [rsp + 0x28], bx
mov qword [rsp + 0x20], rax
call fcn.140077688
mov qword [rbp + 0x118], rax
mov rdx, rax
test rax, rax
je 0x140068381
movzx eax, word [rax + 0x60]
cmp ax, word [r13 + 0xa]
jge 0x14006890e
mov word [r13 + 0xa], ax
cmp byte [rbp - 0x78], r15b
je 0x140068924
movzx ecx, byte [rdx + 0x47]
movzx eax, byte [rbp - 0x77]
test cl, cl
cmovne eax, ecx
mov byte [rbp - 0x77], al
mov r8, qword [rbp - 0x38]
test r8, r8
je 0x14006895e
movsx r9d, byte [rdx + 0x43]
mov dword [rbp - 0x30], r9d
cmp byte [rdx + 0x48], r15b
jne 0x140068941
mov eax, dword [rdx + 0x34]
jmp 0x140068950
movzx eax, byte [rdx + 0x42]
imul rcx, rax, 0x58
mov eax, dword [rcx + rdx + 0x350]
mov dword [rbp - 0x18], eax
cmp r9d, dword [r8]
cmove r8, r15
mov qword [rbp - 0x38], r8
cmp dword [rbp - 0x20], r15d
jl 0x14006897b
test r8, r8
jne 0x14006897b
mov edx, dword [rbp - 0x20]
mov rcx, r14
call fcn.1400319cc
mov rdx, qword [rbp + 0x118]
mov rcx, r12
test rdi, rdi
je 0x140068a40
mov ebx, dword [r12 + 0x44]
mov r8, rdx
inc dword [r12 + 0x38]
dec ebx
mov edi, dword [r12 + 0x38]
mov rdx, r13
mov r9d, edi
mov dword [rsp + 0x20], ebx
lea esi, [rbx - 1]
lea r14d, [rsi - 1]
mov dword [r12 + 0x44], r14d
call fcn.14007b92c
mov rcx, qword [rbp - 0x40]
xor r8d, r8d
mov r9d, r14d
mov dword [rsp + 0x20], r15d
lea edx, [r8 + 0xb]
call fcn.1400311e0
mov edx, ebx
mov rbx, qword [rbp - 0x40]
mov rcx, rbx
call fcn.1400315d4
mov rax, qword [rbp + 0x120]
lea r9, [rbp - 0x38]
mov dword [rsp + 0x38], r14d
or r8d, 0xffffffff
mov dword [rsp + 0x30], esi
mov rdx, r13
mov qword [rsp + 0x28], rax
mov rcx, r12
lea rax, [rbp - 0x78]
mov dword [rbp - 0x18], r15d
mov qword [rsp + 0x20], rax
call fcn.14006228c
mov edx, esi
mov rcx, rbx
call fcn.1400315d4
xor r9d, r9d
mov dword [rsp + 0x20], r15d
mov r8d, edi
mov rcx, rbx
lea edx, [r9 + 0x42]
call fcn.1400311e0
mov edx, r14d
mov rcx, rbx
mov r14, rbx
jmp 0x140069816
mov eax, dword [rdx + 0x38]
lea r9, [rbp - 0x38]
mov rbx, qword [rbp + 0x120]
or r8d, 0xffffffff
mov dword [rsp + 0x38], eax
mov eax, dword [rdx + 0x34]
mov rdx, r13
mov dword [rsp + 0x30], eax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.14006228c
mov rcx, qword [rbp + 0x118]
call fcn.140078208
jmp 0x140069822
mov dword [rsp + 0x54], r15d
mov dword [rsp + 0x50], r15d
mov dword [rbp - 0x50], r15d
test rdi, rdi
je 0x140068b29
mov rcx, qword [r13]
mov eax, dword [rcx]
test eax, eax
jle 0x140068ab7
add rcx, 0x2a
sub eax, esi
mov word [rcx], r15w
lea rcx, [rcx + 0x28]
test eax, eax
jg 0x140068aa9
mov eax, dword [rdi]
test eax, eax
jle 0x140068acf
lea rcx, [rdi + 0x2a]
sub eax, esi
mov word [rcx], r15w
lea rcx, [rcx + 0x28]
test eax, eax
jg 0x140068ac1
mov eax, Ordinal_69
cmp word [r13 + 0xa], ax
jle 0x140068ae0
mov word [r13 + 0xa], ax
mov rdx, qword [rbp - 0x38]
test rdx, rdx
je 0x140068b2e
mov eax, dword [rdi]
cmp eax, dword [rdx]
jne 0x140068b2e
mov r8d, r15d
test eax, eax
jle 0x140068b14
mov rcx, r15
mov al, byte [rcx + rdx + 0x20]
lea rcx, [rcx + 0x28]
and al, sil
add r8d, esi
mov byte [rdi + rcx - 8], al
mov rdx, qword [rbp - 0x38]
cmp r8d, dword [rdi]
jl 0x140068af9
or r8d, 0xffffffff
mov rcx, rdi
call fcn.1400471ac
test eax, eax
jne 0x140068b2e
mov dword [rbp - 0x50], esi
jmp 0x140068b2e
mov word [r13 + 0xa], r15w
mov eax, dword [r12 + 0x44]
xorps xmm0, xmm0
mov rbx, qword [rbp - 0x68]
dec eax
mov dword [rsp + 0x78], eax
xorps xmm1, xmm1
mov dword [r12 + 0x44], eax
lea rax, [rbp]
mov qword [rbp + 0x90], rax
mov eax, dword [r12 + 0x38]
add eax, esi
mov qword [rbp + 0x80], r12
mov qword [rbp + 0x88], rbx
mov dword [rbp + 0x10], eax
movdqu xmmword [rbp + 0x98], xmm0
movdqu xmmword [rbp + 0xa8], xmm1
test rdi, rdi
je 0x140068b87
mov eax, dword [rdi]
mov dword [rbp + 0xc], eax
jmp 0x140068b8b
mov dword [rbp + 0xc], r15d
mov rdx, qword [rbp - 0x58]
lea rcx, [rbp + 0x80]
mov qword [rbp + 0x18], rdi
call fcn.140047a68
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp + 0x80]
call fcn.140047a68
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140068c0c
test rdi, rdi
je 0x140068bfd
mov rdx, qword [r13 + 0x40]
lea rax, [0x140067ec4]
mov qword [rbp + 0x70], r15
xorps xmm0, xmm0
mov qword [rbp + 0x50], r12
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x78], r13
movdqu xmmword [rbp + 0x60], xmm0
test rdx, rdx
je 0x140068bf4
lea rcx, [rbp + 0x50]
call fcn.14003ef0c
mov rcx, qword [rsp + 0x68]
mov rax, qword [r13 + 0x30]
mov qword [rsp + 0x70], rax
mov rdx, rcx
lea rcx, [rbp + 0x80]
call fcn.140047a1c
mov eax, dword [rbp + 0x28]
mov r11d, dword [rbp + 0x38]
mov dword [rbp + 0x2c], eax
cmp qword [r13 + 0x38], r15
jne 0x140068cdc
cmp qword [r13 + 0x40], r15
jne 0x140068cdc
cmp r11d, esi
jne 0x140068cdc
mov rax, qword [rbp + 0x30]
mov rcx, qword [rax]
mov rax, qword [rcx + 0x20]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140068cdc
cmp dword [rax], esi
jne 0x140068cdc
test dword [rcx + 4], 0x1000000
jne 0x140068cdc
mov rax, qword [rcx + 8]
lea rdx, [0x14010f904]
mov rcx, rax
mov qword [rbp + 0x128], rax
call fcn.140018730
test eax, eax
jne 0x140068c89
mov byte [rbp + 0x128], 2
mov word [rsp + 0x40], si
jmp 0x140068caf
mov rcx, qword [rbp + 0x128]
lea rdx, [0x14010f908]
call fcn.140018730
test eax, eax
jne 0x140068cdc
mov byte [rbp + 0x128], sil
mov dword [rsp + 0x40], 2
mov rdx, qword [rsp + 0x60]
xor r8d, r8d
mov rcx, qword [rsp + 0x48]
call fcn.14004281c
mov qword [rbp + 0x48], rax
mov rcx, rax
test rax, rax
je 0x140068cd6
mov al, byte [rbp + 0x128]
mov byte [rcx + 0x20], al
mov r11d, dword [rbp + 0x38]
jmp 0x140068ce2
mov word [rsp + 0x40], r15w
test r11d, r11d
jle 0x140068d76
mov ecx, dword [rbp + 0xa8]
mov r14, r15
mov ebx, r15d
mov r13d, 8
mov rax, qword [rbp + 0x30]
or ecx, r13d
mov rax, qword [r14 + rax]
mov dword [rbp + 0xa8], ecx
lea rcx, [rbp + 0x80]
mov qword [rbp + 0x128], rax
mov rdx, qword [rax + 0x20]
call fcn.140047a68
mov rdx, qword [rbp + 0x128]
test dword [rdx + 4], 0x1000000
je 0x140068d49
mov rdx, qword [rdx + 0x40]
lea rcx, [rbp + 0x80]
mov rdx, qword [rdx + 0x48]
call fcn.140047a1c
mov ecx, dword [rbp + 0xa8]
add ebx, esi
mov r11d, dword [rbp + 0x38]
and ecx, 0xfffffff7
add r14, 0x18
mov dword [rbp + 0xa8], ecx
cmp ebx, r11d
jl 0x140068cfd
mov r13, qword [rbp + 0x118]
mov r14, qword [rbp - 0x40]
mov rbx, qword [rbp - 0x68]
mov eax, dword [r12 + 0x38]
mov dword [rbp + 0x14], eax
mov rax, qword [rsp + 0x48]
cmp byte [rax + 0x61], r15b
jne 0x1400698a0
test rdi, rdi
je 0x14006947e
mov eax, dword [r12 + 0x34]
xor r8d, r8d
mov r9d, dword [rbp + 0x28]
mov rdx, rdi
mov dword [rbp + 4], eax
mov rcx, r12
inc eax
mov dword [r12 + 0x34], eax
call fcn.140062d78
mov r9d, dword [rbp + 0xc]
mov edx, 0x72
mov r8d, dword [rbp + 4]
mov rcx, r14
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x20], r15d
call fcn.1400311e0
mov r8, qword [rsp + 0x60]
mov r9d, 0xfffffff7
mov edx, eax
mov dword [rbp - 0x68], eax
mov rcx, r14
call fcn.140031ae4
mov eax, dword [r12 + 0x38]
mov ecx, dword [r12 + 0x44]
inc eax
dec ecx
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x7c], ecx
mov dword [rsp + 0x20], r15d
lea r8d, [rax + 1]
lea eax, [rcx - 1]
mov dword [rsp + 0x40], r8d
lea edx, [r8 + 2]
mov dword [r12 + 0x44], eax
mov dword [r12 + 0x38], edx
mov r9d, r8d
mov ecx, dword [rdi]
xor r8d, r8d
add ecx, edx
mov dword [rbp - 0x48], eax
mov dword [r12 + 0x38], ecx
mov dword [rbp + 0x128], edx
lea edx, [r8 + 0x46]
lea eax, [rcx + 1]
add ecx, dword [rdi]
mov dword [r12 + 0x38], ecx
mov rcx, r14
mov dword [rbp - 0x4c], eax
call fcn.1400311e0
mov r9d, dword [rbp + 0x128]
xor r8d, r8d
mov ecx, r9d
inc r9d
add ecx, dword [rdi]
mov dword [rsp + 0x20], ecx
mov rcx, r14
lea edx, [r8 + 0x49]
call fcn.1400311e0
mov r9d, dword [rbp - 0x48]
mov edx, reloc.WLDAP32.dll_Ordinal_12
mov r8d, dword [rbp + 0x128]
mov rcx, r14
mov dword [rsp + 0x20], r15d
call fcn.1400311e0
mov eax, dword [rbp - 0x50]
mov r9, rdi
mov r8, qword [rsp + 0x70]
neg eax
mov dword [rsp + 0x30], r15d
mov rdx, rbx
sbb cx, cx
and cx, 0x200
add cx, 0x40
mov word [rsp + 0x28], cx
mov rcx, r12
mov qword [rsp + 0x20], r15
call fcn.140077688
mov qword [rbp + 0x40], rax
mov rdx, rax
test rax, rax
je 0x1400698a0
movsx ecx, byte [rax + 0x43]
cmp ecx, dword [rdi]
jne 0x140068eea
mov ebx, r15d
mov dword [rsp + 0x70], ebx
jmp 0x140069106
cmp byte [rbp - 0x78], r15b
je 0x140068efd
lea r9, str.DISTINCT
test byte [r13 + 0xc], sil
je 0x140068f04
lea r9, str.GROUP_BY
lea r8, str.USE_TEMP_B_TREE_FOR__s
xor edx, edx
mov rcx, r12
call fcn.1400313fc
mov eax, dword [rdi]
mov ebx, eax
mov edx, eax
mov dword [rbp - 0x40], eax
mov dword [rsp + 0x70], esi
cmp dword [rbp + 0x28], r15d
jle 0x140068f50
mov r8, qword [rbp + 0x20]
mov r9d, dword [rbp + 0x28]
add r8, 0x10
cmp dword [r8], edx
lea eax, [rbx + 1]
lea r8, [r8 + 0x20]
cmovl eax, ebx
mov ebx, eax
lea eax, [rdx + 1]
cmovl eax, edx
mov edx, eax
sub r9, rsi
jne 0x140068f34
mov edx, ebx
mov rcx, r12
call fcn.140047abc
xor r9d, r9d
mov dword [rsp + 0x50], eax
mov r8d, eax
mov byte [rsp + 0x20], r15b
mov rcx, r12
mov rdx, rdi
call fcn.1400463f4
mov ecx, dword [rbp + 0x28]
mov eax, r15d
mov dword [rsp + 0x54], eax
test ecx, ecx
jle 0x140068fe1
mov r13d, dword [rbp - 0x40]
mov rdi, r15
mov r12d, dword [rsp + 0x50]
mov rdx, qword [rbp + 0x20]
cmp dword [rdx + rdi + 0x10], r13d
jl 0x140068fc1
mov r9d, dword [rdx + rdi + 0xc]
lea eax, [r12 + r13]
mov r8d, dword [rdx + rdi + 8]
mov rcx, r14
mov rdx, qword [rdx + rdi]
mov dword [rsp + 0x20], eax
call fcn.140044e98
mov ecx, dword [rbp + 0x28]
add r13d, esi
mov eax, dword [rsp + 0x54]
add eax, esi
add rdi, 0x20
mov dword [rsp + 0x54], eax
cmp eax, ecx
jl 0x140068f8e
mov r12, qword [rbp + 0x110]
mov r13, qword [rbp + 0x118]
mov rdi, qword [rbp - 0x60]
mov al, byte [r12 + 0x1f]
test al, al
jne 0x140068ff8
mov eax, dword [r12 + 0x38]
inc eax
mov dword [r12 + 0x38], eax
jmp 0x14006900b
sub al, sil
movzx eax, al
mov byte [r12 + 0x1f], al
mov eax, dword [r12 + rax*4 + 0xbc]
mov r8d, dword [rsp + 0x50]
mov r9d, ebx
mov edx, Ordinal_96
mov dword [rbp + 0x110], eax
mov rcx, r14
mov dword [rsp + 0x20], eax
call fcn.1400311e0
mov r9d, dword [rbp + 0x110]
mov edx, Ordinal_133
mov r8d, dword [rbp + 4]
mov rcx, r14
mov dword [rsp + 0x20], r15d
call fcn.1400311e0
mov ecx, dword [rbp + 0x110]
test ecx, ecx
je 0x140069070
mov eax, 8
cmp byte [r12 + 0x1f], al
jae 0x140069070
movzx eax, byte [r12 + 0x1f]
mov dword [r12 + rax*4 + 0xbc], ecx
add byte [r12 + 0x1f], sil
mov edx, dword [rsp + 0x50]
mov r8d, ebx
mov rcx, r12
call fcn.140047b10
mov rcx, qword [rbp + 0x40]
call fcn.140078208
mov ecx, dword [r12 + 0x34]
mov dword [rsp + 0x54], ecx
mov dword [rbp + 8], ecx
lea eax, [rcx + 1]
mov dword [r12 + 0x34], eax
mov al, byte [r12 + 0x1f]
test al, al
jne 0x1400690b3
mov eax, dword [r12 + 0x38]
inc eax
mov dword [r12 + 0x38], eax
jmp 0x1400690c6
sub al, sil
movzx eax, al
mov byte [r12 + 0x1f], al
mov eax, dword [r12 + rax*4 + 0xbc]
mov r8d, ecx
mov dword [rsp + 0x50], eax
mov rcx, r14
mov dword [rsp + 0x20], ebx
mov r9d, eax
mov edx, 0x74
call fcn.1400311e0
mov r9d, dword [rsp + 0x78]
mov edx, Ordinal_36
mov r8d, dword [rbp + 4]
mov rcx, r14
mov dword [rsp + 0x20], r15d
call fcn.1400311e0
mov rdx, qword [rbp + 0x40]
mov ebx, esi
mov byte [rbp + 1], sil
cmp dword [rbp - 0x50], r15d
je 0x140069130
mov rax, qword [rsp + 0x48]
test byte [rax + 0x5c], 4
jne 0x140069130
test ebx, ebx
jne 0x140069121
cmp byte [rdx + 0x44], r15b
je 0x140069130
mov edx, dword [rbp - 0x20]
mov rcx, r14
mov qword [rbp - 0x38], r15
call fcn.1400319cc
mov eax, dword [r14 + 0x90]
mov dword [rbp + 0x110], eax
test ebx, ebx
je 0x14006915f
mov eax, dword [rsp + 0x54]
mov edx, Ordinal_127
mov r9d, dword [rsp + 0x50]
mov rcx, r14
mov r8d, dword [rbp + 4]
mov dword [rsp + 0x20], eax
call fcn.1400311e0
mov ebx, r15d
cmp dword [rdi], r15d
jle 0x1400691b6
lea r13, [rdi + 8]
mov r8d, dword [rbp - 0x4c]
add r8d, ebx
cmp dword [rsp + 0x70], r15d
je 0x140069195
mov dword [rsp + 0x20], r8d
mov r9d, ebx
mov r8d, dword [rsp + 0x54]
mov edx, 0x5a
mov rcx, r14
call fcn.1400311e0
jmp 0x1400691a5
mov byte [rbp], sil
mov rcx, r12
mov rdx, qword [r13]
call fcn.1400462c8
add ebx, esi
add r13, 0x28
cmp ebx, dword [rdi]
jl 0x14006916b
mov r13, qword [rbp + 0x118]
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x1400691c2
add dword [rbx], esi
mov r8d, dword [rbp + 0x128]
mov edx, Ordinal_88
mov eax, dword [rdi]
inc r8d
mov r9d, dword [rbp - 0x4c]
mov rcx, r14
mov dword [rsp + 0x20], eax
call fcn.1400311e0
mov r9d, 0xfffffff7
mov r8, rbx
mov edx, eax
mov rcx, r14
call fcn.140031ae4
mov ebx, dword [r14 + 0x90]
xor r9d, r9d
mov rcx, r14
lea r8d, [rbx + 1]
lea edx, [r9 + 0x10]
mov dword [rsp + 0x20], r8d
call fcn.1400311e0
mov r9d, dword [rbp + 0x128]
mov edx, reloc.WLDAP32.dll_Ordinal_77
mov eax, dword [rdi]
inc r9d
mov r8d, dword [rbp - 0x4c]
mov rcx, qword [r12 + 0x10]
mov dword [rsp + 0x20], eax
call fcn.1400311e0
mov r8d, dword [rsp + 0x40]
mov edx, reloc.WLDAP32.dll_Ordinal_12
mov r9d, dword [rsp + 0x7c]
inc r8d
mov rcx, r14
mov dword [rsp + 0x20], r15d
call fcn.1400311e0
mov edi, dword [rsp + 0x78]
mov edx, 0x2f
mov r8d, dword [rsp + 0x40]
mov r9d, edi
mov rcx, r14
mov dword [rsp + 0x20], r15d
call fcn.1400311e0
mov r9d, dword [rbp - 0x48]
mov edx, reloc.WLDAP32.dll_Ordinal_12
mov r8d, dword [rbp + 0x128]
mov rcx, r14
mov dword [rsp + 0x20], r15d
call fcn.1400311e0
mov edx, ebx
mov rcx, r14
call fcn.140031bd0
mov ecx, dword [r14 + 0x90]
lea r8, [rbp]
mov edx, dword [rsp + 0x58]
mov dword [rax + 8], ecx
mov rcx, r12
call fcn.140067be4
mov r9d, dword [rsp + 0x58]
mov r8d, esi
mov edx, Ordinal_73
mov dword [rsp + 0x20], r15d
mov rcx, r14
call fcn.1400311e0
cmp dword [rsp + 0x70], r15d
je 0x1400692f6
mov r9d, dword [rbp + 0x110]
mov edx, 3
mov r8d, dword [rbp + 4]
mov rcx, r14
mov dword [rsp + 0x20], r15d
call fcn.1400311e0
jmp 0x14006930a
mov rcx, qword [rbp + 0x40]
call fcn.140078208
mov edx, dword [rbp - 0x68]
mov rcx, r14
call fcn.1400319cc
mov r8d, dword [rsp + 0x40]
mov edx, reloc.WLDAP32.dll_Ordinal_12
mov r9d, dword [rsp + 0x7c]
inc r8d
mov rcx, r14
mov dword [rsp + 0x20], r15d
call fcn.1400311e0
xor r8d, r8d
mov dword [rsp + 0x20], r15d
mov r9d, edi
mov rcx, r14
lea edx, [r8 + 0xb]
call fcn.1400311e0
mov r9d, dword [rsp + 0x40]
mov r8d, esi
mov edi, dword [r14 + 0x90]
mov edx, Ordinal_73
mov rcx, r14
mov dword [rsp + 0x20], r15d
call fcn.1400311e0
mov esi, dword [rsp + 0x40]
xor r9d, r9d
inc esi
mov dword [rsp + 0x20], r15d
mov r8d, esi
mov rcx, r14
lea edx, [r9 + 0x42]
call fcn.1400311e0
mov edx, dword [rsp + 0x7c]
mov rcx, r14
call fcn.1400315d4
mov ebx, dword [r14 + 0x90]
mov edx, 0x2f
mov r8d, dword [rsp + 0x58]
mov rcx, r14
mov dword [rsp + 0x20], r15d
lea r9d, [rbx + 2]
call fcn.1400311e0
xor r9d, r9d
mov dword [rsp + 0x20], r15d
mov r8d, esi
mov rcx, r14
lea edx, [r9 + 0x42]
call fcn.1400311e0
lea rdx, [rbp]
mov rcx, r12
call fcn.140067b60
mov rdx, qword [rsp + 0x68]
inc ebx
mov r8d, ebx
mov r9d, 0x10
mov rcx, r12
call fcn.140046a1c
mov rax, qword [rbp + 0x120]
lea r9, [rbp - 0x38]
mov dword [rsp + 0x38], edi
or r8d, 0xffffffff
mov dword [rsp + 0x30], ebx
mov rdx, r13
mov qword [rsp + 0x28], rax
mov rcx, r12
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
call fcn.14006228c
xor r9d, r9d
mov dword [rsp + 0x20], r15d
mov r8d, esi
mov rcx, r14
lea ebx, [r9 + 0x42]
mov edx, ebx
call fcn.1400311e0
mov edx, dword [rbp - 0x48]
mov rcx, r14
call fcn.1400315d4
lea rdx, [rbp]
mov rcx, r12
call fcn.140067a80
mov r9d, dword [rsp + 0x58]
lea edx, [rbx + 4]
xor r8d, r8d
mov dword [rsp + 0x20], r15d
mov rcx, r14
call fcn.1400311e0
xor r9d, r9d
mov dword [rsp + 0x20], r15d
lea r8d, [rsi + 1]
mov edx, ebx
mov rcx, r14
call fcn.1400311e0
mov ebx, dword [rsp + 0x78]
jmp 0x140069811
cmp qword [r13 + 0x30], r15
jne 0x1400696cf
mov rax, qword [r13]
cmp dword [rax], esi
jne 0x1400696cf
mov rdx, qword [r13 + 0x28]
cmp dword [rdx], esi
jne 0x1400696cf
cmp qword [rdx + 0x30], r15
jne 0x1400696cf
mov rdx, qword [rdx + 0x28]
mov r8, qword [rax + 8]
cmp dword [rdx + 0x54], r15d
jne 0x1400696cf
cmp byte [r8], 0xa3
jne 0x1400696cf
test r11d, r11d
je 0x1400696cf
mov rax, qword [rbp + 0x30]
mov rcx, qword [rax + 8]
mov eax, 0x100
test dword [rcx + 4], eax
je 0x1400696cf
test dword [r8 + 4], 0x1000002
jne 0x1400696cf
test rdx, rdx
je 0x1400696cf
mov r9, qword [rdx + 0x70]
mov r8d, 0xfff0bdc0
mov dword [rbp + 0x118], r8d
mov rdi, rdx
test r9, r9
je 0x140069543
mov rax, qword [r12]
mov r8d, r15d
mov dword [rbp + 0x118], r15d
mov rcx, qword [rax + 0x20]
add rcx, 0x18
cmp qword [rcx], r9
je 0x140069543
add r8d, esi
lea rcx, [rcx + 0x20]
cmp qword [rcx], r9
jne 0x140069530
mov dword [rbp + 0x118], r8d
mov eax, dword [r12 + 0x34]
mov edx, r8d
mov dword [rbp + 0x110], eax
mov rcx, r12
inc eax
mov qword [rsp + 0x60], r15
mov dword [r12 + 0x34], eax
mov rbx, r15
mov eax, dword [rdi + 0x38]
mov dword [rbp + 0x128], eax
call fcn.140051e38
test byte [rdi + 0x40], 0x20
je 0x14006958f
mov rbx, qword [rdi + 0x10]
jmp 0x14006958a
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
je 0x14006958f
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x14006957d
mov rax, qword [rdi + 0x10]
jmp 0x1400695bd
test byte [rax + 0x64], 4
jne 0x1400695b9
movzx ecx, word [rax + 0x5c]
cmp cx, word [rdi + 0x4a]
jge 0x1400695b9
cmp qword [rax + 0x48], r15
jne 0x1400695b9
test rbx, rbx
je 0x1400695b6
cmp cx, word [rbx + 0x5c]
jge 0x1400695b9
mov rbx, rax
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x140069595
test rbx, rbx
je 0x1400695e0
mov eax, dword [rbx + 0x58]
mov rdx, rbx
mov rcx, r12
mov dword [rbp + 0x128], eax
call fcn.140052518
mov qword [rsp + 0x60], rax
mov ecx, dword [rbp + 0x118]
mov edx, reloc.WLDAP32.dll_Ordinal_97
mov r9d, dword [rbp + 0x128]
mov r8d, dword [rbp + 0x110]
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], ecx
mov rcx, r14
call fcn.1400314f0
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x140069627
mov r9d, 0xfffffff7
mov r8, rax
or edx, 0xffffffff
mov rcx, r14
call fcn.140031ae4
mov r9, qword [rbp + 0x30]
mov edx, Ordinal_96
mov r8d, dword [rbp + 0x110]
mov rcx, r14
mov dword [rsp + 0x20], r15d
mov r9d, dword [r9 + 0x10]
call fcn.1400311e0
mov r8d, dword [rbp + 0x110]
xor r9d, r9d
mov rcx, r14
mov dword [rsp + 0x20], r15d
lea edx, [r9 + 0x75]
call fcn.1400311e0
cmp byte [r12 + 0x103], 2
jne 0x1400697c8
test rbx, rbx
je 0x140069692
test byte [rdi + 0x40], 0x20
je 0x140069686
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
je 0x140069692
mov rax, qword [rbx]
lea rcx, [0x14010bf9c]
jmp 0x14006969f
lea rcx, [0x14010bf9c]
mov esi, r15d
mov rax, rcx
mov r9, qword [rdi]
lea rdx, str._USING_COVERING_INDEX
test esi, esi
mov qword [rsp + 0x28], rax
lea r8, str.SCAN_TABLE__s_s_s
cmovne rcx, rdx
xor edx, edx
mov qword [rsp + 0x20], rcx
mov rcx, r12
call fcn.1400313fc
jmp 0x1400697c8
mov edi, r15d
cmp dword [rbp + 0x2c], r15d
je 0x14006972d
mov edx, r15d
test r11d, r11d
jle 0x140069705
mov rcx, qword [rbp + 0x30]
mov rax, qword [rcx]
test dword [rax + 4], 0x1000000
jne 0x1400696fa
mov rax, qword [rcx + 8]
test byte [rax + 4], 0x20
jne 0x140069705
add edx, esi
add rcx, 0x18
cmp edx, r11d
jl 0x1400696e4
cmp edx, r11d
jne 0x14006972d
mov edi, dword [r12 + 0x38]
xor r8d, r8d
inc edi
mov dword [rsp + 0x20], r15d
mov r9d, edi
mov dword [r12 + 0x38], edi
mov rcx, r14
lea edx, [r8 + 0x46]
call fcn.1400311e0
lea rdx, [rbp]
mov rcx, r12
call fcn.140067a80
mov eax, dword [rsp + 0x40]
mov rdx, rbx
mov r9, qword [rbp + 0x48]
mov rcx, r12
mov r8, qword [rsp + 0x70]
mov dword [rsp + 0x30], r15d
mov word [rsp + 0x28], ax
mov qword [rsp + 0x20], r15
call fcn.140077688
mov rbx, rax
test rax, rax
je 0x1400698a0
lea r8, [rbp]
mov edx, edi
mov rcx, r12
call fcn.140067be4
test edi, edi
je 0x140069796
mov r9d, edi
mov dword [rsp + 0x20], r15d
mov r8d, esi
mov edx, Ordinal_73
mov rcx, r14
call fcn.1400311e0
cmp byte [rbx + 0x43], r15b
jle 0x1400697b4
mov r9d, dword [rbx + 0x38]
xor r8d, r8d
mov rcx, r14
mov dword [rsp + 0x20], r15d
lea edx, [r8 + 0xb]
call fcn.1400311e0
mov rcx, rbx
call fcn.140078208
lea rdx, [rbp]
mov rcx, r12
call fcn.140067b60
mov ebx, dword [rsp + 0x78]
mov r9d, 0x10
mov rdx, qword [rsp + 0x68]
mov r8d, ebx
mov rcx, r12
mov qword [rbp - 0x38], r15
call fcn.140046a1c
mov rax, qword [rbp + 0x120]
xor r9d, r9d
mov dword [rsp + 0x38], ebx
or r8d, 0xffffffff
mov dword [rsp + 0x30], ebx
mov rdx, r13
mov qword [rsp + 0x28], rax
mov rcx, r12
mov qword [rsp + 0x20], r15
call fcn.14006228c
mov edx, ebx
mov rcx, r14
call fcn.1400315d4
mov rbx, qword [rbp + 0x120]
cmp byte [rbp - 0x77], 3
jne 0x140069840
lea r9, str.DISTINCT
xor edx, edx
lea r8, str.USE_TEMP_B_TREE_FOR__s
mov rcx, r12
call fcn.1400313fc
cmp qword [rbp - 0x38], r15
je 0x140069888
cmp dword [rbp - 0x30], r15d
lea rax, str.RIGHT_PART_OF_ORDER_BY
lea r9, str.ORDER_BY
mov rcx, r12
cmovg r9, rax
lea r8, str.USE_TEMP_B_TREE_FOR__s
xor edx, edx
call fcn.1400313fc
mov rax, qword [rbp - 0x58]
lea r8, [rbp - 0x38]
mov rdx, r13
mov qword [rsp + 0x20], rbx
mov rcx, r12
mov r9d, dword [rax]
call fcn.140062e64
mov edx, dword [rbp - 0x80]
mov rcx, r14
call fcn.1400315d4
cmp dword [r12 + 0x30], r15d
mov eax, r15d
setg al
mov esi, eax
mov rax, qword [rbp + 0x48]
mov rdi, qword [rsp + 0x48]
test rax, rax
je 0x140069905
mov rdx, rax
mov rcx, rdi
call fcn.14004311c
jmp 0x140069905
mov r8, qword [rbp + 0x120]
mov rdx, r13
mov rcx, r12
call fcn.140064388
mov r9d, eax
cmp qword [r13 + 0x58], r15
jne 0x1400698f8
mov edx, dword [r12 + 0x110]
test edx, edx
je 0x1400698f0
mov rcx, qword [r12 + 0x10]
call fcn.140031bd0
mov r15d, dword [rax + 8]
mov dword [r12 + 0x110], r15d
mov eax, r9d
jmp 0x14006994b
mov rdi, r11
jmp 0x140069905
mov rdi, rax
mov rdx, qword [rbp + 0x20]
test rdx, rdx
je 0x140069916
mov rcx, rdi
call fcn.140015cf4
mov rdx, qword [rbp + 0x30]
test rdx, rdx
je 0x140069927
mov rcx, rdi
call fcn.140015cf4
mov edx, dword [r12 + 0x110]
test edx, edx
je 0x140069941
mov rcx, qword [r12 + 0x10]
call fcn.140031bd0
mov r15d, dword [rax + 8]
mov dword [r12 + 0x110], r15d
mov eax, esi
add rsp, 0x1c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret