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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
lea rbp, [rax - 0xd8]
sub rsp, 0x1b8
xor eax, eax
mov rsi, rdx
mov rdi, rcx
mov qword [rbp + 0x10], rax
mov rax, qword [rcx]
mov ebx, 1
mov qword [rsp + 0x70], rax
call fcn.180083ee8
mov qword [rsp + 0x40], rax
xor eax, eax
test rsi, rsi
je 0x18008b20c
cmp dword [rdi + 0x30], eax
jne 0x18008b20c
lea edx, [rbx + 0x14]
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.180068fb0
xor ecx, ecx
test eax, eax
jne 0x18008b20c
mov rax, qword [rbp + 0xf0]
cmp byte [rax], 6
ja 0x180089203
mov r8, qword [rsi + 0x48]
test r8, r8
je 0x1800891fa
lea rdx, [0x18005e304]
mov rcx, rdi
call fcn.180080674
xor ecx, ecx
mov qword [rsi + 0x48], rcx
and dword [rsi + 4], 0xfffffffe
bts dword [rsi + 4], 0x16
mov rax, qword [rdi]
cmp byte [rax + 0x67], cl
jne 0x18008921b
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call fcn.1800884f8
xor ecx, ecx
cmp dword [rdi + 0x30], ecx
jne 0x18008b204
mov r11d, dword [rsi + 4]
bt r11d, 0x17
jae 0x180089280
mov rdx, qword [rsi + 0x28]
lea rax, [rdx + 8]
mov rcx, rax
mov qword [rbp + 0xf8], rax
call fcn.180088fe4
xor ecx, ecx
test eax, eax
je 0x180089277
mov rax, qword [rbp + 0xf8]
mov r8, qword [rax + 0x18]
test r8, r8
jne 0x180089263
mov rax, qword [rax + 0x20]
mov r8, qword [rax]
lea rdx, str.target_object_alias_may_not_appear_in_FROM_clause:__s
mov rcx, rdi
call fcn.18002bda4
jmp 0x18008b204
btr r11d, 0x17
mov dword [rsi + 4], r11d
mov rax, qword [rbp + 0xf0]
cmp byte [rax], 9
jne 0x18008929f
cmp byte [rdi + 0x1c], cl
jne 0x18008929f
mov r8, qword [rdi]
mov rdx, rsi
mov rcx, rdi
call fcn.18008361c
mov rdx, rsi
mov rcx, rdi
call fcn.18009fc28
test eax, eax
jne 0x18008b204
mov rax, qword [rsi + 0x28]
xor edx, edx
lea rcx, [rbp + 0x48]
mov qword [rbp - 0x80], rax
mov eax, dword [rsi + 4]
lea r8d, [rdx + 0x30]
shr eax, 3
and eax, ebx
mov dword [rbp - 0x4c], eax
call fcn.1800c5900
mov rax, qword [rsi + 0x48]
xor r9d, r9d
mov qword [rbp - 0x68], rax
mov qword [rbp + 0x48], rax
mov dword [rbp + 0xf8], r9d
mov r11d, r9d
mov qword [rsp + 0x58], r9
lea ecx, [r9 + 0x40]
cmp qword [rsi + 0x50], r9
jne 0x1800895c3
mov r9, qword [rbp - 0x80]
mov eax, r11d
cmp eax, dword [r9]
jge 0x1800895ba
mov r10, r11
imul r10, r10, 0x68
mov qword [rbp], r10
test byte [r10 + r9 + 0x44], 0x48
mov rdx, qword [r10 + r9 + 0x30]
mov r8, qword [r10 + r9 + 0x28]
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x48], r8
je 0x180089433
movzx r8d, byte [r10 + r9 + 0x44]
mov edx, dword [r10 + r9 + 0x4c]
and r8d, ecx
mov rcx, qword [rsi + 0x30]
call fcn.180062f7c
mov r9, qword [rbp - 0x80]
mov r10, qword [rbp]
test eax, eax
je 0x18008941e
mov rax, qword [rsp + 0x70]
test dword [rax + 0x60], 0x2000
jne 0x18008941e
mov al, byte [r10 + r9 + 0x44]
mov r8d, 8
test r8b, al
je 0x180089393
test al, 0x10
je 0x18008938c
and al, 0xf7
jmp 0x18008938e
and al, 0xd7
mov byte [r10 + r9 + 0x44], al
test byte [r10 + r9 + 0x44], 0x40
mov r11, qword [rsp + 0x58]
je 0x180089405
mov edx, dword [rbp + 0xf8]
lea rax, [r11 + 1]
inc edx
cmp edx, dword [r9]
jge 0x1800893d8
imul rax, rax, 0x68
lea rcx, [rax + r9 + 0x44]
mov al, byte [rcx]
test al, 0x10
je 0x1800893cd
test r8b, al
je 0x1800893c9
and al, 0xef
jmp 0x1800893cb
and al, 0xcf
mov byte [rcx], al
add edx, ebx
add rcx, 0x68
cmp edx, dword [r9]
jl 0x1800893ba
mov eax, dword [r9]
sub eax, ebx
movsxd rdx, eax
cmp rdx, r11
jl 0x180089405
mov rax, rdx
imul rax, rax, 0x68
lea rcx, [rax + r9 + 0x44]
and byte [rcx], 0xbf
test byte [rcx], 0x10
jne 0x180089405
sub rdx, rbx
sub rcx, 0x68
cmp rdx, r11
jge 0x1800893f1
movzx r8d, byte [r9 + 0x44]
mov edx, dword [r10 + r9 + 0x4c]
mov rcx, qword [rsi + 0x30]
and r8d, 0x40
call fcn.180081620
jmp 0x180089423
mov r11, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
mov eax, dword [rbp + 0xf8]
mov r8, qword [rsp + 0x48]
test rdx, rdx
je 0x180089572
mov rax, qword [rdx + 0x20]
movsx ecx, word [r8 + 0x36]
cmp ecx, dword [rax]
jne 0x180089593
test dword [r10 + r9 + 0x48], 0x100
je 0x18008946c
mov rax, qword [r10 + r9 + 0x68]
xor r10d, r10d
cmp byte [rax + 0x12], r10b
je 0x180089565
jmp 0x18008946f
xor r10d, r10d
mov eax, 8
test byte [rdx + 4], al
jne 0x180089565
mov r8, qword [rdx + 0x48]
test r8, r8
je 0x1800894d3
cmp qword [rsi + 0x48], r10
jne 0x180089491
cmp dword [r9], ebx
jle 0x1800894d3
cmp qword [rdx + 0x60], r10
jne 0x1800894d3
mov eax, 0x8000000
test dword [rdx + 4], eax
jne 0x1800894d3
test dword [rsi + 4], eax
jne 0x1800894d3
mov rax, qword [rsp + 0x70]
test dword [rax + 0x60], 0x40000
jne 0x1800894d3
lea rdx, [0x18005e304]
mov rcx, rdi
call fcn.180080674
mov rdx, qword [rsp + 0x68]
mov r9, qword [rbp - 0x80]
xor r10d, r10d
mov qword [rdx + 0x48], r10
mov eax, dword [rbp + 0xf8]
cmp qword [rdx + 0x48], r10
je 0x1800894fb
test eax, eax
jne 0x1800894fb
test dword [rsi + 4], 0x40000
je 0x1800894fb
cmp dword [r9], ebx
je 0x18008956d
test byte [r9 + 0xac], 0x22
jne 0x18008956d
mov r9d, dword [rbp - 0x4c]
mov r8d, eax
mov rdx, rsi
mov rcx, rdi
call fcn.1800860bc
xor r11d, r11d
test eax, eax
je 0x18008952d
cmp dword [rdi + 0x30], r11d
jne 0x18008b204
or rax, 0xffffffffffffffff
mov dword [rbp + 0xf8], eax
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x70]
mov r9, qword [rsi + 0x28]
mov qword [rbp - 0x80], r9
cmp byte [rax + 0x67], r11b
jne 0x18008b204
mov rax, qword [rbp + 0xf0]
mov r11, qword [rsp + 0x58]
mov ecx, 8
cmp byte [rax], cl
jbe 0x180089565
mov rax, qword [rsi + 0x48]
mov qword [rbp - 0x68], rax
mov qword [rbp + 0x48], rax
mov eax, dword [rbp + 0xf8]
jmp 0x180089572
mov r11, qword [rsp + 0x58]
add eax, ebx
add r11, rbx
cmp qword [rsi + 0x50], 0
mov dword [rbp + 0xf8], eax
mov qword [rsp + 0x58], r11
jne 0x1800895ba
mov ecx, 0x40
jmp 0x180089307
mov eax, dword [rax]
mov r9, qword [rsp + 0x48]
movsx r8d, word [r8 + 0x36]
mov r9, qword [r9]
lea rdx, str.expected__d_columns_for__s_but_got__d
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.18002bda4
jmp 0x18008b204
xor r9d, r9d
cmp qword [rsi + 0x50], r9
je 0x1800895f0
mov r8, qword [rbp + 0xf0]
mov rdx, rsi
mov rcx, rdi
call fcn.180084694
mov r11d, eax
xor eax, eax
cmp qword [rsi + 0x58], rax
jne 0x1800895e8
mov rcx, rdi
call fcn.180048ef0
mov eax, r11d
jmp 0x18008b20e
mov rax, qword [rsi + 0x30]
test rax, rax
je 0x18008961a
cmp byte [rax], 0x2c
mov rax, qword [rsp + 0x70]
jne 0x18008961f
test dword [rax + 0x60], 0x8000
jne 0x18008961f
mov rdx, rsi
mov rcx, rdi
call fcn.180086c34
xor r9d, r9d
mov rax, qword [rsp + 0x70]
test dword [rax + 0x60], 0x201
jne 0x180089653
mov rdx, rsi
mov rcx, rdi
call fcn.180088db8
xor r9d, r9d
test eax, eax
je 0x180089653
mov rax, qword [rsp + 0x70]
cmp byte [rax + 0x67], r9b
jne 0x18008b204
mov rax, qword [rsi + 0x28]
mov qword [rbp - 0x80], rax
jmp 0x180089657
mov rax, qword [rbp - 0x80]
mov edx, r9d
lea rcx, [0x1800fa70b]
mov dword [rbp + 0xf8], edx
cmp dword [rax], r9d
jle 0x180089acf
add rax, 0x18
mov qword [rsp + 0x48], rax
cmp qword [rax + 0x40], r9
jne 0x1800896ae
mov r8, qword [rax]
test r8, r8
je 0x1800896ae
mov rax, qword [rax - 8]
mov r9, rcx
mov edx, 0x14
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.180068fb0
mov rax, qword [rsp + 0x48]
mov edx, dword [rbp + 0xf8]
xor r9d, r9d
mov rcx, qword [rax + 0x18]
mov qword [rsp + 0x58], rcx
test rcx, rcx
je 0x180089aab
lea rdx, [rsp + 0x50]
mov rcx, rsi
mov dword [rsp + 0x50], r9d
call fcn.18005cae0
mov eax, dword [rsp + 0x50]
add dword [rdi + 0x134], eax
mov rax, qword [rsp + 0x70]
test dword [rax + 0x60], 0x1000
mov rax, qword [rsp + 0x48]
jne 0x18008972b
test dword [rax + 0x30], 0x100
je 0x180089707
mov rcx, qword [rax + 0x50]
cmp byte [rcx + 0x12], 0
je 0x18008972b
cmp dword [rcx], 2
jge 0x18008972b
mov eax, dword [rbp + 0xf8]
mov r9, qword [rbp - 0x80]
mov r8, qword [rsi + 0x30]
mov rdx, qword [rsp + 0x58]
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.180086d44
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x70]
test dword [rcx + 0x60], 0x4000000
jne 0x180089742
lea rcx, [rax - 0x10]
call fcn.180086fd8
mov rax, qword [rdi + 0x170]
mov rcx, qword [rsp + 0x48]
mov r8d, dword [rbp + 0xf8]
mov rdx, qword [rbp - 0x80]
mov qword [rbp - 0x70], rax
mov rax, qword [rcx]
mov qword [rdi + 0x170], rax
mov r9d, dword [rsi + 4]
mov rcx, rdi
call fcn.180089088
xor edx, edx
test eax, eax
mov rax, qword [rsp + 0x48]
je 0x18008983f
mov r8d, dword [rdi + 0x38]
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov ebx, dword [rcx + 0x90]
inc r8d
lea edx, [r9 + 0xb]
mov dword [rdi + 0x38], r8d
inc ebx
mov dword [rax + 0x24], r8d
mov dword [rsp + 0x20], ebx
call fcn.180048a94
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + 0x24]
lea r9, [rcx - 0x10]
mov dword [rcx + 0x20], ebx
mov dword [rbp + 0x1c], eax
xor eax, eax
lea r8, str.CO_ROUTINE___S
lea edx, [rax + 1]
mov rcx, rdi
mov byte [rbp + 0x18], 0xd
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x28], eax
call fcn.180048e5c
mov rdx, qword [rsp + 0x58]
lea r8, [rbp + 0x18]
mov rcx, rdi
call fcn.180089158
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 2]
mov r11, qword [rcx + 0x10]
mov word [r11 + 0x3a], ax
mov eax, dword [rbp + 0x24]
or dword [rcx + 0x30], 0x20
mov edx, dword [rcx + 0x24]
mov dword [rcx + 0x28], eax
mov rcx, qword [rsp + 0x40]
call fcn.180048fd8
mov rcx, qword [rsp + 0x40]
lea edx, [rbx - 1]
call fcn.1800492ac
xor eax, eax
lea ebx, [rax + 1]
mov byte [rdi + 0x1f], al
mov dword [rdi + 0x28], eax
jmp 0x180089a67
test dword [rax + 0x30], 0x100
je 0x1800898a3
mov rcx, qword [rax + 0x50]
mov qword [rbp - 0x20], rcx
cmp dword [rcx + 4], edx
jle 0x1800898a3
mov r9d, dword [rcx + 4]
mov r8d, dword [rcx + 8]
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x20], edx
mov edx, 0xa
call fcn.180048a94
mov rax, qword [rsp + 0x48]
mov r8d, dword [rax + 0x34]
mov rax, qword [rbp - 0x20]
mov r9d, dword [rax + 0xc]
cmp r8d, r9d
je 0x18008989d
mov rcx, qword [rsp + 0x40]
xor eax, eax
lea edx, [rax + 0x73]
mov dword [rsp + 0x20], eax
call fcn.180048a94
mov rax, qword [rbp - 0x20]
movzx eax, word [rax + 0x10]
jmp 0x180089918
mov r9d, dword [rbp + 0xf8]
mov rcx, qword [rbp - 0x80]
lea rdx, [rax - 0x10]
xor r8d, r8d
call fcn.180088ca8
xor edx, edx
mov qword [rbp - 0x20], rax
test rax, rax
je 0x180089926
mov r9d, dword [rax + 0x30]
test r9d, r9d
je 0x1800898eb
mov r8d, dword [rax + 0x34]
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x20], edx
mov edx, 0xa
call fcn.180048a94
mov rax, qword [rbp - 0x20]
xor edx, edx
mov r9d, dword [rax + 0x44]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov r8d, dword [rax + 0x34]
mov dword [rsp + 0x20], edx
mov edx, 0x73
call fcn.180048a94
mov r10, qword [rbp - 0x20]
mov r11, qword [r10 + 0x28]
movzx eax, word [r11 + 2]
mov rcx, qword [rsp + 0x58]
mov word [rcx + 2], ax
jmp 0x180089a67
add dword [rdi + 0x38], ebx
mov rcx, qword [rsp + 0x48]
mov eax, dword [rdi + 0x38]
xor r9d, r9d
mov dword [rcx + 0x24], eax
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x50], edx
mov dword [rsp + 0x20], edx
lea edx, [r9 + 9]
xor r8d, r8d
call fcn.180048a94
mov dword [rbp - 0x78], eax
lea ecx, [rax + 1]
mov rax, qword [rsp + 0x48]
or dword [rax + 0x30], 0x10
mov dword [rax + 0x20], ecx
mov dword [rbp - 0x60], ecx
mov ecx, 8
test byte [rax + 0x30], cl
jne 0x180089991
lea edx, [rcx + 7]
mov rcx, qword [rsp + 0x40]
xor eax, eax
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], eax
call fcn.180048a94
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax + 0x34]
lea r9, [rax - 0x10]
lea r8, str.MATERIALIZE___S
mov dword [rbp + 0x1c], ecx
xor ecx, ecx
mov edx, ebx
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x20], rcx
mov dword [rbp + 0x28], ecx
mov rcx, rdi
mov byte [rbp + 0x18], 0xc
call fcn.180048e5c
mov rdx, qword [rsp + 0x58]
lea r8, [rbp + 0x18]
mov rcx, rdi
call fcn.180089158
mov rax, qword [rsp + 0x58]
mov r10, qword [rsp + 0x48]
movzx eax, word [rax + 2]
mov rcx, qword [r10 + 0x10]
xor r11d, r11d
mov word [rcx + 0x3a], ax
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x1800899fb
mov rcx, qword [rsp + 0x40]
mov edx, eax
call fcn.1800492ac
mov r9d, dword [rbp - 0x60]
mov r8d, dword [r10 + 0x24]
mov rcx, qword [rsp + 0x40]
mov edx, 0x43
mov dword [rsp + 0x20], r11d
call fcn.180048a94
mov edx, dword [rbp - 0x78]
mov rcx, qword [rsp + 0x40]
call fcn.1800492ac
mov rdx, qword [rsp + 0x48]
xor eax, eax
mov byte [rdi + 0x1f], al
mov dword [rdi + 0x28], eax
test dword [rdx + 0x30], 0x100
je 0x180089a67
mov eax, 8
test byte [rdx + 0x30], al
jne 0x180089a67
mov eax, dword [rdx + 0x20]
mov rcx, qword [rdx + 0x50]
mov dword [rcx + 4], eax
mov eax, dword [rdx + 0x24]
mov dword [rcx + 8], eax
mov eax, dword [rdx + 0x34]
mov dword [rcx + 0xc], eax
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 2]
mov word [rcx + 0x10], ax
mov rax, qword [rsp + 0x70]
xor ecx, ecx
cmp byte [rax + 0x67], cl
jne 0x18008b204
mov dword [rsp + 0x50], ecx
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.18005cae0
mov edx, dword [rsp + 0x50]
mov rax, qword [rbp - 0x70]
sub dword [rdi + 0x134], edx
mov edx, dword [rbp + 0xf8]
mov qword [rdi + 0x170], rax
mov rax, qword [rsp + 0x48]
xor r9d, r9d
mov rcx, qword [rbp - 0x80]
add edx, ebx
add rax, 0x68
cmp edx, dword [rcx]
lea rcx, [0x1800fa70b]
mov dword [rbp + 0xf8], edx
mov qword [rsp + 0x48], rax
jl 0x180089679
mov rax, qword [rsi + 0x30]
mov cl, byte [rsi + 4]
mov rdx, qword [rsi + 0x20]
mov qword [rbp - 0x30], rax
mov rax, qword [rsi + 0x38]
and cl, bl
mov qword [rsp + 0x68], rax
mov rax, qword [rsi + 0x40]
mov qword [rsp + 0x58], rdx
mov qword [rbp], rax
mov eax, dword [rsi + 4]
mov byte [rbp - 0x10], cl
and al, 9
cmp al, bl
jne 0x180089b4c
mov rcx, qword [rbp - 0x68]
or r8d, 0xffffffff
call fcn.180062aec
xor edx, edx
test eax, eax
jne 0x180089b47
cmp qword [rsi + 0x70], rdx
mov rdx, qword [rsp + 0x58]
jne 0x180089b4c
mov rcx, qword [rsp + 0x70]
and dword [rsi + 4], 0xfffffffe
xor r8d, r8d
call fcn.18005d950
mov qword [rsp + 0x68], rax
mov qword [rsi + 0x38], rax
mov eax, 8
or dword [rsi + 4], eax
mov al, 2
mov byte [rbp - 0x10], al
mov rdx, qword [rsp + 0x58]
mov rax, qword [rbp - 0x68]
xor r8d, r8d
test rax, rax
je 0x180089bc2
mov r9d, dword [rdx]
mov rcx, rdi
mov rdx, rax
call fcn.180082de8
mov r8d, dword [rdi + 0x34]
mov rbx, rax
mov rax, qword [rbp - 0x68]
lea ecx, [r8 + 1]
mov dword [rdi + 0x34], ecx
mov edx, dword [rax]
mov rax, qword [rsp + 0x58]
mov ecx, dword [rax]
xor eax, eax
mov dword [rbp + 0x54], r8d
lea r9d, [rdx + rcx + 1]
mov rcx, qword [rsp + 0x40]
lea edx, [rax + 0x76]
mov dword [rsp + 0x20], eax
call fcn.180048a94
mov rcx, qword [rsp + 0x40]
mov edx, eax
mov r9d, 0xfffffff8
mov r8, rbx
mov dword [rbp - 0x40], eax
call fcn.1800495a8
mov eax, dword [rbp - 0x40]
mov ebx, 1
xor r8d, r8d
jmp 0x180089bc8
or eax, 0xffffffff
mov dword [rbp - 0x40], eax
mov rcx, qword [rbp + 0xf0]
mov dword [rbp + 0x60], eax
cmp byte [rcx], 0xc
jne 0x180089cd6
mov rax, qword [rsp + 0x58]
mov dword [rsp + 0x20], r8d
mov r8d, dword [rcx + 4]
mov rcx, qword [rsp + 0x40]
mov r9d, dword [rax]
mov edx, 0x76
call fcn.180048a94
xor r11d, r11d
test dword [rsi + 4], 0x800
je 0x180089cd9
mov r8, qword [rsp + 0x58]
mov eax, dword [r8]
sub eax, ebx
movsxd rcx, eax
mov qword [rbp + 0xf8], rcx
test eax, eax
jle 0x180089cb1
mov rdi, qword [rsp + 0x70]
mov rax, rcx
shl rax, 5
mov qword [rbp - 0x58], rax
test byte [rax + r8 + 0x1c], 0x40
jne 0x180089ca3
mov rdx, qword [rax + r8 + 8]
test rdx, rdx
je 0x180089c64
mov rcx, rdi
call fcn.18005d420
mov rax, qword [rbp - 0x58]
mov rcx, qword [rbp + 0xf8]
mov r8, qword [rsp + 0x58]
xor r11d, r11d
mov rdx, qword [rax + r8 + 0x10]
test rdx, rdx
je 0x180089c89
mov rcx, rdi
call fcn.180028e78
mov rax, qword [rbp - 0x58]
mov rcx, qword [rbp + 0xf8]
mov r8, qword [rsp + 0x58]
xor r11d, r11d
dec dword [r8]
sub rcx, rbx
sub rax, 0x20
mov qword [rbp + 0xf8], rcx
mov qword [rbp - 0x58], rax
test rcx, rcx
jg 0x180089c37
mov rdi, qword [rbp + 0xe0]
mov rsi, qword [rbp + 0xe8]
mov edx, r11d
cmp dword [r8], r11d
jle 0x180089cd9
lea rcx, [r8 + 8]
test byte [rcx + 0x14], 0x40
jne 0x180089cc9
mov rax, qword [rcx]
mov byte [rax], 0x79
add edx, ebx
add rcx, 0x20
cmp edx, dword [r8]
jl 0x180089cbd
jmp 0x180089cd9
xor r11d, r11d
dec dword [rdi + 0x44]
mov eax, dword [rdi + 0x44]
mov ecx, 0x4000
mov dword [rbp + 0xc], eax
test dword [rsi + 4], ecx
jne 0x180089cf5
mov ecx, 0x140
mov word [rsi + 2], cx
cmp qword [rsi + 0x60], r11
je 0x180089d0c
mov r8d, eax
mov rdx, rsi
mov rcx, rdi
call fcn.180083f18
xor r11d, r11d
cmp dword [rsi + 8], r11d
jne 0x180089d46
movsxd rcx, dword [rbp - 0x40]
test ecx, ecx
js 0x180089d46
mov rdx, qword [rsp + 0x40]
mov rax, qword [rdx]
cmp byte [rax + 0x67], r11b
je 0x180089d31
lea rax, [0x18011cb10]
jmp 0x180089d40
mov rax, qword [rdx + 0x88]
lea rcx, [rcx + rcx*2]
lea rax, [rax + rcx*8]
or byte [rbp + 0x6c], bl
mov byte [rax], 0x77
test byte [rsi + 4], bl
je 0x180089dda
mov ebx, dword [rdi + 0x34]
xor r9d, r9d
xor r8d, r8d
lea eax, [rbx + 1]
mov rcx, rdi
mov dword [rbp - 0xc], ebx
mov dword [rdi + 0x34], eax
mov rdx, qword [rsi + 0x20]
call fcn.180082de8
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov rdi, rax
xor eax, eax
mov r8d, ebx
lea edx, [rax + 0x76]
mov dword [rsp + 0x20], eax
call fcn.180048a94
mov rcx, qword [rsp + 0x40]
mov r9d, 0xfffffff8
mov edx, eax
mov r8, rdi
mov ebx, eax
call fcn.1800495a8
mov rdx, qword [rsp + 0x40]
xor r11d, r11d
movsxd rax, dword [rdx + 0x90]
mov dword [rbp - 8], ebx
test eax, eax
jle 0x180089dca
lea rcx, [rax + rax*2]
mov rax, qword [rdx + 0x88]
lea edx, [r11 + 8]
mov word [rax + rcx*8 - 0x16], dx
mov rdi, qword [rbp + 0xe0]
mov al, 3
mov ebx, 1
jmp 0x180089ddd
mov al, r11b
mov r9, qword [rsp + 0x68]
mov byte [rbp - 0xf], al
mov dword [rbp - 0x28], eax
cmp dword [rbp - 0x4c], r11d
jne 0x18008a053
test r9, r9
jne 0x18008a053
mov al, byte [rbp - 0x10]
mov edx, 0x4000
neg al
mov eax, 0x100
sbb cx, cx
and cx, ax
movzx eax, word [rsi + 4]
and ax, dx
or cx, ax
mov rax, qword [rsi + 0x70]
mov word [rbp + 0xf8], cx
mov qword [rbp - 0x70], rax
test rax, rax
je 0x180089e40
mov rdx, rsi
mov rcx, rdi
call fcn.1800a0618
movzx ecx, word [rbp + 0xf8]
movsx eax, word [rsi + 2]
mov r9, qword [rbp - 0x68]
mov r8, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x80]
mov dword [rsp + 0x38], eax
mov rax, qword [rsi + 0x20]
mov word [rsp + 0x30], cx
mov rcx, rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call fcn.18009d818
xor r10d, r10d
mov rdx, rax
mov qword [rbp + 0xf8], rax
test rax, rax
je 0x18008b204
movzx eax, word [rax + 0x48]
cmp ax, word [rsi + 2]
jge 0x180089e93
mov word [rsi + 2], ax
cmp byte [rbp - 0x10], r10b
je 0x180089eae
movzx ecx, byte [rdx + 0x43]
mov eax, dword [rbp - 0x28]
movzx eax, al
test cl, cl
cmovne eax, ecx
mov dword [rbp - 0x28], eax
mov byte [rbp - 0xf], al
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x180089f07
mov al, byte [rdx + 0x41]
test al, al
jns 0x180089ec7
mov r9d, r10d
mov dword [rbp + 0x50], r10d
jmp 0x180089ecf
movsx r9d, al
mov dword [rbp + 0x50], r9d
test byte [rdx + 0x44], 4
je 0x180089eec
movzx eax, byte [rdx + 0x40]
sub eax, ebx
movsxd r8, eax
imul r8, r8, 0x70
cmp qword [r8 + rdx + 0x398], r10
je 0x180089ef1
mov eax, dword [rdx + 0x30]
jmp 0x180089ef9
mov eax, dword [r8 + rdx + 0x370]
cmp r9d, dword [rcx]
mov dword [rbp + 0x68], eax
cmove rcx, r10
mov qword [rbp + 0x48], rcx
mov eax, dword [rbp - 0x40]
test eax, eax
js 0x180089f29
test rcx, rcx
jne 0x180089f29
mov rcx, qword [rsp + 0x40]
mov edx, eax
call fcn.1800494a4
mov rdx, qword [rbp + 0xf8]
xor r10d, r10d
cmp qword [rbp - 0x70], r10
je 0x18008a007
dec dword [rdi + 0x44]
mov ebx, dword [rdi + 0x44]
inc dword [rdi + 0x38]
mov rcx, qword [rbp + 0xe0]
mov r8, rdx
mov rdx, qword [rbp + 0xe8]
lea esi, [rbx - 1]
mov dword [rsp + 0x20], ebx
lea eax, [rsi - 1]
mov dword [rdi + 0x44], eax
mov edi, dword [rdi + 0x38]
mov r9d, edi
call fcn.1800a21ac
mov rcx, qword [rsp + 0x40]
xor eax, eax
lea edx, [rax + 9]
lea r9d, [rsi - 1]
xor r8d, r8d
mov dword [rsp + 0x20], eax
call fcn.180048a94
mov rcx, qword [rsp + 0x40]
mov edx, ebx
call fcn.1800490b4
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
xor eax, eax
lea ebx, [rsi - 1]
lea r9, [rbp + 0x48]
mov dword [rbp + 0x68], eax
mov rax, qword [rbp + 0xf0]
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x10]
or r8d, 0xffffffff
mov qword [rsp + 0x20], rax
call fcn.180082364
mov edx, esi
mov rsi, qword [rsp + 0x40]
mov rcx, rsi
call fcn.1800490b4
xor eax, eax
xor r9d, r9d
lea edx, [rax + 0x43]
mov r8d, edi
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.180048a94
mov edx, ebx
mov rcx, rsi
call fcn.1800490b4
mov rbx, qword [rbp + 0xf0]
jmp 0x18008b184
mov eax, dword [rdx + 0x34]
mov rbx, qword [rbp + 0xf0]
lea r9, [rbp + 0x48]
mov dword [rsp + 0x38], eax
mov eax, dword [rdx + 0x30]
or r8d, 0xffffffff
mov dword [rsp + 0x30], eax
lea rax, [rbp - 0x10]
mov rdx, rsi
mov rcx, rdi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.180082364
mov rcx, qword [rbp + 0xf8]
call fcn.18009e560
mov rsi, qword [rsp + 0x40]
jmp 0x18008b184
mov dword [rsp + 0x78], r11d
mov dword [rbp - 0x38], r11d
mov dword [rbp - 0x48], r11d
test r9, r9
je 0x18008a0fa
mov rcx, qword [rsi + 0x20]
mov eax, dword [rcx]
test eax, eax
jle 0x18008a085
add rcx, 0x22
sub eax, ebx
mov word [rcx], r11w
add rcx, 0x20
test eax, eax
jg 0x18008a077
mov eax, dword [r9]
test eax, eax
jle 0x18008a09e
lea rcx, [r9 + 0x22]
sub eax, ebx
mov word [rcx], r11w
add rcx, 0x20
test eax, eax
jg 0x18008a090
mov eax, 0x42
cmp word [rsi + 2], ax
jle 0x18008a0ad
mov word [rsi + 2], ax
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x18008a0ff
mov eax, dword [r9]
cmp eax, dword [rcx]
jne 0x18008a0ff
mov r10d, r11d
test eax, eax
jle 0x18008a0e2
mov r8, rcx
lea rdx, [r9 + 0x18]
sub r8, r9
mov al, byte [r8 + rdx]
add r10d, ebx
and al, bl
mov byte [rdx], al
add rdx, 0x20
cmp r10d, dword [r9]
jl 0x18008a0ce
mov rdx, rcx
or r8d, 0xffffffff
mov rcx, r9
call fcn.180062aec
test eax, eax
jne 0x18008a0ff
mov dword [rbp - 0x48], ebx
jmp 0x18008a0ff
mov word [rsi + 2], r11w
dec dword [rdi + 0x44]
mov eax, dword [rdi + 0x44]
mov rcx, qword [rsp + 0x70]
mov edx, 0x38
mov dword [rbp - 0x50], eax
call fcn.1800291a8
mov qword [rsp + 0x48], rax
test rax, rax
je 0x18008a138
lea rdx, [0x180088d74]
mov r8, rax
mov rcx, rdi
call fcn.180080674
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x70]
xor edx, edx
cmp byte [rcx + 0x67], dl
jne 0x18008b204
mov ecx, dword [rsi + 0x10]
lea r8d, [rdx + 0x38]
mov dword [rax + 0x34], ecx
lea rcx, [rbp + 0x78]
call fcn.1800c5900
mov rax, qword [rbp - 0x80]
mov rcx, qword [rsp + 0x68]
mov qword [rbp + 0x80], rax
mov rax, qword [rsp + 0x48]
xor edx, edx
mov qword [rbp + 0x78], rdi
mov qword [rbp + 0x88], rax
test rcx, rcx
je 0x18008a184
mov edx, dword [rcx]
mov word [rax + 2], dx
mov rdx, qword [rsp + 0x58]
mov qword [rax + 0x10], rcx
lea rcx, [rbp + 0x78]
call fcn.1800637d8
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp + 0x78]
call fcn.1800637d8
mov rax, qword [rbp]
xor r8d, r8d
test rax, rax
je 0x18008a209
cmp qword [rsp + 0x68], r8
je 0x18008a1fa
xor edx, edx
lea rcx, [rbp + 0x18]
lea r8d, [rdx + 0x30]
call fcn.1800c5900
mov rdx, qword [rsi + 0x40]
lea rax, [0x180088b8c]
mov qword [rbp + 0x18], rdi
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x40], rsi
test rdx, rdx
je 0x18008a1ee
lea rcx, [rbp + 0x18]
call fcn.180059298
mov rax, qword [rsi + 0x30]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp]
lea rcx, [rbp + 0x78]
mov rdx, rax
call fcn.18006378c
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov eax, dword [rdx + 0x20]
mov dword [rdx + 0x24], eax
cmp qword [rsi + 0x38], r8
jne 0x18008a2fa
cmp qword [rsi + 0x40], r8
jne 0x18008a2fa
cmp dword [rdx + 0x30], ebx
jne 0x18008a2fa
mov rax, qword [rdx + 0x28]
mov byte [rbp + 0xf8], r8b
mov rcx, qword [rax]
mov r11, qword [rcx + 0x20]
test r11, r11
je 0x18008a2fa
cmp dword [r11], ebx
jne 0x18008a2fa
test dword [rcx + 4], 0x1000000
jne 0x18008a2fa
mov rax, qword [rsp + 0x70]
test dword [rax + 0x60], 0x10000
jne 0x18008a2fa
mov rax, qword [rcx + 8]
lea rdx, [0x1800fba2c]
mov rcx, rax
mov qword [rbp - 0x70], rax
call fcn.18002bf28
test eax, eax
jne 0x18008a2a9
mov rcx, qword [r11 + 8]
mov dword [rsp + 0x60], ebx
call fcn.18005e724
test eax, eax
je 0x18008a2cd
mov byte [rbp + 0xf8], 2
jmp 0x18008a2cd
mov rcx, qword [rbp - 0x70]
lea rdx, [0x1800fba28]
call fcn.18002bf28
xor ecx, ecx
test eax, eax
jne 0x18008a2f4
mov dword [rsp + 0x60], 2
mov byte [rbp + 0xf8], bl
mov rcx, qword [rsp + 0x70]
xor r8d, r8d
mov rdx, r11
call fcn.18005d950
mov rcx, rax
mov qword [rbp + 0x10], rax
test rax, rax
je 0x18008a2ff
mov al, byte [rbp + 0xf8]
mov byte [rcx + 0x18], al
jmp 0x18008a2ff
mov byte [rsp + 0x60], cl
jmp 0x18008a2ff
mov byte [rsp + 0x60], r8b
mov rcx, qword [rsp + 0x48]
lea rdx, [rbp + 0x78]
call fcn.1800885fc
mov r10, qword [rsp + 0x70]
xor r11d, r11d
cmp byte [r10 + 0x67], r11b
jne 0x18008b1f0
cmp qword [rsp + 0x68], r11
je 0x18008ac6b
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x58], r11
mov word [rbp + 0xf8], r11w
cmp dword [rax + 0x30], ebx
jne 0x18008a3db
mov rcx, qword [rax + 0x28]
cmp dword [rcx + 0x10], r11d
jl 0x18008a3db
cmp qword [rcx], r11
je 0x18008a3db
mov rcx, qword [rcx]
test dword [rcx + 4], 0x1000
jne 0x18008a3db
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x18008a3db
mov rdx, qword [rcx + 8]
test rdx, rdx
je 0x18008a395
xor r9d, r9d
xor r8d, r8d
mov rcx, r10
call fcn.18005d5ac
mov r10, qword [rsp + 0x70]
mov qword [rbp + 0xf8], rax
jmp 0x18008a39c
mov qword [rbp + 0xf8], r11
mov rdx, qword [rsp + 0x68]
xor r8d, r8d
mov rcx, r10
call fcn.18005d950
mov r8, qword [rbp + 0xf8]
mov rcx, rdi
mov rdx, rax
call fcn.18005e044
mov rcx, rax
mov qword [rbp - 0x58], rax
neg rcx
sbb ax, ax
and ax, 0x500
mov word [rbp + 0xf8], ax
mov rax, qword [rsp + 0x48]
mov ecx, dword [rdi + 0x34]
mov rdx, qword [rsp + 0x68]
xor r8d, r8d
mov dword [rax + 4], ecx
add dword [rdi + 0x34], ebx
mov r9d, dword [rax + 0x20]
mov rcx, rdi
call fcn.180082de8
xor ecx, ecx
mov qword [rbp - 0x20], rax
mov rax, qword [rsp + 0x48]
mov dword [rsp + 0x20], ecx
movzx r9d, word [rax + 2]
mov r8d, dword [rax + 4]
lea edx, [rcx + 0x77]
mov rcx, qword [rsp + 0x40]
call fcn.180048a94
mov r8, qword [rbp - 0x20]
mov rcx, qword [rsp + 0x40]
mov edx, eax
mov r9d, 0xfffffff8
mov dword [rbp - 0x68], eax
call fcn.1800495a8
add dword [rdi + 0x38], ebx
mov eax, dword [rdi + 0x38]
mov ecx, dword [rdi + 0x44]
mov rdx, qword [rsp + 0x68]
lea r8d, [rax + 1]
dec ecx
mov dword [rsp + 0x50], eax
lea eax, [r8 + 2]
mov dword [rdi + 0x38], eax
mov dword [rbp + 8], ecx
dec ecx
mov dword [rdi + 0x44], ecx
mov dword [rsp + 0x60], eax
mov eax, dword [rdx]
add dword [rdi + 0x38], eax
mov dword [rbp - 0x4c], ecx
mov ecx, dword [rdi + 0x38]
lea eax, [rcx + 1]
add ecx, dword [rdx]
mov dword [rbp - 0x5c], r8d
mov dword [rbp - 0x18], eax
xor eax, eax
mov dword [rdi + 0x38], ecx
mov rcx, qword [rsp + 0x40]
mov r9d, r8d
lea edx, [rax + 0x47]
xor r8d, r8d
mov dword [rsp + 0x20], eax
call fcn.180048a94
mov rax, qword [rsp + 0x68]
mov r9d, dword [rsp + 0x60]
mov r11d, dword [rax]
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
lea eax, [r9 + r11]
lea edx, [r8 + 0x4b]
inc r9d
mov dword [rsp + 0x20], eax
call fcn.180048a94
mov r9d, dword [rbp - 0x4c]
mov r8d, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
xor eax, eax
lea edx, [rax + 0xa]
mov dword [rsp + 0x20], eax
call fcn.180048a94
mov r11d, dword [rbp - 0x48]
mov edx, 0x80
neg r11d
lea ecx, [rdx - 0x40]
sbb ax, ax
and ax, 0x200
cmp byte [rbp - 0x10], 2
cmove cx, dx
or ax, cx
or ax, word [rbp + 0xf8]
xor ecx, ecx
mov dword [rsp + 0x38], ecx
mov r9, qword [rsp + 0x68]
mov r8, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x80]
mov word [rsp + 0x30], ax
mov rax, qword [rbp - 0x58]
mov rcx, rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call fcn.18009d818
xor r11d, r11d
mov rdx, rax
mov qword [rbp - 0x30], rax
test rax, rax
jne 0x18008a55d
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x18008b1eb
mov rcx, qword [rsp + 0x70]
mov rdx, rax
call fcn.18005e298
jmp 0x18008b1eb
cmp qword [rdi + 0x60], r11
je 0x18008a5b9
mov rcx, qword [rsp + 0x48]
mov r8d, dword [rcx + 0x24]
mov dword [rcx + 0x20], r8d
cmp word [rcx + 2], r11w
jbe 0x18008a5a9
mov rax, qword [rsi + 0x38]
mov edx, dword [rax]
sub edx, ebx
test r8d, r8d
jle 0x18008a5a2
mov r8, qword [rcx + 0x18]
mov r9d, dword [rcx + 0x20]
add r8, 0x16
movsx eax, word [r8]
cmp eax, edx
cmovg edx, eax
add r8, 0x18
sub r9, rbx
jne 0x18008a590
add dx, bx
mov word [rcx + 2], dx
lea rdx, [rbp + 0x78]
call fcn.1800885fc
mov rdx, qword [rbp - 0x30]
xor r11d, r11d
mov rcx, qword [rsp + 0x48]
mov eax, dword [rdi + 0x38]
add eax, ebx
mov dword [rcx + 0xc], eax
mov eax, dword [rcx + 0x30]
add eax, dword [rcx + 0x20]
mov ecx, r11d
add dword [rdi + 0x38], eax
movzx eax, byte [rdx + 0x43]
mov dword [rbp - 0x60], eax
mov al, byte [rdx + 0x41]
test al, al
js 0x18008a5e3
movsx ecx, al
mov rax, qword [rsp + 0x68]
cmp ecx, dword [rax]
jne 0x18008a5fa
mov rsi, qword [rsp + 0x48]
mov dword [rbp - 0x44], r11d
jmp 0x18008a7ec
cmp byte [rbp - 0x10], r11b
je 0x18008a60c
lea r9, str.DISTINCT
test byte [rsi + 4], bl
je 0x18008a613
lea r9, str.GROUP_BY
lea r8, str.USE_TEMP_B_TREE_FOR__s
xor edx, edx
mov rcx, rdi
call fcn.180048e5c
mov r10, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x48]
mov eax, dword [r10]
xor r11d, r11d
mov dword [rbp - 0x44], ebx
mov dword [rsp + 0x78], eax
mov edx, eax
mov dword [rbp - 0x80], eax
cmp dword [rsi + 0x20], r11d
jle 0x18008a667
mov rcx, qword [rsi + 0x18]
mov r8d, dword [rsi + 0x20]
add rcx, 0x16
movsx eax, word [rcx]
cmp eax, edx
jl 0x18008a65b
add edx, ebx
add rcx, 0x18
sub r8, rbx
jne 0x18008a652
mov dword [rbp - 0x80], edx
mov rcx, rdi
call fcn.18006382c
xor r9d, r9d
mov rdx, r10
mov rcx, rdi
mov r8d, eax
mov byte [rsp + 0x20], r11b
mov dword [rbp - 0x38], eax
call fcn.180061cfc
xor ecx, ecx
mov byte [rsi], bl
mov r8d, ecx
mov dword [rbp - 0x78], ecx
cmp dword [rsi + 0x20], ecx
jle 0x18008a6ea
mov edx, dword [rsp + 0x78]
mov qword [rbp - 0x70], rcx
mov r9, qword [rsi + 0x18]
movsx eax, word [rcx + r9 + 0x16]
cmp eax, edx
jl 0x18008a6d3
mov eax, dword [rbp - 0x38]
lea r8d, [rax + rdx]
mov rdx, qword [rcx + r9 + 8]
mov rcx, rdi
call fcn.180061bc4
mov edx, dword [rsp + 0x78]
mov rcx, qword [rbp - 0x70]
mov r8d, dword [rbp - 0x78]
add edx, ebx
mov dword [rsp + 0x78], edx
add r8d, ebx
add rcx, 0x18
mov dword [rbp - 0x78], r8d
mov qword [rbp - 0x70], rcx
cmp r8d, dword [rsi + 0x20]
jl 0x18008a69f
xor ecx, ecx
mov byte [rsi], cl
mov al, byte [rdi + 0x1f]
test al, al
jne 0x18008a6fb
add dword [rdi + 0x38], ebx
mov eax, dword [rdi + 0x38]
jmp 0x18008a70a
sub al, bl
movzx eax, al
mov byte [rdi + 0x1f], al
mov eax, dword [rdi + rax*4 + 0xe0]
mov r9d, dword [rbp - 0x80]
mov r8d, dword [rbp - 0x38]
mov rcx, qword [rsp + 0x40]
mov edx, 0x61
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], eax
call fcn.180048a94
mov r9d, dword [rsp + 0x78]
mov r8d, dword [rsi + 4]
mov rcx, qword [rsp + 0x40]
xor eax, eax
mov edx, 0x8b
mov dword [rsp + 0x20], eax
call fcn.180048a94
mov ecx, dword [rsp + 0x78]
xor eax, eax
test ecx, ecx
je 0x18008a769
mov eax, 8
cmp byte [rdi + 0x1f], al
jae 0x18008a769
movzx eax, byte [rdi + 0x1f]
mov dword [rdi + rax*4 + 0xe0], ecx
add byte [rdi + 0x1f], bl
mov r8d, dword [rbp - 0x80]
mov edx, dword [rbp - 0x38]
mov rcx, rdi
call fcn.180063880
mov rcx, qword [rbp - 0x30]
call fcn.18009e560
mov ecx, dword [rdi + 0x34]
mov dword [rsi + 8], ecx
mov al, byte [rdi + 0x1f]
add dword [rdi + 0x34], ebx
mov dword [rsp + 0x78], ecx
test al, al
jne 0x18008a79d
add dword [rdi + 0x38], ebx
mov edx, dword [rdi + 0x38]
jmp 0x18008a7ac
sub al, bl
movzx eax, al
mov byte [rdi + 0x1f], al
mov edx, dword [rdi + rax*4 + 0xe0]
mov eax, dword [rbp - 0x80]
mov r8d, ecx
mov rcx, qword [rsp + 0x40]
mov dword [rbp - 0x38], edx
mov r9d, edx
mov edx, 0x79
mov dword [rsp + 0x20], eax
call fcn.180048a94
mov r9d, dword [rbp - 0x50]
mov r8d, dword [rsi + 4]
mov rcx, qword [rsp + 0x40]
xor eax, eax
lea edx, [rax + 0x22]
mov dword [rsp + 0x20], eax
call fcn.180048a94
mov byte [rsi + 1], bl
xor r11d, r11d
cmp qword [rdi + 0x60], r11
je 0x18008a857
xor edx, edx
lea rcx, [rbp + 0x18]
lea r8d, [rdx + 0x30]
call fcn.1800c5900
lea r11, [0x180088688]
mov qword [rbp + 0x20], r11
xor r11d, r11d
mov edx, r11d
mov dword [rbp - 0x78], edx
cmp dword [rsi + 0x30], r11d
jle 0x18008a857
mov ecx, r11d
mov qword [rbp - 0x70], rcx
mov rax, qword [rsi + 0x28]
mov r8, qword [rcx + rax]
test r8, r8
je 0x18008a845
lea rcx, [rbp + 0x18]
mov rdx, r8
call fcn.180059298
mov rcx, qword [rbp - 0x70]
mov edx, dword [rbp - 0x78]
xor r11d, r11d
add edx, ebx
add rcx, 0x18
mov dword [rbp - 0x78], edx
mov qword [rbp - 0x70], rcx
cmp edx, dword [rsi + 0x30]
jl 0x18008a822
cmp dword [rbp - 0x48], r11d
je 0x18008a890
mov rax, qword [rsp + 0x70]
test byte [rax + 0x60], 4
jne 0x18008a890
cmp dword [rbp - 0x44], r11d
jne 0x18008a87c
mov rax, qword [rbp - 0x30]
mov ecx, 8
test byte [rax + 0x44], cl
je 0x18008a890
mov edx, dword [rbp - 0x40]
mov rcx, qword [rsp + 0x40]
mov qword [rbp + 0x48], r11
call fcn.1800494a4
xor r11d, r11d
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + 0x90]
mov dword [rbp - 0x48], eax
mov eax, dword [rbp - 0x44]
test eax, eax
je 0x18008a8ca
mov eax, dword [rsp + 0x78]
mov r9d, dword [rbp - 0x38]
mov r8d, dword [rsi + 4]
mov edx, 0x85
mov dword [rsp + 0x20], eax
call fcn.180048a94
mov rcx, qword [rsp + 0x40]
mov eax, dword [rbp - 0x44]
xor r11d, r11d
movsxd r8, eax
mov rax, qword [rsp + 0x68]
mov edx, r11d
mov dword [rbp - 0x78], edx
mov qword [rbp - 0x38], r8
cmp dword [rax], r11d
jle 0x18008a945
lea r9, [rax + 8]
mov qword [rbp - 0x70], r9
test r8, r8
je 0x18008a90b
mov eax, dword [rbp - 0x18]
mov r8d, dword [rsp + 0x78]
mov r9d, edx
add eax, edx
mov edx, 0x5e
mov dword [rsp + 0x20], eax
call fcn.180048a94
jmp 0x18008a91f
mov r8d, dword [rbp - 0x18]
mov byte [rsi], bl
mov rcx, rdi
add r8d, edx
mov rdx, qword [r9]
call fcn.180061bc4
mov edx, dword [rbp - 0x78]
mov r9, qword [rbp - 0x70]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
mov r8, qword [rbp - 0x38]
add edx, ebx
add r9, 0x20
mov dword [rbp - 0x78], edx
mov qword [rbp - 0x70], r9
cmp edx, dword [rax]
jl 0x18008a8e9
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x18008a950
add dword [rcx], ebx
mov r8d, dword [rsp + 0x60]
mov eax, dword [rax]
mov rbx, qword [rsp + 0x40]
mov r9d, dword [rbp - 0x18]
inc r8d
mov rcx, rbx
mov edx, 0x5a
mov dword [rsp + 0x20], eax
call fcn.180048a94
mov r8, qword [rbp - 0x20]
mov r9d, 0xfffffff8
mov edx, eax
mov rcx, rbx
call fcn.1800495a8
mov ebx, dword [rbx + 0x90]
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
lea r8d, [rbx + 1]
lea edx, [r9 + 0xe]
mov dword [rsp + 0x20], r8d
call fcn.180048a94
mov rax, qword [rsp + 0x68]
mov r9d, dword [rsp + 0x60]
mov r11d, dword [rax]
mov r8d, dword [rbp - 0x18]
mov rcx, qword [rdi + 0x10]
inc r9d
mov edx, 0x4f
mov dword [rsp + 0x20], r11d
call fcn.180048a94
mov r8d, dword [rbp - 0x5c]
mov r9d, dword [rbp + 8]
mov rcx, qword [rsp + 0x40]
xor eax, eax
inc r8d
lea edx, [rax + 0xa]
mov dword [rsp + 0x20], eax
call fcn.180048a94
mov r9d, dword [rbp - 0x50]
mov r8d, dword [rbp - 0x5c]
mov rcx, qword [rsp + 0x40]
xor eax, eax
lea edx, [rax + 0x3b]
mov dword [rsp + 0x20], eax
call fcn.180048a94
mov r9d, dword [rbp - 0x4c]
mov r8d, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
xor eax, eax
lea edx, [rax + 0xa]
mov dword [rsp + 0x20], eax
call fcn.180048a94
mov rcx, qword [rsp + 0x40]
mov edx, ebx
call fcn.1800492ac
mov ebx, dword [rsp + 0x50]
mov r9d, dword [rbp - 0x60]
mov edx, ebx
mov r8, rsi
mov rcx, rdi
call fcn.180088894
mov rdi, qword [rsp + 0x40]
xor eax, eax
mov r9d, ebx
lea ebx, [rax + 1]
lea edx, [rax + 0x47]
mov rcx, rdi
mov r8d, ebx
mov dword [rsp + 0x20], eax
call fcn.180048a94
xor eax, eax
cmp dword [rbp - 0x44], eax
je 0x18008aa84
mov r9d, dword [rbp - 0x48]
mov r8d, dword [rsi + 4]
lea edx, [rbx + 0x24]
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.180048a94
jmp 0x18008aa98
mov rcx, qword [rbp - 0x30]
call fcn.18009e560
mov edx, dword [rbp - 0x68]
mov rcx, rdi
call fcn.1800494a4
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x18008aaae
mov rcx, qword [rsp + 0x70]
mov rdx, rax
call fcn.18005e298
mov r8d, dword [rbp - 0x5c]
mov r9d, dword [rbp + 8]
xor eax, eax
lea edx, [rax + 0xa]
mov rcx, rdi
inc r8d
mov dword [rsp + 0x20], eax
call fcn.180048a94
mov r9d, dword [rbp - 0x50]
xor eax, eax
xor r8d, r8d
mov rcx, rdi
lea edx, [rax + 9]
mov dword [rsp + 0x20], eax
call fcn.180048a94
mov r9d, dword [rbp - 0x5c]
mov edi, dword [rdi + 0x90]
xor eax, eax
mov r8d, ebx
mov rbx, qword [rsp + 0x40]
lea edx, [rax + 0x47]
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.180048a94
mov r8d, dword [rbp - 0x5c]
xor eax, eax
lea edx, [rax + 0x43]
xor r9d, r9d
mov rcx, rbx
inc r8d
mov dword [rsp + 0x20], eax
call fcn.180048a94
mov edx, dword [rbp + 8]
mov rcx, rbx
call fcn.1800490b4
mov ebx, dword [rbx + 0x90]
mov r8d, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
xor eax, eax
lea r9d, [rbx + 2]
lea edx, [rax + 0x3b]
mov dword [rsp + 0x20], eax
call fcn.180048a94
mov r8d, dword [rbp - 0x5c]
mov rcx, qword [rsp + 0x40]
xor eax, eax
inc r8d
xor r9d, r9d
lea edx, [rax + 0x43]
mov dword [rsp + 0x20], eax
call fcn.180048a94
mov rdx, rsi
mov rsi, qword [rbp + 0xe0]
mov rcx, rsi
call fcn.180088808
mov rdx, qword [rbp]
inc ebx
mov r8d, ebx
mov r9d, 0x10
mov rcx, rsi
call fcn.180062360
mov rax, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x10]
lea r9, [rbp + 0x48]
or r8d, 0xffffffff
mov rcx, rsi
mov rdi, rsi
mov qword [rsp + 0x20], rax
call fcn.180082364
mov r8d, dword [rbp - 0x5c]
mov rsi, qword [rsp + 0x40]
xor eax, eax
xor r9d, r9d
mov rcx, rsi
inc r8d
mov dword [rsp + 0x20], eax
lea edx, [rax + 0x43]
call fcn.180048a94
mov edx, dword [rbp - 0x4c]
mov rcx, rsi
call fcn.1800490b4
mov rbx, qword [rsp + 0x48]
mov rcx, rdi
mov rdx, rbx
call fcn.1800886e0
mov r9d, dword [rsp + 0x50]
xor eax, eax
lea edx, [rax + 0x47]
xor r8d, r8d
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.180048a94
mov r8d, dword [rsp + 0x60]
xor eax, eax
xor r9d, r9d
mov rcx, rsi
lea edx, [rax + 0x43]
mov dword [rsp + 0x20], eax
call fcn.180048a94
xor eax, eax
cmp word [rbp + 0xf8], ax
je 0x18008ac5f
mov ecx, dword [rbp - 0x60]
test ecx, ecx
je 0x18008ac5f
mov rax, qword [rbx + 0x28]
mov edx, ecx
mov rcx, rdi
mov r9d, dword [rax + 0x14]
mov r8d, dword [rax + 0x10]
call fcn.1800822a0
mov rbx, qword [rbp + 0xf0]
jmp 0x18008b179
mov rdx, qword [rsp + 0x48]
cmp qword [rsi + 0x30], r11
jne 0x18008ad71
mov r9, qword [rsi + 0x20]
cmp dword [r9], ebx
jne 0x18008ad71
mov r8, qword [rsi + 0x28]
cmp dword [r8], ebx
jne 0x18008ad71
cmp qword [r8 + 0x30], r11
jne 0x18008ad71
cmp dword [rdx + 0x30], ebx
jne 0x18008ad71
cmp qword [rsi + 0x40], r11
jne 0x18008ad71
mov r8, qword [r8 + 0x28]
mov qword [rbp - 0x68], r8
cmp byte [r8 + 0x3f], r11b
jne 0x18008acef
mov r9, qword [r9 + 8]
cmp byte [r9], 0xa8
jne 0x18008acef
cmp qword [r9 + 0x38], rdx
jne 0x18008acef
mov rax, qword [rdx + 0x28]
mov rcx, qword [rax + 8]
mov eax, 0x100
test dword [rcx + 4], eax
je 0x18008acef
test dword [r9 + 4], 0x1000004
je 0x18008ad78
mov dword [rsp + 0x50], r11d
mov qword [rbp - 0x70], r11
mov word [rbp + 0xf8], r11w
cmp dword [rdx + 0x24], r11d
je 0x18008afb4
mov r8d, r11d
cmp dword [rdx + 0x30], r11d
jle 0x18008ad3a
mov rcx, qword [rdx + 0x28]
mov rax, qword [rcx]
test dword [rax + 4], 0x1000000
jne 0x18008ad2d
mov rax, qword [rcx + 8]
test byte [rax + 4], 0x20
jne 0x18008ad3a
add r8d, ebx
add rcx, 0x18
cmp r8d, dword [rdx + 0x30]
jl 0x18008ad17
cmp r8d, dword [rdx + 0x30]
jne 0x18008afdf
add dword [rdi + 0x38], ebx
mov eax, dword [rdi + 0x38]
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
mov r9d, eax
mov dword [rsp + 0x50], eax
lea edx, [r8 + 0x47]
mov dword [rsp + 0x20], r11d
call fcn.180048a94
mov rdx, qword [rsp + 0x48]
jmp 0x18008afdf
mov r8, r11
mov qword [rbp - 0x68], r11
test r8, r8
je 0x18008acef
mov r9, qword [r8 + 0x60]
mov edx, 0xffff8000
mov dword [rbp + 0xf8], edx
test r9, r9
je 0x18008adc4
mov rax, qword [rdi]
mov edx, r11d
mov rcx, qword [rax + 0x20]
mov dword [rbp + 0xf8], edx
cmp qword [rcx + 0x18], r9
je 0x18008adc4
mov rcx, qword [rax + 0x20]
add rcx, 0x18
add rcx, 0x20
add edx, ebx
cmp qword [rcx], r9
jne 0x18008adb3
mov dword [rbp + 0xf8], edx
mov eax, dword [rdi + 0x34]
mov rcx, rdi
mov qword [rbp - 0x70], r11
mov dword [rsp + 0x50], eax
inc eax
mov qword [rsp + 0x68], r11
mov dword [rdi + 0x34], eax
mov eax, dword [r8 + 0x28]
mov dword [rbp - 0x60], eax
call fcn.18006f9f4
mov r10, qword [rbp - 0x68]
mov r11, qword [r10]
mov edx, dword [rbp + 0xf8]
mov r8d, dword [r10 + 0x28]
xor r9d, r9d
mov rcx, rdi
mov qword [rsp + 0x20], r11
call fcn.180069140
mov rdx, qword [rbp - 0x68]
xor r9d, r9d
test byte [rdx + 0x30], 0x80
je 0x18008ae3d
mov rcx, qword [rdx + 0x10]
mov qword [rsp + 0x68], rcx
test rcx, rcx
je 0x18008ae42
mov eax, dword [rcx + 0x64]
and al, 3
cmp al, 2
je 0x18008ae36
mov rcx, qword [rcx + 0x28]
test rcx, rcx
jne 0x18008ae24
mov qword [rsp + 0x68], rcx
jmp 0x18008ae42
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsi + 0x28]
test byte [rax + 0x48], bl
jne 0x18008ae89
mov rax, qword [rdx + 0x10]
test rax, rax
je 0x18008ae89
test byte [rax + 0x64], 4
jne 0x18008ae7b
movzx r8d, word [rax + 0x5c]
cmp r8w, word [rdx + 0x3c]
jge 0x18008ae7b
cmp qword [rax + 0x48], r9
jne 0x18008ae7b
test rcx, rcx
je 0x18008ae78
cmp r8w, word [rcx + 0x5c]
jge 0x18008ae7b
mov rcx, rax
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x18008ae54
mov qword [rsp + 0x68], rcx
test rcx, rcx
je 0x18008aea3
mov eax, dword [rcx + 0x58]
mov rdx, rcx
mov rcx, rdi
mov dword [rbp - 0x60], eax
call fcn.1800700a0
mov qword [rbp - 0x70], rax
mov eax, dword [rbp + 0xf8]
mov r9d, dword [rbp - 0x60]
mov r8d, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
mov edx, 0x70
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], eax
call fcn.180048b10
mov rax, qword [rbp - 0x70]
test rax, rax
je 0x18008aee8
mov rcx, qword [rsp + 0x40]
mov r9d, 0xfffffff8
mov r8, rax
or edx, 0xffffffff
call fcn.1800495a8
mov rcx, qword [rsp + 0x48]
mov eax, dword [rdi + 0x38]
mov r8d, dword [rsp + 0x50]
add eax, ebx
mov dword [rcx + 0xc], eax
mov eax, dword [rcx + 0x30]
add eax, dword [rcx + 0x20]
add dword [rdi + 0x38], eax
mov r9d, dword [rcx + 0xc]
xor eax, eax
add r9d, dword [rcx + 0x20]
mov rcx, qword [rsp + 0x40]
lea edx, [rax + 0x62]
mov dword [rsp + 0x20], eax
call fcn.180048a94
mov r8d, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
xor eax, eax
xor r9d, r9d
lea edx, [rax + 0x7a]
mov dword [rsp + 0x20], eax
call fcn.180048a94
cmp byte [rdi + 0x12b], 2
jne 0x18008b12a
mov rcx, qword [rsp + 0x68]
mov r10, qword [rbp - 0x68]
xor r8d, r8d
test rcx, rcx
je 0x18008af77
mov edx, 0x80
test byte [r10 + 0x30], dl
je 0x18008af6b
mov eax, dword [rcx + 0x64]
and al, 3
cmp al, 2
je 0x18008af77
mov rax, qword [rcx]
lea rcx, [0x1800fa70b]
jmp 0x18008af84
lea rcx, [0x1800fa70b]
mov ebx, r8d
mov rax, rcx
mov r9, qword [r10]
lea rdx, str._USING_COVERING_INDEX
test ebx, ebx
cmovne rcx, rdx
mov qword [rsp + 0x28], rax
lea r8, str.SCAN__s_s_s
mov qword [rsp + 0x20], rcx
mov rcx, rdi
xor edx, edx
call fcn.180048e5c
jmp 0x18008b12a
cmp dword [rdx + 0x30], ebx
jne 0x18008afdf
mov rax, qword [rdx + 0x28]
cmp dword [rax + 0x10], r11d
jl 0x18008afdf
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
mov qword [rbp - 0x70], rax
neg rax
sbb ax, ax
and ax, 0x500
mov word [rbp + 0xf8], ax
mov eax, dword [rdi + 0x38]
mov rcx, rdi
add eax, ebx
mov dword [rdx + 0xc], eax
mov eax, dword [rdx + 0x30]
add eax, dword [rdx + 0x20]
add dword [rdi + 0x38], eax
call fcn.1800886e0
movzx r11d, byte [rsp + 0x60]
or r11w, word [rbp + 0xf8]
mov r9, qword [rbp + 0x10]
mov r8, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x80]
xor eax, eax
mov rcx, rdi
mov dword [rsp + 0x38], eax
mov rax, qword [rbp - 0x70]
mov word [rsp + 0x30], r11w
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call fcn.18009d818
mov qword [rbp - 0x58], rax
test rax, rax
je 0x18008b1eb
movzx eax, byte [rax + 0x43]
mov r8, qword [rsp + 0x48]
mov edx, dword [rsp + 0x50]
mov r9d, eax
mov rcx, rdi
mov dword [rbp + 0xf8], eax
call fcn.180088894
mov edx, dword [rbp + 0xf8]
xor r9d, r9d
test edx, edx
je 0x18008b08d
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x18008b08d
mov r9d, dword [rcx + 0x14]
mov r8d, dword [rcx + 0x10]
mov rcx, rdi
call fcn.1800822a0
xor r9d, r9d
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x18008b0b2
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x20], r9d
mov r8d, ebx
mov r9d, eax
mov edx, 0x47
call fcn.180048a94
xor r9d, r9d
mov rcx, qword [rbp - 0x58]
cmp byte [rsp + 0x60], r9b
je 0x18008b118
test byte [rcx + 0x44], 4
je 0x18008b118
cmp byte [rcx + 0x41], r9b
je 0x18008b118
movzx eax, byte [rcx + 0x40]
sub eax, ebx
movsxd rdx, eax
js 0x18008b0fa
mov rax, rdx
imul rax, rax, 0x70
lea r8, [rax + rcx + 0x360]
mov rax, qword [r8 + 0x60]
test byte [rax + 0x38], 4
jne 0x18008b21a
sub r8, 0x70
sub rdx, rbx
jns 0x18008b0e3
mov dword [rsp + 0x20], r9d
mov r9d, dword [rcx + 0x34]
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
lea edx, [r8 + 9]
call fcn.180048a94
mov rcx, qword [rbp - 0x58]
call fcn.18009e560
mov rdx, qword [rsp + 0x48]
mov rcx, rdi
call fcn.180088808
mov r8d, dword [rbp - 0x50]
mov rdx, qword [rbp]
xor eax, eax
lea r9d, [rax + 0x10]
mov rcx, rdi
mov qword [rbp + 0x48], rax
call fcn.180062360
mov eax, dword [rbp - 0x50]
mov rbx, qword [rbp + 0xf0]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
xor eax, eax
xor r9d, r9d
or r8d, 0xffffffff
mov rdx, rsi
mov rcx, rdi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.180082364
mov rsi, qword [rsp + 0x40]
mov edx, dword [rbp - 0x50]
mov rcx, rsi
call fcn.1800490b4
cmp byte [rbp - 0x28], 3
mov rdi, qword [rbp + 0xe0]
jne 0x18008b1a9
lea r9, str.DISTINCT
lea r8, str.USE_TEMP_B_TREE_FOR__s
xor edx, edx
mov rcx, rdi
call fcn.180048e5c
xor eax, eax
cmp qword [rbp + 0x48], rax
je 0x18008b1d1
mov rax, qword [rsp + 0x58]
mov rdx, qword [rbp + 0xe8]
lea r8, [rbp + 0x48]
mov r9d, dword [rax]
mov rcx, rdi
mov qword [rsp + 0x20], rbx
call fcn.180082ed0
mov edx, dword [rbp + 0xc]
mov rcx, rsi
call fcn.1800490b4
xor eax, eax
cmp dword [rdi + 0x30], eax
mov r11d, eax
setg r11b
mov ebx, r11d
mov r10, qword [rsp + 0x70]
mov rax, qword [rbp + 0x10]
test rax, rax
je 0x18008b204
mov rdx, rax
mov rcx, r10
call fcn.18005e298
mov rcx, rdi
call fcn.180048ef0
mov eax, ebx
add rsp, 0x1b8
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov dword [rsp + 0x20], r9d
mov r9d, dword [r8 + 0x10]
jmp 0x18008b103