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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x1800aa040]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rdi, qword [rcx]
mov rbx, r8
xor r14d, r14d
mov qword [rbp - 0x50], rbx
mov qword [rbp + 0x30], r14
mov r12, rdx
mov qword [rsp + 0x58], rdi
mov r15, rcx
mov qword [rbp + 0x68], rdx
mov r13d, 1
mov qword [rbp + 0x70], rcx
call fcn.1800577cc
mov qword [rbp - 0x60], rax
mov rsi, rax
test r12, r12
je 0x18005b90f
cmp byte [rdi + 0x61], r14b
jne 0x18005b90f
cmp dword [r15 + 0x30], r14d
jne 0x18005b90f
xor r9d, r9d
mov qword [rsp + 0x20], r14
xor r8d, r8d
lea edx, [r13 + 0x14]
mov rcx, r15
call fcn.18003f57c
test eax, eax
jne 0x18005b90f
xor edx, edx
lea r8d, [r13 + 0x3f]
lea rcx, [rbp - 0x10]
call fcn.18008d330
lea eax, [r13 + 7]
cmp byte [rbx], al
ja 0x18005b6fe
mov rdx, qword [r12 + 0x48]
test rdx, rdx
je 0x18005b6f3
mov rcx, rdi
call fcn.1800365b8
and dword [r12 + 0xc], 0xfffffffe
mov qword [r12 + 0x48], r14
xor r8d, r8d
mov rdx, r12
mov rcx, r15
call fcn.18005af9c
xor r10d, r10d
cmp dword [r15 + 0x30], r10d
jne 0x18005b8e5
cmp byte [rdi + 0x61], r10b
jne 0x18005b8e5
cmp byte [rbx], 9
jne 0x18005b733
mov rdx, r12
mov rcx, r15
call fcn.180056ffc
mov rdx, r12
mov rcx, r15
call fcn.18006e4a0
xor r10d, r10d
test eax, eax
jne 0x18005b8e5
mov r9d, dword [r12 + 0xc]
xorps xmm0, xmm0
mov rbx, qword [r12 + 0x28]
mov rax, qword [r12 + 0x48]
shr r9d, 3
and r9d, r13d
mov qword [rsp + 0x78], rbx
movups xmmword [rbp - 0x40], xmm0
mov dword [rsp + 0x48], r9d
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x40], rax
movups xmmword [rbp - 0x20], xmm0
cmp qword [r12 + 0x50], r10
jne 0x18005cf2d
mov eax, r10d
lea r11d, [r10 + 8]
mov qword [rbp - 0x58], rax
cmp r14d, dword [rbx]
jge 0x18005b93c
imul rdi, rax, 0x70
mov rax, qword [rdi + rbx + 0x30]
mov rdx, qword [rdi + rbx + 0x28]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rdx
test byte [rdi + rbx + 0x44], r11b
je 0x18005b802
mov edx, dword [rdi + rbx + 0x4c]
mov rcx, qword [r12 + 0x30]
call fcn.18003aa48
xor r10d, r10d
test eax, eax
je 0x18005b7f2
mov rcx, qword [rsp + 0x58]
mov eax, 0x2000
test word [rcx + 0x5c], ax
jne 0x18005b7f2
and byte [rdi + rbx + 0x44], 0xd7
mov rcx, qword [r12 + 0x30]
mov edx, dword [rdi + rbx + 0x4c]
call fcn.180055404
mov rdx, qword [rsp + 0x70]
mov r11d, 8
mov r9d, dword [rsp + 0x48]
mov rdi, qword [rsp + 0x68]
test rdi, rdi
je 0x18005b8a2
mov rax, qword [rdi]
movsx r8d, word [rdx + 0x46]
mov ecx, dword [rax]
cmp r8d, ecx
jne 0x18005b8ca
test byte [rdi + 0xc], r11b
jne 0x18005b8a2
cmp qword [rdi + 0x48], r10
je 0x18005b84d
test r14d, r14d
jne 0x18005b84d
test dword [r12 + 0xc], 0x40000
je 0x18005b84d
cmp dword [rbx], r13d
je 0x18005b8a2
test byte [rbx + 0xb4], 0xa
jne 0x18005b8a2
mov r8d, r14d
mov rdx, r12
mov rcx, r15
call fcn.180059714
xor r10d, r10d
test eax, eax
je 0x18005b873
cmp dword [r15 + 0x30], r10d
jne 0x18005b8e0
or rax, 0xffffffffffffffff
mov r14d, eax
mov qword [rbp - 0x58], rax
mov rdi, qword [rsp + 0x58]
mov rbx, qword [r12 + 0x28]
mov qword [rsp + 0x78], rbx
cmp byte [rdi + 0x61], r10b
jne 0x18005b8e5
mov rax, qword [rbp - 0x50]
mov r11d, 8
cmp byte [rax], r11b
jbe 0x18005b8a7
mov rax, qword [r12 + 0x48]
mov qword [rbp - 0x40], rax
jmp 0x18005b8a7
mov rdi, qword [rsp + 0x58]
mov rax, qword [rbp - 0x58]
add r14d, r13d
add rax, r13
mov qword [rbp - 0x58], rax
cmp qword [r12 + 0x50], r10
jne 0x18005cf2d
mov r9d, dword [rsp + 0x48]
jmp 0x18005b792
mov r9, qword [rdx]
lea rdx, str.expected__d_columns_for__s_but_got__d
mov dword [rsp + 0x20], ecx
mov rcx, r15
call fcn.1800098a4
mov rdi, qword [rsp + 0x58]
mov rdx, qword [rbp + 0x10]
test rdx, rdx
je 0x18005b8f6
mov rcx, rdi
call fcn.180006d68
mov rdx, qword [rbp + 0x20]
test rdx, rdx
je 0x18005b907
mov rcx, rdi
call fcn.180006d68
mov rcx, r15
call fcn.180022f8c
mov eax, r13d
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.180079bd0
mov rbx, qword [rsp + 0x228]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp dword [rbx], r13d
jle 0x18005b956
cmp word [rdi + 0x5c], r10w
jl 0x18005b956
mov rdx, r12
mov rcx, r15
call fcn.180059f74
xor r10d, r10d
lea rdx, [0x18009d43c]
mov ecx, r10d
mov dword [rsp + 0x54], ecx
cmp dword [rbx], r10d
jle 0x18005bd1e
mov rdi, r10
mov qword [rbp - 0x48], r10
mov qword [rsp + 0x78], rbx
imul rax, rdi, 0x70
lea r14, [rbx + 8]
add r14, rax
cmp qword [r14 + 0x58], r10
jne 0x18005b9b3
mov r8, qword [r14 + 0x10]
test r8, r8
je 0x18005b9b3
mov rax, qword [r14 + 8]
mov r9, rdx
mov edx, 0x14
mov qword [rsp + 0x20], rax
mov rcx, r15
call fcn.18003f57c
mov ecx, dword [rsp + 0x54]
xor r10d, r10d
mov r11, qword [r14 + 0x28]
mov qword [rsp + 0x70], r11
test r11, r11
je 0x18005bcfc
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], r10d
mov rcx, r12
call fcn.180035058
mov eax, dword [rsp + 0x40]
add dword [r15 + 0x11c], eax
mov eax, 0x1000
mov rcx, qword [rsp + 0x58]
test word [rcx + 0x5c], ax
jne 0x18005ba15
movzx eax, byte [r14 + 0x3c]
mov rdx, r11
mov r9d, dword [r14 + 0x44]
mov rcx, r15
mov r8, qword [r12 + 0x30]
shr eax, 5
and eax, r13d
mov dword [rsp + 0x20], eax
call fcn.18005a038
mov rax, qword [r15 + 0x158]
xor ecx, ecx
mov qword [rbp - 0x58], rax
mov rax, qword [r14 + 0x10]
mov qword [r15 + 0x158], rax
test rdi, rdi
jne 0x18005baf4
cmp dword [rbx], r13d
je 0x18005ba48
test byte [rbx + 0xb4], 0xa
je 0x18005baf4
mov edi, dword [rsi + 0x90]
xor r9d, r9d
add dword [r15 + 0x38], r13d
mov rcx, rsi
mov r8d, dword [r15 + 0x38]
mov dword [r14 + 0x34], r8d
lea ebx, [rdi + 1]
lea edx, [r9 + 0xd]
mov dword [rsp + 0x20], ebx
call fcn.180022ce8
mov eax, dword [r14 + 0x34]
lea r8, str.CO_ROUTINE__u
mov dword [r14 + 0x30], ebx
mov edx, r13d
mov rbx, qword [rsp + 0x70]
mov rcx, r15
mov dword [rbp + 0x3c], eax
xor eax, eax
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x40], rax
mov byte [rbp + 0x38], 0xd
mov r9d, dword [rbx + 0x18]
call fcn.180022f04
lea r8, [rbp + 0x38]
mov rdx, rbx
mov rcx, r15
call fcn.18005b628
movzx eax, word [rbx + 0xa]
mov rcx, qword [r14 + 0x20]
mov word [rcx + 0x48], ax
mov rcx, rsi
mov eax, dword [rbp + 0x40]
mov edx, dword [r14 + 0x34]
or dword [r14 + 0x40], 0x10
mov dword [r14 + 0x38], eax
call fcn.180023064
mov edx, edi
mov rcx, rsi
call fcn.18002370c
mov ecx, dword [rsi + 0x90]
mov rbx, qword [rsp + 0x78]
mov dword [rax + 8], ecx
jmp 0x18005bca8
mov r9d, dword [r15 + 0x38]
xor r8d, r8d
inc r9d
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x20], ecx
mov rcx, rsi
mov dword [r15 + 0x38], r9d
lea edx, [r8 + 0x46]
mov dword [r14 + 0x34], r9d
call fcn.180022ce8
mov dword [rsp + 0x50], eax
lea ecx, [rax + 1]
mov eax, 8
mov dword [r14 + 0x30], ecx
test byte [r14 + 0x40], al
jne 0x18005bb4b
xor ecx, ecx
lea edx, [rax + 9]
mov dword [rsp + 0x20], ecx
xor r9d, r9d
mov rcx, rsi
xor r8d, r8d
call fcn.180022ce8
mov dword [rsp + 0x40], eax
lea rdi, [rbx + 8]
cmp rdi, r14
jae 0x18005bc14
xor r8d, r8d
mov r11, qword [rdi + 0x28]
mov qword [rbp - 0x78], r11
test r11, r11
je 0x18005bc07
test byte [rdi + 0x40], 0x10
jne 0x18005bc07
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x18005bc07
mov rax, qword [rdi + 0x20]
mov rdx, qword [rax + 0x70]
mov rax, qword [r14 + 0x20]
mov qword [rsp + 0x68], rdx
cmp rdx, qword [rax + 0x70]
jne 0x18005bc07
mov rdx, qword [r14 + 0x10]
test rdx, rdx
je 0x18005bc07
call fcn.180009988
xor r8d, r8d
test eax, eax
jne 0x18005bc07
cmp qword [rsp + 0x68], r8
jne 0x18005bbc3
mov rcx, qword [r14 + 0x28]
mov eax, dword [r11 + 0x18]
cmp dword [rcx + 0x18], eax
jne 0x18005bc07
mov rdx, qword [r14 + 0x28]
or r9d, 0xffffffff
mov r8, qword [r11 + 0x30]
xor ecx, ecx
mov rdx, qword [rdx + 0x30]
call fcn.18003a394
xor r8d, r8d
test eax, eax
jne 0x18005bc07
mov rdx, qword [r14 + 0x28]
or r9d, 0xffffffff
mov r8, qword [rbp - 0x78]
xor ecx, ecx
mov rdx, qword [rdx + 0x40]
mov r8, qword [r8 + 0x40]
call fcn.18003a394
xor r8d, r8d
test eax, eax
je 0x18005bdf7
add rdi, 0x70
cmp rdi, r14
jb 0x18005bb5b
xor r8d, r8d
mov eax, dword [r14 + 0x44]
mov edx, r13d
and qword [rbp + 0x40], 0
mov rcx, r15
mov rdi, qword [rsp + 0x70]
mov qword [rbp + 0x48], r8
lea r8, str.MATERIALIZE__u
mov byte [rbp + 0x38], 0xc
mov dword [rbp + 0x3c], eax
mov r9d, dword [rdi + 0x18]
call fcn.180022f04
lea r8, [rbp + 0x38]
mov rdx, rdi
mov rcx, r15
call fcn.18005b628
movzx eax, word [rdi + 0xa]
xor r9d, r9d
mov rcx, qword [r14 + 0x20]
mov word [rcx + 0x48], ax
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x18005bc7f
mov edx, eax
mov rcx, rsi
call fcn.18002370c
mov ecx, dword [rsi + 0x90]
mov dword [rax + 8], ecx
mov r8d, dword [r14 + 0x34]
mov edx, 0x42
mov rcx, rsi
mov dword [rsp + 0x20], r9d
call fcn.180022ce8
mov edx, dword [rsp + 0x50]
mov rcx, rsi
mov r9d, eax
call fcn.18002370c
mov dword [rax + 4], r9d
mov rdi, qword [rsp + 0x58]
xor r10d, r10d
mov byte [r15 + 0x1f], r10b
mov dword [r15 + 0x28], r10d
cmp byte [rdi + 0x61], r10b
jne 0x18005b8e5
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], r10d
mov rcx, r12
call fcn.180035058
mov edx, dword [r15 + 0x11c]
sub edx, dword [rsp + 0x40]
mov rax, qword [rbp - 0x58]
xor r10d, r10d
mov rdi, qword [rbp - 0x48]
mov ecx, dword [rsp + 0x54]
mov dword [r15 + 0x11c], edx
mov qword [r15 + 0x158], rax
add ecx, r13d
lea rdx, [0x18009d43c]
add rdi, r13
mov dword [rsp + 0x54], ecx
mov qword [rbp - 0x48], rdi
cmp ecx, dword [rbx]
jl 0x18005b979
mov rdi, qword [rsp + 0x58]
mov rax, qword [r12 + 0x30]
mov rbx, qword [r12]
mov r14, qword [r12 + 0x38]
mov qword [rbp - 0x80], rax
mov rax, qword [r12 + 0x40]
mov qword [rsp + 0x70], rax
mov al, byte [r12 + 0xc]
and al, r13b
mov qword [rbp - 0x48], rbx
mov byte [rbp + 0xb0], al
mov eax, dword [r12 + 0xc]
and al, 9
cmp al, r13b
jne 0x18005bd88
mov rcx, qword [rbp - 0x40]
or r8d, 0xffffffff
mov rdx, rbx
call fcn.18003a61c
test eax, eax
jne 0x18005bd88
and dword [r12 + 0xc], 0xfffffffe
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call fcn.180035ce4
mov r14, rax
mov qword [r12 + 0x38], rax
mov rdx, qword [rbp - 0x40]
xor edi, edi
test rdx, rdx
je 0x18005be30
mov r9d, dword [rbx]
xor r8d, r8d
mov rcx, r15
call fcn.1800567e8
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]
xor ecx, ecx
inc edx
mov dword [rsp + 0x20], ecx
add r9d, edx
lea edx, [rcx + 0x70]
mov rcx, rsi
call fcn.180022ce8
mov r9d, 0xfffffff7
mov r8, rdi
mov edx, eax
mov rcx, rsi
mov ebx, eax
call fcn.180023620
mov dword [rbp - 0x28], ebx
xor edi, edi
mov rbx, qword [rbp - 0x48]
jmp 0x18005be34
test rdi, rdi
je 0x18005bc17
mov r9d, dword [rdi + 0x44]
mov edx, 0x6d
mov dword [rsp + 0x20], r8d
mov rcx, rsi
mov r8d, dword [r14 + 0x44]
call fcn.180022ce8
mov rax, qword [rdi + 0x28]
mov rdi, qword [rsp + 0x70]
movzx ecx, word [rax + 0xa]
mov word [rdi + 0xa], cx
jmp 0x18005bc55
or dword [rbp - 0x28], 0xffffffff
mov rax, qword [rbp - 0x50]
cmp byte [rax], 0xc
jne 0x18005be55
mov r9d, dword [rbx]
mov edx, 0x70
mov r8d, dword [rax + 4]
mov rcx, rsi
mov dword [rsp + 0x20], edi
call fcn.180022ce8
dec dword [r15 + 0x44]
mov ecx, 0x4000
mov eax, dword [r15 + 0x44]
mov dword [rbp - 0x58], eax
test dword [r12 + 0xc], ecx
jne 0x18005be74
mov word [r12 + 0xa], 0x140
mov r8d, eax
mov rdx, r12
mov rcx, r15
call fcn.1800577fc
cmp dword [r12 + 0x10], edi
jne 0x18005be9f
mov edx, dword [rbp - 0x28]
test edx, edx
js 0x18005be9f
mov rcx, rsi
call fcn.18002370c
mov byte [rax], 0x72
or byte [rbp - 0x1c], r13b
test byte [r12 + 0xc], r13b
je 0x18005bf2d
mov eax, dword [r15 + 0x34]
xor r9d, r9d
mov dword [rbp + 0xb4], eax
xor r8d, r8d
inc eax
mov rcx, r15
mov dword [r15 + 0x34], eax
mov rdx, qword [r12]
call fcn.1800567e8
mov r8d, dword [rbp + 0xb4]
xor ecx, ecx
mov dword [rsp + 0x20], ecx
xor r9d, r9d
mov rdi, rax
lea edx, [rcx + 0x70]
mov rcx, rsi
call fcn.180022ce8
mov r9d, 0xfffffff7
mov r8, rdi
mov edx, eax
mov rcx, rsi
mov ebx, eax
call fcn.180023620
mov dword [rbp + 0xb8], ebx
xor edi, edi
movsxd rax, dword [rsi + 0x90]
test eax, eax
jle 0x18005bf24
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x88]
mov word [rax + rcx*8 - 0x16], 8
mov byte [rbp + 0xb1], 3
jmp 0x18005bf34
mov byte [rbp + 0xb1], dil
cmp dword [rsp + 0x48], edi
jne 0x18005c149
test r14, r14
jne 0x18005c149
movzx ebx, word [r12 + 0xc]
mov eax, 0x4000
mov rdi, qword [r12 + 0x70]
and bx, ax
mov al, byte [rbp + 0xb0]
neg al
mov eax, 0x100
sbb cx, cx
and cx, ax
or bx, cx
test rdi, rdi
je 0x18005bf80
mov rdx, rdi
mov rcx, r15
call fcn.18006ee0c
movsx eax, word [r12 + 0xa]
mov rcx, r15
mov r9, qword [rbp - 0x40]
mov r8, qword [rbp - 0x80]
mov rdx, qword [rsp + 0x78]
mov dword [rsp + 0x30], eax
mov rax, qword [r12]
mov word [rsp + 0x28], bx
mov qword [rsp + 0x20], rax
call fcn.18006c5d4
xor r10d, r10d
mov qword [rbp - 0x78], rax
mov rdx, rax
test rax, rax
je 0x18005b8e0
movzx eax, word [rax + 0x60]
cmp ax, word [r12 + 0xa]
jge 0x18005bfd2
mov word [r12 + 0xa], ax
cmp byte [rbp + 0xb0], r10b
je 0x18005bff1
movzx ecx, byte [rdx + 0x47]
movzx eax, byte [rbp + 0xb1]
test cl, cl
cmovne eax, ecx
mov byte [rbp + 0xb1], al
mov r8, qword [rbp - 0x40]
test r8, r8
je 0x18005c02f
movsx r9d, byte [rdx + 0x43]
mov dword [rbp - 0x38], r9d
cmp byte [rdx + 0x48], r10b
jne 0x18005c00e
mov eax, dword [rdx + 0x34]
jmp 0x18005c021
movzx eax, byte [rdx + 0x42]
lea rcx, [rax + rax*2]
shl rcx, 5
mov eax, dword [rcx + rdx + 0x348]
mov dword [rbp - 0x20], eax
cmp r9d, dword [r8]
cmove r8, r10
mov qword [rbp - 0x40], r8
mov eax, dword [rbp - 0x28]
test eax, eax
js 0x18005c049
test r8, r8
jne 0x18005c049
mov edx, eax
mov rcx, rsi
call fcn.180023500
mov rdx, qword [rbp - 0x78]
mov rcx, r15
test rdi, rdi
je 0x18005c105
mov ebx, dword [r15 + 0x44]
mov r8, rdx
add dword [r15 + 0x38], r13d
dec ebx
mov edi, dword [r15 + 0x38]
mov rdx, r12
mov r9d, edi
mov dword [rsp + 0x20], ebx
lea esi, [rbx - 1]
lea r14d, [rsi - 1]
mov dword [r15 + 0x44], r14d
call fcn.180070890
xor ecx, ecx
mov r9d, r14d
mov dword [rsp + 0x20], ecx
xor r8d, r8d
lea edx, [rcx + 0xb]
mov rcx, qword [rbp - 0x60]
call fcn.180022ce8
mov rcx, qword [rbp - 0x60]
mov edx, ebx
call fcn.180023104
mov rbx, qword [rbp - 0x50]
lea rax, [rbp + 0xb0]
mov dword [rsp + 0x38], r14d
lea r9, [rbp - 0x40]
mov dword [rsp + 0x30], esi
xor r13d, r13d
mov qword [rsp + 0x28], rbx
or r8d, 0xffffffff
mov rdx, r12
mov qword [rsp + 0x20], rax
mov rcx, r15
mov dword [rbp - 0x20], r13d
call fcn.180055cfc
mov edx, esi
mov rsi, qword [rbp - 0x60]
mov rcx, rsi
call fcn.180023104
xor r9d, r9d
mov dword [rsp + 0x20], r13d
mov r8d, edi
lea edx, [r13 + 0x42]
mov rcx, rsi
call fcn.180022ce8
jmp 0x18005ce7c
mov eax, dword [rdx + 0x38]
lea r9, [rbp - 0x40]
mov rbx, qword [rbp - 0x50]
or r8d, 0xffffffff
mov dword [rsp + 0x38], eax
mov eax, dword [rdx + 0x34]
mov rdx, r12
mov dword [rsp + 0x30], eax
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.180055cfc
mov rcx, qword [rbp - 0x78]
call fcn.18006d158
xor r13d, r13d
jmp 0x18005ce87
mov dword [rsp + 0x64], edi
mov dword [rsp + 0x60], edi
mov dword [rbp - 0x70], edi
test r14, r14
je 0x18005c1f1
mov rcx, qword [r12]
mov eax, dword [rcx]
test eax, eax
jle 0x18005c179
add rcx, 0x2a
sub eax, r13d
mov word [rcx], di
lea rcx, [rcx + 0x28]
test eax, eax
jg 0x18005c16b
mov eax, dword [r14]
test eax, eax
jle 0x18005c192
lea rcx, [r14 + 0x2a]
sub eax, r13d
mov word [rcx], di
lea rcx, [rcx + 0x28]
test eax, eax
jg 0x18005c184
mov eax, 0x42
cmp word [r12 + 0xa], ax
jle 0x18005c1a5
mov word [r12 + 0xa], ax
mov rdx, qword [rbp - 0x40]
test rdx, rdx
je 0x18005c1f7
mov eax, dword [r14]
cmp eax, dword [rdx]
jne 0x18005c1f7
mov r8d, edi
test eax, eax
jle 0x18005c1db
mov rcx, rdi
mov al, byte [rcx + rdx + 0x20]
lea rcx, [rcx + 0x28]
and al, r13b
add r8d, r13d
mov byte [r14 + rcx - 8], al
mov rdx, qword [rbp - 0x40]
cmp r8d, dword [r14]
jl 0x18005c1bf
or r8d, 0xffffffff
mov rcx, r14
call fcn.18003a61c
test eax, eax
jne 0x18005c1f7
mov dword [rbp - 0x70], r13d
jmp 0x18005c1f7
mov word [r12 + 0xa], di
mov eax, dword [r15 + 0x44]
xorps xmm0, xmm0
mov rbx, qword [rsp + 0x78]
dec eax
mov dword [rsp + 0x40], eax
xorps xmm1, xmm1
mov dword [r15 + 0x44], eax
lea rax, [rbp - 0x10]
mov qword [rbp + 0x88], rax
mov eax, dword [r15 + 0x38]
add eax, r13d
mov qword [rbp + 0x78], r15
mov qword [rbp + 0x80], rbx
mov dword [rbp], eax
movdqu xmmword [rbp + 0x90], xmm0
movdqu xmmword [rbp + 0xa0], xmm1
test r14, r14
je 0x18005c24d
mov eax, dword [r14]
mov dword [rbp - 4], eax
jmp 0x18005c250
mov dword [rbp - 4], edi
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp + 0x78]
mov qword [rbp + 8], r14
call fcn.18003aed8
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp + 0x78]
call fcn.18003aed8
mov rcx, qword [rsp + 0x70]
xor r10d, r10d
test rcx, rcx
je 0x18005c2cf
test r14, r14
je 0x18005c2c0
mov rdx, qword [r12 + 0x40]
lea rax, [0x18005b500]
mov qword [rbp + 0x58], r10
xorps xmm0, xmm0
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x60], r12
movdqu xmmword [rbp + 0x48], xmm0
test rdx, rdx
je 0x18005c2b7
lea rcx, [rbp + 0x38]
call fcn.1800322a4
mov rcx, qword [rsp + 0x70]
mov rax, qword [r12 + 0x30]
mov qword [rbp - 0x80], rax
mov rdx, rcx
lea rcx, [rbp + 0x78]
call fcn.18003ae8c
xor r10d, r10d
mov eax, dword [rbp + 0x18]
mov r11d, dword [rbp + 0x28]
mov dword [rbp + 0x1c], eax
cmp qword [r12 + 0x38], r10
jne 0x18005c398
cmp qword [r12 + 0x40], r10
jne 0x18005c398
cmp r11d, r13d
jne 0x18005c398
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x20]
test rdi, rdi
je 0x18005c398
cmp dword [rdi], r13d
jne 0x18005c398
test dword [rcx + 4], 0x1000000
jne 0x18005c398
mov rax, qword [rcx + 8]
lea rdx, [0x1800a0df4]
mov rcx, rax
mov qword [rsp + 0x68], rax
call fcn.180009988
test eax, eax
jne 0x18005c347
mov byte [rsp + 0x44], 2
mov word [rsp + 0x4c], r13w
jmp 0x18005c36c
mov rcx, qword [rsp + 0x68]
lea rdx, [0x1800a0df8]
call fcn.180009988
xor r10d, r10d
test eax, eax
jne 0x18005c398
mov byte [rsp + 0x44], r13b
mov dword [rsp + 0x4c], 2
mov rcx, qword [rsp + 0x58]
xor r8d, r8d
mov rdx, rdi
call fcn.180035ce4
xor r10d, r10d
mov qword [rbp + 0x30], rax
mov rcx, rax
test rax, rax
je 0x18005c392
mov al, byte [rsp + 0x44]
mov byte [rcx + 0x20], al
mov r11d, dword [rbp + 0x28]
jmp 0x18005c39e
mov word [rsp + 0x4c], r10w
test r11d, r11d
jle 0x18005c420
mov ecx, dword [rbp + 0xa0]
mov rdi, r10
mov esi, r10d
mov ebx, 8
mov rax, qword [rbp + 0x20]
or ecx, ebx
mov rax, qword [rax + rdi]
mov dword [rbp + 0xa0], ecx
lea rcx, [rbp + 0x78]
mov qword [rsp + 0x68], rax
mov rdx, qword [rax + 0x20]
call fcn.18003aed8
mov rdx, qword [rsp + 0x68]
test dword [rdx + 4], 0x1000000
je 0x18005c3f5
mov rdx, qword [rdx + 0x40]
lea rcx, [rbp + 0x78]
mov rdx, qword [rdx + 0x48]
call fcn.18003ae8c
mov ecx, dword [rbp + 0xa0]
add esi, r13d
mov r11d, dword [rbp + 0x28]
and ecx, 0xfffffff7
add rdi, 0x18
mov dword [rbp + 0xa0], ecx
cmp esi, r11d
jl 0x18005c3b4
mov rsi, qword [rbp - 0x60]
xor r10d, r10d
mov rbx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x58]
mov eax, dword [r15 + 0x38]
mov dword [rbp + 4], eax
cmp byte [rdi + 0x61], r10b
jne 0x18005cf10
test r14, r14
je 0x18005caf1
mov eax, dword [r15 + 0x34]
xor r8d, r8d
mov r9d, dword [rbp + 0x18]
mov rdx, r14
mov dword [rbp - 0xc], eax
mov rcx, r15
inc eax
mov dword [r15 + 0x34], eax
call fcn.1800567e8
mov r9d, dword [rbp - 4]
xor ecx, ecx
mov r8d, dword [rbp - 0xc]
mov dword [rsp + 0x20], ecx
mov qword [rsp + 0x68], rax
lea edx, [rcx + 0x72]
mov rcx, rsi
call fcn.180022ce8
mov r8, qword [rsp + 0x68]
mov r9d, 0xfffffff7
mov edx, eax
mov dword [rsp + 0x78], eax
mov rcx, rsi
call fcn.180023620
mov eax, dword [r15 + 0x38]
mov ecx, dword [r15 + 0x44]
inc eax
dec ecx
mov dword [rbp - 0x60], eax
mov dword [rsp + 0x50], ecx
lea r8d, [rax + 1]
lea eax, [rcx - 1]
mov dword [rsp + 0x4c], r8d
lea edx, [r8 + 2]
mov dword [r15 + 0x44], eax
mov dword [r15 + 0x38], edx
mov r9d, r8d
mov ecx, dword [r14]
xor r8d, r8d
add ecx, edx
mov dword [rbp - 0x68], eax
mov dword [r15 + 0x38], ecx
mov dword [rsp + 0x48], edx
lea eax, [rcx + 1]
add ecx, dword [r14]
mov dword [rbp - 0x6c], eax
xor eax, eax
mov dword [r15 + 0x38], ecx
mov rcx, rsi
mov dword [rsp + 0x20], eax
lea edx, [rax + 0x46]
call fcn.180022ce8
mov r9d, dword [rsp + 0x48]
xor r8d, r8d
mov ecx, r9d
inc r9d
add ecx, dword [r14]
mov dword [rsp + 0x20], ecx
mov rcx, rsi
lea edx, [r8 + 0x49]
call fcn.180022ce8
mov r9d, dword [rbp - 0x68]
xor eax, eax
mov r8d, dword [rsp + 0x48]
mov rcx, rsi
mov dword [rsp + 0x20], eax
lea edx, [rax + 0xc]
call fcn.180022ce8
mov eax, dword [rbp - 0x70]
mov r9, r14
mov r8, qword [rbp - 0x80]
neg eax
mov rdx, rbx
sbb cx, cx
xor eax, eax
and cx, 0x200
mov dword [rsp + 0x30], eax
add cx, 0x40
mov word [rsp + 0x28], cx
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.18006c5d4
xor r10d, r10d
mov qword [rbp - 0x78], rax
test rax, rax
je 0x18005cf10
movsx ecx, byte [rax + 0x43]
cmp ecx, dword [r14]
jne 0x18005c588
mov edi, r10d
mov dword [rsp + 0x54], r10d
jmp 0x18005c788
cmp byte [rbp + 0xb0], r10b
je 0x18005c59f
lea r9, str.DISTINCT
test byte [r12 + 0xc], r13b
je 0x18005c5a6
lea r9, str.GROUP_BY
lea r8, str.USE_TEMP_B_TREE_FOR__s
xor edx, edx
mov rcx, r15
call fcn.180022f04
mov eax, dword [r14]
xor edi, edi
mov ecx, dword [rbp + 0x18]
mov ebx, eax
mov dword [rsp + 0x54], r13d
mov edx, eax
mov dword [rbp - 0x80], eax
test ecx, ecx
jle 0x18005c5f6
mov r8, qword [rbp + 0x10]
mov r9d, ecx
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, r13
jne 0x18005c5da
mov edx, ebx
mov rcx, r15
call fcn.18003af2c
xor r9d, r9d
mov dword [rsp + 0x60], eax
mov r8d, eax
mov byte [rsp + 0x20], dil
mov rcx, r15
mov rdx, r14
call fcn.180039894
mov ecx, dword [rbp + 0x18]
mov eax, edi
mov dword [rsp + 0x64], eax
test ecx, ecx
jle 0x18005c67a
mov r12d, dword [rbp - 0x80]
mov r15d, dword [rsp + 0x60]
mov rdx, qword [rbp + 0x10]
cmp dword [rdx + rdi + 0x10], r12d
jl 0x18005c663
mov r9d, dword [rdx + rdi + 0xc]
lea eax, [r15 + r12]
mov r8d, dword [rdx + rdi + 8]
mov rcx, rsi
mov rdx, qword [rdx + rdi]
mov dword [rsp + 0x20], eax
call fcn.180038338
mov ecx, dword [rbp + 0x18]
add r12d, r13d
mov eax, dword [rsp + 0x64]
add eax, r13d
add rdi, 0x20
mov dword [rsp + 0x64], eax
cmp eax, ecx
jl 0x18005c630
mov r15, qword [rbp + 0x70]
mov r12, qword [rbp + 0x68]
mov al, byte [r15 + 0x1f]
test al, al
jne 0x18005c68e
mov edi, dword [r15 + 0x38]
inc edi
mov dword [r15 + 0x38], edi
jmp 0x18005c6a0
sub al, r13b
movzx eax, al
mov byte [r15 + 0x1f], al
mov edi, dword [r15 + rax*4 + 0xcc]
mov r8d, dword [rsp + 0x60]
mov r9d, ebx
mov edx, 0x5c
mov dword [rsp + 0x20], edi
mov rcx, rsi
call fcn.180022ce8
mov r8d, dword [rbp - 0xc]
xor eax, eax
mov r9d, edi
mov dword [rsp + 0x20], eax
mov edx, 0x83
mov rcx, rsi
call fcn.180022ce8
test edi, edi
je 0x18005c6f3
mov eax, 8
cmp byte [r15 + 0x1f], al
jae 0x18005c6f3
movzx eax, byte [r15 + 0x1f]
mov dword [r15 + rax*4 + 0xcc], edi
add byte [r15 + 0x1f], r13b
mov edx, dword [rsp + 0x60]
mov r8d, ebx
mov rcx, r15
call fcn.18003af80
mov rcx, qword [rbp - 0x78]
call fcn.18006d158
mov ecx, dword [r15 + 0x34]
xor edi, edi
mov dword [rsp + 0x64], ecx
mov dword [rbp - 8], ecx
lea eax, [rcx + 1]
mov dword [r15 + 0x34], eax
mov al, byte [r15 + 0x1f]
test al, al
jne 0x18005c733
mov eax, dword [r15 + 0x38]
inc eax
mov dword [r15 + 0x38], eax
jmp 0x18005c745
sub al, r13b
movzx eax, al
mov byte [r15 + 0x1f], al
mov eax, dword [r15 + rax*4 + 0xcc]
mov r8d, ecx
mov dword [rsp + 0x60], eax
mov rcx, rsi
mov dword [rsp + 0x20], ebx
mov r9d, eax
mov edx, 0x74
call fcn.180022ce8
mov r9d, dword [rsp + 0x40]
mov edx, 0x22
mov r8d, dword [rbp - 0xc]
mov rcx, rsi
mov dword [rsp + 0x20], edi
call fcn.180022ce8
mov rax, qword [rbp - 0x78]
xor r10d, r10d
mov byte [rbp - 0xf], r13b
mov edi, r13d
cmp dword [rbp - 0x70], r10d
je 0x18005c7b5
mov rcx, qword [rsp + 0x58]
test byte [rcx + 0x5c], 4
jne 0x18005c7b5
test edi, edi
jne 0x18005c7a3
cmp byte [rax + 0x44], r10b
je 0x18005c7b5
mov edx, dword [rbp - 0x28]
mov rcx, rsi
mov qword [rbp - 0x40], r10
call fcn.180023500
xor r10d, r10d
mov eax, dword [rsi + 0x90]
mov dword [rbp - 0x80], eax
test edi, edi
je 0x18005c7e3
mov eax, dword [rsp + 0x64]
mov edx, 0x7e
mov r9d, dword [rsp + 0x60]
mov rcx, rsi
mov r8d, dword [rbp - 0xc]
mov dword [rsp + 0x20], eax
call fcn.180022ce8
xor r10d, r10d
mov ebx, r10d
cmp dword [r14], r10d
jle 0x18005c83f
mov r12d, dword [rsp + 0x54]
lea rdi, [r14 + 8]
mov r8d, dword [rbp - 0x6c]
add r8d, ebx
test r12d, r12d
je 0x18005c81c
mov dword [rsp + 0x20], r8d
mov r9d, ebx
mov r8d, dword [rsp + 0x64]
mov edx, 0x5a
mov rcx, rsi
call fcn.180022ce8
jmp 0x18005c82b
mov byte [rbp - 0x10], r13b
mov rcx, r15
mov rdx, qword [rdi]
call fcn.180039768
add ebx, r13d
add rdi, 0x28
cmp ebx, dword [r14]
jl 0x18005c7f4
mov r12, qword [rbp + 0x68]
mov edi, dword [rsp + 0x54]
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x18005c84c
add dword [rbx], r13d
mov r8d, dword [rsp + 0x48]
mov edx, 0x57
mov eax, dword [r14]
inc r8d
mov r9d, dword [rbp - 0x6c]
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.180022ce8
mov r9d, 0xfffffff7
mov r8, rbx
mov edx, eax
mov rcx, rsi
call fcn.180023620
mov ebx, dword [rsi + 0x90]
xor r9d, r9d
mov rcx, rsi
lea r8d, [rbx + 1]
lea edx, [r9 + 0x10]
mov dword [rsp + 0x20], r8d
call fcn.180022ce8
mov r9d, dword [rsp + 0x48]
mov edx, 0x4d
mov eax, dword [r14]
inc r9d
mov r8d, dword [rbp - 0x6c]
mov rcx, qword [r15 + 0x10]
mov dword [rsp + 0x20], eax
call fcn.180022ce8
mov r8d, dword [rsp + 0x4c]
xor r14d, r14d
mov r9d, dword [rsp + 0x50]
inc r8d
mov rcx, rsi
mov dword [rsp + 0x20], r14d
lea edx, [r14 + 0xc]
call fcn.180022ce8
mov r8d, dword [rsp + 0x4c]
mov edx, 0x2f
mov dword [rsp + 0x20], r14d
mov rcx, rsi
mov r14d, dword [rsp + 0x40]
mov r9d, r14d
call fcn.180022ce8
mov r9d, dword [rbp - 0x68]
xor eax, eax
mov r8d, dword [rsp + 0x48]
mov rcx, rsi
mov dword [rsp + 0x20], eax
lea edx, [rax + 0xc]
call fcn.180022ce8
mov edx, ebx
mov rcx, rsi
call fcn.18002370c
mov ecx, dword [rsi + 0x90]
lea r8, [rbp - 0x10]
mov edx, dword [rbp - 0x60]
mov dword [rax + 8], ecx
mov rcx, r15
call fcn.18005b220
mov r9d, dword [rbp - 0x60]
xor eax, eax
mov r8d, r13d
mov dword [rsp + 0x20], eax
mov rcx, rsi
lea edx, [rax + 0x46]
call fcn.180022ce8
xor ebx, ebx
test edi, edi
je 0x18005c971
mov r9d, dword [rbp - 0x80]
lea edx, [rbx + 3]
mov r8d, dword [rbp - 0xc]
mov rcx, rsi
mov dword [rsp + 0x20], ebx
call fcn.180022ce8
jmp 0x18005c986
mov rcx, qword [rbp - 0x78]
call fcn.18006d158
mov edx, dword [rsp + 0x78]
mov rcx, rsi
call fcn.180023500
mov r8d, dword [rsp + 0x4c]
mov edx, 0xc
mov r9d, dword [rsp + 0x50]
inc r8d
mov rcx, rsi
mov dword [rsp + 0x20], ebx
call fcn.180022ce8
xor eax, eax
mov r9d, r14d
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov rcx, rsi
lea edx, [rax + 0xb]
call fcn.180022ce8
mov r9d, dword [rsp + 0x4c]
xor eax, eax
mov edi, dword [rsi + 0x90]
mov r8d, r13d
mov rcx, rsi
mov dword [rsp + 0x20], eax
lea edx, [rax + 0x46]
call fcn.180022ce8
mov r13d, dword [rsp + 0x4c]
xor eax, eax
inc r13d
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, r13d
mov rcx, rsi
lea edx, [rax + 0x42]
call fcn.180022ce8
mov edx, dword [rsp + 0x50]
mov rcx, rsi
call fcn.180023104
mov ebx, dword [rsi + 0x90]
xor eax, eax
mov r8d, dword [rbp - 0x60]
mov rcx, rsi
mov dword [rsp + 0x20], eax
lea edx, [rax + 0x2f]
lea r9d, [rbx + 2]
call fcn.180022ce8
xor eax, eax
xor r9d, r9d
mov r8d, r13d
mov dword [rsp + 0x20], eax
mov rcx, rsi
lea edx, [rax + 0x42]
call fcn.180022ce8
lea rdx, [rbp - 0x10]
mov rcx, r15
call fcn.18005b19c
mov rdx, qword [rsp + 0x70]
inc ebx
mov r8d, ebx
mov r9d, 0x10
mov rcx, r15
call fcn.180039ebc
mov dword [rsp + 0x38], edi
lea rax, [rbp + 0xb0]
mov dword [rsp + 0x30], ebx
lea r9, [rbp - 0x40]
mov rbx, qword [rbp - 0x50]
or r8d, 0xffffffff
mov qword [rsp + 0x28], rbx
mov rdx, r12
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.180055cfc
xor edi, edi
xor r9d, r9d
mov r8d, r13d
mov dword [rsp + 0x20], edi
mov rcx, rsi
lea edx, [rdi + 0x42]
call fcn.180022ce8
mov edx, dword [rbp - 0x68]
mov rcx, rsi
call fcn.180023104
lea rdx, [rbp - 0x10]
mov rcx, r15
call fcn.18005b0bc
mov r9d, dword [rbp - 0x60]
lea edx, [rdi + 0x46]
xor r8d, r8d
mov dword [rsp + 0x20], edi
mov rcx, rsi
call fcn.180022ce8
xor r9d, r9d
mov dword [rsp + 0x20], edi
lea r8d, [r13 + 1]
mov rcx, rsi
lea edx, [rdi + 0x42]
call fcn.180022ce8
xor r13d, r13d
jmp 0x18005ce7c
cmp qword [r12 + 0x30], r10
jne 0x18005cd36
mov rax, qword [r12]
cmp dword [rax], r13d
jne 0x18005cd36
mov rdx, qword [r12 + 0x28]
cmp dword [rdx], r13d
jne 0x18005cd36
cmp qword [rdx + 0x30], r10
jne 0x18005cd36
mov rdx, qword [rdx + 0x28]
mov r8, qword [rax + 8]
cmp dword [rdx + 0x54], r10d
jne 0x18005cd36
cmp byte [r8], 0xa3
jne 0x18005cd36
test r11d, r11d
je 0x18005cd36
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 8]
mov eax, 0x100
test dword [rcx + 4], eax
je 0x18005cd36
test dword [r8 + 4], 0x1000002
jne 0x18005cd36
test rdx, rdx
je 0x18005cd36
mov r8, qword [rdx + 0x70]
mov r14d, 0xfff0bdc0
mov rdi, rdx
test r8, r8
je 0x18005cba1
mov rax, qword [r15]
mov r14d, r10d
mov rcx, qword [rax + 0x20]
add rcx, 0x18
jmp 0x18005cb9c
add r14d, r13d
lea rcx, [rcx + 0x20]
cmp qword [rcx], r8
jne 0x18005cb95
mov eax, dword [r15 + 0x34]
mov edx, r14d
mov dword [rsp + 0x78], eax
mov rcx, r15
inc eax
mov qword [rsp + 0x68], r10
mov dword [r15 + 0x34], eax
mov rbx, r10
mov eax, dword [rdi + 0x38]
mov dword [rsp + 0x50], eax
call fcn.180045580
mov rax, qword [rdi]
xor r9d, r9d
mov r8d, dword [rdi + 0x38]
mov edx, r14d
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.18003f618
xor edx, edx
test byte [rdi + 0x40], 0x20
je 0x18005cc03
mov rbx, qword [rdi + 0x10]
jmp 0x18005cbfe
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
je 0x18005cc03
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x18005cbf1
mov rax, qword [rdi + 0x10]
jmp 0x18005cc31
test byte [rax + 0x64], 4
jne 0x18005cc2d
movzx ecx, word [rax + 0x5c]
cmp cx, word [rdi + 0x4a]
jge 0x18005cc2d
cmp qword [rax + 0x48], rdx
jne 0x18005cc2d
test rbx, rbx
je 0x18005cc2a
cmp cx, word [rbx + 0x5c]
jge 0x18005cc2d
mov rbx, rax
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x18005cc09
test rbx, rbx
je 0x18005cc52
mov eax, dword [rbx + 0x58]
mov rdx, rbx
mov rcx, r15
mov dword [rsp + 0x50], eax
call fcn.180045c54
mov qword [rsp + 0x68], rax
mov r9d, dword [rsp + 0x50]
mov edx, 0x61
mov dword [rsp + 0x28], r13d
mov rcx, rsi
mov dword [rsp + 0x20], r14d
mov r14d, dword [rsp + 0x78]
mov r8d, r14d
call fcn.180023020
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x18005cc94
mov r9d, 0xfffffff7
mov r8, rax
or edx, 0xffffffff
mov rcx, rsi
call fcn.180023620
mov r9, qword [rbp + 0x20]
xor eax, eax
mov r8d, r14d
mov dword [rsp + 0x20], eax
mov rcx, rsi
mov r9d, dword [r9 + 0x10]
lea edx, [rax + 0x5d]
call fcn.180022ce8
xor eax, eax
xor r9d, r9d
mov r8d, r14d
mov dword [rsp + 0x20], eax
mov rcx, rsi
lea edx, [rax + 0x75]
call fcn.180022ce8
xor r14d, r14d
cmp byte [r15 + 0x113], 2
jne 0x18005ce30
test rbx, rbx
je 0x18005ccf8
test byte [rdi + 0x40], 0x20
je 0x18005ccec
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
je 0x18005ccf8
mov rax, qword [rbx]
lea rcx, [0x18009d43c]
jmp 0x18005cd05
lea rcx, [0x18009d43c]
mov r13d, r14d
mov rax, rcx
mov r9, qword [rdi]
lea rdx, str._USING_COVERING_INDEX
test r13d, r13d
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, r15
call fcn.180022f04
jmp 0x18005ce30
mov edi, r10d
cmp dword [rbp + 0x1c], r10d
je 0x18005cd93
mov edx, r10d
test r11d, r11d
jle 0x18005cd6d
mov rcx, qword [rbp + 0x20]
mov rax, qword [rcx]
test dword [rax + 4], 0x1000000
jne 0x18005cd61
mov rax, qword [rcx + 8]
test byte [rax + 4], 0x20
jne 0x18005cd6d
add edx, r13d
add rcx, 0x18
cmp edx, r11d
jl 0x18005cd4b
cmp edx, r11d
jne 0x18005cd93
mov edi, dword [r15 + 0x38]
xor r8d, r8d
inc edi
mov dword [rsp + 0x20], r10d
mov r9d, edi
mov dword [r15 + 0x38], edi
mov rcx, rsi
lea edx, [r8 + 0x46]
call fcn.180022ce8
lea rdx, [rbp - 0x10]
mov rcx, r15
call fcn.18005b0bc
mov eax, dword [rsp + 0x4c]
xor ecx, ecx
mov r9, qword [rbp + 0x30]
mov rdx, rbx
mov r8, qword [rbp - 0x80]
mov dword [rsp + 0x30], ecx
mov word [rsp + 0x28], ax
mov qword [rsp + 0x20], rcx
mov rcx, r15
call fcn.18006c5d4
mov rbx, rax
test rax, rax
je 0x18005cf0b
lea r8, [rbp - 0x10]
mov edx, edi
mov rcx, r15
call fcn.18005b220
xor r14d, r14d
test edi, edi
je 0x18005cdfe
mov r9d, edi
mov dword [rsp + 0x20], r14d
mov r8d, r13d
lea edx, [r14 + 0x46]
mov rcx, rsi
call fcn.180022ce8
cmp byte [rbx + 0x43], r14b
jle 0x18005ce1c
mov r9d, dword [rbx + 0x38]
xor r8d, r8d
mov rcx, rsi
mov dword [rsp + 0x20], r14d
lea edx, [r8 + 0xb]
call fcn.180022ce8
mov rcx, rbx
call fcn.18006d158
lea rdx, [rbp - 0x10]
mov rcx, r15
call fcn.18005b19c
mov rdx, qword [rsp + 0x70]
mov r9d, 0x10
mov qword [rbp - 0x40], r14
mov rcx, r15
mov r14d, dword [rsp + 0x40]
mov r8d, r14d
call fcn.180039ebc
mov rbx, qword [rbp - 0x50]
xor r13d, r13d
mov dword [rsp + 0x38], r14d
xor r9d, r9d
mov dword [rsp + 0x30], r14d
or r8d, 0xffffffff
mov qword [rsp + 0x28], rbx
mov rdx, r12
mov rcx, r15
mov qword [rsp + 0x20], r13
call fcn.180055cfc
mov edx, r14d
mov rcx, rsi
call fcn.180023104
cmp byte [rbp + 0xb1], 3
jne 0x18005cea8
lea r9, str.DISTINCT
xor edx, edx
lea r8, str.USE_TEMP_B_TREE_FOR__s
mov rcx, r15
call fcn.180022f04
cmp qword [rbp - 0x40], r13
je 0x18005cef0
cmp dword [rbp - 0x38], r13d
lea rax, str.RIGHT_PART_OF_ORDER_BY
lea r9, str.ORDER_BY
mov rcx, r15
cmovg r9, rax
lea r8, str.USE_TEMP_B_TREE_FOR__s
xor edx, edx
call fcn.180022f04
mov rax, qword [rbp - 0x48]
lea r8, [rbp - 0x40]
mov rdx, r12
mov qword [rsp + 0x20], rbx
mov rcx, r15
mov r9d, dword [rax]
call fcn.1800568d4
mov edx, dword [rbp - 0x58]
mov rcx, rsi
call fcn.180023104
xor r10d, r10d
cmp dword [r15 + 0x30], r10d
mov eax, r10d
setg al
mov r13d, eax
mov rdi, qword [rsp + 0x58]
mov rax, qword [rbp + 0x30]
test rax, rax
je 0x18005b8e5
mov rdx, rax
mov rcx, rdi
call fcn.1800365b8
jmp 0x18005b8e5
mov r8, qword [rbp - 0x50]
mov rdx, r12
mov rcx, r15
call fcn.180057e70
mov r10d, eax
xor eax, eax
cmp qword [r12 + 0x58], rax
jne 0x18005cf50
mov rcx, r15
call fcn.180022f8c
mov eax, r10d
jmp 0x18005b912