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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r15
lea rbp, [rsp - 0xc8]
sub rsp, 0x1c8
mov eax, dword [rcx + 0x200]
mov rdi, r8
mov r15, qword [rcx]
mov r12, rdx
mov dword [rbp - 0x18], eax
mov rsi, rcx
mov eax, dword [rcx + 0x204]
mov dword [rcx + 0x200], eax
inc eax
mov qword [rbp + 0x30], 1
mov dword [rcx + 0x204], eax
mov qword [rsp + 0x58], r15
test rdx, rdx
je 0x18006bc14
cmp byte [r15 + 0x50], 0
jne 0x18006bc14
cmp dword [rcx + 0x4c], 0
jne 0x18006bc14
xor ebx, ebx
cmp byte [r15 + 0xa1], bl
jne 0x18006bc4d
cmp byte [rcx + 0x1f3], bl
jne 0x18006bc4d
mov r10, qword [r15 + 0x178]
test r10, r10
je 0x18006bc4d
mov rax, qword [rcx + 0x230]
lea edx, [rbx + 0x15]
mov rcx, qword [r15 + 0x180]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call r10
cmp eax, 1
jne 0x18006bc2b
lea rdx, str.not_authorized
mov rcx, rsi
call fcn.180007d60
mov dword [rsi + 0x18], 0x17
mov ecx, 1
mov eax, ecx
add rsp, 0x1c8
pop r15
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
test eax, eax
je 0x18006bc4d
cmp eax, 2
je 0x18006bc14
lea rdx, str.authorizer_malfunction
mov rcx, rsi
call fcn.180007d60
mov ecx, 1
mov dword [rsi + 0x18], ecx
jmp 0x18006bc19
cmp byte [rdi], 8
xorps xmm0, xmm0
mov qword [rsp + 0x1c0], r13
mov qword [rsp + 0x1b8], r14
mov r14d, 0xfffe
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
ja 0x18006bc93
mov rdx, qword [r12 + 0x48]
mov rcx, r15
call fcn.18003b300
and word [r12 + 0xa], r14w
mov qword [r12 + 0x48], rbx
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call fcn.18006b590
xorps xmm0, xmm0
mov rax, qword [r12 + 0x48]
mov rdx, qword [r12 + 0x28]
mov r13, qword [r12]
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x58], rax
mov qword [rsp + 0x60], rdx
mov qword [rbp - 0x40], rbx
mov qword [rsp + 0x70], r13
cmp dword [rsi + 0x4c], ebx
jne 0x18006d933
cmp byte [r15 + 0x50], bl
jne 0x18006d933
movzx r11d, word [r12 + 0xa]
mov r14, qword [rsi + 0x10]
shr r11d, 2
and r11d, 1
mov dword [rbp + 0x118], r11d
test r14, r14
jne 0x18006bd50
mov rcx, rsi
call fcn.180025760
mov qword [rsi + 0x10], rax
mov r14, rax
test rax, rax
je 0x18006bd25
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor r8d, r8d
mov edx, 0x99
mov rcx, rax
call fcn.1800258c0
cmp qword [rsi + 0x1c0], rbx
jne 0x18006bd3b
mov rax, qword [rsi]
test byte [rax + 0x4c], 8
jne 0x18006bd3b
mov byte [rsi + 0x23], 1
mov rdx, qword [rsp + 0x60]
test r14, r14
je 0x18006d933
mov r11d, dword [rbp + 0x118]
cmp dword [r13], 1
movzx eax, byte [rdi]
jle 0x18006bd74
sub al, 0xa
cmp al, 1
ja 0x18006bd74
lea rdx, str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
mov rcx, rsi
call fcn.180007d60
jmp 0x18006d92e
mov rcx, qword [r12 + 0x50]
mov r13d, ebx
mov dword [rsp + 0x68], ebx
test rcx, rcx
jne 0x18006c1e2
mov rax, rbx
mov qword [rbp - 0x68], rbx
mov rcx, rbx
jmp 0x18006bda7
mov r11d, dword [rbp + 0x118]
cmp r13d, dword [rdx]
jge 0x18006c1e2
imul rbx, rax, 0x78
add rbx, rdx
mov r15, qword [rbx + 0x30]
test r15, r15
je 0x18006c1c1
mov r9d, dword [rbx + 0x38]
test r9d, r9d
je 0x18006bdf6
test byte [rbx + 0x48], 4
jne 0x18006c1c1
mov r8d, dword [rbx + 0x3c]
xor eax, eax
mov rcx, r14
mov dword [rsp + 0x20], eax
lea edx, [rax + 0x11]
call fcn.1800258c0
mov rdx, qword [rsp + 0x60]
jmp 0x18006c1c1
xor eax, eax
lea rdx, [rsp + 0x50]
mov rcx, r12
mov dword [rsp + 0x50], eax
call fcn.180039b00
mov eax, dword [rsp + 0x50]
mov r9d, r11d
add dword [rsi + 0x1fc], eax
mov r8d, r13d
movzx edi, word [r15 + 0xa]
mov rdx, r12
shr edi, 2
mov rcx, rsi
and edi, 1
mov dword [rsp + 0x20], edi
call fcn.180069900
test eax, eax
je 0x18006be61
test edi, edi
je 0x18006be4c
or word [r12 + 0xa], 4
mov dword [rbp + 0x118], 1
mov r13d, 0xffffffff
mov qword [rbp - 0x68], 0xffffffffffffffff
xor ebx, ebx
jmp 0x18006c177
mov rax, qword [rsp + 0x60]
cmp dword [rax], 1
jne 0x18006bfaa
mov rcx, qword [rsp + 0x58]
mov eax, 0x100
test word [rcx + 0x4c], ax
jne 0x18006bfaa
mov edi, dword [r14 + 0x3c]
xor r9d, r9d
inc dword [rsi + 0x54]
inc edi
mov r8d, dword [rsi + 0x54]
mov rcx, r14
mov dword [rbx + 0x3c], r8d
lea edx, [r9 + 0x14]
mov dword [rsp + 0x20], edi
call fcn.1800258c0
mov eax, dword [rbx + 0x3c]
lea r8, [rbp + 0x38]
mov dword [rbx + 0x38], edi
mov rdx, r15
mov dword [rbp + 0x3c], eax
mov rcx, rsi
xor eax, eax
mov word [rbp + 0x38], 0xd
mov qword [rbp + 0x40], rax
movzx eax, byte [rsi + 0x204]
mov byte [rbx + 0x4c], al
call fcn.18006bb40
mov rax, qword [r15 + 0x20]
mov ecx, 0x28
cmp rax, 8
jae 0x18006bf00
cmp rax, 2
jae 0x18006bef1
xor eax, eax
movzx edx, ax
jmp 0x18006bf56
add cx, 0xfff6
add rax, rax
cmp rax, 8
jb 0x18006bef1
jmp 0x18006bf3d
cmp rax, 0xff
jbe 0x18006bf20
nop dword [rax + rax]
add cx, 0x28
shr rax, 4
cmp rax, 0xff
ja 0x18006bf10
cmp rax, 0xf
jbe 0x18006bf3d
nop word [rax + rax]
add cx, 0xa
shr rax, 1
cmp rax, 0xf
ja 0x18006bf30
and eax, 7
lea rdx, [0x180000000]
movzx edx, word [rdx + rax*2 + 0xeed60]
sub dx, 0xa
add dx, cx
mov rax, qword [rbx + 0x28]
xor r9d, r9d
mov rcx, r14
mov word [rax + 0x38], dx
or dword [rbx + 0x48], 4
mov eax, dword [rbp + 0x40]
mov r8d, dword [rbx + 0x3c]
mov dword [rbx + 0x40], eax
xor eax, eax
mov dword [rsp + 0x20], eax
lea edx, [rax + 0x15]
call fcn.1800258c0
mov edx, dword [r14 + 0x3c]
lea eax, [rdi - 1]
cmp edx, eax
jbe 0x18006bf9b
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [r14 + 0x3c]
mov rax, qword [r14 + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x64], ecx
jmp 0x18006c16f
mov r9d, dword [rsi + 0x54]
xor ecx, ecx
inc r9d
mov dword [rsp + 0x20], ecx
mov edi, ecx
mov dword [rsi + 0x54], r9d
xor r8d, r8d
mov dword [rbx + 0x3c], r9d
lea edx, [rcx + 0x19]
mov rcx, r14
call fcn.1800258c0
test byte [rbx + 0x48], 2
mov r13d, eax
lea ecx, [r13 + 1]
mov dword [rbx + 0x38], ecx
jne 0x18006c04d
mov rdi, qword [rsi + 0x10]
test rdi, rdi
jne 0x18006c02c
mov rcx, rsi
call fcn.180025760
mov qword [rsi + 0x10], rax
mov rdi, rax
test rax, rax
je 0x18006c015
xor eax, eax
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov edx, 0x99
mov rcx, rdi
call fcn.1800258c0
cmp qword [rsi + 0x1c0], 0
jne 0x18006c02c
mov rax, qword [rsi]
test byte [rax + 0x4c], 8
jne 0x18006c02c
mov byte [rsi + 0x23], 1
mov r8d, dword [rsi + 0x5c]
xor r9d, r9d
mov rcx, rdi
lea eax, [r8 + 1]
mov dword [rsi + 0x5c], eax
xor eax, eax
mov dword [rsp + 0x20], eax
lea edx, [rax + 0x2c]
call fcn.1800258c0
mov edi, eax
mov ecx, dword [rbx + 0x50]
lea r8, [rbp + 0x38]
mov dword [rbp + 0x3c], ecx
xor eax, eax
movzx ecx, byte [rsi + 0x204]
mov rdx, r15
mov word [rbp + 0x38], 0xc
mov qword [rbp + 0x40], rax
mov byte [rbx + 0x4c], cl
mov rcx, rsi
call fcn.18006bb40
mov rax, qword [r15 + 0x20]
mov ecx, 0x28
cmp rax, 8
jae 0x18006c0af
cmp rax, 2
jae 0x18006c0a0
xor r8d, r8d
movzx edx, r8w
jmp 0x18006c109
add cx, 0xfff6
add rax, rax
cmp rax, 8
jb 0x18006c0a0
jmp 0x18006c0ed
cmp rax, 0xff
jbe 0x18006c0d0
nop word [rax + rax]
add cx, 0x28
shr rax, 4
cmp rax, 0xff
ja 0x18006c0c0
cmp rax, 0xf
jbe 0x18006c0ed
nop word [rax + rax]
add cx, 0xa
shr rax, 1
cmp rax, 0xf
ja 0x18006c0e0
and eax, 7
lea rdx, [0x180000000]
movzx edx, word [rdx + rax*2 + 0xeed60]
sub dx, 0xa
add dx, cx
xor r8d, r8d
mov rax, qword [rbx + 0x28]
mov word [rax + 0x38], dx
test edi, edi
je 0x18006c139
mov edx, dword [r14 + 0x3c]
cmp edx, edi
jbe 0x18006c12f
mov eax, edi
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [r14 + 0x3c]
mov rax, qword [r14 + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x64], ecx
xor r9d, r9d
mov dword [rsp + 0x20], r8d
mov r8d, dword [rbx + 0x3c]
mov rcx, r14
lea edx, [r9 + 0x12]
call fcn.1800258c0
cmp dword [r14 + 0x3c], r13d
jbe 0x18006c16a
mov rcx, qword [r14 + 8]
lea rdx, [r13*2]
add rdx, r13
mov dword [rcx + rdx*8 + 4], eax
mov r13d, dword [rsp + 0x68]
xor ebx, ebx
mov dword [rsi + 0x44], ebx
mov byte [rsi + 0x1f], bl
mov r15, qword [rsp + 0x58]
cmp byte [r15 + 0x50], 0
jne 0x18006d922
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], ebx
mov rcx, r12
call fcn.180039b00
mov edx, dword [rsp + 0x50]
sub dword [rsi + 0x1fc], edx
mov rdi, qword [rbp + 0x110]
mov rdx, qword [r12 + 0x28]
mov qword [rsp + 0x60], rdx
cmp byte [rdi], 8
jbe 0x18006c1c1
mov rax, qword [r12 + 0x48]
mov qword [rbp - 0x58], rax
mov rax, qword [rbp - 0x68]
inc r13d
mov rcx, qword [r12 + 0x50]
inc rax
mov dword [rsp + 0x68], r13d
mov qword [rbp - 0x68], rax
test rcx, rcx
je 0x18006bda0
movzx eax, byte [r12 + 0xa]
mov rbx, qword [r12]
and al, 1
mov r13, qword [r12 + 0x30]
mov r15, qword [r12 + 0x38]
mov rdx, qword [r12 + 0x40]
mov qword [rsp + 0x70], rbx
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x68], r15
mov qword [rbp + 0x60], rdx
mov byte [rbp - 0x78], al
test rcx, rcx
je 0x18006c24d
mov r8, rdi
mov rdx, r12
mov rcx, rsi
call fcn.180067920
mov ecx, dword [rbp - 0x18]
mov dword [rsi + 0x200], ecx
mov r13, qword [rsp + 0x1c0]
mov r14, qword [rsp + 0x1b8]
add rsp, 0x1c8
pop r15
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
movzx eax, byte [r12 + 0xa]
and al, 5
cmp al, 1
jne 0x18006c372
mov rcx, qword [rbp - 0x58]
mov r8d, 0xffffffff
mov rdx, rbx
call fcn.18003fd20
test eax, eax
jne 0x18006c372
mov rdx, qword [r12]
mov eax, 0xfffe
mov rcx, qword [rsp + 0x58]
xor r8d, r8d
and word [r12 + 0xa], ax
call fcn.18003aae0
mov r15, rax
mov qword [rbp - 0x68], rax
mov qword [r12 + 0x38], rax
xor eax, eax
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x40], 0xffffffff
mov rax, qword [rbp + 0x110]
cmp byte [rax], 0xc
jne 0x18006c2d4
mov r9d, dword [rbx]
mov edx, 0x39
mov r8d, dword [rax + 4]
mov rcx, r14
mov dword [rsp + 0x20], 0
call fcn.1800258c0
mov rbx, qword [r14 + 0x30]
mov edx, dword [rbx + 0x78]
mov dword [rbp - 0x1c], edx
lea eax, [rdx + 1]
mov dword [rbx + 0x78], eax
lea eax, [rdx - 1]
test edx, eax
jne 0x18006c312
mov rcx, qword [rbx]
lea eax, [rdx*2 + 1]
mov rdx, qword [rbx + 0x80]
movsxd r8, eax
shl r8, 2
call fcn.180005330
mov edx, dword [rbp - 0x1c]
mov qword [rbx + 0x80], rax
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x18006c328
movsxd rax, edx
mov dword [rcx + rax*4], 0xffffffff
mov r8d, edx
movabs rax, 0x7fffffffffffffff
not r8d
mov qword [r12 + 0x20], rax
mov rdx, r12
mov rcx, rsi
call fcn.180066e80
cmp dword [r12 + 0xc], 0
jne 0x18006c3f3
movsxd rcx, dword [rbp - 0x40]
test ecx, ecx
js 0x18006c3f3
mov rax, qword [r14]
cmp byte [rax + 0x50], 0
je 0x18006c3e0
lea rax, [0x180106630]
jmp 0x18006c3ec
mov rdx, qword [rbp - 0x58]
test rdx, rdx
je 0x18006c2a5
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
call fcn.180065900
mov r8d, dword [rsi + 0x50]
mov rdi, rax
mov dword [rbp - 0x4c], r8d
xor eax, eax
mov dword [rsp + 0x20], eax
lea ecx, [r8 + 1]
mov dword [rsi + 0x50], ecx
mov rcx, qword [rbp - 0x58]
mov r9d, dword [rbx]
mov edx, dword [rcx]
mov rcx, r14
inc edx
add r9d, edx
lea edx, [rax + 0x39]
call fcn.1800258c0
mov r9d, 0xfffffffa
mov r8, rdi
mov edx, eax
mov rcx, r14
mov ebx, eax
call fcn.180025f00
mov dword [rbp - 0x40], ebx
mov rbx, qword [rsp + 0x70]
jmp 0x18006c2ac
mov rax, qword [r14 + 8]
lea rcx, [rcx + rcx*2]
lea rax, [rax + rcx*8]
mov byte [rax], 0x3a
or byte [rbp - 0x3c], 1
test byte [r12 + 0xa], 1
je 0x18006c467
mov eax, dword [rsi + 0x50]
xor r9d, r9d
mov dword [rbp - 0x74], eax
xor r8d, r8d
inc eax
mov rcx, rsi
mov dword [rsi + 0x50], eax
mov rdx, qword [r12]
call fcn.180065900
mov r8d, dword [rbp - 0x74]
mov rdi, rax
xor eax, eax
xor r9d, r9d
mov rcx, r14
mov dword [rsp + 0x20], eax
lea edx, [rax + 0x39]
call fcn.1800258c0
mov r9d, 0xfffffffa
mov r8, rdi
mov edx, eax
mov rcx, r14
mov ebx, eax
call fcn.180025f00
mov dword [rbp - 0x70], ebx
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x18006c461
movsxd rax, dword [r14 + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 8
mov byte [rbp - 0x77], 3
jmp 0x18006c46b
mov byte [rbp - 0x77], 0
cmp dword [rbp + 0x118], 0
jne 0x18006c5af
test r15, r15
jne 0x18006c5af
movzx eax, byte [rbp - 0x78]
mov r8, r13
mov r9, qword [rbp - 0x58]
neg al
mov rax, qword [r12]
mov rdx, qword [rsp + 0x60]
sbb cx, cx
and cx, 0x400
xor ebx, ebx
mov dword [rsp + 0x30], ebx
mov word [rsp + 0x28], cx
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.18007d960
mov rdi, rax
test rax, rax
je 0x18006d91d
mov rcx, rax
call fcn.1800743b0
cmp rax, qword [r12 + 0x20]
jae 0x18006c4df
mov rcx, rdi
call fcn.1800743b0
mov qword [r12 + 0x20], rax
cmp byte [rbp - 0x78], bl
je 0x18006c4f4
movzx ecx, byte [rdi + 0x38]
movzx eax, byte [rbp - 0x77]
test cl, cl
cmovne eax, ecx
mov byte [rbp - 0x77], al
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x18006c50e
movsx eax, byte [rdi + 0x34]
mov dword [rbp - 0x50], eax
cmp eax, dword [rcx]
cmove rcx, rbx
mov qword [rbp - 0x58], rcx
movsxd r15, dword [rbp - 0x40]
test r15d, r15d
js 0x18006c55d
test rcx, rcx
jne 0x18006c55d
cmp r15d, dword [r14 + 0x3c]
jge 0x18006c55d
mov rax, qword [r14 + 8]
lea rcx, [r15 + r15*2]
movsx edx, byte [rax + rcx*8 + 1]
lea rbx, [rax + rcx*8]
mov r8, qword [rbx + 0x10]
mov rcx, qword [r14]
call fcn.180025c40
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov byte [rbx], 0x9a
mov eax, dword [r14 + 0x3c]
dec eax
cmp r15d, eax
jne 0x18006c55d
mov dword [r14 + 0x3c], eax
mov eax, dword [rdi + 0x44]
mov r9d, 0xffffffff
mov r13, qword [rsp + 0x70]
mov rdx, r12
mov dword [rsp + 0x40], eax
mov r8, r13
mov eax, dword [rdi + 0x40]
mov rcx, rsi
mov dword [rsp + 0x38], eax
mov rax, qword [rbp + 0x110]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
call fcn.180064c30
mov rcx, rdi
call fcn.18007e690
jmp 0x18006d7ee
xor r13d, r13d
mov dword [rbp - 0x5c], r13d
mov dword [rbp - 0x60], r13d
test r15, r15
je 0x18006c611
mov rax, qword [r12]
mov ecx, dword [rax]
mov rdx, qword [rax + 8]
test ecx, ecx
jle 0x18006c5df
lea rax, [rdx + 0x22]
dec ecx
mov word [rax], r13w
lea rax, [rax + 0x28]
test ecx, ecx
jg 0x18006c5d1
mov eax, dword [r15]
mov rcx, qword [r15 + 8]
test eax, eax
jle 0x18006c5fe
add rcx, 0x22
nop
dec eax
mov word [rcx], r13w
lea rcx, [rcx + 0x28]
test eax, eax
jg 0x18006c5f0
cmp qword [r12 + 0x20], 0x64
jbe 0x18006c61a
mov qword [r12 + 0x20], 0x64
jmp 0x18006c61a
mov qword [r12 + 0x20], 1
mov rdx, qword [rbp - 0x58]
mov r8d, 0xffffffff
mov rcx, r15
call fcn.18003fd20
mov rbx, qword [r14 + 0x30]
test eax, eax
mov eax, 1
mov ecx, r13d
cmove ecx, eax
mov dword [rbp - 0x80], ecx
mov edx, dword [rbx + 0x78]
mov dword [rbp - 0x20], edx
lea eax, [rdx + 1]
mov dword [rbx + 0x78], eax
lea eax, [rdx - 1]
test edx, eax
jne 0x18006c67a
mov rcx, qword [rbx]
lea eax, [rdx*2 + 1]
mov rdx, qword [rbx + 0x80]
movsxd r8, eax
shl r8, 2
call fcn.180005330
mov edx, dword [rbp - 0x20]
mov qword [rbx + 0x80], rax
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x18006c690
movsxd rax, edx
mov dword [rcx + rax*4], 0xffffffff
mov eax, edx
mov qword [rbp + 0x80], r13
not eax
mov qword [rbp + 0xa0], r13
mov dword [rsp + 0x7c], eax
xorps xmm0, xmm0
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0x78], rax
lea rax, [rbp - 0x10]
mov qword [rbp + 0x88], rax
mov eax, dword [rsi + 0x54]
inc eax
mov qword [rbp + 0x70], rsi
mov dword [rbp], eax
movdqu xmmword [rbp + 0x90], xmm0
test r15, r15
je 0x18006c6de
mov eax, dword [r15]
mov dword [rbp - 4], eax
jmp 0x18006c6e2
mov dword [rbp - 4], r13d
mov qword [rbp + 8], r15
mov r15, qword [rsp + 0x70]
test r15, r15
je 0x18006c717
mov edi, r13d
mov rbx, qword [r15 + 8]
cmp dword [r15], r13d
jle 0x18006c717
nop dword [rax]
mov rdx, qword [rbx]
lea rcx, [rbp + 0x70]
call fcn.1800401f0
inc edi
lea rbx, [rbx + 0x28]
cmp edi, dword [r15]
jl 0x18006c700
mov r15, qword [rbp - 0x58]
test r15, r15
je 0x18006c747
mov edi, r13d
mov rbx, qword [r15 + 8]
cmp dword [r15], r13d
jle 0x18006c747
nop dword [rax]
mov rdx, qword [rbx]
lea rcx, [rbp + 0x70]
call fcn.1800401f0
inc edi
lea rbx, [rbx + 0x28]
cmp edi, dword [r15]
jl 0x18006c730
mov rax, qword [rbp + 0x60]
test rax, rax
je 0x18006c75c
mov rdx, rax
lea rcx, [rbp + 0x70]
call fcn.1800401f0
mov r8d, dword [rbp + 0x28]
mov eax, dword [rbp + 0x18]
mov dword [rbp + 0x1c], eax
test r8d, r8d
jle 0x18006c7f9
movzx edx, word [rbp + 0xa0]
xor r9d, r9d
mov r12d, r9d
mov esi, 0xfff7
mov rax, qword [rbp + 0x20]
or dx, 8
mov word [rbp + 0xa0], dx
mov rcx, qword [r12 + rax]
mov r15, qword [rcx + 0x20]
test r15, r15
je 0x18006c7d5
cmp dword [r15], 0
mov edi, r9d
mov rbx, qword [r15 + 8]
jle 0x18006c7d5
nop word [rax + rax]
mov rdx, qword [rbx]
lea rcx, [rbp + 0x70]
call fcn.1800401f0
inc edi
lea rbx, [rbx + 0x28]
cmp edi, dword [r15]
jl 0x18006c7b0
mov r8d, dword [rbp + 0x28]
xor r9d, r9d
movzx edx, word [rbp + 0xa0]
and dx, si
inc r13d
add r12, 0x18
mov word [rbp + 0xa0], dx
cmp r13d, r8d
jl 0x18006c781
mov rsi, qword [rbp + 0x100]
mov r12, qword [rbp + 0x108]
mov r15, qword [rsp + 0x58]
mov eax, dword [rsi + 0x54]
mov dword [rbp + 4], eax
cmp byte [r15 + 0x50], 0
jne 0x18006d922
mov r13, qword [rbp - 0x68]
test r13, r13
je 0x18006d198
mov eax, dword [rsi + 0x50]
xor r9d, r9d
mov dword [rbp - 0xc], eax
xor r8d, r8d
inc eax
mov rdx, r13
mov rcx, rsi
mov dword [rsi + 0x50], eax
call fcn.180065900
mov r9d, dword [rbp - 4]
mov rbx, rax
mov r8d, dword [rbp - 0xc]
mov rcx, r14
mov qword [rbp + 0x68], rax
xor eax, eax
mov dword [rsp + 0x20], eax
lea edx, [rax + 0x3a]
call fcn.1800258c0
mov r9d, 0xfffffffa
mov dword [rbp + 0x58], eax
mov r8, rbx
mov edx, eax
mov rcx, r14
call fcn.180025f00
mov edi, dword [rsi + 0x54]
inc edi
mov dword [rsp + 0x78], edi
inc edi
mov dword [rbp - 0x2c], edi
lea eax, [rdi + 1]
mov dword [rsi + 0x54], eax
mov rbx, qword [r14 + 0x30]
mov dword [rsp + 0x68], eax
mov edx, dword [rbx + 0x78]
mov dword [rbp - 0x28], edx
lea eax, [rdx + 1]
mov dword [rbx + 0x78], eax
lea eax, [rdx - 1]
test edx, eax
jne 0x18006c8c4
mov rcx, qword [rbx]
lea eax, [rdx*2 + 1]
mov rdx, qword [rbx + 0x80]
movsxd r8, eax
shl r8, 2
call fcn.180005330
mov edx, dword [rbp - 0x28]
mov qword [rbx + 0x80], rax
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x18006c8da
movsxd rax, edx
mov dword [rcx + rax*4], 0xffffffff
inc dword [rsi + 0x54]
mov eax, edx
mov rbx, qword [r14 + 0x30]
not eax
mov dword [rbp + 0x50], eax
mov eax, dword [rsi + 0x54]
mov dword [rsp + 0x50], eax
mov edx, dword [rbx + 0x78]
mov dword [rbp - 0x24], edx
lea eax, [rdx + 1]
mov dword [rbx + 0x78], eax
lea eax, [rdx - 1]
test edx, eax
jne 0x18006c929
mov rcx, qword [rbx]
lea eax, [rdx*2 + 1]
mov rdx, qword [rbx + 0x80]
movsxd r8, eax
shl r8, 2
call fcn.180005330
mov edx, dword [rbp - 0x24]
mov qword [rbx + 0x80], rax
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x18006c93f
movsxd rax, edx
mov dword [rcx + rax*4], 0xffffffff
mov ecx, dword [rsi + 0x54]
mov r15d, edx
mov edx, dword [r13]
not r15d
add edx, ecx
mov dword [rbp + 0x54], r15d
mov dword [rsi + 0x54], edx
mov r9d, edi
lea ebx, [rcx + 1]
xor r8d, r8d
mov ecx, dword [r13]
lea eax, [rdx + 1]
mov dword [rbp - 0x30], ebx
add ecx, edx
mov dword [rbp + 0x118], eax
xor eax, eax
mov dword [rsi + 0x54], ecx
mov rcx, r14
mov dword [rsp + 0x20], eax
lea edx, [rax + 0x19]
call fcn.1800258c0
mov r9d, dword [rsp + 0x78]
xor edi, edi
xor r8d, r8d
mov dword [rsp + 0x20], edi
mov rcx, r14
lea edx, [rdi + 0x19]
call fcn.1800258c0
mov ecx, dword [r13]
lea edx, [rdi + 0x1c]
dec ecx
mov r9d, ebx
add ecx, ebx
xor r8d, r8d
mov dword [rsp + 0x20], ecx
mov rcx, r14
call fcn.1800258c0
mov r8d, dword [rsp + 0x50]
lea edx, [rdi + 0x11]
mov r9d, r15d
mov dword [rsp + 0x20], edi
mov rcx, r14
call fcn.1800258c0
cmp dword [rbp - 0x80], edi
mov ecx, 0x900
mov r8, qword [rbp - 0x38]
mov eax, 0x100
mov rdx, qword [rsp + 0x60]
cmovne ax, cx
mov dword [rsp + 0x30], edi
mov r9, r13
mov word [rsp + 0x28], ax
mov rcx, rsi
mov qword [rsp + 0x20], rdi
call fcn.18007d960
mov qword [rbp - 0x38], rax
test rax, rax
je 0x18006d91d
movsx ecx, byte [rax + 0x34]
cmp ecx, dword [r13]
jne 0x18006ca29
mov r15d, edi
mov dword [rbp + 0x100], edi
jmp 0x18006cc5a
cmp byte [rbp - 0x78], dil
je 0x18006ca3e
test byte [r12 + 0xa], 1
lea rdx, str.DISTINCT
je 0x18006ca45
lea rdx, str.GROUP_BY
mov rcx, rsi
call fcn.1800659c0
mov ebx, dword [r13]
mov edi, ebx
mov ecx, dword [rbp + 0x18]
mov edx, ebx
mov dword [rbp + 0x100], 1
test ecx, ecx
jle 0x18006ca8e
mov r8, qword [rbp + 0x10]
mov r9d, ecx
add r8, 0x10
cmp dword [r8], edx
lea eax, [rdi + 1]
lea r8, [r8 + 0x20]
cmovl eax, edi
mov edi, eax
lea eax, [rdx + 1]
cmovl eax, edx
mov edx, eax
sub r9, 1
jne 0x18006ca71
mov ecx, dword [rsi + 0x44]
mov r13d, dword [rsi + 0x48]
cmp edi, ecx
jg 0x18006caa7
lea eax, [rdi + r13]
sub ecx, edi
mov dword [rsi + 0x48], eax
mov dword [rsi + 0x44], ecx
jmp 0x18006cab3
mov eax, dword [rsi + 0x54]
lea r13d, [rax + 1]
add eax, edi
mov dword [rsi + 0x54], eax
mov rcx, rsi
call fcn.18003d8f0
mov rdx, qword [rbp - 0x68]
mov r8d, r13d
xor r9d, r9d
call fcn.18003ef40
mov ecx, dword [rbp + 0x18]
xor r15d, r15d
mov r12d, r15d
test ecx, ecx
jle 0x18006cb3c
add ebx, r13d
nop word [rax + rax]
mov rdx, qword [rbp + 0x10]
mov eax, ebx
add rdx, r15
sub eax, r13d
cmp dword [rdx + 0x10], eax
jl 0x18006cb2d
mov r9d, dword [rdx + 8]
mov rcx, rsi
mov r8d, dword [rdx + 0xc]
mov rdx, qword [rdx]
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], ebx
call fcn.18003d780
cmp ebx, eax
je 0x18006cb28
xor ecx, ecx
mov r9d, ebx
mov dword [rsp + 0x20], ecx
mov r8d, eax
lea edx, [rcx + 0x22]
mov rcx, r14
call fcn.1800258c0
mov ecx, dword [rbp + 0x18]
inc ebx
inc r12d
add r15, 0x20
cmp r12d, ecx
jl 0x18006cae0
xor r15d, r15d
movzx eax, byte [rsi + 0x1f]
test al, al
jne 0x18006cb4c
inc dword [rsi + 0x54]
mov ebx, dword [rsi + 0x54]
jmp 0x18006cb58
dec al
movzx eax, al
mov byte [rsi + 0x1f], al
mov ebx, dword [rsi + rax*4 + 0x24]
mov r9d, edi
mov dword [rsp + 0x20], ebx
mov r8d, r13d
mov edx, 0x31
mov rcx, r14
call fcn.1800258c0
mov r8d, dword [rbp - 0xc]
mov r9d, ebx
mov edx, 0x6d
mov dword [rsp + 0x20], r15d
mov rcx, r14
call fcn.1800258c0
test ebx, ebx
je 0x18006cbbd
movzx edx, byte [rsi + 0x1f]
cmp dl, 8
jae 0x18006cbbd
mov ecx, r15d
lea rax, [rsi + 0x88]
nop
cmp dword [rax + 0xc], ebx
je 0x18006cbb9
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x18006cba0
mov dword [rsi + rdx*4 + 0x24], ebx
inc byte [rsi + 0x1f]
jmp 0x18006cbbd
mov byte [rax + 6], 1
mov r8d, edi
mov edx, r13d
mov rcx, rsi
call fcn.18003d210
cmp edi, dword [rsi + 0x44]
jle 0x18006cbd7
mov dword [rsi + 0x44], edi
mov dword [rsi + 0x48], r13d
mov rcx, qword [rbp - 0x38]
call fcn.18007e690
mov ecx, dword [rsi + 0x50]
mov dword [rbp - 0x5c], ecx
mov dword [rbp - 8], ecx
lea eax, [rcx + 1]
mov dword [rsi + 0x50], eax
movzx eax, byte [rsi + 0x1f]
test al, al
jne 0x18006cbff
inc dword [rsi + 0x54]
mov eax, dword [rsi + 0x54]
jmp 0x18006cc0b
dec al
movzx eax, al
mov byte [rsi + 0x1f], al
mov eax, dword [rsi + rax*4 + 0x24]
mov r8d, ecx
mov dword [rbp - 0x60], eax
mov rcx, r14
mov dword [rsp + 0x20], edi
mov r9d, eax
mov edx, 0x3c
call fcn.1800258c0
mov r9d, dword [rsp + 0x7c]
xor edi, edi
mov r8d, dword [rbp - 0xc]
mov rcx, r14
mov dword [rsp + 0x20], edi
lea edx, [rdi + 0x6a]
call fcn.1800258c0
mov rcx, rsi
mov byte [rbp - 0xf], 1
call fcn.18003d8f0
mov rax, qword [rbp - 0x38]
mov r13, qword [rbp - 0x68]
mov r15d, dword [rbp + 0x100]
cmp dword [rbp - 0x80], 0
je 0x18006ccbe
mov rcx, qword [rsp + 0x58]
test byte [rcx + 0x4c], 4
jne 0x18006ccbe
test r15d, r15d
jne 0x18006cc76
cmp byte [rax + 0x35], r15b
je 0x18006ccbe
mov qword [rbp - 0x58], rdi
movsxd rdi, dword [rbp - 0x40]
cmp edi, dword [r14 + 0x3c]
jge 0x18006ccbe
mov rax, qword [r14 + 8]
lea rcx, [rdi + rdi*2]
movsx edx, byte [rax + rcx*8 + 1]
lea rbx, [rax + rcx*8]
mov r8, qword [rbx + 0x10]
mov rcx, qword [r14]
call fcn.180025c40
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov byte [rbx], 0x9a
mov eax, dword [r14 + 0x3c]
dec eax
cmp edi, eax
jne 0x18006ccbe
mov dword [r14 + 0x3c], eax
mov r12d, dword [r14 + 0x3c]
mov rcx, rsi
mov dword [rbp - 0x80], r12d
call fcn.18003d8f0
test r15d, r15d
je 0x18006ccef
mov eax, dword [rbp - 0x5c]
mov edx, 0x64
mov r9d, dword [rbp - 0x60]
mov rcx, r14
mov r8d, dword [rbp - 0xc]
mov dword [rsp + 0x20], eax
call fcn.1800258c0
mov eax, dword [r13]
xor ecx, ecx
mov ebx, ecx
test eax, eax
jle 0x18006cdaa
mov r12d, dword [rbp + 0x100]
mov r15d, ecx
nop dword [rax]
test r12d, r12d
je 0x18006cd6f
movsxd rdi, dword [r14 + 0x3c]
mov rax, qword [r14 + 0x30]
mov ecx, edi
cmp dword [rax + 0x60], edi
jg 0x18006cd34
mov rcx, r14
call fcn.180025810
test eax, eax
jne 0x18006cd8d
mov ecx, dword [r14 + 0x3c]
lea eax, [rcx + 1]
mov dword [r14 + 0x3c], eax
lea rcx, [rdi + rdi*2]
mov rax, qword [r14 + 8]
mov word [rax + rcx*8], 0x2f
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 8], ebx
lea rdx, [rax + rcx*8]
mov eax, dword [rbp - 0x5c]
mov dword [rdx + 4], eax
mov eax, dword [rbp + 0x118]
add eax, ebx
xor ecx, ecx
mov dword [rdx + 0xc], eax
mov qword [rdx + 0x10], rcx
jmp 0x18006cd8d
mov r8d, dword [rbp + 0x118]
mov rcx, rsi
mov byte [rbp - 0x10], 1
add r8d, ebx
mov rdx, qword [r13 + 8]
mov rdx, qword [rdx + r15]
call fcn.18003eee0
mov eax, dword [r13]
inc ebx
add r15, 0x28
cmp ebx, eax
jl 0x18006cd10
mov r12d, dword [rbp - 0x80]
mov r15d, dword [rbp + 0x100]
mov rbx, qword [rbp + 0x68]
test rbx, rbx
je 0x18006cdb9
inc dword [rbx]
mov eax, dword [r13]
mov r9d, dword [rbp + 0x118]
mov edx, 0x2a
mov r8d, dword [rbp - 0x30]
mov rcx, r14
mov dword [rsp + 0x20], eax
call fcn.1800258c0
mov r9d, 0xfffffffa
mov r8, rbx
mov edx, eax
mov rcx, r14
call fcn.180025f00
mov edi, dword [r14 + 0x3c]
mov rax, qword [r14 + 0x30]
mov ecx, edi
cmp dword [rax + 0x60], edi
jg 0x18006ce07
mov rcx, r14
call fcn.180025810
test eax, eax
jne 0x18006ce3d
mov ecx, dword [r14 + 0x3c]
lea eax, [rcx + 1]
mov dword [r14 + 0x3c], eax
movsxd rax, edi
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
mov word [rax + rcx*8], 0x2b
mov byte [rax + rcx*8 + 3], 0
lea r8, [rax + rcx*8]
xor ecx, ecx
lea eax, [rdi + 1]
mov dword [r8 + 8], ecx
mov dword [r8 + 4], eax
mov dword [r8 + 0xc], eax
mov qword [r8 + 0x10], rcx
mov ebx, dword [r13]
mov edx, 0x20
mov r9d, dword [rbp - 0x30]
mov r8d, dword [rbp + 0x118]
mov rcx, qword [rsi + 0x10]
mov dword [rsp + 0x20], ebx
call fcn.1800258c0
mov edx, dword [rbp + 0x118]
mov r8d, ebx
mov rcx, rsi
call fcn.18003d210
mov r13d, dword [rbp + 0x50]
xor ebx, ebx
mov r8d, dword [rsp + 0x68]
mov r9d, r13d
mov rcx, r14
mov dword [rsp + 0x20], ebx
lea edx, [rbx + 0x11]
call fcn.1800258c0
mov r9d, dword [rsp + 0x7c]
mov edx, 0x89
mov r8d, dword [rbp - 0x2c]
mov rcx, r14
mov dword [rsp + 0x20], ebx
call fcn.1800258c0
mov r9d, dword [rbp + 0x54]
lea edx, [rbx + 0x11]
mov r8d, dword [rsp + 0x50]
mov rcx, r14
mov dword [rsp + 0x20], ebx
call fcn.1800258c0
mov edx, dword [r14 + 0x3c]
cmp edx, edi
jbe 0x18006ced6
mov rax, qword [r14 + 8]
lea rcx, [rdi + rdi*2]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [r14 + 0x3c]
mov rax, qword [r14 + 0x30]
lea ecx, [rdx - 1]
lea rdx, [rbp - 0x10]
mov dword [rax + 0x64], ecx
mov rcx, rsi
call fcn.18006b7d0
mov edx, 0x19
mov dword [rsp + 0x20], ebx
mov ebx, dword [rsp + 0x78]
mov rcx, r14
mov r9d, ebx
lea r8d, [rdx - 0x18]
call fcn.1800258c0
test r15d, r15d
je 0x18006cf27
mov r8d, dword [rbp - 0xc]
xor eax, eax
mov r9d, r12d
mov dword [rsp + 0x20], eax
mov rcx, r14
lea edx, [rax + 5]
call fcn.1800258c0
jmp 0x18006cf78
mov rcx, qword [rbp - 0x38]
call fcn.18007e690
movsxd rdi, dword [rbp + 0x58]
cmp edi, dword [r14 + 0x3c]
jge 0x18006cf78
mov rax, qword [r14 + 8]
lea rcx, [rdi + rdi*2]
movsx edx, byte [rax + rcx*8 + 1]
lea rbx, [rax + rcx*8]
mov r8, qword [rbx + 0x10]
mov rcx, qword [r14]
call fcn.180025c40
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov byte [rbx], 0x9a
mov eax, dword [r14 + 0x3c]
mov ebx, dword [rsp + 0x78]
dec eax
cmp edi, eax
jne 0x18006cf78
mov dword [r14 + 0x3c], eax
mov edi, dword [rsp + 0x68]
xor r12d, r12d
mov r9d, r13d
mov dword [rsp + 0x20], r12d
mov r8d, edi
mov rcx, r14
lea edx, [r12 + 0x11]
call fcn.1800258c0
mov r9d, dword [rsp + 0x7c]
lea edx, [r12 + 0x10]
xor r8d, r8d
mov dword [rsp + 0x20], r12d
mov rcx, r14
call fcn.1800258c0
mov eax, dword [r14 + 0x3c]
lea edx, [r12 + 0x19]
mov r9d, dword [rbp - 0x2c]
lea r8d, [r12 + 1]
mov rcx, r14
mov dword [rbp + 0x100], eax
mov dword [rsp + 0x20], r12d
call fcn.1800258c0
xor r9d, r9d
mov dword [rsp + 0x20], r12d
mov r8d, edi
lea edx, [r12 + 0x12]
mov rcx, r14
call fcn.1800258c0
movsxd rax, dword [rbp - 0x28]
mov r10, qword [r14 + 0x30]
test eax, eax
js 0x18006d011
mov r9, qword [r10 + 0x80]
test r9, r9
je 0x18006d011
mov rcx, rax
mov eax, dword [r14 + 0x3c]
mov dword [r9 + rcx*4], eax
mov eax, dword [r14 + 0x3c]
mov r8d, ebx
dec eax
mov dword [rsp + 0x20], r12d
mov dword [r10 + 0x64], eax
mov edx, 0x89
mov r13d, dword [r14 + 0x3c]
mov rcx, r14
lea r9d, [r13 + 2]
call fcn.1800258c0
xor r9d, r9d
mov dword [rsp + 0x20], r12d
mov r8d, edi
mov rcx, r14
lea edx, [r9 + 0x12]
call fcn.1800258c0
mov r12, qword [rsi + 0x10]
xor edx, edx
mov r15d, edx
cmp dword [rbp + 0x28], edx
jle 0x18006d0c6
mov rdi, qword [rbp + 0x20]
add rdi, 0x10
nop word [rax + rax]
mov rax, qword [rdi - 0x10]
mov rcx, qword [rax + 0x20]
test rcx, rcx
je 0x18006d082
mov r9d, dword [rcx]
jmp 0x18006d085
mov r9d, edx
mov r8d, dword [rdi]
mov rcx, r12
mov rbx, qword [rdi - 8]
mov dword [rsp + 0x20], edx
mov edx, 0x8c
call fcn.1800258c0
mov r9d, 0xfffffffb
mov r8, rbx
mov edx, eax
mov rcx, r12
call fcn.180025f00
inc r15d
add rdi, 0x18
mov edx, 0
cmp r15d, dword [rbp + 0x28]
jl 0x18006d070
mov edi, dword [rsp + 0x68]
mov rdx, qword [rbp + 0x60]
lea ebx, [r13 + 1]
mov r8d, ebx
mov r9d, 0x10
mov rcx, rsi
call fcn.18003f6d0
mov eax, dword [rbp + 0x100]
mov r9d, 0xffffffff
mov r12, qword [rbp + 0x108]
mov rcx, rsi
mov dword [rsp + 0x40], eax
mov rdx, r12
mov rax, qword [rbp + 0x110]
mov dword [rsp + 0x38], ebx
mov r8, qword [r12]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
call fcn.180064c30
xor r13d, r13d
xor r9d, r9d
mov r8d, edi
mov dword [rsp + 0x20], r13d
mov rcx, r14
lea edx, [r13 + 0x12]
call fcn.1800258c0
movsxd rax, dword [rbp - 0x24]
mov r10, qword [r14 + 0x30]
test eax, eax
js 0x18006d164
mov r9, qword [r10 + 0x80]
test r9, r9
je 0x18006d164
mov rcx, rax
mov eax, dword [r14 + 0x3c]
mov dword [r9 + rcx*4], eax
mov eax, dword [r14 + 0x3c]
lea rdx, [rbp - 0x10]
dec eax
mov rcx, rsi
mov dword [r10 + 0x64], eax
call fcn.18006b6d0
mov r8d, dword [rsp + 0x50]
xor r9d, r9d
mov rcx, r14
mov dword [rsp + 0x20], r13d
lea edx, [r9 + 0x12]
call fcn.1800258c0
jmp 0x18006d7bd
xor r9d, r9d
mov r13d, r9d
mov qword [rbp + 0x118], r9
cmp qword [r12 + 0x30], r9
jne 0x18006d4ee
mov rax, qword [r12]
cmp dword [rax], 1
jne 0x18006d4ee
mov r15, qword [r12 + 0x28]
cmp dword [r15], 1
jne 0x18006d4e9
cmp qword [r15 + 0x30], r9
jne 0x18006d4e9
mov r15, qword [r15 + 0x28]
test byte [r15 + 0x48], 0x10
jne 0x18006d4e9
mov rax, qword [rax + 8]
mov rdx, qword [rax]
cmp byte [rdx], 0x9b
jne 0x18006d4e9
test r8d, r8d
je 0x18006d4e9
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 8]
mov eax, 0x100
test word [rcx + 2], ax
je 0x18006d4e9
test byte [rdx + 4], 0x10
jne 0x18006d4e9
mov rdx, qword [r15 + 0x70]
mov ebx, 0xfff0bdc0
test rdx, rdx
je 0x18006d263
mov rax, qword [rsi]
mov ebx, r9d
movsxd rcx, dword [rax + 0x28]
test ecx, ecx
jle 0x18006d263
mov rax, qword [rax + 0x20]
mov r8, rcx
add rax, 0x18
mov ecx, r9d
nop dword [rax]
cmp qword [rax], rdx
je 0x18006d263
inc ebx
inc rcx
add rax, 0x20
cmp rcx, r8
jl 0x18006d250
mov r13d, dword [rsi + 0x50]
mov rcx, rsi
mov r12, r9
mov rdi, r9
lea eax, [r13 + 1]
mov dword [rsi + 0x50], eax
mov eax, dword [r15 + 0x3c]
mov dword [rbp + 0x100], eax
mov rax, qword [rsi + 0x1c0]
test rax, rax
cmovne rcx, rax
mov eax, dword [rcx + 0x16c]
bt eax, ebx
jb 0x18006d2cd
bts eax, ebx
movsxd r9, ebx
mov dword [rcx + 0x16c], eax
mov r8, r9
mov rax, qword [rcx]
shl r8, 5
mov rdx, qword [rax + 0x20]
mov rax, qword [r8 + rdx + 0x18]
mov edx, dword [rax]
mov dword [rcx + r9*4 + 0x170], edx
cmp ebx, 1
jne 0x18006d2cd
call fcn.18004c720
mov rax, qword [r15]
xor r9d, r9d
mov r8d, dword [r15 + 0x3c]
mov edx, ebx
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.180044ea0
test byte [r15 + 0x48], 0x20
je 0x18006d308
mov rdi, qword [r15 + 0x10]
test rdi, rdi
je 0x18006d308
mov eax, dword [rdi + 0x64]
and al, 3
cmp al, 2
je 0x18006d308
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x18006d2f6
mov rax, qword [r15 + 0x10]
test rax, rax
je 0x18006d33f
test byte [rax + 0x64], 4
jne 0x18006d336
movzx ecx, word [rax + 0x5c]
cmp cx, word [r15 + 0x46]
jge 0x18006d336
cmp qword [rax + 0x48], r12
jne 0x18006d336
test rdi, rdi
je 0x18006d333
cmp cx, word [rdi + 0x5c]
jge 0x18006d336
mov rdi, rax
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x18006d311
test rdi, rdi
je 0x18006d35b
mov eax, dword [rdi + 0x58]
mov rdx, rdi
mov rcx, rsi
mov dword [rbp + 0x100], eax
call fcn.18004d4e0
mov r12, rax
mov r9d, dword [rbp + 0x100]
mov r8d, r13d
mov edx, 0x36
mov dword [rsp + 0x20], ebx
mov rcx, r14
call fcn.1800258c0
mov r8, qword [r14 + 8]
mov rcx, qword [r14]
test r8, r8
je 0x18006d3c0
cmp byte [rcx + 0x50], 0
jne 0x18006d3c0
test eax, eax
jns 0x18006d392
mov eax, dword [r14 + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rbx, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rbx + 0x10]
call fcn.180025c40
xor eax, eax
mov byte [rbx + 1], 0xf2
mov qword [rbx + 0x10], rax
mov dword [rbx + 0x10], 1
jmp 0x18006d3ce
mov edx, 0xfffffff2
lea r8d, [rdx + 0xf]
call fcn.180025c40
test r12, r12
je 0x18006d41d
mov r8, qword [r14 + 8]
mov rcx, qword [r14]
test r8, r8
je 0x18006d410
cmp byte [rcx + 0x50], 0
jne 0x18006d410
movsxd rax, dword [r14 + 0x3c]
lea rdx, [rax + rax*2]
lea rbx, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 - 0x17]
mov r8, qword [rbx - 8]
call fcn.180025c40
mov qword [rbx - 8], r12
mov byte [rbx - 0x17], 0xfa
jmp 0x18006d41d
mov r8, r12
mov edx, 0xfffffffa
call fcn.180025c40
mov rax, qword [rbp + 0x20]
xor ebx, ebx
mov r8d, r13d
mov dword [rsp + 0x20], ebx
mov rcx, r14
mov r9d, dword [rax + 0x10]
lea edx, [rbx + 0x32]
call fcn.1800258c0
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov r8d, r13d
lea edx, [rbx + 0x3d]
mov rcx, r14
call fcn.1800258c0
cmp byte [rsi + 0x1f2], 2
jne 0x18006d752
lea r9, [0x1800e7940]
test rdi, rdi
je 0x18006d47f
test byte [r15 + 0x48], 0x20
je 0x18006d477
mov eax, dword [rdi + 0x64]
and al, 3
cmp al, 2
je 0x18006d47f
mov rax, qword [rdi]
xor r13d, r13d
jmp 0x18006d489
xor r13d, r13d
mov rax, r9
mov dword [rbp + 0x30], r13d
cmp dword [rbp + 0x30], ebx
lea rdx, str._USING_COVERING_INDEX
mov r8, qword [r15]
mov rcx, qword [rsi]
cmovne r9, rdx
lea rdx, str.SCAN_TABLE__s_s_s
mov qword [rsp + 0x20], rax
call fcn.180006db0
mov rdi, qword [rsi + 0x10]
xor r9d, r9d
mov r8d, dword [rsi + 0x200]
mov rcx, rdi
mov edx, 0x9b
mov dword [rsp + 0x20], r13d
mov rbx, rax
call fcn.1800258c0
mov r9d, 0xffffffff
mov r8, rbx
mov edx, eax
mov rcx, rdi
call fcn.180025f00
jmp 0x18006d755
mov r15, qword [rsp + 0x58]
xor dil, dil
mov rbx, r9
cmp qword [r12 + 0x40], r9
jne 0x18006d66c
mov edi, r9d
cmp r8d, 1
jne 0x18006d623
mov rax, qword [rbp + 0x20]
mov r10, qword [rax]
mov r15, qword [r10 + 0x20]
test r15, r15
je 0x18006d623
cmp dword [r15], r8d
jne 0x18006d623
mov rax, qword [r15 + 8]
mov rcx, qword [rax]
cmp byte [rcx], 0x9c
jne 0x18006d623
mov r10, qword [r10 + 8]
lea rdx, [0x1800eabb4]
lea r12, [0x180000000]
movzx r8d, byte [r10]
movzx r9d, r8b
test r8b, r8b
je 0x18006d590
mov r11, r10
movzx ecx, r8b
sub r11, rdx
movzx eax, byte [rdx]
movzx r9d, cl
movzx ecx, cl
movzx eax, byte [rax + r12 + 0xeec60]
cmp byte [rcx + r12 + 0xeec60], al
jne 0x18006d590
movzx ecx, byte [rdx + r11 + 1]
inc rdx
movzx r9d, cl
test cl, cl
jne 0x18006d562
movzx eax, byte [rdx]
movzx ecx, byte [rax + r12 + 0xeec60]
movzx eax, r9b
movzx eax, byte [rax + r12 + 0xeec60]
cmp eax, ecx
jne 0x18006d5b4
mov edi, 1
jmp 0x18006d620
lea rdx, [0x1800eabb8]
test r8b, r8b
je 0x18006d5fe
movzx eax, r8b
sub r10, rdx
nop word [rax + rax]
movzx ecx, al
movzx r8d, al
movzx eax, byte [rdx]
movzx eax, byte [rax + r12 + 0xeec60]
cmp byte [rcx + r12 + 0xeec60], al
jne 0x18006d5fe
movzx eax, byte [r10 + rdx + 1]
inc rdx
movzx r8d, al
test al, al
jne 0x18006d5d0
movzx eax, r8b
movzx ecx, byte [rax + r12 + 0xeec60]
movzx eax, byte [rdx]
movzx eax, byte [rax + r12 + 0xeec60]
cmp ecx, eax
jne 0x18006d623
mov edi, 2
mov rbx, r15
mov r15, qword [rsp + 0x58]
test dil, dil
je 0x18006d66c
xor r8d, r8d
mov rdx, rbx
mov rcx, r15
call fcn.18003aae0
mov qword [rbp + 0x118], rax
mov rbx, rax
mov r13, rax
test rax, rax
je 0x18006d66c
cmp byte [r15 + 0x50], 0
jne 0x18006d66c
mov rax, qword [rax + 8]
cmp dil, 1
setne cl
mov byte [rax + 0x18], cl
mov rax, qword [rbx + 8]
mov rcx, qword [rax]
mov byte [rcx], 0x9a
lea rdx, [rbp - 0x10]
mov rcx, rsi
call fcn.18006b6d0
mov r8, qword [rbp - 0x38]
xor ecx, ecx
mov rdx, qword [rsp + 0x60]
mov r9, rbx
mov dword [rsp + 0x30], ecx
movzx eax, dil
mov word [rsp + 0x28], ax
mov qword [rsp + 0x20], rcx
mov rcx, rsi
call fcn.18007d960
mov rbx, rax
test rax, rax
jne 0x18006d6b8
mov rdx, r13
mov rcx, r15
call fcn.18003b300
jmp 0x18006d922
lea rdx, [rbp - 0x10]
mov rcx, rsi
call fcn.18006b7d0
xor r13d, r13d
cmp byte [rbx + 0x34], r13b
jle 0x18006d6e5
mov r9d, dword [rbx + 0x44]
lea edx, [r13 + 0x10]
xor r8d, r8d
mov dword [rsp + 0x20], r13d
mov rcx, r14
call fcn.1800258c0
mov rcx, rbx
call fcn.18007e690
cmp dword [rbp + 0x28], 0
mov r15d, r13d
mov r12, qword [rsi + 0x10]
jle 0x18006d755
mov rdi, qword [rbp + 0x20]
add rdi, 0x10
mov rax, qword [rdi - 0x10]
mov rcx, qword [rax + 0x20]
test rcx, rcx
je 0x18006d714
mov r9d, dword [rcx]
jmp 0x18006d717
mov r9d, r13d
mov r8d, dword [rdi]
mov edx, 0x8c
mov rbx, qword [rdi - 8]
mov rcx, r12
mov dword [rsp + 0x20], r13d
call fcn.1800258c0
mov r9d, 0xfffffffb
mov r8, rbx
mov edx, eax
mov rcx, r12
call fcn.180025f00
inc r15d
add rdi, 0x18
cmp r15d, dword [rbp + 0x28]
jl 0x18006d702
jmp 0x18006d755
xor r13d, r13d
mov ebx, dword [rsp + 0x7c]
mov r9d, 0x10
mov rdx, qword [rbp + 0x60]
mov r8d, ebx
mov rcx, rsi
mov qword [rbp - 0x58], r13
call fcn.18003f6d0
mov r12, qword [rbp + 0x108]
mov r9d, 0xffffffff
mov rax, qword [rbp + 0x110]
mov rdx, r12
mov dword [rsp + 0x40], ebx
mov rcx, rsi
mov dword [rsp + 0x38], ebx
mov r8, qword [r12]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call fcn.180064c30
mov rdx, qword [rbp + 0x118]
mov rcx, qword [rsp + 0x58]
call fcn.18003b300
movsxd rax, dword [rbp - 0x20]
mov rdx, qword [r14 + 0x30]
test eax, eax
js 0x18006d7e0
mov r8, qword [rdx + 0x80]
test r8, r8
je 0x18006d7e0
mov rcx, rax
mov eax, dword [r14 + 0x3c]
mov dword [r8 + rcx*4], eax
mov eax, dword [r14 + 0x3c]
mov r13, qword [rsp + 0x70]
dec eax
mov dword [rdx + 0x64], eax
cmp byte [rbp - 0x77], 3
jne 0x18006d84c
cmp byte [rsi + 0x1f2], 2
jne 0x18006d84c
mov rcx, qword [rsi]
lea r8, str.DISTINCT
mov rdi, qword [rsi + 0x10]
lea rdx, str.USE_TEMP_B_TREE_FOR__s
call fcn.180006db0
mov r8d, dword [rsi + 0x200]
xor r15d, r15d
xor r9d, r9d
mov dword [rsp + 0x20], r15d
mov edx, 0x9b
mov rcx, rdi
mov rbx, rax
call fcn.1800258c0
lea r9d, [r15 - 1]
mov r8, rbx
mov edx, eax
mov rcx, rdi
call fcn.180025f00
jmp 0x18006d84f
xor r15d, r15d
cmp qword [rbp - 0x58], 0
je 0x18006d8df
cmp dword [rbp - 0x50], 0
lea rax, str.RIGHT_PART_OF_ORDER_BY
lea r8, str.ORDER_BY
cmovg r8, rax
cmp byte [rsi + 0x1f2], 2
jne 0x18006d8be
mov rcx, qword [rsi]
lea rdx, str.USE_TEMP_B_TREE_FOR__s
mov rdi, qword [rsi + 0x10]
call fcn.180006db0
mov r8d, dword [rsi + 0x200]
xor r9d, r9d
mov edx, 0x9b
mov dword [rsp + 0x20], r15d
mov rcx, rdi
mov rbx, rax
call fcn.1800258c0
mov r9d, 0xffffffff
mov r8, rbx
mov edx, eax
mov rcx, rdi
call fcn.180025f00
mov rdi, qword [rbp + 0x110]
lea r8, [rbp - 0x58]
mov r9d, dword [r13]
mov rdx, r12
mov rcx, rsi
mov qword [rsp + 0x20], rdi
call fcn.180065b10
jmp 0x18006d8e6
mov rdi, qword [rbp + 0x110]
movsxd rax, dword [rbp - 0x1c]
mov r9, qword [r14 + 0x30]
test eax, eax
js 0x18006d908
mov rdx, qword [r9 + 0x80]
test rdx, rdx
je 0x18006d908
mov rcx, rax
mov eax, dword [r14 + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [r14 + 0x3c]
dec eax
mov dword [rbp + 0x30], r15d
mov r15, qword [rsp + 0x58]
mov dword [r9 + 0x64], eax
jmp 0x18006d92e
mov r15, qword [rsp + 0x58]
mov rdi, qword [rbp + 0x110]
mov r13, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x60]
mov rbx, qword [rbp + 0x30]
mov ecx, dword [rbp - 0x18]
mov dword [rsi + 0x200], ecx
test ebx, ebx
jne 0x18006d954
cmp byte [rdi], 9
jne 0x18006d954
mov r8, r13
mov rcx, rsi
call fcn.180066350
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x18006d9a5
cmp qword [r15 + 0x320], 0
je 0x18006d974
mov rdx, rcx
mov rcx, r15
call fcn.180004e30
jmp 0x18006d9a5
cmp rcx, qword [r15 + 0x168]
jb 0x18006d9a0
cmp rcx, qword [r15 + 0x170]
jae 0x18006d9a0
mov rax, qword [r15 + 0x160]
mov qword [rcx], rax
dec dword [r15 + 0x14c]
mov qword [r15 + 0x160], rcx
jmp 0x18006d9a5
call fcn.180004d80
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x18006da08
cmp qword [r15 + 0x320], 0
je 0x18006d9ca
mov rdx, rcx
mov rcx, r15
call fcn.180004e30
mov eax, ebx
jmp 0x18006c22d
mov rcx, qword [rbp + 0x20]
cmp rcx, qword [r15 + 0x168]
jb 0x18006d9ff
cmp rcx, qword [r15 + 0x170]
jae 0x18006d9ff
mov rax, qword [r15 + 0x160]
mov qword [rcx], rax
mov eax, ebx
dec dword [r15 + 0x14c]
mov qword [r15 + 0x160], rcx
jmp 0x18006c22d
mov rcx, qword [rbp + 0x20]
call fcn.180004d80
mov eax, ebx
jmp 0x18006c22d