Function at 0x180067a44
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
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x108]
sub rsp, 0x1c8
mov r14, qword [rcx]
xor r15d, r15d
mov qword [rbp + 0x18], r15
mov rbx, r8
mov qword [rsp + 0x50], r14
mov r13, rdx
mov r12, rcx
mov edi, 1
call fcn.180063ad4
mov qword [rbp - 0x50], rax
mov rsi, rax
test r13, r13
je 0x180067d62
cmp byte [r14 + 0x61], r15b
jne 0x180067d62
cmp dword [r12 + 0x30], r15d
jne 0x180067d62
xor r9d, r9d
mov qword [rsp + 0x20], r15
xor r8d, r8d
lea edx, [rdi + 0x14]
mov rcx, r12
call fcn.18004c838
test eax, eax
jne 0x180067d62
xor edx, edx
lea r8d, [rdi + 0x3f]
lea rcx, [rbp - 0x30]
call fcn.1800c4240
lea eax, [rdi + 7]
cmp byte [rbx], al
ja 0x180067b02
mov rdx, qword [r13 + 0x48]
test rdx, rdx
je 0x180067af9
mov rcx, r14
call fcn.180043b9c
and dword [r13 + 0xc], 0xfffffffe
mov qword [r13 + 0x48], r15
mov rax, qword [r12]
cmp byte [rax + 0x61], r15b
jne 0x180067b1a
xor r8d, r8d
mov rdx, r13
mov rcx, r12
call fcn.1800672fc
cmp dword [r12 + 0x30], r15d
jne 0x180067d1e
cmp byte [r14 + 0x61], r15b
jne 0x180067d1e
cmp byte [rbx], 9
jne 0x180067b3f
mov rdx, r13
mov rcx, r12
call fcn.180063458
mov rdx, r13
mov rcx, r12
call fcn.180078a20
test eax, eax
jne 0x180067d1e
mov eax, dword [r13 + 0xc]
lea rcx, [rbp + 0x20]
mov rbx, qword [r13 + 0x28]
xor edx, edx
shr eax, 3
and eax, edi
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x60], eax
lea r8d, [rdx + 0x30]
call fcn.1800c4240
mov rax, qword [r13 + 0x48]
mov ecx, r15d
mov qword [rbp - 0x48], rax
mov qword [rbp + 0x20], rax
mov rax, qword [r13 + 0x50]
mov dword [rbp + 0x128], ecx
test rax, rax
jne 0x180067d7d
mov rdx, r15
mov rax, r15
mov qword [rsp + 0x40], rdx
mov r11d, 8
cmp ecx, dword [rbx]
jge 0x180067d78
imul r14, rdx, 0x70
mov rax, qword [r14 + rbx + 0x30]
mov r10, qword [r14 + rbx + 0x28]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x78], r10
test byte [r14 + rbx + 0x44], r11b
je 0x180067c1e
mov edx, dword [r14 + rbx + 0x4c]
mov rcx, qword [r13 + 0x30]
call fcn.180047ebc
test eax, eax
je 0x180067c08
mov r9, qword [rsp + 0x50]
mov eax, 0x2000
test word [r9 + 0x5c], ax
jne 0x180067c08
and byte [r14 + rbx + 0x44], 0xd7
mov rcx, qword [r13 + 0x30]
mov edx, dword [r14 + rbx + 0x4c]
call fcn.18006191c
mov ecx, dword [rbp + 0x128]
mov r11d, 8
mov rdx, qword [rsp + 0x40]
mov r10, qword [rsp + 0x78]
mov r14, qword [rsp + 0x68]
test r14, r14
je 0x180067cdb
mov rax, qword [r14]
movsx r8d, word [r10 + 0x46]
mov r9d, dword [rax]
cmp r8d, r9d
jne 0x180067d02
test byte [r14 + 0xc], r11b
jne 0x180067cdb
cmp qword [r14 + 0x48], r15
je 0x180067c6b
test ecx, ecx
jne 0x180067c6b
test dword [r13 + 0xc], 0x40000
je 0x180067c6b
cmp dword [rbx], edi
je 0x180067cdb
test byte [rbx + 0xb4], 0xa
jne 0x180067cdb
mov r9d, dword [rsp + 0x60]
mov r8d, ecx
mov rcx, r12
mov rdx, r13
call fcn.1800659e0
test eax, eax
je 0x180067c9c
cmp dword [r12 + 0x30], r15d
jne 0x180067d19
or rax, 0xffffffffffffffff
mov dword [rbp + 0x128], eax
mov qword [rsp + 0x40], rax
mov r14, qword [rsp + 0x50]
mov rbx, qword [r13 + 0x28]
mov qword [rsp + 0x70], rbx
cmp byte [r14 + 0x61], r15b
jne 0x180067d1e
mov rax, qword [rbp + 0x120]
mov r11d, 8
mov ecx, dword [rbp + 0x128]
mov rdx, qword [rsp + 0x40]
cmp byte [rax], r11b
jbe 0x180067ce0
mov rax, qword [r13 + 0x48]
mov qword [rbp - 0x48], rax
mov qword [rbp + 0x20], rax
jmp 0x180067ce0
mov r14, qword [rsp + 0x50]
mov rax, qword [r13 + 0x50]
add ecx, edi
add rdx, rdi
mov dword [rbp + 0x128], ecx
mov qword [rsp + 0x40], rdx
test rax, rax
jne 0x180067d7d
jmp 0x180067baa
mov dword [rsp + 0x20], r9d
lea rdx, str.expected__d_columns_for__s_but_got__d
mov r9, qword [r10]
mov rcx, r12
call fcn.180018cf4
mov r14, qword [rsp + 0x50]
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x180067d2f
mov rcx, r14
call fcn.180016444
mov rdx, qword [rbp]
test rdx, rdx
je 0x180067d40
mov rcx, r14
call fcn.180016444
mov edx, dword [r12 + 0x110]
test edx, edx
je 0x180067d5a
mov rcx, qword [r12 + 0x10]
call fcn.1800325e0
mov r15d, dword [rax + 8]
mov dword [r12 + 0x110], r15d
mov eax, edi
add rsp, 0x1c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
test rax, rax
je 0x180067dbf
mov r8, qword [rbp + 0x120]
mov rdx, r13
mov rcx, r12
call fcn.18006424c
mov r9d, eax
cmp qword [r13 + 0x58], r15
jne 0x180067dba
mov edx, dword [r12 + 0x110]
test edx, edx
je 0x180067db2
mov rcx, qword [r12 + 0x10]
call fcn.1800325e0
mov r15d, dword [rax + 8]
mov dword [r12 + 0x110], r15d
mov eax, r9d
jmp 0x180067d64
mov eax, dword [rbx]
cmp eax, edi
jle 0x180067dd9
cmp word [r14 + 0x5c], r15w
jl 0x180067dd9
mov rdx, r13
mov rcx, r12
call fcn.1800661f8
mov eax, dword [rbx]
mov dword [rsp + 0x64], r15d
lea rcx, [0x18010b13c]
test eax, eax
jle 0x1800680d7
mov rax, r15
mov qword [rsp + 0x78], rax
imul r14, rax, 0x70
add r14, rbx
cmp qword [r14 + 0x60], r15
jne 0x180067e24
mov r8, qword [r14 + 0x18]
test r8, r8
je 0x180067e24
mov rax, qword [r14 + 0x10]
mov r9, rcx
mov rcx, r12
mov qword [rsp + 0x20], rax
mov edx, SQLAllocHandle
call fcn.18004c838
mov rcx, qword [r14 + 0x30]
mov qword [rsp + 0x40], rcx
test rcx, rcx
je 0x1800680b1
mov r9, qword [rsp + 0x50]
mov eax, 0x1000
test word [r9 + 0x5c], ax
jne 0x180067e68
movzx eax, byte [r14 + 0x44]
mov rdx, rcx
mov r9d, dword [r14 + 0x4c]
mov rcx, r12
mov r8, qword [r13 + 0x30]
shr eax, 5
and eax, edi
mov dword [rsp + 0x20], eax
call fcn.1800662c0
mov rax, qword [r12 + 0x148]
mov qword [rbp - 0x58], rax
mov rax, qword [r14 + 0x18]
mov qword [r12 + 0x148], rax
cmp qword [rsp + 0x78], r15
jne 0x180067f51
cmp dword [rbx], edi
je 0x180067e9c
test byte [rbx + 0xb4], 0xa
je 0x180067f51
mov r8d, dword [r12 + 0x38]
xor r9d, r9d
mov ebx, dword [rsi + 0x90]
inc r8d
mov dword [r12 + 0x38], r8d
add ebx, edi
mov rcx, rsi
mov dword [r14 + 0x3c], r8d
lea edx, [r9 + 0xd]
mov dword [rsp + 0x20], ebx
call fcn.180031c04
mov eax, dword [r14 + 0x3c]
lea r8, str.CO_ROUTINE__u
mov dword [rbp + 0x54], eax
mov edx, edi
mov rax, qword [rsp + 0x40]
mov rcx, r12
mov dword [r14 + 0x38], ebx
mov byte [rbp + 0x50], reloc.Cabinet.dll_FCIFlushCabinet
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x58], r15
mov r9d, dword [rax + 0x18]
call fcn.180031e20
mov rdx, qword [rsp + 0x40]
lea r8, [rbp + 0x50]
mov rcx, r12
call fcn.180067a44
mov rax, qword [rsp + 0x40]
mov rcx, qword [r14 + 0x28]
movzx eax, word [rax + 0xa]
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.180031f58
lea edx, [rbx - 1]
mov rcx, rsi
call fcn.1800325e0
mov ecx, dword [rsi + 0x90]
mov rbx, qword [rsp + 0x70]
mov dword [rax + 8], ecx
jmp 0x18006808c
mov r9d, dword [r12 + 0x38]
xor r8d, r8d
inc r9d
mov dword [rbp + 0x128], r15d
mov dword [r12 + 0x38], r9d
mov rcx, rsi
mov dword [r14 + 0x3c], r9d
lea edx, [r8 + 0x46]
mov dword [rsp + 0x20], r15d
call fcn.180031c04
mov dword [rbp - 0x78], eax
lea ecx, [rax + 1]
mov eax, 8
mov dword [r14 + 0x38], ecx
test byte [r14 + 0x48], al
jne 0x180067fae
xor r9d, r9d
mov dword [rsp + 0x20], r15d
xor r8d, r8d
lea edx, [rax + 9]
mov rcx, rsi
call fcn.180031c04
mov dword [rbp + 0x128], eax
lea rdx, [r14 + 8]
mov rcx, rbx
call fcn.18006797c
mov qword [rsp + 0x68], rax
test rax, rax
je 0x180067ff6
mov r9d, dword [rax + 0x44]
mov edx, SQLExecDirectW
mov r8d, dword [r14 + 0x4c]
mov rcx, rsi
mov dword [rsp + 0x20], r15d
call fcn.180031c04
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx + 0x28]
movzx ecx, word [rax + 0xa]
mov rax, qword [rsp + 0x40]
mov word [rax + 0xa], cx
jmp 0x18006803d
mov eax, dword [r14 + 0x4c]
lea r8, str.MATERIALIZE__u
mov dword [rbp + 0x54], eax
mov edx, edi
mov rax, qword [rsp + 0x40]
mov rcx, r12
mov byte [rbp + 0x50], reloc.WLDAP32.dll_Ordinal_12
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x58], r15
mov r9d, dword [rax + 0x18]
call fcn.180031e20
mov rdx, qword [rsp + 0x40]
lea r8, [rbp + 0x50]
mov rcx, r12
call fcn.180067a44
mov rax, qword [rsp + 0x40]
movzx ecx, word [rax + 0xa]
mov rax, qword [r14 + 0x28]
mov word [rax + 0x48], cx
mov eax, dword [rbp + 0x128]
test eax, eax
je 0x180068062
mov edx, eax
mov rcx, rsi
call fcn.1800325e0
mov ecx, dword [rsi + 0x90]
mov dword [rax + 8], ecx
mov r8d, dword [r14 + 0x3c]
xor r9d, r9d
mov rcx, rsi
mov dword [rsp + 0x20], r15d
lea edx, [r9 + 0x42]
call fcn.180031c04
mov edx, dword [rbp - 0x78]
mov rcx, rsi
mov r9d, eax
call fcn.1800325e0
mov dword [rax + 4], r9d
mov r14, qword [rsp + 0x50]
mov byte [r12 + 0x1f], r15b
mov dword [r12 + 0x28], r15d
cmp byte [r14 + 0x61], r15b
jne 0x180067d1e
mov rax, qword [rbp - 0x58]
mov qword [r12 + 0x148], rax
mov ecx, dword [rsp + 0x64]
mov rax, qword [rsp + 0x78]
add ecx, edi
add rax, rdi
mov dword [rsp + 0x64], ecx
cmp ecx, dword [rbx]
lea rcx, [0x18010b13c]
mov qword [rsp + 0x78], rax
jl 0x180067df5
mov rax, qword [r13 + 0x30]
mov rbx, qword [r13]
mov r14, qword [rbp - 0x48]
mov qword [rbp - 0x68], rax
mov rax, qword [r13 + 0x38]
mov qword [rsp + 0x40], rax
mov rax, qword [r13 + 0x40]
mov qword [rbp - 0x58], rax
mov al, byte [r13 + 0xc]
and al, dil
mov qword [rsp + 0x78], rbx
mov byte [rbp + 0x128], al
mov byte [rbp - 0x40], al
mov eax, dword [r13 + 0xc]
and al, 9
cmp al, dil
jne 0x180068149
or r8d, 0xffffffff
mov rdx, rbx
mov rcx, r14
call fcn.180047b34
test eax, eax
jne 0x180068149
and dword [r13 + 0xc], 0xfffffffe
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
mov rdx, rbx
call fcn.180043228
mov qword [rsp + 0x40], rax
mov qword [r13 + 0x38], rax
test r14, r14
je 0x1800681ae
mov r9d, dword [rbx]
xor r8d, r8d
mov rdx, r14
mov rcx, r12
call fcn.180062cf0
mov r8d, dword [r12 + 0x34]
mov rbx, rax
mov rax, qword [rsp + 0x78]
mov edx, Ordinal_113
mov dword [rbp + 0x2c], r8d
mov dword [rsp + 0x20], r15d
lea ecx, [r8 + 1]
mov dword [r12 + 0x34], ecx
mov rcx, rsi
mov r9d, dword [rax]
inc r9d
add r9d, dword [r14]
call fcn.180031c04
mov r8, rbx
mov dword [rbp - 0x74], eax
mov r9d, 0xfffffff7
mov edx, eax
mov rcx, rsi
mov ebx, eax
call fcn.1800324f4
jmp 0x1800681b4
or ebx, 0xffffffff
mov dword [rbp - 0x74], ebx
mov rax, qword [rbp + 0x120]
mov dword [rbp + 0x38], ebx
cmp byte [rax], 0xc
jne 0x1800681e1
mov rcx, qword [rsp + 0x78]
mov edx, Ordinal_113
mov r8d, dword [rax + 4]
mov dword [rsp + 0x20], r15d
mov r9d, dword [rcx]
mov rcx, rsi
call fcn.180031c04
dec dword [r12 + 0x44]
mov ecx, 0x4000
mov eax, dword [r12 + 0x44]
mov dword [rbp - 0x48], eax
test dword [r13 + 0xc], ecx
jne 0x180068203
mov ecx, 0x140
mov word [r13 + 0xa], cx
mov r8d, eax
mov rdx, r13
mov rcx, r12
call fcn.180063b04
cmp dword [r13 + 0x10], r15d
jne 0x18006822c
test ebx, ebx
js 0x18006822c
mov edx, ebx
mov rcx, rsi
call fcn.1800325e0
or byte [rbp + 0x44], dil
mov byte [rax], 0x72
test byte [r13 + 0xc], dil
je 0x1800682af
mov ebx, dword [r12 + 0x34]
xor r9d, r9d
xor r8d, r8d
mov dword [rbp - 0x3c], ebx
mov rcx, r12
lea eax, [rbx + 1]
mov dword [r12 + 0x34], eax
mov rdx, qword [r13]
call fcn.180062cf0
xor r9d, r9d
mov dword [rsp + 0x20], r15d
mov r8d, ebx
mov rcx, rsi
mov rdi, rax
lea edx, [r9 + 0x70]
call fcn.180031c04
mov r9d, 0xfffffff7
mov r8, rdi
mov edx, eax
mov rcx, rsi
mov ebx, eax
call fcn.1800324f4
movsxd rax, dword [rsi + 0x90]
mov dword [rbp - 0x38], ebx
test eax, eax
jle 0x1800682a6
lea rcx, [rax + rax*2]
mov edx, 8
mov rax, qword [rsi + 0x88]
mov word [rax + rcx*8 - 0x16], dx
mov al, 3
mov edi, 1
jmp 0x1800682b2
mov al, r15b
mov rcx, qword [rsp + 0x40]
mov byte [rbp - 0x3f], al
mov dword [rbp - 0x70], eax
cmp dword [rsp + 0x60], r15d
jne 0x1800684df
test rcx, rcx
jne 0x1800684df
mov al, byte [rbp + 0x128]
mov ecx, 0x4000
neg al
mov eax, 0x100
sbb bx, bx
and bx, ax
movzx eax, word [r13 + 0xc]
and ax, cx
or bx, ax
mov rax, qword [r13 + 0x70]
mov qword [rbp + 0x110], rax
test rax, rax
je 0x18006830f
mov rdx, rax
mov rcx, r12
call fcn.1800793c8
movsx eax, word [r13 + 0xa]
mov r9, r14
mov r8, qword [rbp - 0x68]
mov rcx, r12
mov rdx, qword [rsp + 0x70]
mov dword [rsp + 0x30], eax
mov rax, qword [r13]
mov word [rsp + 0x28], bx
mov qword [rsp + 0x20], rax
call fcn.180076a90
mov qword [rbp + 0x118], rax
mov rdx, rax
test rax, rax
je 0x180067d19
movzx eax, word [rax + 0x60]
cmp ax, word [r13 + 0xa]
jge 0x18006835d
mov word [r13 + 0xa], ax
cmp byte [rbp + 0x128], r15b
je 0x18006837b
movzx ecx, byte [rdx + 0x47]
mov eax, dword [rbp - 0x70]
test cl, cl
movzx eax, al
cmovne eax, ecx
mov dword [rbp - 0x70], eax
mov byte [rbp - 0x3f], al
test r14, r14
je 0x1800683b1
movsx r8d, byte [rdx + 0x43]
mov dword [rbp + 0x28], r8d
cmp byte [rdx + 0x48], r15b
jne 0x180068394
mov eax, dword [rdx + 0x34]
jmp 0x1800683a3
movzx eax, byte [rdx + 0x42]
imul rcx, rax, 0x58
mov eax, dword [rcx + rdx + 0x350]
cmp r8d, dword [r14]
mov dword [rbp + 0x40], eax
cmove r14, r15
mov qword [rbp + 0x20], r14
mov eax, dword [rbp - 0x74]
test eax, eax
js 0x1800683ce
test r14, r14
jne 0x1800683ce
mov edx, eax
mov rcx, rsi
call fcn.1800323e0
mov rdx, qword [rbp + 0x118]
mov rcx, r12
cmp qword [rbp + 0x110], r15
je 0x18006849b
mov esi, dword [r12 + 0x44]
mov r8, rdx
add dword [r12 + 0x38], edi
dec esi
mov ebx, esi
mov rdx, r13
sub esi, edi
mov dword [rsp + 0x20], ebx
mov edi, dword [r12 + 0x38]
mov r9d, edi
lea r14d, [rsi - 1]
mov dword [r12 + 0x44], r14d
call fcn.18007ae48
mov rcx, qword [rbp - 0x50]
xor r8d, r8d
mov r9d, r14d
mov dword [rsp + 0x20], r15d
lea edx, [r8 + 0xb]
call fcn.180031c04
mov rcx, qword [rbp - 0x50]
mov edx, ebx
call fcn.180031ff8
mov rbx, qword [rbp + 0x120]
lea rax, [rbp - 0x40]
mov dword [rsp + 0x38], r14d
lea r9, [rbp + 0x20]
mov dword [rsp + 0x30], esi
or r8d, 0xffffffff
mov qword [rsp + 0x28], rbx
mov rdx, r13
mov rcx, r12
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x40], r15d
call fcn.1800621ec
mov edx, esi
mov rsi, qword [rbp - 0x50]
mov rcx, rsi
call fcn.180031ff8
xor r9d, r9d
mov dword [rsp + 0x20], r15d
mov r8d, edi
mov rcx, rsi
lea edx, [r9 + 0x42]
call fcn.180031c04
mov edx, r14d
mov rcx, rsi
call fcn.180031ff8
jmp 0x18006909e
mov eax, dword [rdx + 0x38]
lea r9, [rbp + 0x20]
mov rbx, qword [rbp + 0x120]
or r8d, 0xffffffff
mov dword [rsp + 0x38], eax
mov eax, dword [rdx + 0x34]
mov rdx, r13
mov dword [rsp + 0x30], eax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.1800621ec
mov rcx, qword [rbp + 0x118]
call fcn.180077694
jmp 0x18006909e
mov dword [rsp + 0x5c], r15d
mov dword [rbp - 0x7c], r15d
mov dword [rbp - 0x60], r15d
test rcx, rcx
je 0x180068586
mov rdx, qword [r13]
mov eax, dword [rdx]
test eax, eax
jle 0x180068511
add rdx, 0x2a
sub eax, edi
mov word [rdx], r15w
lea rdx, [rdx + 0x28]
test eax, eax
jg 0x180068503
mov eax, dword [rcx]
test eax, eax
jle 0x180068529
lea rdx, [rcx + 0x2a]
sub eax, edi
mov word [rdx], r15w
lea rdx, [rdx + 0x28]
test eax, eax
jg 0x18006851b
mov eax, Ordinal_69
cmp word [r13 + 0xa], ax
jle 0x18006853a
mov word [r13 + 0xa], ax
test r14, r14
je 0x18006858b
mov eax, dword [rcx]
cmp eax, dword [r14]
jne 0x18006858b
mov r9d, r15d
test eax, eax
jle 0x18006856c
mov r8, r14
lea rdx, [rcx + 0x20]
sub r8, rcx
mov al, byte [r8 + rdx]
add r9d, edi
and al, dil
mov byte [rdx], al
lea rdx, [rdx + 0x28]
cmp r9d, dword [rcx]
jl 0x180068557
or r8d, 0xffffffff
mov rdx, r14
call fcn.180047b34
mov rcx, qword [rsp + 0x40]
test eax, eax
jne 0x18006858b
mov dword [rbp - 0x60], edi
jmp 0x18006858b
mov word [r13 + 0xa], r15w
dec dword [r12 + 0x44]
xorps xmm0, xmm0
mov eax, dword [r12 + 0x44]
xorps xmm1, xmm1
mov rbx, qword [rsp + 0x70]
mov dword [rbp - 0x80], eax
lea rax, [rbp - 0x30]
mov qword [rbp + 0x90], rax
mov eax, dword [r12 + 0x38]
add eax, edi
mov qword [rbp + 0x80], r12
mov qword [rbp + 0x88], rbx
mov dword [rbp - 0x20], eax
movdqu xmmword [rbp + 0x98], xmm0
movdqu xmmword [rbp + 0xa8], xmm1
test rcx, rcx
je 0x1800685e2
mov eax, dword [rcx]
mov dword [rbp - 0x24], eax
jmp 0x1800685e6
mov dword [rbp - 0x24], r15d
mov rax, qword [rsp + 0x78]
mov qword [rbp - 0x18], rcx
test rax, rax
je 0x180068603
mov rdx, rax
lea rcx, [rbp + 0x80]
call fcn.180048364
test r14, r14
je 0x180068617
mov rdx, r14
lea rcx, [rbp + 0x80]
call fcn.180048364
mov rcx, qword [rbp - 0x58]
mov r14, qword [rsp + 0x40]
test rcx, rcx
je 0x180068676
test r14, r14
je 0x180068667
mov rdx, qword [r13 + 0x40]
lea rax, [0x180067854]
mov qword [rbp + 0x70], r15
xorps xmm0, xmm0
mov qword [rbp + 0x50], r12
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x78], r13
movdqu xmmword [rbp + 0x60], xmm0
test rdx, rdx
je 0x18006865f
lea rcx, [rbp + 0x50]
call fcn.18003facc
mov rcx, qword [rbp - 0x58]
mov rax, qword [r13 + 0x30]
mov qword [rbp - 0x68], rax
mov rdx, rcx
lea rcx, [rbp + 0x80]
call fcn.180048318
mov eax, dword [rbp - 8]
mov r11d, dword [rbp + 8]
mov dword [rbp - 4], eax
cmp qword [r13 + 0x38], r15
jne 0x180068738
cmp qword [r13 + 0x40], r15
jne 0x180068738
cmp r11d, edi
jne 0x180068738
mov rax, qword [rbp]
mov rcx, qword [rax]
mov rax, qword [rcx + 0x20]
mov qword [rsp + 0x70], rax
test rax, rax
je 0x180068738
cmp dword [rax], edi
jne 0x180068738
test dword [rcx + 4], 0x1000000
jne 0x180068738
mov rax, qword [rcx + 8]
lea rdx, [0x18010eaf4]
mov rcx, rax
mov qword [rsp + 0x68], rax
call fcn.180018dd8
test eax, eax
jne 0x1800686eb
mov byte [rsp + 0x48], 2
mov word [rsp + 0x4c], di
jmp 0x18006870d
mov rcx, qword [rsp + 0x68]
lea rdx, [0x18010eaf8]
call fcn.180018dd8
test eax, eax
jne 0x180068738
mov byte [rsp + 0x48], dil
mov dword [rsp + 0x4c], 2
mov rdx, qword [rsp + 0x70]
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
call fcn.180043228
mov qword [rbp + 0x18], rax
mov rcx, rax
test rax, rax
je 0x180068732
mov al, byte [rsp + 0x48]
mov byte [rcx + 0x20], al
mov r11d, dword [rbp + 8]
jmp 0x18006873e
mov word [rsp + 0x4c], r15w
mov edx, r15d
mov dword [rsp + 0x58], edx
test r11d, r11d
jle 0x1800687dd
mov rcx, r15
mov qword [rsp + 0x70], rcx
mov rax, qword [rbp]
mov rax, qword [rax + rcx]
or dword [rbp + 0xa8], 8
mov qword [rsp + 0x68], rax
mov r8, qword [rax + 0x20]
test r8, r8
je 0x180068794
mov rdx, r8
lea rcx, [rbp + 0x80]
call fcn.180048364
mov r11d, dword [rbp + 8]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov edx, dword [rsp + 0x58]
test dword [rax + 4], 0x1000000
je 0x1800687be
mov rdx, qword [rax + 0x40]
lea rcx, [rbp + 0x80]
mov rdx, qword [rdx + 0x48]
call fcn.180048318
mov r11d, dword [rbp + 8]
mov rcx, qword [rsp + 0x70]
mov edx, dword [rsp + 0x58]
and dword [rbp + 0xa8], 0xfffffff7
add edx, edi
add rcx, 0x18
mov dword [rsp + 0x58], edx
mov qword [rsp + 0x70], rcx
cmp edx, r11d
jl 0x180068756
mov rax, qword [rsp + 0x50]
mov r8d, dword [r12 + 0x38]
mov dword [rbp - 0x1c], r8d
cmp byte [rax + 0x61], r15b
jne 0x18006911d
test r14, r14
je 0x180068edf
mov eax, dword [r12 + 0x34]
xor r8d, r8d
mov r9d, dword [rbp - 8]
mov rdx, r14
mov dword [rbp - 0x2c], eax
mov rcx, r12
inc eax
mov dword [r12 + 0x34], eax
call fcn.180062cf0
mov r9d, dword [rbp - 0x24]
mov edx, 0x72
mov r8d, dword [rbp - 0x2c]
mov rcx, rsi
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x20], r15d
call fcn.180031c04
mov r8, qword [rsp + 0x68]
mov r9d, 0xfffffff7
mov edx, eax
mov dword [rsp + 0x70], eax
mov rcx, rsi
call fcn.1800324f4
mov ecx, dword [r12 + 0x38]
mov edx, dword [r12 + 0x44]
inc ecx
mov dword [rbp - 0x50], ecx
dec edx
mov dword [rbp - 0x78], edx
mov dword [rsp + 0x20], r15d
lea r8d, [rcx + 1]
lea ecx, [r8 + 2]
mov dword [rbp + 0x10], r8d
mov dword [r12 + 0x38], ecx
lea eax, [rdx - 1]
mov dword [r12 + 0x44], eax
mov r9d, r8d
mov dword [rsp + 0x64], ecx
xor r8d, r8d
mov dword [rsp + 0x60], eax
lea eax, [rcx + 1]
add ecx, dword [r14]
mov dword [r12 + 0x38], ecx
mov dword [rsp + 0x4c], eax
lea edx, [r8 + 0x46]
lea eax, [rcx + 1]
add ecx, dword [r14]
mov dword [r12 + 0x38], ecx
mov rcx, rsi
mov dword [rbp - 0x5c], eax
call fcn.180031c04
mov edx, dword [rsp + 0x4c]
xor r8d, r8d
mov r9d, edx
lea ecx, [rdx - 1]
add ecx, dword [r14]
lea edx, [r8 + 0x49]
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.180031c04
mov r9d, dword [rsp + 0x60]
mov edx, reloc.WLDAP32.dll_Ordinal_12
mov r8d, dword [rsp + 0x64]
mov rcx, rsi
mov dword [rsp + 0x20], r15d
call fcn.180031c04
mov eax, dword [rbp - 0x60]
mov r9, r14
mov r8, qword [rbp - 0x68]
neg eax
mov dword [rsp + 0x30], r15d
mov rdx, rbx
sbb cx, cx
and cx, 0x200
add cx, 0x40
mov word [rsp + 0x28], cx
mov rcx, r12
mov qword [rsp + 0x20], r15
call fcn.180076a90
mov qword [rbp - 0x68], rax
test rax, rax
je 0x18006911d
movsx ecx, byte [rax + 0x43]
cmp ecx, dword [r14]
jne 0x180068952
mov ebx, r15d
mov dword [rbp + 0x128], ebx
jmp 0x180068b6f
cmp byte [rbp + 0x128], r15b
je 0x180068968
lea r9, str.DISTINCT
test byte [r13 + 0xc], dil
je 0x18006896f
lea r9, str.GROUP_BY
lea r8, str.USE_TEMP_B_TREE_FOR__s
xor edx, edx
mov rcx, r12
call fcn.180031e20
mov eax, dword [r14]
mov ebx, eax
mov edx, eax
mov dword [rbp - 0x7c], eax
mov dword [rbp + 0x128], edi
cmp dword [rbp - 8], r15d
jle 0x1800689be
mov r8, qword [rbp - 0x10]
mov r9d, dword [rbp - 8]
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, rdi
jne 0x1800689a2
mov edx, ebx
mov rcx, r12
call fcn.1800483d4
xor r9d, r9d
mov dword [rsp + 0x58], eax
mov r8d, eax
mov byte [rsp + 0x20], r15b
mov rcx, r12
mov rdx, r14
call fcn.180046e00
mov ecx, dword [rbp - 8]
mov eax, r15d
mov dword [rsp + 0x5c], eax
test ecx, ecx
jle 0x180068a50
mov r13d, dword [rbp - 0x7c]
mov r14, r15
mov r12d, dword [rsp + 0x58]
mov rdx, qword [rbp - 0x10]
cmp dword [rdx + r14 + 0x10], r13d
jl 0x180068a2f
mov r9d, dword [rdx + r14 + 0xc]
lea eax, [r12 + r13]
mov r8d, dword [rdx + r14 + 8]
mov rcx, rsi
mov rdx, qword [rdx + r14]
mov dword [rsp + 0x20], eax
call fcn.180045954
mov ecx, dword [rbp - 8]
add r13d, edi
mov eax, dword [rsp + 0x5c]
add eax, edi
add r14, 0x20
mov dword [rsp + 0x5c], eax
cmp eax, ecx
jl 0x1800689fc
mov r12, qword [rbp + 0x110]
mov r13, qword [rbp + 0x118]
mov r14, qword [rsp + 0x40]
mov al, byte [r12 + 0x1f]
test al, al
jne 0x180068a65
add dword [r12 + 0x38], edi
mov eax, dword [r12 + 0x38]
jmp 0x180068a78
sub al, dil
movzx eax, al
mov byte [r12 + 0x1f], al
mov eax, dword [r12 + rax*4 + 0xbc]
mov r8d, dword [rsp + 0x58]
mov r9d, ebx
mov edx, Ordinal_96
mov dword [rbp + 0x110], eax
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.180031c04
mov r9d, dword [rbp + 0x110]
mov edx, Ordinal_133
mov r8d, dword [rbp - 0x2c]
mov rcx, rsi
mov dword [rsp + 0x20], r15d
call fcn.180031c04
mov ecx, dword [rbp + 0x110]
test ecx, ecx
je 0x180068add
mov eax, 8
cmp byte [r12 + 0x1f], al
jae 0x180068add
movzx eax, byte [r12 + 0x1f]
mov dword [r12 + rax*4 + 0xbc], ecx
add byte [r12 + 0x1f], dil
mov edx, dword [rsp + 0x58]
mov r8d, ebx
mov rcx, r12
call fcn.180048428
mov rcx, qword [rbp - 0x68]
call fcn.180077694
mov ecx, dword [r12 + 0x34]
mov dword [rsp + 0x5c], ecx
mov dword [rbp - 0x28], ecx
lea eax, [rcx + 1]
mov dword [r12 + 0x34], eax
mov al, byte [r12 + 0x1f]
test al, al
jne 0x180068b1e
add dword [r12 + 0x38], edi
mov eax, dword [r12 + 0x38]
jmp 0x180068b31
sub al, dil
movzx eax, al
mov byte [r12 + 0x1f], al
mov eax, dword [r12 + rax*4 + 0xbc]
mov r8d, ecx
mov dword [rbp - 0x7c], eax
mov rcx, rsi
mov dword [rsp + 0x20], ebx
mov r9d, eax
mov edx, 0x74
call fcn.180031c04
mov r9d, dword [rbp - 0x80]
mov edx, Ordinal_36
mov r8d, dword [rbp - 0x2c]
mov rcx, rsi
mov dword [rsp + 0x20], r15d
call fcn.180031c04
mov rax, qword [rbp - 0x68]
mov ebx, edi
mov byte [rbp - 0x2f], dil
cmp dword [rbp - 0x60], r15d
je 0x180068b9a
mov r9, qword [rsp + 0x50]
test byte [r9 + 0x5c], 4
jne 0x180068b9a
test ebx, ebx
jne 0x180068b8b
cmp byte [rax + 0x44], r15b
je 0x180068b9a
mov edx, dword [rbp - 0x74]
mov rcx, rsi
mov qword [rbp + 0x20], r15
call fcn.1800323e0
mov eax, dword [rsi + 0x90]
mov dword [rbp + 0x110], eax
test ebx, ebx
je 0x180068bc7
mov eax, dword [rsp + 0x5c]
mov edx, Ordinal_127
mov r9d, dword [rbp - 0x7c]
mov rcx, rsi
mov r8d, dword [rbp - 0x2c]
mov dword [rsp + 0x20], eax
call fcn.180031c04
mov eax, dword [r14]
mov ebx, r15d
test eax, eax
jle 0x180068c25
lea r13, [r14 + 8]
mov r8d, dword [rbp - 0x5c]
add r8d, ebx
cmp dword [rbp + 0x128], r15d
je 0x180068c01
mov dword [rsp + 0x20], r8d
mov r9d, ebx
mov r8d, dword [rsp + 0x5c]
mov edx, 0x5a
mov rcx, rsi
call fcn.180031c04
jmp 0x180068c11
mov byte [rbp - 0x30], dil
mov rcx, r12
mov rdx, qword [r13]
call fcn.180046cd4
mov eax, dword [r14]
add ebx, edi
add r13, 0x28
cmp ebx, eax
jl 0x180068bd5
mov r13, qword [rbp + 0x118]
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x180068c34
add dword [rbx], edi
mov eax, dword [r14]
mov r9d, dword [rbp - 0x5c]
mov edx, Ordinal_88
mov r8d, dword [rsp + 0x4c]
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.180031c04
mov r9d, 0xfffffff7
mov r8, rbx
mov edx, eax
mov rcx, rsi
call fcn.1800324f4
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.180031c04
mov eax, dword [r14]
mov edx, reloc.WLDAP32.dll_Ordinal_77
mov r9d, dword [rsp + 0x4c]
mov r8d, dword [rbp - 0x5c]
mov rcx, qword [r12 + 0x10]
mov dword [rsp + 0x20], eax
call fcn.180031c04
mov r14d, dword [rbp + 0x10]
mov edx, reloc.WLDAP32.dll_Ordinal_12
mov r9d, dword [rbp - 0x78]
mov rcx, rsi
mov dword [rsp + 0x20], r15d
lea r8d, [r14 + 1]
call fcn.180031c04
mov r9d, dword [rbp - 0x80]
mov r8d, r14d
mov edx, 0x2f
mov dword [rsp + 0x20], r15d
mov rcx, rsi
call fcn.180031c04
mov r9d, dword [rsp + 0x60]
mov edx, reloc.WLDAP32.dll_Ordinal_12
mov r8d, dword [rsp + 0x64]
mov rcx, rsi
mov dword [rsp + 0x20], r15d
call fcn.180031c04
mov edx, ebx
mov rcx, rsi
call fcn.1800325e0
mov ecx, dword [rsi + 0x90]
lea r8, [rbp - 0x30]
mov r14d, dword [rbp - 0x50]
mov edx, r14d
mov dword [rax + 8], ecx
mov rcx, r12
call fcn.180067568
mov r9d, r14d
mov dword [rsp + 0x20], r15d
mov r8d, edi
mov edx, Ordinal_73
mov rcx, rsi
call fcn.180031c04
cmp dword [rbp + 0x128], r15d
je 0x180068d57
mov r9d, dword [rbp + 0x110]
mov edx, 3
mov r8d, dword [rbp - 0x2c]
mov rcx, rsi
mov dword [rsp + 0x20], r15d
call fcn.180031c04
jmp 0x180068d6c
mov rcx, qword [rbp - 0x68]
call fcn.180077694
mov edx, dword [rsp + 0x70]
mov rcx, rsi
call fcn.1800323e0
mov r9d, dword [rbp - 0x78]
lea ebx, [r14 + 1]
lea r8d, [rbx + 1]
mov dword [rsp + 0x20], r15d
mov edx, reloc.WLDAP32.dll_Ordinal_12
mov rcx, rsi
call fcn.180031c04
mov r9d, dword [rbp - 0x80]
xor r8d, r8d
mov rcx, rsi
mov dword [rsp + 0x20], r15d
lea edx, [r8 + 0xb]
call fcn.180031c04
mov edi, dword [rsi + 0x90]
lea r9d, [r14 + 1]
mov edx, Ordinal_73
mov dword [rsp + 0x20], r15d
mov rcx, rsi
lea r8d, [rdx - 0x45]
call fcn.180031c04
xor r9d, r9d
mov dword [rsp + 0x20], r15d
lea r8d, [rbx + 1]
mov rcx, rsi
lea edx, [r9 + 0x42]
call fcn.180031c04
mov edx, dword [rbp - 0x78]
mov rcx, rsi
call fcn.180031ff8
mov ebx, dword [rsi + 0x90]
mov r8d, r14d
mov edx, 0x2f
mov dword [rsp + 0x20], r15d
mov rcx, rsi
lea r9d, [rbx + 2]
call fcn.180031c04
xor r9d, r9d
mov dword [rsp + 0x20], r15d
lea r8d, [r14 + 2]
mov rcx, rsi
lea edx, [r9 + 0x42]
call fcn.180031c04
lea rdx, [rbp - 0x30]
mov rcx, r12
call fcn.1800674e4
mov rdx, qword [rbp - 0x58]
inc ebx
mov r8d, ebx
mov r9d, 0x10
mov rcx, r12
call fcn.1800473f8
mov rax, qword [rbp + 0x120]
lea r9, [rbp + 0x20]
mov dword [rsp + 0x38], edi
or r8d, 0xffffffff
mov dword [rsp + 0x30], ebx
mov rdx, r13
mov qword [rsp + 0x28], rax
mov rcx, r12
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
call fcn.1800621ec
xor r9d, r9d
mov dword [rsp + 0x20], r15d
lea r8d, [r14 + 2]
mov rcx, rsi
lea ebx, [r9 + 0x42]
mov edx, ebx
call fcn.180031c04
mov edx, dword [rsp + 0x60]
mov rcx, rsi
call fcn.180031ff8
mov ecx, dword [rbp - 8]
add ecx, dword [rbp + 8]
je 0x180068ea9
lea rdx, [rbp - 0x30]
mov rcx, r12
call fcn.180067410
xor r8d, r8d
mov dword [rsp + 0x20], r15d
mov r9d, r14d
mov rcx, rsi
lea edx, [r8 + 0x46]
call fcn.180031c04
mov r8d, dword [rsp + 0x64]
xor r9d, r9d
mov edx, ebx
mov dword [rsp + 0x20], r15d
mov rcx, rsi
call fcn.180031c04
mov ebx, dword [rbp - 0x80]
jmp 0x18006908d
cmp qword [r13 + 0x30], r15
jne 0x18006913f
mov rdx, qword [r13]
cmp dword [rdx], edi
jne 0x18006913f
mov r14, qword [r13 + 0x28]
cmp dword [r14], edi
jne 0x18006913f
cmp qword [r14 + 0x30], r15
jne 0x18006913f
mov r14, qword [r14 + 0x28]
cmp dword [r14 + 0x54], r15d
jne 0x180068f43
mov rdx, qword [rdx + 8]
cmp byte [rdx], 0xa3
jne 0x180068f43
test r11d, r11d
je 0x180068f43
mov rax, qword [rbp]
mov rcx, qword [rax + 8]
mov eax, 0x100
test dword [rcx + 4], eax
je 0x180068f43
test dword [rdx + 4], 0x1000002
je 0x180069142
mov r14d, r15d
cmp dword [rbp - 4], r15d
je 0x180068fa2
mov edx, r15d
test r11d, r11d
jle 0x180068f79
mov rcx, qword [rbp]
mov rax, qword [rcx]
test dword [rax + 4], 0x1000000
jne 0x180068f6e
mov rax, qword [rcx + 8]
test byte [rax + 4], 0x20
jne 0x180068f79
add edx, edi
add rcx, 0x18
cmp edx, r11d
jl 0x180068f58
cmp edx, r11d
jne 0x180068fa2
lea r14d, [r8 + 1]
mov dword [rsp + 0x20], r15d
xor r8d, r8d
mov dword [r12 + 0x38], r14d
mov r9d, r14d
mov rcx, rsi
lea edx, [r8 + 0x46]
call fcn.180031c04
mov r11d, dword [rbp + 8]
mov ecx, dword [rbp - 8]
add ecx, r11d
je 0x180068fb6
lea rdx, [rbp - 0x30]
mov rcx, r12
call fcn.180067410
mov eax, dword [rsp + 0x4c]
mov rdx, rbx
mov r9, qword [rbp + 0x18]
mov rcx, r12
mov r8, qword [rbp - 0x68]
mov dword [rsp + 0x30], r15d
mov word [rsp + 0x28], ax
mov qword [rsp + 0x20], r15
call fcn.180076a90
mov rbx, rax
test rax, rax
je 0x18006911d
lea r8, [rbp - 0x30]
mov edx, r14d
mov rcx, r12
call fcn.180067568
test r14d, r14d
je 0x180069014
mov r9d, r14d
mov dword [rsp + 0x20], r15d
mov r8d, edi
mov edx, Ordinal_73
mov rcx, rsi
call fcn.180031c04
cmp byte [rbx + 0x43], r15b
jle 0x180069032
mov r9d, dword [rbx + 0x38]
xor r8d, r8d
mov rcx, rsi
mov dword [rsp + 0x20], r15d
lea edx, [r8 + 0xb]
call fcn.180031c04
mov rcx, rbx
call fcn.180077694
lea rdx, [rbp - 0x30]
mov rcx, r12
call fcn.1800674e4
mov ebx, dword [rbp - 0x80]
mov r9d, 0x10
mov rdx, qword [rbp - 0x58]
mov r8d, ebx
mov rcx, r12
mov qword [rbp + 0x20], r15
call fcn.1800473f8
mov rax, qword [rbp + 0x120]
xor r9d, r9d
mov dword [rsp + 0x38], ebx
or r8d, 0xffffffff
mov dword [rsp + 0x30], ebx
mov rdx, r13
mov qword [rsp + 0x28], rax
mov rcx, r12
mov qword [rsp + 0x20], r15
call fcn.1800621ec
mov edx, ebx
mov rcx, rsi
call fcn.180031ff8
mov rbx, qword [rbp + 0x120]
cmp byte [rbp - 0x70], 3
jne 0x1800690bc
lea r9, str.DISTINCT
xor edx, edx
lea r8, str.USE_TEMP_B_TREE_FOR__s
mov rcx, r12
call fcn.180031e20
cmp qword [rbp + 0x20], r15
je 0x180069105
cmp dword [rbp + 0x28], r15d
lea rax, str.RIGHT_PART_OF_ORDER_BY
lea r9, str.ORDER_BY
mov rcx, r12
cmovg r9, rax
lea r8, str.USE_TEMP_B_TREE_FOR__s
xor edx, edx
call fcn.180031e20
mov rax, qword [rsp + 0x78]
lea r8, [rbp + 0x20]
mov rdx, r13
mov qword [rsp + 0x20], rbx
mov rcx, r12
mov r9d, dword [rax]
call fcn.180062ddc
mov edx, dword [rbp - 0x48]
mov rcx, rsi
call fcn.180031ff8
cmp dword [r12 + 0x30], r15d
mov eax, r15d
setg al
mov edi, eax
mov rax, qword [rbp + 0x18]
mov r14, qword [rsp + 0x50]
test rax, rax
je 0x180067d1e
mov rdx, rax
mov rcx, r14
call fcn.180043b9c
jmp 0x180067d1e
mov r14, r15
test r14, r14
je 0x180068f43
mov r8, qword [r14 + 0x70]
mov edx, 0xfff0bdc0
mov dword [rbp + 0x118], edx
test r8, r8
je 0x18006918a
mov rax, qword [r12]
mov edx, r15d
mov dword [rbp + 0x118], edx
mov rcx, qword [rax + 0x20]
add rcx, 0x18
cmp qword [rcx], r8
je 0x18006918a
add edx, edi
lea rcx, [rcx + 0x20]
cmp qword [rcx], r8
jne 0x180069179
mov dword [rbp + 0x118], edx
mov eax, dword [r12 + 0x34]
mov rcx, r12
mov dword [rbp + 0x110], eax
mov rbx, r15
inc eax
mov qword [rsp + 0x68], r15
mov dword [r12 + 0x34], eax
mov eax, dword [r14 + 0x38]
mov dword [rbp + 0x128], eax
call fcn.180052674
test byte [r14 + 0x40], 0x20
je 0x1800691d5
mov rbx, qword [r14 + 0x10]
jmp 0x1800691d0
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
je 0x1800691d5
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1800691c3
mov rax, qword [r14 + 0x10]
jmp 0x180069204
test byte [rax + 0x64], 4
jne 0x180069200
movzx ecx, word [rax + 0x5c]
cmp cx, word [r14 + 0x4a]
jge 0x180069200
cmp qword [rax + 0x48], r15
jne 0x180069200
test rbx, rbx
je 0x1800691fd
cmp cx, word [rbx + 0x5c]
jge 0x180069200
mov rbx, rax
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x1800691db
test rbx, rbx
je 0x180069227
mov eax, dword [rbx + 0x58]
mov rdx, rbx
mov rcx, r12
mov dword [rbp + 0x128], eax
call fcn.180052d2c
mov qword [rsp + 0x68], rax
mov ecx, dword [rbp + 0x118]
mov edx, reloc.WLDAP32.dll_Ordinal_97
mov r9d, dword [rbp + 0x128]
mov r8d, dword [rbp + 0x110]
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.180031f14
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x18006926e
mov r9d, 0xfffffff7
mov r8, rax
or edx, 0xffffffff
mov rcx, rsi
call fcn.1800324f4
mov rax, qword [rbp]
mov edx, Ordinal_96
mov r8d, dword [rbp + 0x110]
mov rcx, rsi
mov dword [rsp + 0x20], r15d
mov r9d, dword [rax + 0x10]
call fcn.180031c04
mov r8d, dword [rbp + 0x110]
xor r9d, r9d
mov rcx, rsi
mov dword [rsp + 0x20], r15d
lea edx, [r9 + 0x75]
call fcn.180031c04
cmp byte [r12 + 0x103], 2
jne 0x180069046
test rbx, rbx
je 0x1800692da
test byte [r14 + 0x40], 0x20
je 0x1800692ce
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
je 0x1800692da
mov rax, qword [rbx]
lea rcx, [0x18010b13c]
jmp 0x1800692e7
lea rcx, [0x18010b13c]
mov edi, r15d
mov rax, rcx
mov r9, qword [r14]
lea rdx, str._USING_COVERING_INDEX
test edi, edi
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, r12
call fcn.180031e20
jmp 0x180069046