Function at 0x140059888
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 [section..data]
xor rax, rsp
mov qword [rbp + 0xc8], rax
mov rdi, qword [rcx]
mov rbx, r8
xor r14d, r14d
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x38], r14
mov r12, rdx
mov qword [rsp + 0x58], rdi
mov r15, rcx
mov qword [rbp - 0x30], rdx
mov r13d, 1
mov qword [rbp - 0x28], rcx
call fcn.1400557bc
mov qword [rbp - 0x60], rax
mov rsi, rax
test r12, r12
je 0x140059b6d
cmp byte [rdi + 0x61], r14b
jne 0x140059b6d
cmp dword [r15 + 0x30], r14d
jne 0x140059b6d
xor r9d, r9d
mov qword [rsp + 0x20], r14
xor r8d, r8d
lea edx, [r13 + 0x14]
mov rcx, r15
call fcn.14003d308
test eax, eax
jne 0x140059b6d
xor edx, edx
lea r8d, [r13 + 0x3f]
lea rcx, [rbp + 0x10]
call sub.ntdll.dll_memset
lea eax, [r13 + 7]
cmp byte [rbx], al
ja 0x14005995e
mov rdx, qword [r12 + 0x48]
test rdx, rdx
je 0x140059953
mov rcx, rdi
call fcn.140034120
and dword [r12 + 0xc], 0xfffffffe
mov qword [r12 + 0x48], r14
xor r8d, r8d
mov rdx, r12
mov rcx, r15
call fcn.140059134
xor r10d, r10d
cmp dword [r15 + 0x30], r10d
jne 0x140059b43
cmp byte [rdi + 0x61], r10b
jne 0x140059b43
cmp byte [rbx], 9
jne 0x140059993
mov rdx, r12
mov rcx, r15
call fcn.140055010
mov rdx, r12
mov rcx, r15
call fcn.14006c56c
xor r10d, r10d
test eax, eax
jne 0x140059b43
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 [rbp - 0x80], rbx
movups xmmword [rbp - 0x20], xmm0
mov dword [rsp + 0x48], r9d
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp - 0x20], rax
movups xmmword [rbp], xmm0
cmp qword [r12 + 0x50], r10
jne 0x14005b0d1
mov eax, r10d
lea r11d, [r10 + 8]
mov qword [rbp - 0x48], rax
cmp r14d, dword [rbx]
jge 0x140059b9a
imul rdi, rax, 0x70
mov rax, qword [rdi + rbx + 0x30]
mov rdx, qword [rdi + rbx + 0x28]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x78], rdx
test byte [rdi + rbx + 0x44], r11b
je 0x140059a61
mov edx, dword [rdi + rbx + 0x4c]
mov rcx, qword [r12 + 0x30]
call fcn.140038600
xor r10d, r10d
test eax, eax
je 0x140059a51
mov rax, qword [rsp + 0x58]
mov ecx, 0x2000
test word [rax + 0x5c], cx
jne 0x140059a51
and byte [rdi + rbx + 0x44], 0xd7
mov rcx, qword [r12 + 0x30]
mov edx, dword [rdi + rbx + 0x4c]
call fcn.140053518
mov rdx, qword [rsp + 0x78]
mov r11d, 8
mov r9d, dword [rsp + 0x48]
mov rdi, qword [rsp + 0x68]
test rdi, rdi
je 0x140059b00
mov rax, qword [rdi]
movsx r8d, word [rdx + 0x46]
mov ecx, dword [rax]
cmp r8d, ecx
jne 0x140059b28
test byte [rdi + 0xc], r11b
jne 0x140059b00
cmp qword [rdi + 0x48], r10
je 0x140059aac
test r14d, r14d
jne 0x140059aac
test dword [r12 + 0xc], 0x40000
je 0x140059aac
cmp dword [rbx], r13d
je 0x140059b00
test byte [rbx + 0xb4], 0xa
jne 0x140059b00
mov r8d, r14d
mov rdx, r12
mov rcx, r15
call fcn.14005785c
xor r10d, r10d
test eax, eax
je 0x140059ad2
cmp dword [r15 + 0x30], r10d
jne 0x140059b3e
or rax, 0xffffffffffffffff
mov r14d, eax
mov qword [rbp - 0x48], rax
mov rdi, qword [rsp + 0x58]
mov rbx, qword [r12 + 0x28]
mov qword [rbp - 0x80], rbx
cmp byte [rdi + 0x61], r10b
jne 0x140059b43
mov rax, qword [rbp - 0x58]
mov r11d, 8
cmp byte [rax], r11b
jbe 0x140059b05
mov rax, qword [r12 + 0x48]
mov qword [rbp - 0x20], rax
jmp 0x140059b05
mov rdi, qword [rsp + 0x58]
mov rax, qword [rbp - 0x48]
add r14d, r13d
add rax, r13
mov qword [rbp - 0x48], rax
cmp qword [r12 + 0x50], r10
jne 0x14005b0d1
mov r9d, dword [rsp + 0x48]
jmp 0x1400599f1
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.14000686c
mov rdi, qword [rsp + 0x58]
mov rdx, qword [rbp + 0x30]
test rdx, rdx
je 0x140059b54
mov rcx, rdi
call fcn.140003d0c
mov rdx, qword [rbp + 0x40]
test rdx, rdx
je 0x140059b65
mov rcx, rdi
call fcn.140003d0c
mov rcx, r15
call fcn.1400206f4
mov eax, r13d
mov rcx, qword [rbp + 0xc8]
xor rcx, rsp
call fcn.1400783c0
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 0x140059bb4
cmp word [rdi + 0x5c], r10w
jl 0x140059bb4
mov rdx, r12
mov rcx, r15
call fcn.1400580b8
xor r10d, r10d
lea rdx, [0x1400da32c]
mov ecx, r10d
mov dword [rsp + 0x54], ecx
cmp dword [rbx], r10d
jle 0x140059eed
mov rax, r10
mov qword [rbp - 0x80], rbx
mov qword [rsp + 0x78], rax
imul r14, rax, 0x70
add r14, rbx
cmp qword [r14 + 0x60], r10
jne 0x140059c0d
mov r8, qword [r14 + 0x18]
test r8, r8
je 0x140059c0d
mov rax, qword [r14 + 0x10]
mov r9, rdx
mov edx, 0x14
mov qword [rsp + 0x20], rax
mov rcx, r15
call fcn.14003d308
mov ecx, dword [rsp + 0x54]
xor r10d, r10d
mov rdi, qword [r14 + 0x30]
mov qword [rsp + 0x68], rdi
test rdi, rdi
je 0x140059ec5
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], r10d
mov rcx, r12
call fcn.140032b50
mov eax, dword [rsp + 0x40]
mov ecx, 0x1000
add dword [r15 + 0x11c], eax
mov rax, qword [rsp + 0x58]
test word [rax + 0x5c], cx
jne 0x140059c6f
movzx eax, byte [r14 + 0x44]
mov rdx, rdi
mov r9d, dword [r14 + 0x4c]
mov rcx, r15
mov r8, qword [r12 + 0x30]
shr eax, 5
and eax, r13d
mov dword [rsp + 0x20], eax
call fcn.140058188
mov rax, qword [r15 + 0x158]
xor ecx, ecx
mov qword [rbp - 0x40], rax
mov rax, qword [r14 + 0x18]
mov qword [r15 + 0x158], rax
cmp qword [rsp + 0x78], rcx
jne 0x140059d4f
cmp dword [rbx], r13d
je 0x140059ca4
test byte [rbx + 0xb4], 0xa
je 0x140059d4f
mov edi, dword [rsi + 0x90]
xor r9d, r9d
add dword [r15 + 0x38], r13d
mov rcx, rsi
mov r8d, dword [r15 + 0x38]
mov dword [r14 + 0x3c], r8d
lea ebx, [rdi + 1]
lea edx, [r9 + 0xd]
mov dword [rsp + 0x20], ebx
call fcn.140020450
mov eax, dword [r14 + 0x3c]
lea r8, str.CO_ROUTINE__u
mov dword [r14 + 0x38], ebx
mov edx, r13d
mov rbx, qword [rsp + 0x68]
mov rcx, r15
mov dword [rbp + 0x54], eax
xor eax, eax
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x58], rax
mov byte [rbp + 0x50], 0xd
mov r9d, dword [rbx + 0x18]
call fcn.14002066c
lea r8, [rbp + 0x50]
mov rdx, rbx
mov rcx, r15
call fcn.140059888
movzx eax, word [rbx + 0xa]
mov rcx, qword [r14 + 0x28]
mov word [rcx + 0x48], ax
mov rcx, rsi
mov eax, dword [rbp + 0x58]
mov edx, dword [r14 + 0x3c]
or dword [r14 + 0x48], 0x10
mov dword [r14 + 0x40], eax
call fcn.1400207cc
mov edx, edi
mov rcx, rsi
call fcn.140020e68
mov ecx, dword [rsi + 0x90]
mov rbx, qword [rbp - 0x80]
mov dword [rax + 8], ecx
jmp 0x140059e73
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 + 0x3c], r9d
call fcn.140020450
mov dword [rsp + 0x50], eax
lea ecx, [rax + 1]
mov eax, 8
mov dword [r14 + 0x38], ecx
test byte [r14 + 0x48], al
jne 0x140059da6
xor ecx, ecx
lea edx, [rax + 9]
mov dword [rsp + 0x20], ecx
xor r9d, r9d
mov rcx, rsi
xor r8d, r8d
call fcn.140020450
mov dword [rsp + 0x40], eax
lea rdx, [r14 + 8]
mov rcx, rbx
call fcn.1400597c0
xor ecx, ecx
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140059de8
mov r9d, dword [rax + 0x44]
lea edx, [rcx + 0x6d]
mov r8d, dword [r14 + 0x4c]
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.140020450
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx + 0x28]
movzx ecx, word [rax + 0xa]
mov word [rdi + 0xa], cx
jmp 0x140059e20
mov eax, dword [r14 + 0x4c]
lea r8, str.MATERIALIZE__u
mov qword [rbp + 0x60], rcx
mov edx, r13d
mov qword [rbp + 0x58], rcx
mov rcx, r15
mov dword [rbp + 0x54], eax
mov byte [rbp + 0x50], 0xc
mov r9d, dword [rdi + 0x18]
call fcn.14002066c
lea r8, [rbp + 0x50]
mov rdx, rdi
mov rcx, r15
call fcn.140059888
movzx eax, word [rdi + 0xa]
xor r9d, r9d
mov rcx, qword [r14 + 0x28]
mov word [rcx + 0x48], ax
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x140059e4a
mov edx, eax
mov rcx, rsi
call fcn.140020e68
mov ecx, dword [rsi + 0x90]
mov dword [rax + 8], ecx
mov r8d, dword [r14 + 0x3c]
mov edx, 0x42
mov rcx, rsi
mov dword [rsp + 0x20], r9d
call fcn.140020450
mov edx, dword [rsp + 0x50]
mov rcx, rsi
mov r9d, eax
call fcn.140020e68
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 0x140059b43
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], r10d
mov rcx, r12
call fcn.140032b50
mov edx, dword [r15 + 0x11c]
sub edx, dword [rsp + 0x40]
mov rax, qword [rbp - 0x40]
xor r10d, r10d
mov ecx, dword [rsp + 0x54]
mov dword [r15 + 0x11c], edx
mov qword [r15 + 0x158], rax
jmp 0x140059eca
mov rdi, qword [rsp + 0x58]
mov rax, qword [rsp + 0x78]
lea rdx, [0x1400da32c]
add rax, r13
add ecx, r13d
mov dword [rsp + 0x54], ecx
mov qword [rsp + 0x78], rax
cmp ecx, dword [rbx]
jl 0x140059bd7
mov rax, qword [r12 + 0x30]
mov rbx, qword [r12]
mov r14, qword [r12 + 0x38]
mov qword [rbp - 0x78], rax
mov rax, qword [r12 + 0x40]
mov qword [rsp + 0x78], rax
mov al, byte [r12 + 0xc]
and al, r13b
mov qword [rbp - 0x40], rbx
mov byte [rbp + 0xb8], al
mov eax, dword [r12 + 0xc]
and al, 9
cmp al, r13b
jne 0x140059f57
mov rcx, qword [rbp - 0x20]
or r8d, 0xffffffff
mov rdx, rbx
call fcn.1400381d4
test eax, eax
jne 0x140059f57
and dword [r12 + 0xc], 0xfffffffe
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call fcn.1400337e8
mov r14, rax
mov qword [r12 + 0x38], rax
mov rdx, qword [rbp - 0x20]
xor edi, edi
test rdx, rdx
je 0x140059fc2
mov r9d, dword [rbx]
xor r8d, r8d
mov rcx, r15
call fcn.140054898
mov r8d, dword [r15 + 0x34]
mov rdi, rax
mov dword [rbp - 0x14], r8d
lea ecx, [r8 + 1]
mov dword [r15 + 0x34], ecx
mov rcx, qword [rbp - 0x20]
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.140020450
mov r9d, 0xfffffff7
mov r8, rdi
mov edx, eax
mov rcx, rsi
mov ebx, eax
call fcn.140020d7c
mov dword [rbp - 8], ebx
xor edi, edi
mov rbx, qword [rbp - 0x40]
jmp 0x140059fc6
or dword [rbp - 8], 0xffffffff
mov rax, qword [rbp - 0x58]
cmp byte [rax], 0xc
jne 0x140059fe7
mov r9d, dword [rbx]
mov edx, 0x70
mov r8d, dword [rax + 4]
mov rcx, rsi
mov dword [rsp + 0x20], edi
call fcn.140020450
dec dword [r15 + 0x44]
mov ecx, 0x4000
mov eax, dword [r15 + 0x44]
mov dword [rbp - 0x48], eax
test dword [r12 + 0xc], ecx
jne 0x14005a006
mov word [r12 + 0xa], 0x140
mov r8d, eax
mov rdx, r12
mov rcx, r15
call fcn.1400557ec
cmp dword [r12 + 0x10], edi
jne 0x14005a031
mov edx, dword [rbp - 8]
test edx, edx
js 0x14005a031
mov rcx, rsi
call fcn.140020e68
mov byte [rax], 0x72
or byte [rbp + 4], r13b
test byte [r12 + 0xc], r13b
je 0x14005a0bf
mov eax, dword [r15 + 0x34]
xor r9d, r9d
mov dword [rbp + 0xbc], eax
xor r8d, r8d
inc eax
mov rcx, r15
mov dword [r15 + 0x34], eax
mov rdx, qword [r12]
call fcn.140054898
mov r8d, dword [rbp + 0xbc]
xor ecx, ecx
mov dword [rsp + 0x20], ecx
xor r9d, r9d
mov rdi, rax
lea edx, [rcx + 0x70]
mov rcx, rsi
call fcn.140020450
mov r9d, 0xfffffff7
mov r8, rdi
mov edx, eax
mov rcx, rsi
mov ebx, eax
call fcn.140020d7c
mov dword [rbp + 0xc0], ebx
xor edi, edi
movsxd rax, dword [rsi + 0x90]
test eax, eax
jle 0x14005a0b6
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x88]
mov word [rax + rcx*8 - 0x16], 8
mov byte [rbp + 0xb9], 3
jmp 0x14005a0c6
mov byte [rbp + 0xb9], dil
cmp dword [rsp + 0x48], edi
jne 0x14005a2da
test r14, r14
jne 0x14005a2da
movzx ebx, word [r12 + 0xc]
mov eax, 0x4000
mov rdi, qword [r12 + 0x70]
and bx, ax
mov al, byte [rbp + 0xb8]
neg al
mov eax, 0x100
sbb cx, cx
and cx, ax
or bx, cx
test rdi, rdi
je 0x14005a112
mov rdx, rdi
mov rcx, r15
call fcn.14006ceb4
movsx eax, word [r12 + 0xa]
mov rcx, r15
mov r9, qword [rbp - 0x20]
mov r8, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
mov dword [rsp + 0x30], eax
mov rax, qword [r12]
mov word [rsp + 0x28], bx
mov qword [rsp + 0x20], rax
call fcn.14006a64c
xor r10d, r10d
mov qword [rbp - 0x50], rax
mov rdx, rax
test rax, rax
je 0x140059b3e
movzx eax, word [rax + 0x60]
cmp ax, word [r12 + 0xa]
jge 0x14005a163
mov word [r12 + 0xa], ax
cmp byte [rbp + 0xb8], r10b
je 0x14005a182
movzx ecx, byte [rdx + 0x47]
movzx eax, byte [rbp + 0xb9]
test cl, cl
cmovne eax, ecx
mov byte [rbp + 0xb9], al
mov r8, qword [rbp - 0x20]
test r8, r8
je 0x14005a1c0
movsx r9d, byte [rdx + 0x43]
mov dword [rbp - 0x18], r9d
cmp byte [rdx + 0x48], r10b
jne 0x14005a19f
mov eax, dword [rdx + 0x34]
jmp 0x14005a1b2
movzx eax, byte [rdx + 0x42]
lea rcx, [rax + rax*2]
shl rcx, 5
mov eax, dword [rcx + rdx + 0x348]
mov dword [rbp], eax
cmp r9d, dword [r8]
cmove r8, r10
mov qword [rbp - 0x20], r8
mov eax, dword [rbp - 8]
test eax, eax
js 0x14005a1da
test r8, r8
jne 0x14005a1da
mov edx, eax
mov rcx, rsi
call fcn.140020c64
mov rdx, qword [rbp - 0x50]
mov rcx, r15
test rdi, rdi
je 0x14005a296
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.14006e96c
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.140020450
mov rcx, qword [rbp - 0x60]
mov edx, ebx
call fcn.14002086c
mov rbx, qword [rbp - 0x58]
lea rax, [rbp + 0xb8]
mov dword [rsp + 0x38], r14d
lea r9, [rbp - 0x20]
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], r13d
call fcn.140053e10
mov edx, esi
mov rsi, qword [rbp - 0x60]
mov rcx, rsi
call fcn.14002086c
xor r9d, r9d
mov dword [rsp + 0x20], r13d
mov r8d, edi
lea edx, [r13 + 0x42]
mov rcx, rsi
call fcn.140020450
jmp 0x14005b020
mov eax, dword [rdx + 0x38]
lea r9, [rbp - 0x20]
mov rbx, qword [rbp - 0x58]
or r8d, 0xffffffff
mov dword [rsp + 0x38], eax
mov eax, dword [rdx + 0x34]
mov rdx, r12
mov dword [rsp + 0x30], eax
lea rax, [rbp + 0xb8]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.140053e10
mov rcx, qword [rbp - 0x50]
call fcn.14006b220
xor r13d, r13d
jmp 0x14005b02b
mov dword [rsp + 0x70], edi
mov dword [rsp + 0x60], edi
mov dword [rbp - 0x70], edi
test r14, r14
je 0x14005a382
mov rcx, qword [r12]
mov eax, dword [rcx]
test eax, eax
jle 0x14005a30a
add rcx, 0x2a
sub eax, r13d
mov word [rcx], di
lea rcx, [rcx + 0x28]
test eax, eax
jg 0x14005a2fc
mov eax, dword [r14]
test eax, eax
jle 0x14005a323
lea rcx, [r14 + 0x2a]
sub eax, r13d
mov word [rcx], di
lea rcx, [rcx + 0x28]
test eax, eax
jg 0x14005a315
mov eax, 0x42
cmp word [r12 + 0xa], ax
jle 0x14005a336
mov word [r12 + 0xa], ax
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x14005a388
mov eax, dword [r14]
cmp eax, dword [rdx]
jne 0x14005a388
mov r8d, edi
test eax, eax
jle 0x14005a36c
mov rcx, rdi
mov al, byte [rcx + rdx + 0x20]
lea rcx, [rcx + 0x28]
and al, r13b
add r8d, r13d
mov byte [rcx + r14 - 8], al
mov rdx, qword [rbp - 0x20]
cmp r8d, dword [r14]
jl 0x14005a350
or r8d, 0xffffffff
mov rcx, r14
call fcn.1400381d4
test eax, eax
jne 0x14005a388
mov dword [rbp - 0x70], r13d
jmp 0x14005a388
mov word [r12 + 0xa], di
mov eax, dword [r15 + 0x44]
xorps xmm0, xmm0
mov rbx, qword [rbp - 0x80]
dec eax
mov dword [rsp + 0x40], eax
xorps xmm1, xmm1
mov dword [r15 + 0x44], eax
lea rax, [rbp + 0x10]
mov qword [rbp + 0x90], rax
mov eax, dword [r15 + 0x38]
add eax, r13d
mov qword [rbp + 0x80], r15
mov qword [rbp + 0x88], rbx
mov dword [rbp + 0x20], eax
movdqu xmmword [rbp + 0x98], xmm0
movdqu xmmword [rbp + 0xa8], xmm1
test r14, r14
je 0x14005a3e0
mov eax, dword [r14]
mov dword [rbp + 0x1c], eax
jmp 0x14005a3e3
mov dword [rbp + 0x1c], edi
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp + 0x80]
mov qword [rbp + 0x28], r14
call fcn.140038ae4
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp + 0x80]
call fcn.140038ae4
mov rcx, qword [rsp + 0x78]
xor r10d, r10d
test rcx, rcx
je 0x14005a46b
test r14, r14
je 0x14005a459
mov rdx, qword [r12 + 0x40]
lea rax, [0x140059678]
mov qword [rbp + 0x70], r10
xorps xmm0, xmm0
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x78], r12
movdqu xmmword [rbp + 0x60], xmm0
test rdx, rdx
je 0x14005a450
lea rcx, [rbp + 0x50]
call fcn.14002fba0
mov rcx, qword [rsp + 0x78]
mov rax, qword [r12 + 0x30]
mov qword [rbp - 0x78], rax
mov rdx, rcx
lea rcx, [rbp + 0x80]
call fcn.140038a7c
xor r10d, r10d
mov eax, dword [rbp + 0x38]
mov r11d, dword [rbp + 0x48]
mov dword [rbp + 0x3c], eax
cmp qword [r12 + 0x38], r10
jne 0x14005a534
cmp qword [r12 + 0x40], r10
jne 0x14005a534
cmp r11d, r13d
jne 0x14005a534
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x20]
test rdi, rdi
je 0x14005a534
cmp dword [rdi], r13d
jne 0x14005a534
test dword [rcx + 4], 0x1000000
jne 0x14005a534
mov rax, qword [rcx + 8]
lea rdx, [0x1400ddce4]
mov rcx, rax
mov qword [rsp + 0x68], rax
call fcn.140006950
test eax, eax
jne 0x14005a4e3
mov byte [rsp + 0x44], 2
mov word [rsp + 0x4c], r13w
jmp 0x14005a508
mov rcx, qword [rsp + 0x68]
lea rdx, [0x1400ddce8]
call fcn.140006950
xor r10d, r10d
test eax, eax
jne 0x14005a534
mov byte [rsp + 0x44], r13b
mov dword [rsp + 0x4c], 2
mov rcx, qword [rsp + 0x58]
xor r8d, r8d
mov rdx, rdi
call fcn.1400337e8
xor r10d, r10d
mov qword [rbp - 0x38], rax
mov rcx, rax
test rax, rax
je 0x14005a52e
mov al, byte [rsp + 0x44]
mov byte [rcx + 0x20], al
mov r11d, dword [rbp + 0x48]
jmp 0x14005a53a
mov word [rsp + 0x4c], r10w
test r11d, r11d
jle 0x14005a5c5
mov ecx, dword [rbp + 0xa8]
mov rdi, r10
mov esi, r10d
mov ebx, 8
mov rax, qword [rbp + 0x40]
or ecx, ebx
mov rax, qword [rdi + rax]
mov dword [rbp + 0xa8], ecx
lea rcx, [rbp + 0x80]
mov qword [rsp + 0x68], rax
mov rdx, qword [rax + 0x20]
call fcn.140038ae4
mov rdx, qword [rsp + 0x68]
test dword [rdx + 4], 0x1000000
je 0x14005a59b
mov rdx, qword [rdx + 0x40]
lea rcx, [rbp + 0x80]
mov rdx, qword [rdx + 0x48]
call fcn.140038a7c
mov ecx, dword [rbp + 0xa8]
add esi, r13d
mov r11d, dword [rbp + 0x48]
and ecx, 0xfffffff7
add rdi, 0x18
mov dword [rbp + 0xa8], ecx
cmp esi, r11d
jl 0x14005a554
mov rsi, qword [rbp - 0x60]
xor r10d, r10d
mov rbx, qword [rbp - 0x80]
mov rdi, qword [rsp + 0x58]
mov eax, dword [r15 + 0x38]
mov dword [rbp + 0x24], eax
cmp byte [rdi + 0x61], r10b
jne 0x14005b0b4
test r14, r14
je 0x14005ac97
mov eax, dword [r15 + 0x34]
xor r8d, r8d
mov r9d, dword [rbp + 0x38]
mov rdx, r14
mov dword [rbp + 0x14], eax
mov rcx, r15
inc eax
mov dword [r15 + 0x34], eax
call fcn.140054898
mov r9d, dword [rbp + 0x1c]
xor ecx, ecx
mov r8d, dword [rbp + 0x14]
mov dword [rsp + 0x20], ecx
mov qword [rsp + 0x68], rax
lea edx, [rcx + 0x72]
mov rcx, rsi
call fcn.140020450
mov r8, qword [rsp + 0x68]
mov r9d, 0xfffffff7
mov edx, eax
mov dword [rbp - 0x80], eax
mov rcx, rsi
call fcn.140020d7c
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.140020450
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.140020450
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.140020450
mov eax, dword [rbp - 0x70]
mov r9, r14
mov r8, qword [rbp - 0x78]
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.14006a64c
xor r10d, r10d
mov qword [rbp - 0x50], rax
mov rdx, rax
test rax, rax
je 0x14005b0b4
movsx ecx, byte [rax + 0x43]
cmp ecx, dword [r14]
jne 0x14005a72f
mov edi, r10d
mov dword [rsp + 0x54], r10d
jmp 0x14005a92f
cmp byte [rbp + 0xb8], r10b
je 0x14005a746
lea r9, str.DISTINCT
test byte [r12 + 0xc], r13b
je 0x14005a74d
lea r9, str.GROUP_BY
lea r8, str.USE_TEMP_B_TREE_FOR__s
xor edx, edx
mov rcx, r15
call fcn.14002066c
mov eax, dword [r14]
xor edi, edi
mov ecx, dword [rbp + 0x38]
mov ebx, eax
mov dword [rsp + 0x54], r13d
mov edx, eax
mov dword [rbp - 0x78], eax
test ecx, ecx
jle 0x14005a79d
mov r8, qword [rbp + 0x30]
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 0x14005a781
mov edx, ebx
mov rcx, r15
call fcn.140038b38
xor r9d, r9d
mov dword [rsp + 0x60], eax
mov r8d, eax
mov byte [rsp + 0x20], dil
mov rcx, r15
mov rdx, r14
call fcn.140037430
mov ecx, dword [rbp + 0x38]
mov eax, edi
mov dword [rsp + 0x70], eax
test ecx, ecx
jle 0x14005a821
mov r12d, dword [rbp - 0x78]
mov r15d, dword [rsp + 0x60]
mov rdx, qword [rbp + 0x30]
cmp dword [rdi + rdx + 0x10], r12d
jl 0x14005a80a
mov r9d, dword [rdi + rdx + 0xc]
lea eax, [r15 + r12]
mov r8d, dword [rdi + rdx + 8]
mov rcx, rsi
mov rdx, qword [rdi + rdx]
mov dword [rsp + 0x20], eax
call fcn.140035f40
mov ecx, dword [rbp + 0x38]
add r12d, r13d
mov eax, dword [rsp + 0x70]
add eax, r13d
add rdi, 0x20
mov dword [rsp + 0x70], eax
cmp eax, ecx
jl 0x14005a7d7
mov r15, qword [rbp - 0x28]
mov r12, qword [rbp - 0x30]
mov al, byte [r15 + 0x1f]
test al, al
jne 0x14005a835
mov edi, dword [r15 + 0x38]
inc edi
mov dword [r15 + 0x38], edi
jmp 0x14005a847
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.140020450
mov r8d, dword [rbp + 0x14]
xor eax, eax
mov r9d, edi
mov dword [rsp + 0x20], eax
mov edx, 0x83
mov rcx, rsi
call fcn.140020450
test edi, edi
je 0x14005a89a
mov eax, 8
cmp byte [r15 + 0x1f], al
jae 0x14005a89a
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.140038b8c
mov rcx, qword [rbp - 0x50]
call fcn.14006b220
mov ecx, dword [r15 + 0x34]
xor edi, edi
mov dword [rsp + 0x70], ecx
mov dword [rbp + 0x18], ecx
lea eax, [rcx + 1]
mov dword [r15 + 0x34], eax
mov al, byte [r15 + 0x1f]
test al, al
jne 0x14005a8da
mov eax, dword [r15 + 0x38]
inc eax
mov dword [r15 + 0x38], eax
jmp 0x14005a8ec
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.140020450
mov r9d, dword [rsp + 0x40]
mov edx, 0x22
mov r8d, dword [rbp + 0x14]
mov rcx, rsi
mov dword [rsp + 0x20], edi
call fcn.140020450
mov rdx, qword [rbp - 0x50]
xor r10d, r10d
mov byte [rbp + 0x11], r13b
mov edi, r13d
cmp dword [rbp - 0x70], r10d
je 0x14005a95c
mov rax, qword [rsp + 0x58]
test byte [rax + 0x5c], 4
jne 0x14005a95c
test edi, edi
jne 0x14005a94a
cmp byte [rdx + 0x44], r10b
je 0x14005a95c
mov edx, dword [rbp - 8]
mov rcx, rsi
mov qword [rbp - 0x20], r10
call fcn.140020c64
xor r10d, r10d
mov eax, dword [rsi + 0x90]
mov dword [rbp - 0x78], eax
test edi, edi
je 0x14005a98a
mov eax, dword [rsp + 0x70]
mov edx, 0x7e
mov r9d, dword [rsp + 0x60]
mov rcx, rsi
mov r8d, dword [rbp + 0x14]
mov dword [rsp + 0x20], eax
call fcn.140020450
xor r10d, r10d
mov ebx, r10d
cmp dword [r14], r10d
jle 0x14005a9e6
mov r12d, dword [rsp + 0x54]
lea rdi, [r14 + 8]
mov r8d, dword [rbp - 0x6c]
add r8d, ebx
test r12d, r12d
je 0x14005a9c3
mov dword [rsp + 0x20], r8d
mov r9d, ebx
mov r8d, dword [rsp + 0x70]
mov edx, 0x5a
mov rcx, rsi
call fcn.140020450
jmp 0x14005a9d2
mov byte [rbp + 0x10], r13b
mov rcx, r15
mov rdx, qword [rdi]
call fcn.140037304
add ebx, r13d
add rdi, 0x28
cmp ebx, dword [r14]
jl 0x14005a99b
mov r12, qword [rbp - 0x30]
mov edi, dword [rsp + 0x54]
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x14005a9f3
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.140020450
mov r9d, 0xfffffff7
mov r8, rbx
mov edx, eax
mov rcx, rsi
call fcn.140020d7c
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.140020450
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.140020450
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.140020450
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.140020450
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.140020450
mov edx, ebx
mov rcx, rsi
call fcn.140020e68
mov ecx, dword [rsi + 0x90]
lea r8, [rbp + 0x10]
mov edx, dword [rbp - 0x60]
mov dword [rax + 8], ecx
mov rcx, r15
call fcn.140059398
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.140020450
xor ebx, ebx
test edi, edi
je 0x14005ab18
mov r9d, dword [rbp - 0x78]
lea edx, [rbx + 3]
mov r8d, dword [rbp + 0x14]
mov rcx, rsi
mov dword [rsp + 0x20], ebx
call fcn.140020450
jmp 0x14005ab2c
mov rcx, qword [rbp - 0x50]
call fcn.14006b220
mov edx, dword [rbp - 0x80]
mov rcx, rsi
call fcn.140020c64
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.140020450
xor eax, eax
mov r9d, r14d
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov rcx, rsi
lea edx, [rax + 0xb]
call fcn.140020450
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.140020450
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.140020450
mov edx, dword [rsp + 0x50]
mov rcx, rsi
call fcn.14002086c
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.140020450
xor eax, eax
xor r9d, r9d
mov r8d, r13d
mov dword [rsp + 0x20], eax
mov rcx, rsi
lea edx, [rax + 0x42]
call fcn.140020450
lea rdx, [rbp + 0x10]
mov rcx, r15
call fcn.140059314
mov rdx, qword [rsp + 0x78]
inc ebx
mov r8d, ebx
mov r9d, 0x10
mov rcx, r15
call fcn.140037a64
mov dword [rsp + 0x38], edi
lea rax, [rbp + 0xb8]
mov dword [rsp + 0x30], ebx
lea r9, [rbp - 0x20]
mov rbx, qword [rbp - 0x58]
or r8d, 0xffffffff
mov qword [rsp + 0x28], rbx
mov rdx, r12
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.140053e10
xor edi, edi
xor r9d, r9d
mov r8d, r13d
mov dword [rsp + 0x20], edi
mov rcx, rsi
lea edx, [rdi + 0x42]
call fcn.140020450
mov edx, dword [rbp - 0x68]
mov rcx, rsi
call fcn.14002086c
lea rdx, [rbp + 0x10]
mov rcx, r15
call fcn.140059234
mov r9d, dword [rbp - 0x60]
lea edx, [rdi + 0x46]
xor r8d, r8d
mov dword [rsp + 0x20], edi
mov rcx, rsi
call fcn.140020450
xor r9d, r9d
mov dword [rsp + 0x20], edi
lea r8d, [r13 + 1]
mov rcx, rsi
lea edx, [rdi + 0x42]
call fcn.140020450
xor r13d, r13d
jmp 0x14005b020
cmp qword [r12 + 0x30], r10
jne 0x14005aeda
mov rax, qword [r12]
cmp dword [rax], r13d
jne 0x14005aeda
mov rdx, qword [r12 + 0x28]
cmp dword [rdx], r13d
jne 0x14005aeda
cmp qword [rdx + 0x30], r10
jne 0x14005aeda
mov rdx, qword [rdx + 0x28]
mov r8, qword [rax + 8]
cmp dword [rdx + 0x54], r10d
jne 0x14005aeda
cmp byte [r8], 0xa3
jne 0x14005aeda
test r11d, r11d
je 0x14005aeda
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax + 8]
mov eax, 0x100
test dword [rcx + 4], eax
je 0x14005aeda
test dword [r8 + 4], 0x1000002
jne 0x14005aeda
test rdx, rdx
je 0x14005aeda
mov r8, qword [rdx + 0x70]
mov r14d, 0xfff0bdc0
mov rdi, rdx
test r8, r8
je 0x14005ad47
mov rax, qword [r15]
mov r14d, r10d
mov rcx, qword [rax + 0x20]
add rcx, 0x18
jmp 0x14005ad42
add r14d, r13d
lea rcx, [rcx + 0x20]
cmp qword [rcx], r8
jne 0x14005ad3b
mov eax, dword [r15 + 0x34]
mov edx, r14d
mov dword [rbp - 0x80], 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.1400433d0
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.14003d3a4
xor edx, edx
test byte [rdi + 0x40], 0x20
je 0x14005ada8
mov rbx, qword [rdi + 0x10]
jmp 0x14005ada3
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
je 0x14005ada8
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x14005ad96
mov rax, qword [rdi + 0x10]
jmp 0x14005add6
test byte [rax + 0x64], 4
jne 0x14005add2
movzx ecx, word [rax + 0x5c]
cmp cx, word [rdi + 0x4a]
jge 0x14005add2
cmp qword [rax + 0x48], rdx
jne 0x14005add2
test rbx, rbx
je 0x14005adcf
cmp cx, word [rbx + 0x5c]
jge 0x14005add2
mov rbx, rax
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x14005adae
test rbx, rbx
je 0x14005adf7
mov eax, dword [rbx + 0x58]
mov rdx, rbx
mov rcx, r15
mov dword [rsp + 0x50], eax
call fcn.140043ab8
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 [rbp - 0x80]
mov r8d, r14d
call fcn.140020788
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x14005ae38
mov r9d, 0xfffffff7
mov r8, rax
or edx, 0xffffffff
mov rcx, rsi
call fcn.140020d7c
mov r9, qword [rbp + 0x40]
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.140020450
xor eax, eax
xor r9d, r9d
mov r8d, r14d
mov dword [rsp + 0x20], eax
mov rcx, rsi
lea edx, [rax + 0x75]
call fcn.140020450
xor r14d, r14d
cmp byte [r15 + 0x113], 2
jne 0x14005afd4
test rbx, rbx
je 0x14005ae9c
test byte [rdi + 0x40], 0x20
je 0x14005ae90
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
je 0x14005ae9c
mov rax, qword [rbx]
lea rcx, [0x1400da32c]
jmp 0x14005aea9
lea rcx, [0x1400da32c]
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.14002066c
jmp 0x14005afd4
mov edi, r10d
cmp dword [rbp + 0x3c], r10d
je 0x14005af37
mov edx, r10d
test r11d, r11d
jle 0x14005af11
mov rcx, qword [rbp + 0x40]
mov rax, qword [rcx]
test dword [rax + 4], 0x1000000
jne 0x14005af05
mov rax, qword [rcx + 8]
test byte [rax + 4], 0x20
jne 0x14005af11
add edx, r13d
add rcx, 0x18
cmp edx, r11d
jl 0x14005aeef
cmp edx, r11d
jne 0x14005af37
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.140020450
lea rdx, [rbp + 0x10]
mov rcx, r15
call fcn.140059234
mov eax, dword [rsp + 0x4c]
xor ecx, ecx
mov r9, qword [rbp - 0x38]
mov rdx, rbx
mov r8, qword [rbp - 0x78]
mov dword [rsp + 0x30], ecx
mov word [rsp + 0x28], ax
mov qword [rsp + 0x20], rcx
mov rcx, r15
call fcn.14006a64c
mov rbx, rax
test rax, rax
je 0x14005b0af
lea r8, [rbp + 0x10]
mov edx, edi
mov rcx, r15
call fcn.140059398
xor r14d, r14d
test edi, edi
je 0x14005afa2
mov r9d, edi
mov dword [rsp + 0x20], r14d
mov r8d, r13d
lea edx, [r14 + 0x46]
mov rcx, rsi
call fcn.140020450
cmp byte [rbx + 0x43], r14b
jle 0x14005afc0
mov r9d, dword [rbx + 0x38]
xor r8d, r8d
mov rcx, rsi
mov dword [rsp + 0x20], r14d
lea edx, [r8 + 0xb]
call fcn.140020450
mov rcx, rbx
call fcn.14006b220
lea rdx, [rbp + 0x10]
mov rcx, r15
call fcn.140059314
mov rdx, qword [rsp + 0x78]
mov r9d, 0x10
mov qword [rbp - 0x20], r14
mov rcx, r15
mov r14d, dword [rsp + 0x40]
mov r8d, r14d
call fcn.140037a64
mov rbx, qword [rbp - 0x58]
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.140053e10
mov edx, r14d
mov rcx, rsi
call fcn.14002086c
cmp byte [rbp + 0xb9], 3
jne 0x14005b04c
lea r9, str.DISTINCT
xor edx, edx
lea r8, str.USE_TEMP_B_TREE_FOR__s
mov rcx, r15
call fcn.14002066c
cmp qword [rbp - 0x20], r13
je 0x14005b094
cmp dword [rbp - 0x18], 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.14002066c
mov rax, qword [rbp - 0x40]
lea r8, [rbp - 0x20]
mov rdx, r12
mov qword [rsp + 0x20], rbx
mov rcx, r15
mov r9d, dword [rax]
call fcn.140054984
mov edx, dword [rbp - 0x48]
mov rcx, rsi
call fcn.14002086c
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 - 0x38]
test rax, rax
je 0x140059b43
mov rdx, rax
mov rcx, rdi
call fcn.140034120
jmp 0x140059b43
mov r8, qword [rbp - 0x58]
mov rdx, r12
mov rcx, r15
call fcn.140055e80
mov r10d, eax
xor eax, eax
cmp qword [r12 + 0x58], rax
jne 0x14005b0f4
mov rcx, r15
call fcn.1400206f4
mov eax, r10d
jmp 0x140059b70