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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x88]
sub rsp, 0x188
mov rdi, qword [rcx]
xor ebx, ebx
mov rsi, r8
mov qword [rbp + 0x10], rbx
mov r13, rdx
mov qword [rsp + 0x40], rdi
mov r15, rcx
lea r12d, [rbx + 1]
call fcn.1401c58c8
mov qword [rbp - 0x10], rax
mov r14, rax
test r13, r13
je 0x1401d2eeb
cmp dword [r15 + 0x30], ebx
jne 0x1401d2eeb
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
lea edx, [rbx + 0x15]
mov rcx, r15
call fcn.1401a8d88
test eax, eax
jne 0x1401d2eeb
cmp byte [rsi], 6
ja 0x1401d2e91
mov r8, qword [r13 + 0x48]
test r8, r8
je 0x1401d2e82
lea rdx, [0x1401b7094]
mov rcx, r15
call fcn.1401cc03c
mov qword [r13 + 0x48], rbx
mov eax, dword [r13 + 4]
and eax, 0xfffffffe
bts eax, 0x16
mov dword [r13 + 4], eax
xor r8d, r8d
mov rdx, r13
mov rcx, r15
call fcn.1401d4f6c
cmp dword [r15 + 0x30], ebx
jne 0x1401d2ee3
mov r11d, dword [r13 + 4]
bt r11d, 0x17
jae 0x1401d2f0b
mov rdx, qword [r13 + 0x28]
lea rbx, [rdx + 8]
mov rcx, rbx
call fcn.1401a36ac
test eax, eax
je 0x1401d2f02
mov r8, qword [rbx + 0x18]
test r8, r8
jne 0x1401d2ed4
mov rax, qword [rbx + 0x20]
mov r8, qword [rax]
lea rdx, str.target_object_alias_may_not_appear_in_FROM_clause:__s
mov rcx, r15
call fcn.1401b30c0
mov rcx, r15
call fcn.1401e1e34
mov eax, r12d
add rsp, 0x188
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
btr r11d, 0x17
mov dword [r13 + 4], r11d
cmp byte [rsi], 9
jne 0x1401d2f1b
mov rdx, r13
mov rcx, r15
call fcn.1401c2bc8
mov rdx, r13
mov rcx, r15
call fcn.1401ecb44
test eax, eax
jne 0x1401d2ee3
mov eax, dword [r13 + 4]
lea rcx, [rbp - 0x40]
mov rbx, qword [r13 + 0x28]
xor edx, edx
shr eax, 3
and eax, r12d
mov qword [rbp - 0x68], rbx
mov dword [rsp + 0x5c], eax
lea r8d, [rdx + 0x30]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [r13 + 0x48]
xor r11d, r11d
mov ecx, r11d
mov qword [rbp - 0x40], rax
mov dword [rbp + 0xd0], ecx
cmp qword [r13 + 0x50], r11
jne 0x1401d4b48
lea r8d, [r11 + 8]
mov eax, r11d
mov qword [rsp + 0x78], rax
cmp dword [rbx], r11d
jle 0x1401d3138
imul rdi, rax, 0x68
mov al, byte [rdi + rbx + 0x44]
mov r9, qword [rdi + rbx + 0x28]
and al, 0x18
mov rsi, qword [rdi + rbx + 0x30]
mov qword [rbp + 0xe8], r9
cmp al, r8b
jne 0x1401d2ff5
mov edx, dword [rdi + rbx + 0x4c]
mov rcx, qword [r13 + 0x30]
call fcn.1401b6c4c
mov r10, qword [rsp + 0x40]
xor r11d, r11d
test eax, eax
je 0x1401d2fe0
test dword [r10 + 0x60], 0x2000
jne 0x1401d2fe0
and byte [rdi + rbx + 0x44], 0xd7
movzx r8d, byte [rbx + 0x44]
mov edx, dword [rdi + rbx + 0x4c]
and r8d, 0x40
mov rcx, qword [r13 + 0x30]
call fcn.1401efd94
mov ecx, dword [rbp + 0xd0]
mov r8d, 8
mov r9, qword [rbp + 0xe8]
jmp 0x1401d2ffa
mov r10, qword [rsp + 0x40]
test rsi, rsi
je 0x1401d3104
mov rax, qword [rsi + 0x20]
movsx r8d, word [r9 + 0x36]
mov edx, dword [rax]
cmp r8d, edx
jne 0x1401d32f7
mov r8d, 8
test byte [rsi + 4], r8b
jne 0x1401d3104
mov r8, qword [rsi + 0x48]
test r8, r8
je 0x1401d308e
cmp qword [r13 + 0x48], r11
jne 0x1401d303b
cmp dword [rbx], r12d
jle 0x1401d3072
cmp qword [rsi + 0x60], r11
jne 0x1401d3072
mov eax, 0x8000000
test dword [rsi + 4], eax
jne 0x1401d3072
test dword [r13 + 4], eax
jne 0x1401d3072
test dword [r10 + 0x60], 0x40000
jne 0x1401d3072
lea rdx, [0x1401b7094]
mov rcx, r15
call fcn.1401cc03c
xor edx, edx
mov qword [rsi + 0x48], rdx
jmp 0x1401d308e
test ecx, ecx
jne 0x1401d308e
test dword [r13 + 4], 0x40000
je 0x1401d308e
cmp dword [rbx], r12d
je 0x1401d30fe
test byte [rbx + 0xac], 0x22
jne 0x1401d30fe
mov r9d, dword [rsp + 0x5c]
mov rdx, r13
mov r8d, dword [rbp + 0xd0]
mov rcx, r15
call fcn.14016cd4c
xor r11d, r11d
test eax, eax
je 0x1401d30c5
cmp dword [r15 + 0x30], r11d
jne 0x1401d2ee3
or rax, 0xffffffffffffffff
mov dword [rbp + 0xd0], eax
mov qword [rsp + 0x78], rax
mov rdi, qword [rsp + 0x40]
mov rbx, qword [r13 + 0x28]
mov qword [rbp - 0x68], rbx
cmp byte [rdi + 0x67], r11b
jne 0x1401d2ee3
mov rsi, qword [rbp + 0xe0]
mov r8d, 8
mov ecx, dword [rbp + 0xd0]
cmp byte [rsi], r8b
jbe 0x1401d3110
mov rax, qword [r13 + 0x48]
mov qword [rbp - 0x40], rax
jmp 0x1401d3110
mov r8d, 8
mov rsi, qword [rbp + 0xe0]
mov rdi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x78]
add ecx, r12d
add rax, r12
mov dword [rbp + 0xd0], ecx
mov qword [rsp + 0x78], rax
cmp qword [r13 + 0x50], r11
jne 0x1401d4b48
cmp ecx, dword [rbx]
jl 0x1401d2f82
mov rax, qword [r13 + 0x30]
test rax, rax
je 0x1401d315d
cmp byte [rax], 0x2c
jne 0x1401d315d
test dword [rdi + 0x60], 0x8000
jne 0x1401d315d
mov rdx, r13
mov rcx, r15
call fcn.14019c004
xor r11d, r11d
lea rcx, [0x1402da36a]
mov eax, r11d
mov dword [rbp + 0xd0], eax
cmp dword [rbx], r11d
jle 0x1401d3585
lea rsi, [rbx + 0x10]
cmp qword [rsi + 0x48], r11
jne 0x1401d31aa
mov r8, qword [rsi + 8]
test r8, r8
je 0x1401d31aa
mov rax, qword [rsi]
mov r9, rcx
mov rcx, r15
mov qword [rsp + 0x20], rax
mov edx, 0x14
call fcn.1401a8d88
mov eax, dword [rbp + 0xd0]
xor r11d, r11d
mov rdi, qword [rsi + 0x20]
mov qword [rbp - 0x70], rdi
test rdi, rdi
je 0x1401d3564
lea rdx, [rbp + 0xe8]
mov dword [rbp + 0xe8], r11d
mov rcx, r13
call fcn.14018eab4
mov eax, dword [rbp + 0xe8]
add dword [r15 + 0x13c], eax
mov rax, qword [rsp + 0x40]
test dword [rax + 0x60], 0x1000
jne 0x1401d3218
test dword [rsi + 0x38], 0x100
je 0x1401d3205
mov rax, qword [rsi + 0x58]
xor edx, edx
cmp byte [rax + 0x12], dl
je 0x1401d3218
cmp dword [rax], 2
jge 0x1401d3218
mov r8, qword [r13 + 0x30]
lea r9, [rsi - 8]
mov rdx, rdi
mov rcx, r15
call fcn.14019c3c0
mov rax, qword [r15 + 0x178]
mov rdx, rbx
mov r8d, dword [rbp + 0xd0]
mov rcx, r15
mov qword [rbp - 0x48], rax
mov rax, qword [rsi + 8]
mov qword [r15 + 0x178], rax
mov r9d, dword [r13 + 4]
call fcn.14016dcf0
xor ecx, ecx
test eax, eax
je 0x1401d3312
mov edi, dword [r14 + 0x90]
lea edx, [rcx + 0xb]
add dword [r15 + 0x38], r12d
xor r9d, r9d
mov r8d, dword [r15 + 0x38]
mov rcx, r14
mov dword [rsi + 0x2c], r8d
lea ebx, [rdi + 1]
mov dword [rsp + 0x20], ebx
call fcn.1401d9f34
mov eax, dword [rsi + 0x2c]
lea r9, [rsi - 8]
mov dword [rbp + 0x1c], eax
lea r8, str.CO_ROUTINE___S
xor eax, eax
mov dword [rsi + 0x28], ebx
mov edx, r12d
mov qword [rbp + 0x20], rax
mov rcx, r15
mov qword [rbp + 0x30], rax
mov dword [rbp + 0x28], eax
mov byte [rbp + 0x18], 0xd
call fcn.1401e1da0
mov rbx, qword [rbp - 0x70]
lea r8, [rbp + 0x18]
mov rdx, rbx
mov rcx, r15
call fcn.1401d2de4
movzx eax, word [rbx + 2]
mov rcx, qword [rsi + 0x18]
mov word [rcx + 0x3a], ax
mov rcx, r14
mov eax, dword [rbp + 0x24]
mov edx, dword [rsi + 0x2c]
or dword [rsi + 0x38], 0x20
mov dword [rsi + 0x30], eax
call fcn.1401da9d4
mov edx, edi
mov rcx, r14
call fcn.1401e26f0
xor ebx, ebx
mov byte [r15 + 0x1f], bl
mov dword [r15 + 0x28], ebx
mov rbx, qword [rbp - 0x68]
jmp 0x1401d3515
mov r9, qword [r9]
mov rcx, r15
mov dword [rsp + 0x20], edx
lea rdx, str.expected__d_columns_for__s_but_got__d
call fcn.1401b30c0
jmp 0x1401d2ee3
test dword [rsi + 0x38], 0x100
je 0x1401d337f
mov rax, qword [rsi + 0x58]
mov qword [rbp + 0xe8], rax
mov r9d, dword [rax + 4]
test r9d, r9d
jle 0x1401d337f
mov r8d, dword [rax + 8]
mov edx, 0xa
mov dword [rsp + 0x20], ecx
mov rcx, r14
call fcn.1401d9f34
mov rax, qword [rbp + 0xe8]
mov r8d, dword [rsi + 0x3c]
mov r9d, dword [rax + 0xc]
cmp r8d, r9d
je 0x1401d3372
xor edx, edx
mov rcx, r14
mov dword [rsp + 0x20], edx
mov edx, 0x73
call fcn.1401d9f34
mov rax, qword [rbp + 0xe8]
movzx eax, word [rax + 0x10]
mov word [rdi + 2], ax
jmp 0x1401d3515
mov r9d, dword [rbp + 0xd0]
lea rdx, [rsi - 8]
xor r8d, r8d
mov rcx, rbx
call fcn.1401901bc
xor ecx, ecx
mov qword [rbp + 0xe8], rax
test rax, rax
je 0x1401d33f9
mov r9d, dword [rax + 0x30]
test r9d, r9d
je 0x1401d33c8
mov r8d, dword [rax + 0x34]
lea edx, [rcx + 0xa]
mov dword [rsp + 0x20], ecx
mov rcx, r14
call fcn.1401d9f34
mov rax, qword [rbp + 0xe8]
xor ecx, ecx
mov r9d, dword [rax + 0x44]
mov edx, 0x73
mov r8d, dword [rsi + 0x3c]
mov dword [rsp + 0x20], ecx
mov rcx, r14
call fcn.1401d9f34
mov rcx, qword [rbp + 0xe8]
mov rax, qword [rcx + 0x28]
movzx ecx, word [rax + 2]
mov word [rdi + 2], cx
jmp 0x1401d3515
add dword [r15 + 0x38], r12d
xor r9d, r9d
mov eax, dword [r15 + 0x38]
xor r8d, r8d
mov dword [rbp + 0xe8], ecx
mov dword [rsp + 0x20], ecx
mov rcx, r14
lea edx, [r9 + 9]
mov dword [rsi + 0x2c], eax
call fcn.1401d9f34
or dword [rsi + 0x38], 0x10
mov dword [rsp + 0x50], eax
inc eax
mov dword [rsp + 0x70], eax
mov dword [rsi + 0x28], eax
mov eax, 8
test byte [rsi + 0x38], al
jne 0x1401d3458
xor edx, edx
xor r9d, r9d
mov dword [rsp + 0x20], edx
xor r8d, r8d
lea edx, [rax + 7]
mov rcx, r14
call fcn.1401d9f34
mov dword [rbp + 0xe8], eax
mov ecx, dword [rsi + 0x3c]
lea r9, [rsi - 8]
xor eax, eax
mov dword [rbp + 0x1c], ecx
mov rcx, r15
mov byte [rbp + 0x18], 0xc
lea r8, str.MATERIALIZE___S
mov qword [rbp + 0x20], rax
mov edx, r12d
mov qword [rbp + 0x30], rax
mov dword [rbp + 0x28], eax
call fcn.1401e1da0
lea r8, [rbp + 0x18]
mov rdx, rdi
mov rcx, r15
call fcn.1401d2de4
movzx eax, word [rdi + 2]
xor r10d, r10d
mov rcx, qword [rsi + 0x18]
mov word [rcx + 0x3a], ax
mov eax, dword [rbp + 0xe8]
test eax, eax
je 0x1401d34b7
mov edx, eax
mov rcx, r14
call fcn.1401e26f0
mov r9d, dword [rsp + 0x70]
mov edx, 0x43
mov r8d, dword [rsi + 0x2c]
mov rcx, r14
mov dword [rsp + 0x20], r10d
call fcn.1401d9f34
mov edx, dword [rsp + 0x50]
mov rcx, r14
call fcn.1401e26f0
xor eax, eax
mov byte [r15 + 0x1f], al
mov dword [r15 + 0x28], eax
mov eax, dword [rsi + 0x38]
and eax, 0x108
cmp eax, 0x100
jne 0x1401d3515
mov eax, dword [rsi + 0x28]
mov rcx, qword [rsi + 0x58]
mov dword [rcx + 4], eax
mov eax, dword [rsi + 0x2c]
mov dword [rcx + 8], eax
mov eax, dword [rsi + 0x3c]
mov dword [rcx + 0xc], eax
movzx eax, word [rdi + 2]
mov word [rcx + 0x10], ax
mov rdi, qword [rsp + 0x40]
xor eax, eax
cmp byte [rdi + 0x67], al
jne 0x1401d2ee3
lea rdx, [rbp + 0xe8]
mov dword [rbp + 0xe8], eax
mov rcx, r13
call fcn.14018eab4
mov edx, dword [r15 + 0x13c]
mov rax, qword [rbp - 0x48]
sub edx, dword [rbp + 0xe8]
mov qword [r15 + 0x178], rax
xor r11d, r11d
mov eax, dword [rbp + 0xd0]
mov dword [r15 + 0x13c], edx
jmp 0x1401d3569
mov rdi, qword [rsp + 0x40]
add eax, r12d
lea rcx, [0x1402da36a]
add rsi, 0x68
mov dword [rbp + 0xd0], eax
cmp eax, dword [rbx]
jl 0x1401d317a
mov rax, qword [r13 + 0x30]
mov sil, byte [r13 + 4]
mov rbx, qword [r13 + 0x20]
and sil, r12b
mov qword [rsp + 0x70], rax
mov rax, qword [r13 + 0x38]
mov qword [rbp - 8], rax
mov rax, qword [r13 + 0x40]
mov qword [rsp + 0x78], rax
mov eax, dword [r13 + 4]
and al, 9
mov qword [rbp - 0x50], rbx
mov byte [rbp + 0xe8], sil
mov byte [rbp - 0x60], sil
cmp al, r12b
jne 0x1401d3612
mov rcx, qword [rbp - 0x40]
or r8d, 0xffffffff
mov rdx, rbx
call fcn.1401b6ffc
xor ecx, ecx
test eax, eax
jne 0x1401d3614
cmp qword [r13 + 0x70], rcx
jne 0x1401d3614
and dword [r13 + 4], 0xfffffffe
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call fcn.1401b70a8
mov sil, 2
mov qword [rbp - 8], rax
mov qword [r13 + 0x38], rax
mov eax, 8
or dword [r13 + 4], eax
mov byte [rbp + 0xe8], sil
mov byte [rbp - 0x60], sil
xor ecx, ecx
mov rax, qword [rbp - 0x40]
test rax, rax
je 0x1401d3682
mov r9d, dword [rbx]
xor r8d, r8d
mov rdx, rax
mov rcx, r15
call fcn.1401c8194
mov r8d, dword [r15 + 0x34]
mov rdi, rax
mov dword [rbp - 0x34], r8d
lea ecx, [r8 + 1]
mov dword [r15 + 0x34], ecx
mov rcx, qword [rbp - 0x40]
mov r9d, dword [rbx]
mov edx, dword [rcx]
mov rcx, r14
inc edx
add r9d, edx
xor edx, edx
mov dword [rsp + 0x20], edx
mov edx, 0x76
call fcn.1401d9f34
mov r9d, 0xfffffff8
mov r8, rdi
mov edx, eax
mov rcx, r14
mov ebx, eax
call fcn.1401da2f8
mov dword [rbp - 0x28], ebx
xor ecx, ecx
mov rbx, qword [rbp - 0x50]
jmp 0x1401d3686
or dword [rbp - 0x28], 0xffffffff
mov rax, qword [rbp + 0xe0]
cmp byte [rax], 0xc
jne 0x1401d375b
mov r9d, dword [rbx]
mov edx, 0x76
mov r8d, dword [rax + 4]
mov dword [rsp + 0x20], ecx
mov rcx, r14
call fcn.1401d9f34
xor r9d, r9d
test dword [r13 + 4], 0x800
je 0x1401d375e
mov ecx, dword [rbx]
lea eax, [rcx - 1]
movsxd rdi, eax
test eax, eax
jle 0x1401d3737
mov rsi, qword [rsp + 0x40]
mov rbx, rdi
mov r14, qword [rbp - 0x50]
shl rbx, 5
test byte [rbx + r14 + 0x1c], 0x40
jne 0x1401d3721
mov rdx, qword [rbx + r14 + 8]
test rdx, rdx
je 0x1401d36f8
mov rcx, rsi
call fcn.1401b61a4
xor r9d, r9d
mov rdx, qword [rbx + r14 + 0x10]
test rdx, rdx
je 0x1401d370d
mov rcx, rsi
call fcn.1401b0e5c
xor r9d, r9d
mov ecx, dword [r14]
sub rdi, r12
dec ecx
sub rbx, 0x20
mov dword [r14], ecx
test rdi, rdi
jg 0x1401d36db
mov r13, qword [rbp + 0xd8]
mov r14, qword [rbp - 0x10]
mov sil, byte [rbp + 0xe8]
mov rbx, qword [rbp - 0x50]
mov edx, r9d
test ecx, ecx
jle 0x1401d375e
lea rcx, [rbx + 8]
test byte [rcx + 0x14], 0x40
jne 0x1401d374e
mov rax, qword [rcx]
mov byte [rax], 0x79
add edx, r12d
add rcx, 0x20
cmp edx, dword [rbx]
jl 0x1401d3742
jmp 0x1401d375e
xor r9d, r9d
dec dword [r15 + 0x44]
mov ecx, 0x4000
mov eax, dword [r15 + 0x44]
mov dword [rbp + 8], eax
test dword [r13 + 4], ecx
jne 0x1401d377b
mov word [r13 + 2], 0x140
cmp qword [r13 + 0x60], r9
je 0x1401d3792
mov r8d, eax
mov rdx, r13
mov rcx, r15
call fcn.140164bb8
xor r9d, r9d
cmp dword [r13 + 8], r9d
jne 0x1401d37ca
cmp dword [rbp - 0x28], r9d
jl 0x1401d37ca
mov rax, qword [r14]
cmp byte [rax + 0x67], r9b
je 0x1401d37b0
lea rax, [0x1403396c8]
jmp 0x1401d37c3
movsxd rax, dword [rbp - 0x28]
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 0x88]
lea rax, [rax + rcx*8]
mov byte [rax], 0x77
or byte [rbp - 0x1c], r12b
test byte [r13 + 4], r12b
je 0x1401d3847
mov ebx, dword [r15 + 0x34]
xor r9d, r9d
xor r8d, r8d
mov dword [rbp - 0x5c], ebx
mov rcx, r15
lea eax, [rbx + 1]
mov dword [r15 + 0x34], eax
mov rdx, qword [r13 + 0x20]
call fcn.1401c8194
xor edx, edx
xor r9d, r9d
mov dword [rsp + 0x20], edx
mov r8d, ebx
mov rcx, r14
mov rdi, rax
lea edx, [r9 + 0x76]
call fcn.1401d9f34
mov r9d, 0xfffffff8
mov r8, rdi
mov edx, eax
mov rcx, r14
mov ebx, eax
call fcn.1401da2f8
movsxd rax, dword [r14 + 0x90]
xor r9d, r9d
mov dword [rbp - 0x58], ebx
test eax, eax
jle 0x1401d3843
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 0x88]
mov word [rax + rcx*8 - 0x16], 8
mov al, 3
jmp 0x1401d384a
mov al, r9b
mov rdi, qword [rbp - 8]
mov byte [rbp - 0x5f], al
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x5c], r9d
jne 0x1401d3a86
test rdi, rdi
jne 0x1401d3a86
movzx ebx, word [r13 + 4]
mov eax, 0x4000
mov rdi, qword [r13 + 0x70]
and bx, ax
mov al, sil
neg al
mov eax, 0x100
sbb cx, cx
and cx, ax
or bx, cx
test rdi, rdi
je 0x1401d389d
mov rdx, r13
mov rcx, r15
call fcn.1401eb874
movsx eax, word [r13 + 2]
mov rcx, r15
mov r9, qword [rbp - 0x40]
mov r8, qword [rsp + 0x70]
mov rdx, qword [rbp - 0x68]
mov dword [rsp + 0x38], eax
mov rax, qword [r13 + 0x20]
mov word [rsp + 0x30], bx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
call fcn.1401e738c
xor ebx, ebx
mov qword [rbp + 0xd8], rax
mov rdx, rax
test rax, rax
je 0x1401d2ee3
movzx eax, word [rax + 0x48]
cmp ax, word [r13 + 2]
jge 0x1401d38f3
mov word [r13 + 2], ax
test sil, sil
je 0x1401d390f
movzx ecx, byte [rdx + 0x43]
mov eax, dword [rsp + 0x68]
test cl, cl
movzx eax, al
cmovne eax, ecx
mov dword [rsp + 0x68], eax
mov byte [rbp - 0x5f], al
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1401d395c
cmp byte [rdx + 0x41], bl
mov r8d, ebx
movsx eax, byte [rdx + 0x41]
cmovge r8d, eax
mov dword [rbp - 0x38], r8d
test byte [rdx + 0x44], 4
je 0x1401d3942
movzx eax, byte [rdx + 0x40]
imul rax, rax, 0x70
cmp qword [rax + rdx + 0x328], rbx
je 0x1401d3947
mov eax, dword [rdx + 0x30]
jmp 0x1401d394e
mov eax, dword [rax + rdx + 0x300]
mov dword [rbp - 0x20], eax
cmp r8d, dword [rcx]
cmove rcx, rbx
mov qword [rbp - 0x40], rcx
mov eax, dword [rbp - 0x28]
test eax, eax
js 0x1401d3979
test rcx, rcx
jne 0x1401d3979
mov edx, eax
mov rcx, r14
call fcn.1401da380
mov rdx, qword [rbp + 0xd8]
mov rcx, r15
test rdi, rdi
je 0x1401d3a42
mov esi, dword [r15 + 0x44]
mov r8, rdx
add dword [r15 + 0x38], r12d
dec esi
mov edi, dword [r15 + 0x38]
mov ebx, esi
sub esi, r12d
mov dword [rsp + 0x20], ebx
mov r9d, edi
mov rdx, r13
lea r14d, [rsi - 1]
mov dword [r15 + 0x44], r14d
call fcn.1401ebb24
mov r12, qword [rbp - 0x10]
xor edx, edx
xor r8d, r8d
mov dword [rsp + 0x20], edx
mov r9d, r14d
mov rcx, r12
lea edx, [r8 + 9]
call fcn.1401d9f34
mov edx, ebx
mov rcx, r12
call fcn.1401e4958
mov rbx, qword [rbp + 0xe0]
lea r9, [rbp - 0x40]
xor eax, eax
mov dword [rsp + 0x38], r14d
mov dword [rbp - 0x20], eax
or r8d, 0xffffffff
lea rax, [rbp - 0x60]
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rbx
mov rdx, r13
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.1401a49fc
mov edx, esi
mov rcx, r12
call fcn.1401e4958
xor esi, esi
xor r9d, r9d
mov r8d, edi
mov dword [rsp + 0x20], esi
mov rcx, r12
lea edx, [rsi + 0x43]
call fcn.1401d9f34
mov edx, r14d
mov rcx, r12
mov r14, r12
call fcn.1401e4958
jmp 0x1401d48ec
mov eax, dword [rdx + 0x34]
lea r9, [rbp - 0x40]
mov rbx, qword [rbp + 0xe0]
or r8d, 0xffffffff
mov dword [rsp + 0x38], eax
mov eax, dword [rdx + 0x30]
mov rdx, r13
mov dword [rsp + 0x30], eax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.1401a49fc
mov rcx, qword [rbp + 0xd8]
call fcn.1401ea23c
jmp 0x1401d48ea
mov dword [rsp + 0x4c], r9d
mov dword [rsp + 0x54], r9d
mov dword [rbp - 0x80], r9d
test rdi, rdi
je 0x1401d3b32
mov rcx, qword [r13 + 0x20]
mov eax, dword [rcx]
test eax, eax
jle 0x1401d3aba
add rcx, 0x22
sub eax, r12d
mov word [rcx], r9w
lea rcx, [rcx + 0x20]
test eax, eax
jg 0x1401d3aab
mov eax, dword [rdi]
test eax, eax
jle 0x1401d3ad3
lea rcx, [rdi + 0x22]
sub eax, r12d
mov word [rcx], r9w
lea rcx, [rcx + 0x20]
test eax, eax
jg 0x1401d3ac4
mov eax, 0x42
cmp word [r13 + 2], ax
jle 0x1401d3ae4
mov word [r13 + 2], ax
mov rax, qword [rbp - 0x40]
test rax, rax
je 0x1401d3b37
mov ecx, dword [rdi]
cmp ecx, dword [rax]
jne 0x1401d3b37
mov r8d, r9d
test ecx, ecx
jle 0x1401d3b18
mov rdx, r9
mov rax, qword [rbp - 0x40]
lea rdx, [rdx + 0x20]
add r8d, r12d
mov cl, byte [rdx + rax - 8]
and cl, r12b
mov byte [rdi + rdx - 8], cl
cmp r8d, dword [rdi]
jl 0x1401d3afd
mov rdx, qword [rbp - 0x40]
or r8d, 0xffffffff
mov rcx, rdi
call fcn.1401b6ffc
test eax, eax
jne 0x1401d3b37
mov dword [rbp - 0x80], r12d
jmp 0x1401d3b37
mov word [r13 + 2], r9w
mov eax, dword [r15 + 0x44]
mov edx, 0x38
mov rbx, qword [rsp + 0x40]
dec eax
mov rcx, rbx
mov dword [rsp + 0x58], eax
mov dword [r15 + 0x44], eax
call fcn.1401b0ff0
mov rsi, rax
xor eax, eax
test rsi, rsi
je 0x1401d3b75
mov r8, rsi
lea rdx, [0x14015af64]
mov rcx, r15
call fcn.1401cc03c
xor eax, eax
cmp byte [rbx + 0x67], al
jne 0x1401d2ee3
mov ecx, dword [r13 + 0x10]
xor edx, edx
mov dword [rsi + 0x34], ecx
lea rcx, [rbp + 0x48]
lea r8d, [rdx + 0x38]
call sub.VCRUNTIME140.dll_memset
mov rbx, qword [rbp - 0x68]
xor eax, eax
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x50], rbx
mov qword [rbp + 0x58], rsi
test rdi, rdi
je 0x1401d3bad
mov eax, dword [rdi]
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp + 0x48]
mov word [rsi + 2], ax
mov qword [rsi + 0x10], rdi
call fcn.1401b35e8
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp + 0x48]
call fcn.1401b35e8
mov rax, qword [rsp + 0x78]
xor edx, edx
test rax, rax
je 0x1401d3c2e
test rdi, rdi
je 0x1401d3c20
lea r8d, [rdx + 0x30]
lea rcx, [rbp + 0x18]
call sub.VCRUNTIME140.dll_memset
mov rdx, qword [r13 + 0x40]
lea rax, [0x14018e97c]
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x40], r13
test rdx, rdx
je 0x1401d3c12
lea rcx, [rbp + 0x18]
call fcn.1401f6db4
mov rax, qword [r13 + 0x30]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x78]
mov rdx, rax
lea rcx, [rbp + 0x48]
call fcn.1401b363c
xor edx, edx
mov eax, dword [rsi + 0x20]
mov dword [rsi + 0x24], eax
cmp qword [r13 + 0x38], rdx
jne 0x1401d3d1a
cmp qword [r13 + 0x40], rdx
jne 0x1401d3d1a
cmp dword [rsi + 0x30], r12d
jne 0x1401d3d1a
mov rax, qword [rsi + 0x28]
mov rcx, qword [rax]
mov r11, qword [rcx + 0x20]
test r11, r11
je 0x1401d3d1a
cmp dword [r11], r12d
jne 0x1401d3d1a
test dword [rcx + 4], 0x1000000
jne 0x1401d3d1a
mov rax, qword [rsp + 0x40]
test dword [rax + 0x60], 0x10000
jne 0x1401d3d1a
mov rax, qword [rcx + 8]
lea rdx, [0x1402d9ff4]
mov rcx, rax
mov qword [rbp + 0xd0], rax
call fcn.1401d656c
test eax, eax
jne 0x1401d3cc8
mov rcx, qword [r11 + 8]
call fcn.1401b3928
neg eax
mov byte [rbp + 0xd0], r12b
sbb al, al
and al, 2
mov byte [rsp + 0x48], al
jmp 0x1401d3ced
mov rcx, qword [rbp + 0xd0]
lea rdx, [0x1402d9ff8]
call fcn.1401d656c
xor ecx, ecx
test eax, eax
jne 0x1401d3d12
mov byte [rsp + 0x48], r12b
mov byte [rbp + 0xd0], 2
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
mov rdx, r11
call fcn.1401b70a8
mov qword [rbp + 0x10], rax
mov rcx, rax
test rax, rax
je 0x1401d3d20
mov al, byte [rsp + 0x48]
mov byte [rcx + 0x18], al
jmp 0x1401d3d20
mov byte [rbp + 0xd0], cl
jmp 0x1401d3d20
mov byte [rbp + 0xd0], dl
lea rdx, [rbp + 0x48]
mov rcx, rsi
call fcn.14015bfec
mov r10, qword [rsp + 0x40]
xor r11d, r11d
cmp byte [r10 + 0x67], r11b
jne 0x1401d494c
test rdi, rdi
je 0x1401d45f4
mov qword [rbp], r11
mov word [rbp + 0xd0], r11w
cmp dword [rsi + 0x30], r12d
jne 0x1401d3de5
mov rax, qword [rsi + 0x28]
cmp dword [rax + 0x10], r11d
jl 0x1401d3de5
mov rax, qword [rax]
test rax, rax
je 0x1401d3de5
test dword [rax + 4], 0x1000
jne 0x1401d3de5
mov rcx, qword [rax + 0x20]
test rcx, rcx
je 0x1401d3de5
mov rdx, qword [rcx + 8]
test rdx, rdx
je 0x1401d3da6
xor r9d, r9d
xor r8d, r8d
mov rcx, r10
call fcn.140169d8c
mov r10, qword [rsp + 0x40]
mov qword [rbp + 0xd0], rax
jmp 0x1401d3dad
mov qword [rbp + 0xd0], r11
xor r8d, r8d
mov rdx, rdi
mov rcx, r10
call fcn.1401b70a8
mov r8, qword [rbp + 0xd0]
mov rdx, rax
mov rcx, r15
call fcn.1401b6d64
mov rcx, rax
mov qword [rbp], rax
neg rcx
sbb ax, ax
and ax, 0x500
mov word [rbp + 0xd0], ax
mov ecx, dword [r15 + 0x34]
xor r8d, r8d
mov dword [rsi + 4], ecx
mov rdx, rdi
add dword [r15 + 0x34], r12d
mov rcx, r15
mov r9d, dword [rsi + 0x20]
call fcn.1401c8194
movzx r9d, word [rsi + 2]
mov rcx, r14
mov r8d, dword [rsi + 4]
mov qword [rbp - 0x70], rax
xor eax, eax
mov dword [rsp + 0x20], eax
lea edx, [rax + 0x77]
call fcn.1401d9f34
mov r8, qword [rbp - 0x70]
mov r9d, 0xfffffff8
mov edx, eax
mov dword [rbp - 0x68], eax
mov rcx, r14
call fcn.1401da2f8
mov eax, dword [r15 + 0x38]
xor r8d, r8d
inc eax
mov dword [rsp + 0x5c], eax
lea edx, [rax + 1]
mov eax, dword [r15 + 0x44]
lea ecx, [rdx + 2]
mov dword [rsp + 0x64], edx
mov dword [r15 + 0x38], ecx
dec eax
mov dword [rbp - 0x78], eax
mov r9d, edx
dec eax
mov dword [rsp + 0x60], ecx
mov dword [r15 + 0x44], eax
add ecx, dword [rdi]
mov dword [r15 + 0x38], ecx
mov dword [rbp - 0x74], eax
lea eax, [rcx + 1]
add ecx, dword [rdi]
mov dword [rbp - 0x7c], eax
xor eax, eax
mov dword [r15 + 0x38], ecx
mov rcx, r14
mov dword [rsp + 0x20], eax
lea edx, [rax + 0x47]
call fcn.1401d9f34
mov ecx, dword [rdi]
xor r8d, r8d
mov edx, dword [rsp + 0x60]
dec ecx
inc edx
add ecx, edx
mov r9d, edx
mov dword [rsp + 0x20], ecx
lea edx, [r8 + 0x4b]
mov rcx, r14
call fcn.1401d9f34
mov r9d, dword [rbp - 0x74]
xor eax, eax
mov r8d, dword [rsp + 0x60]
mov rcx, r14
mov dword [rsp + 0x20], eax
lea edx, [rax + 0xa]
call fcn.1401d9f34
mov eax, dword [rbp - 0x80]
neg eax
mov eax, 0x80
sbb cx, cx
and cx, 0x200
cmp byte [rbp + 0xe8], 2
lea edx, [rax - 0x40]
cmove dx, ax
or cx, dx
or cx, word [rbp + 0xd0]
xor eax, eax
mov dword [rsp + 0x38], eax
mov word [rsp + 0x30], cx
mov qword [rsp + 0x28], r13
mov rax, qword [rbp]
mov r9, rdi
mov r8, qword [rsp + 0x70]
mov rdx, rbx
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.1401e738c
xor r11d, r11d
mov qword [rbp - 0x48], rax
mov rbx, rax
test rax, rax
jne 0x1401d3f4e
mov rax, qword [rbp]
test rax, rax
je 0x1401d4947
mov rcx, qword [rsp + 0x40]
mov rdx, rax
call fcn.14016a4b4
jmp 0x1401d4947
cmp qword [r15 + 0x60], r11
je 0x1401d3f97
movsxd rax, dword [rsi + 0x24]
mov dword [rsi + 0x20], eax
cmp word [rsi + 2], r11w
jbe 0x1401d3f88
test eax, eax
jne 0x1401d3f73
mov rax, qword [r13 + 0x38]
movzx ecx, word [rax]
mov word [rsi + 2], cx
jmp 0x1401d3f88
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x18]
movzx edx, word [rax + rcx*8 - 2]
add dx, r12w
mov word [rsi + 2], dx
lea rdx, [rbp + 0x48]
mov rcx, rsi
call fcn.14015bfec
xor r11d, r11d
mov eax, dword [r15 + 0x38]
mov ecx, r11d
add eax, r12d
mov dword [rsi + 0xc], eax
mov eax, dword [rsi + 0x30]
add eax, dword [rsi + 0x20]
add dword [r15 + 0x38], eax
movzx eax, byte [rbx + 0x43]
cmp byte [rbx + 0x41], r11b
mov dword [rsp + 0x70], eax
movsx eax, byte [rbx + 0x41]
cmovge ecx, eax
cmp ecx, dword [rdi]
jne 0x1401d3fd1
mov dword [rbp + 0xe8], r11d
jmp 0x1401d41dd
cmp byte [rbp + 0xe8], r11b
je 0x1401d3fe7
lea r9, str.DISTINCT
test byte [r13 + 4], r12b
je 0x1401d3fee
lea r9, str.GROUP_BY
lea r8, str.USE_TEMP_B_TREE_FOR__s
xor edx, edx
mov rcx, r15
call fcn.1401e1da0
mov eax, dword [rdi]
xor r10d, r10d
mov ebx, eax
mov dword [rbp + 0xe8], r12d
mov r8d, eax
mov dword [rsp + 0x50], eax
cmp dword [rsi + 0x20], r10d
jle 0x1401d4048
mov rdx, qword [rsi + 0x18]
mov r9d, dword [rsi + 0x20]
add rdx, 0x16
movsx ecx, word [rdx]
lea eax, [rbx + 1]
cmp ecx, r8d
lea rdx, [rdx + 0x18]
cmovl eax, ebx
mov ebx, eax
lea eax, [r8 + 1]
cmovl eax, r8d
mov r8d, eax
sub r9, r12
jne 0x1401d4026
mov edx, ebx
mov rcx, r15
call fcn.1401c4eec
xor r9d, r9d
mov dword [rsp + 0x54], eax
mov r8d, eax
mov byte [rsp + 0x20], r10b
mov rcx, r15
mov rdx, rdi
call fcn.1401b3b10
xor edx, edx
mov byte [rsi], r12b
mov ecx, edx
mov dword [rsp + 0x4c], edx
cmp dword [rsi + 0x20], edx
jle 0x1401d40cf
mov edi, dword [rsp + 0x50]
mov r14d, edx
mov r13d, dword [rsp + 0x54]
mov rdx, qword [rsi + 0x18]
movsx eax, word [r14 + rdx + 0x16]
cmp eax, edi
jl 0x1401d40ae
mov rdx, qword [r14 + rdx + 8]
lea r8d, [rdi + r13]
mov rcx, r15
call fcn.1401b3a3c
mov ecx, dword [rsp + 0x4c]
add edi, r12d
add ecx, r12d
add r14, 0x18
mov dword [rsp + 0x4c], ecx
cmp ecx, dword [rsi + 0x20]
jl 0x1401d4088
mov r13, qword [rbp + 0xd8]
xor edx, edx
mov r14, qword [rbp - 0x10]
mov rdi, qword [rbp - 8]
mov byte [rsi], dl
mov al, byte [r15 + 0x1f]
test al, al
jne 0x1401d40e5
mov eax, dword [r15 + 0x38]
inc eax
mov dword [r15 + 0x38], eax
jmp 0x1401d40f7
sub al, r12b
movzx eax, al
mov byte [r15 + 0x1f], al
mov eax, dword [r15 + rax*4 + 0xe4]
mov r8d, dword [rsp + 0x54]
mov r9d, ebx
mov edx, 0x61
mov dword [rsp + 0x4c], eax
mov rcx, r14
mov dword [rsp + 0x20], eax
call fcn.1401d9f34
mov r9d, dword [rsp + 0x4c]
xor eax, eax
mov r8d, dword [rsi + 4]
mov edx, 0x8b
mov rcx, r14
mov dword [rsp + 0x20], eax
call fcn.1401d9f34
mov ecx, dword [rsp + 0x4c]
test ecx, ecx
je 0x1401d4154
mov eax, 8
cmp byte [r15 + 0x1f], al
jae 0x1401d4154
movzx eax, byte [r15 + 0x1f]
mov dword [r15 + rax*4 + 0xe4], ecx
add byte [r15 + 0x1f], r12b
mov edx, dword [rsp + 0x54]
mov r8d, ebx
mov rcx, r15
call fcn.1401d16a4
mov rcx, qword [rbp - 0x48]
call fcn.1401ea23c
mov ecx, dword [r15 + 0x34]
mov dword [rsi + 8], ecx
add dword [r15 + 0x34], r12d
mov al, byte [r15 + 0x1f]
mov dword [rsp + 0x4c], ecx
test al, al
jne 0x1401d418f
mov eax, dword [r15 + 0x38]
inc eax
mov dword [r15 + 0x38], eax
jmp 0x1401d41a1
sub al, r12b
movzx eax, al
mov byte [r15 + 0x1f], al
mov eax, dword [r15 + rax*4 + 0xe4]
mov r8d, ecx
mov dword [rsp + 0x54], eax
mov rcx, r14
mov dword [rsp + 0x20], ebx
mov r9d, eax
mov edx, 0x79
call fcn.1401d9f34
mov r9d, dword [rsp + 0x58]
xor eax, eax
mov r8d, dword [rsi + 4]
mov rcx, r14
mov dword [rsp + 0x20], eax
lea edx, [rax + 0x22]
call fcn.1401d9f34
xor r11d, r11d
mov byte [rsi + 1], r12b
cmp qword [r15 + 0x60], r11
je 0x1401d423d
xor edx, edx
lea rcx, [rbp + 0x18]
lea r8d, [rdx + 0x30]
call sub.VCRUNTIME140.dll_memset
xor r11d, r11d
lea rax, [0x14015b04c]
mov ecx, r11d
mov qword [rbp + 0x20], rax
mov dword [rsp + 0x50], ecx
cmp dword [rsi + 0x30], r11d
jle 0x1401d423d
mov ebx, r11d
mov rax, qword [rsi + 0x28]
mov rdx, qword [rbx + rax]
test rdx, rdx
je 0x1401d422d
lea rcx, [rbp + 0x18]
call fcn.1401f6db4
mov ecx, dword [rsp + 0x50]
xor r11d, r11d
add ecx, r12d
add rbx, 0x18
mov dword [rsp + 0x50], ecx
cmp ecx, dword [rsi + 0x30]
jl 0x1401d4210
cmp dword [rbp - 0x80], r11d
je 0x1401d4276
mov rax, qword [rsp + 0x40]
test byte [rax + 0x60], 4
mov eax, dword [rbp + 0xe8]
jne 0x1401d427c
test eax, eax
jne 0x1401d4264
mov rcx, qword [rbp - 0x48]
lea edx, [rax + 8]
test byte [rcx + 0x44], dl
je 0x1401d427c
mov edx, dword [rbp - 0x28]
mov rcx, r14
mov qword [rbp - 0x40], r11
call fcn.1401da380
xor r11d, r11d
mov eax, dword [rbp + 0xe8]
mov ecx, dword [r14 + 0x90]
mov dword [rsp + 0x50], ecx
test eax, eax
je 0x1401d42b2
mov eax, dword [rsp + 0x4c]
mov edx, 0x85
mov r9d, dword [rsp + 0x54]
mov rcx, r14
mov r8d, dword [rsi + 4]
mov dword [rsp + 0x20], eax
call fcn.1401d9f34
mov eax, dword [rbp + 0xe8]
xor r11d, r11d
mov ebx, r11d
cmp dword [rdi], r11d
jle 0x1401d430c
lea r13, [rdi + 8]
mov r8d, dword [rbp - 0x7c]
add r8d, ebx
test eax, eax
je 0x1401d42e5
mov dword [rsp + 0x20], r8d
mov r9d, ebx
mov r8d, dword [rsp + 0x4c]
mov edx, 0x5e
mov rcx, r14
call fcn.1401d9f34
jmp 0x1401d42f4
mov byte [rsi], r12b
mov rcx, r15
mov rdx, qword [r13]
call fcn.1401b3a3c
mov eax, dword [rbp + 0xe8]
add ebx, r12d
add r13, 0x20
cmp ebx, dword [rdi]
jl 0x1401d42be
mov r13, qword [rbp + 0xd8]
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x1401d4318
add dword [rbx], r12d
mov r8d, dword [rsp + 0x60]
mov edx, 0x5a
mov eax, dword [rdi]
inc r8d
mov r9d, dword [rbp - 0x7c]
mov rcx, r14
mov dword [rsp + 0x20], eax
call fcn.1401d9f34
mov r9d, 0xfffffff8
mov r8, rbx
mov edx, eax
mov rcx, r14
call fcn.1401da2f8
mov ebx, dword [r14 + 0x90]
xor r9d, r9d
mov rcx, r14
lea r8d, [rbx + 1]
lea edx, [r9 + 0xe]
mov dword [rsp + 0x20], r8d
call fcn.1401d9f34
mov r9d, dword [rsp + 0x60]
mov edx, 0x4f
mov eax, dword [rdi]
inc r9d
mov r8d, dword [rbp - 0x7c]
mov rcx, qword [r15 + 0x10]
mov dword [rsp + 0x20], eax
call fcn.1401d9f34
mov edi, dword [rsp + 0x64]
xor eax, eax
mov r9d, dword [rbp - 0x78]
mov rcx, r14
mov dword [rsp + 0x20], eax
lea edx, [rax + 0xa]
lea r8d, [rdi + 1]
call fcn.1401d9f34
mov r9d, dword [rsp + 0x58]
xor eax, eax
mov r8d, edi
mov dword [rsp + 0x20], eax
mov rcx, r14
lea edx, [rax + 0x3b]
call fcn.1401d9f34
mov r9d, dword [rbp - 0x74]
lea r8d, [rdi + 2]
xor eax, eax
mov rcx, r14
mov dword [rsp + 0x20], eax
lea edx, [rax + 0xa]
call fcn.1401d9f34
mov edx, ebx
mov rcx, r14
call fcn.1401e26f0
mov r9d, dword [rsp + 0x70]
mov r8, rsi
mov edx, dword [rsp + 0x5c]
mov rcx, r15
call fcn.1401efe6c
mov r9d, dword [rsp + 0x5c]
xor eax, eax
mov r8d, r12d
mov dword [rsp + 0x20], eax
mov rcx, r14
lea ebx, [rax + 0x47]
mov edx, ebx
call fcn.1401d9f34
xor eax, eax
cmp dword [rbp + 0xe8], eax
je 0x1401d4435
mov r9d, dword [rsp + 0x50]
lea edx, [rbx - 0x22]
mov r8d, dword [rsi + 4]
mov rcx, r14
mov dword [rsp + 0x20], eax
call fcn.1401d9f34
jmp 0x1401d4449
mov rcx, qword [rbp - 0x48]
call fcn.1401ea23c
mov edx, dword [rbp - 0x68]
mov rcx, r14
call fcn.1401da380
mov rax, qword [rbp]
test rax, rax
je 0x1401d445f
mov rcx, qword [rsp + 0x40]
mov rdx, rax
call fcn.14016a4b4
mov r9d, dword [rbp - 0x78]
lea r8d, [rdi + 1]
xor eax, eax
mov rcx, r14
mov dword [rsp + 0x20], eax
lea edx, [rax + 0xa]
call fcn.1401d9f34
mov r9d, dword [rsp + 0x58]
xor eax, eax
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov rcx, r14
lea edx, [rax + 9]
call fcn.1401d9f34
mov r9d, dword [rsp + 0x64]
xor eax, eax
mov edi, dword [r14 + 0x90]
mov r8d, r12d
mov edx, ebx
mov dword [rsp + 0x20], eax
mov rcx, r14
call fcn.1401d9f34
mov r12d, dword [rsp + 0x64]
xor eax, eax
inc r12d
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, r12d
mov rcx, r14
lea edx, [rax + 0x43]
call fcn.1401d9f34
mov edx, dword [rbp - 0x78]
mov rcx, r14
call fcn.1401e4958
mov ebx, dword [r14 + 0x90]
xor eax, eax
mov r8d, dword [rsp + 0x5c]
mov rcx, r14
mov dword [rsp + 0x20], eax
lea edx, [rax + 0x3b]
lea r9d, [rbx + 2]
call fcn.1401d9f34
xor eax, eax
xor r9d, r9d
mov r8d, r12d
mov dword [rsp + 0x20], eax
mov rcx, r14
lea edx, [rax + 0x43]
call fcn.1401d9f34
mov rdx, rsi
mov rcx, r15
call fcn.14016b25c
mov rdx, qword [rsp + 0x78]
inc ebx
mov r8d, ebx
mov r9d, 0x10
mov rcx, r15
call fcn.1401b6408
mov dword [rsp + 0x38], edi
lea rax, [rbp - 0x60]
mov dword [rsp + 0x30], ebx
lea r9, [rbp - 0x40]
mov rbx, qword [rbp + 0xe0]
or r8d, 0xffffffff
mov qword [rsp + 0x28], rbx
mov rdx, r13
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.1401a49fc
xor edi, edi
xor r9d, r9d
mov r8d, r12d
mov dword [rsp + 0x20], edi
mov rcx, r14
lea edx, [rdi + 0x43]
call fcn.1401d9f34
mov edx, dword [rbp - 0x74]
mov rcx, r14
call fcn.1401e4958
mov rdx, rsi
mov rcx, r15
call fcn.14019ee5c
mov r9d, dword [rsp + 0x5c]
lea edx, [rdi + 0x47]
xor r8d, r8d
mov dword [rsp + 0x20], edi
mov rcx, r14
call fcn.1401d9f34
xor r9d, r9d
mov dword [rsp + 0x20], edi
lea r8d, [r12 + 1]
mov rcx, r14
lea edx, [rdi + 0x43]
call fcn.1401d9f34
cmp word [rbp + 0xd0], di
je 0x1401d48de
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x1401d48de
mov r8, qword [rsi + 0x28]
mov edx, eax
mov rcx, r15
mov r9d, dword [r8 + 0x14]
mov r8d, dword [r8 + 0x10]
call fcn.14016b96c
jmp 0x1401d48de
cmp qword [r13 + 0x30], r11
jne 0x1401d4969
mov r8, qword [r13 + 0x20]
cmp dword [r8], r12d
jne 0x1401d4969
mov rdx, qword [r13 + 0x28]
cmp dword [rdx], r12d
jne 0x1401d4969
cmp qword [rdx + 0x30], r11
jne 0x1401d4969
cmp dword [rsi + 0x30], r12d
jne 0x1401d4969
cmp qword [r13 + 0x40], r11
jne 0x1401d4969
mov rdx, qword [rdx + 0x28]
cmp byte [rdx + 0x3f], r11b
jne 0x1401d4969
mov r8, qword [r8 + 8]
cmp byte [r8], 0xa8
jne 0x1401d4969
cmp qword [r8 + 0x38], rsi
jne 0x1401d4969
mov rax, qword [rsi + 0x28]
mov rcx, qword [rax + 8]
mov eax, 0x100
test dword [rcx + 4], eax
je 0x1401d4969
test dword [r8 + 4], 0x1000004
jne 0x1401d4969
test rdx, rdx
je 0x1401d4969
mov r9, qword [rdx + 0x60]
mov r8d, 0xffff8000
mov dword [rbp + 0xd8], r8d
mov rdi, rdx
test r9, r9
je 0x1401d46cf
mov rax, qword [r15]
mov r8d, r11d
mov dword [rbp + 0xd8], r11d
mov rcx, qword [rax + 0x20]
add rcx, 0x18
cmp qword [rcx], r9
je 0x1401d46cf
add r8d, r12d
lea rcx, [rcx + 0x20]
cmp qword [rcx], r9
jne 0x1401d46bc
mov dword [rbp + 0xd8], r8d
mov eax, dword [r15 + 0x34]
mov edx, r8d
mov dword [rbp + 0xe8], eax
mov rcx, r15
inc eax
mov qword [rbp - 0x70], r11
mov dword [r15 + 0x34], eax
mov rbx, r11
mov eax, dword [rdi + 0x28]
mov dword [rbp + 0xd0], eax
call fcn.1401ae590
mov rax, qword [rdi]
xor r9d, r9d
mov r8d, dword [rdi + 0x28]
mov rcx, r15
mov edx, dword [rbp + 0xd8]
mov qword [rsp + 0x20], rax
call fcn.1401d6a64
xor edx, edx
test byte [rdi + 0x30], 0x80
je 0x1401d4737
mov rbx, qword [rdi + 0x10]
jmp 0x1401d4732
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
je 0x1401d4737
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1401d4725
mov rax, qword [r13 + 0x28]
test byte [rax + 0x48], r12b
jne 0x1401d4774
mov rax, qword [rdi + 0x10]
jmp 0x1401d476f
test byte [rax + 0x64], 4
jne 0x1401d476b
movzx ecx, word [rax + 0x5c]
cmp cx, word [rdi + 0x3c]
jge 0x1401d476b
cmp qword [rax + 0x48], rdx
jne 0x1401d476b
test rbx, rbx
je 0x1401d4768
cmp cx, word [rbx + 0x5c]
jge 0x1401d476b
mov rbx, rax
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x1401d4747
test rbx, rbx
je 0x1401d4791
mov eax, dword [rbx + 0x58]
mov rdx, rbx
mov rcx, r15
mov dword [rbp + 0xd0], eax
call fcn.1401c824c
mov qword [rbp - 0x70], rax
mov eax, dword [rbp + 0xd8]
mov edx, 0x70
mov r9d, dword [rbp + 0xd0]
mov rcx, r14
mov r8d, dword [rbp + 0xe8]
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], eax
call fcn.1401da048
mov rax, qword [rbp - 0x70]
test rax, rax
je 0x1401d47d8
mov r9d, 0xfffffff8
mov r8, rax
or edx, 0xffffffff
mov rcx, r14
call fcn.1401da2f8
mov eax, dword [r15 + 0x38]
mov rcx, r14
mov r8d, dword [rbp + 0xe8]
add eax, r12d
mov dword [rsi + 0xc], eax
mov eax, dword [rsi + 0x30]
add eax, dword [rsi + 0x20]
add dword [r15 + 0x38], eax
xor eax, eax
mov r9d, dword [rsi + 0x20]
add r9d, dword [rsi + 0xc]
mov dword [rsp + 0x20], eax
lea edx, [rax + 0x62]
call fcn.1401d9f34
mov r8d, dword [rbp + 0xe8]
xor eax, eax
xor r9d, r9d
mov dword [rsp + 0x20], eax
mov rcx, r14
lea edx, [rax + 0x7a]
call fcn.1401d9f34
cmp byte [r15 + 0x133], 2
jne 0x1401d4891
xor r8d, r8d
test rbx, rbx
je 0x1401d4858
mov eax, 0x80
test byte [rdi + 0x30], al
je 0x1401d484c
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
je 0x1401d4858
mov rax, qword [rbx]
lea rcx, [0x1402da36a]
jmp 0x1401d4865
lea rcx, [0x1402da36a]
mov r12d, r8d
mov rax, rcx
mov r9, qword [rdi]
lea rdx, str._USING_COVERING_INDEX
test r12d, r12d
mov qword [rsp + 0x28], rax
lea r8, str.SCAN__s_s_s
cmovne rcx, rdx
xor edx, edx
mov qword [rsp + 0x20], rcx
mov rcx, r15
call fcn.1401e1da0
xor edi, edi
mov r8d, dword [rsp + 0x58]
mov r9d, 0x10
mov rdx, qword [rsp + 0x78]
mov rcx, r15
mov qword [rbp - 0x40], rdi
call fcn.1401b6408
mov eax, dword [rsp + 0x58]
xor r9d, r9d
mov rbx, qword [rbp + 0xe0]
or r8d, 0xffffffff
mov dword [rsp + 0x38], eax
mov rdx, r13
mov dword [rsp + 0x30], eax
mov rcx, r15
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdi
call fcn.1401a49fc
mov edx, dword [rsp + 0x58]
mov rcx, r14
call fcn.1401e4958
xor esi, esi
cmp byte [rsp + 0x68], 3
jne 0x1401d490b
lea r9, str.DISTINCT
xor edx, edx
lea r8, str.USE_TEMP_B_TREE_FOR__s
mov rcx, r15
call fcn.1401e1da0
cmp qword [rbp - 0x40], rsi
je 0x1401d492c
mov rax, qword [rbp - 0x50]
lea r8, [rbp - 0x40]
mov rdx, r13
mov qword [rsp + 0x20], rbx
mov rcx, r15
mov r9d, dword [rax]
call fcn.14018c9c4
mov edx, dword [rbp + 8]
mov rcx, r14
call fcn.1401e4958
xor r11d, r11d
cmp dword [r15 + 0x30], r11d
mov eax, r11d
setg al
mov r12d, eax
mov r10, qword [rsp + 0x40]
mov rax, qword [rbp + 0x10]
test rax, rax
je 0x1401d2ee3
mov rdx, rax
mov rcx, r10
call fcn.14016a4b4
jmp 0x1401d2ee3
mov edi, r11d
mov ecx, dword [rsi + 0x30]
mov qword [rbp + 0xe8], r11
mov word [rbp + 0xd8], r11w
cmp dword [rsi + 0x24], r11d
je 0x1401d49e0
mov r8d, r11d
test ecx, ecx
jle 0x1401d49ba
mov rdx, qword [rsi + 0x28]
mov r9d, ecx
mov rax, qword [rdx]
test dword [rax + 4], 0x1000000
jne 0x1401d49ab
mov rax, qword [rdx + 8]
mov ecx, r9d
test byte [rax + 4], 0x20
jne 0x1401d49ba
add r8d, r12d
add rdx, 0x18
mov ecx, r9d
cmp r8d, r9d
jl 0x1401d4992
cmp r8d, ecx
jne 0x1401d4a0e
add dword [r15 + 0x38], r12d
xor r8d, r8d
mov edi, dword [r15 + 0x38]
mov rcx, r14
mov r9d, edi
mov dword [rsp + 0x20], r11d
lea edx, [r8 + 0x47]
call fcn.1401d9f34
jmp 0x1401d4a0e
cmp ecx, r12d
jne 0x1401d4a0e
mov rax, qword [rsi + 0x28]
cmp dword [rax + 0x10], r11d
jl 0x1401d4a0e
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
mov qword [rbp + 0xe8], rax
neg rax
sbb ax, ax
and ax, 0x500
mov word [rbp + 0xd8], ax
mov eax, dword [r15 + 0x38]
mov rdx, rsi
add eax, r12d
mov rcx, r15
mov dword [rsi + 0xc], eax
mov eax, dword [rsi + 0x30]
add eax, dword [rsi + 0x20]
add dword [r15 + 0x38], eax
call fcn.14019ee5c
movzx eax, byte [rbp + 0xd0]
xor edx, edx
or ax, word [rbp + 0xd8]
mov rcx, r15
mov r9, qword [rbp + 0x10]
mov r8, qword [rsp + 0x70]
mov dword [rsp + 0x38], edx
mov rdx, rbx
mov word [rsp + 0x30], ax
mov rax, qword [rbp + 0xe8]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
call fcn.1401e738c
mov rbx, rax
test rax, rax
je 0x1401d4947
movzx eax, byte [rax + 0x43]
mov r8, rsi
mov r9d, eax
mov dword [rbp + 0xd8], eax
mov edx, edi
mov rcx, r15
call fcn.1401efe6c
mov edx, dword [rbp + 0xd8]
xor eax, eax
test edx, edx
je 0x1401d4ab8
mov r8, qword [rsi + 0x28]
test r8, r8
je 0x1401d4ab8
mov r9d, dword [r8 + 0x14]
mov rcx, r15
mov r8d, dword [r8 + 0x10]
call fcn.14016b96c
xor eax, eax
test edi, edi
je 0x1401d4ad3
mov r9d, edi
mov dword [rsp + 0x20], eax
mov r8d, r12d
mov edx, 0x47
mov rcx, r14
call fcn.1401d9f34
xor edi, edi
cmp byte [rbp + 0xd0], dil
je 0x1401d4b27
test byte [rbx + 0x44], 4
je 0x1401d4b27
cmp byte [rbx + 0x41], dil
je 0x1401d4b27
movzx ecx, byte [rbx + 0x40]
sub rcx, r12
js 0x1401d4b10
imul r9, rcx, 0x70
add r9, rbx
mov rax, qword [r9 + 0x3c0]
test byte [rax + 0x38], 4
jne 0x1401d4b3f
sub r9, 0x70
sub rcx, r12
jns 0x1401d4afa
mov r9d, dword [rbx + 0x34]
xor r8d, r8d
mov dword [rsp + 0x20], edi
mov rcx, r14
lea edx, [r8 + 9]
call fcn.1401d9f34
mov rcx, rbx
call fcn.1401ea23c
mov rdx, rsi
mov rcx, r15
call fcn.14016b25c
jmp 0x1401d4893
mov r9d, dword [r9 + 0x370]
jmp 0x1401d4b14
mov r8, rsi
mov rdx, r13
mov rcx, r15
call fcn.140194968
mov r10d, eax
xor eax, eax
cmp qword [r13 + 0x58], rax
jne 0x1401d4b69
mov rcx, r15
call fcn.1401e1e34
mov eax, r10d
jmp 0x1401d2eee