Function at 0x14027d9c0
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
cmp dword [rax + 0x88], 5
jne 0x14027d9ff
mov dword [rsp + 0x70], 1
jmp 0x14027da07
mov dword [rsp + 0x70], 0
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x80], eax
mov qword [rsp + 0x68], 0
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax + 4]
dec eax
mov dword [rsp + 0x84], eax
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax + 8]
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0xe8]
cmp dword [rax + 4], 0
jne 0x14027da51
jmp 0x14027dff9
mov rax, qword [rsp + 0xe8]
mov r9d, dword [rax]
mov rax, qword [rsp + 0x88]
mov r8, qword [rax + 0x10]
mov rax, qword [rsp + 0x88]
mov rdx, qword [rax + 8]
lea rcx, str.SELECT_segid__term___pgno__1____pgno1__FROM__Q._q_idx_WHERE_segid_d_ORDER_BY_1__2
call fcn.140129dd0
mov r8, rax
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0xe0]
call fcn.14026df40
nop
mov rax, qword [rsp + 0xe0]
cmp dword [rax + 0x3c], 0
jne 0x14027dfc8
mov rcx, qword [rsp + 0x68]
call fcn.14012c5c0
cmp eax, 0x64
jne 0x14027dfc8
mov edx, 1
mov rcx, qword [rsp + 0x68]
call fcn.14012c7a0
mov qword [rsp + 0xc0], rax
mov edx, 1
mov rcx, qword [rsp + 0x68]
call fcn.14012c9f0
mov dword [rsp + 0x3c], eax
mov edx, 2
mov rcx, qword [rsp + 0x68]
call fcn.14012c840
mov dword [rsp + 0x44], eax
mov edx, 3
mov rcx, qword [rsp + 0x68]
call fcn.14012c840
mov dword [rsp + 0x94], eax
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax + 4]
cmp dword [rsp + 0x44], eax
jge 0x14027db24
jmp 0x14027da96
mov rax, qword [rsp + 0xe8]
movsxd rax, dword [rax]
shl rax, 0x25
movsxd rcx, dword [rsp + 0x44]
add rax, rcx
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xe0]
call fcn.14026dec0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14027db6a
jmp 0x14027dfc8
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0xc]
cmp dword [rax + 8], ecx
jg 0x14027dbc7
cmp dword [rsp + 0x3c], 0
jne 0x14027dbb3
mov rax, qword [rsp + 0x88]
cmp dword [rax + 0x88], 5
jne 0x14027dbb3
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0xc]
cmp dword [rax + 8], ecx
jne 0x14027dbb3
mov rax, qword [rsp + 0x30]
cmp dword [rax + 8], 4
jne 0x14027dbb3
jmp 0x14027dbc2
mov rax, qword [rsp + 0xe0]
mov dword [rax + 0x3c], 0x10b
jmp 0x14027dd04
mov rcx, qword [rsp + 0x30]
call fcn.14026dbc0
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call fcn.14026d7b0
movzx eax, ax
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x90], eax
jge 0x14027dc07
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x38], eax
jl 0x14027dc1b
mov rax, qword [rsp + 0xe0]
mov dword [rax + 0x3c], 0x10b
jmp 0x14027dcf1
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx]
add rcx, rax
mov rax, rcx
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.14025ee40
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x48], eax
jge 0x14027dc5b
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x74], eax
jmp 0x14027dc63
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jg 0x14027dc74
mov dword [rsp + 0x7c], 0
jmp 0x14027dcbc
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x48], eax
jge 0x14027dc88
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x78], eax
jmp 0x14027dc90
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x78], eax
movsxd rax, dword [rsp + 0x78]
movsxd rcx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rdx, qword [rdx]
add rdx, rcx
mov rcx, rdx
mov r8, rax
mov rdx, qword [rsp + 0xc0]
call sub.VCRUNTIME140.dll_memcmp
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
jne 0x14027dcdb
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x48]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
jge 0x14027dcf1
mov rax, qword [rsp + 0xe0]
mov dword [rax + 0x3c], 0x10b
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xe0]
call fcn.14027d6d0
nop
mov rcx, qword [rsp + 0x30]
call fcn.14026dea0
mov rax, qword [rsp + 0xe0]
cmp dword [rax + 0x3c], 0
je 0x14027dd21
jmp 0x14027dfc8
mov eax, dword [rsp + 0x44]
dec eax
mov ecx, dword [rsp + 0x5c]
inc ecx
mov edx, dword [rsp + 0x84]
inc edx
mov dword [rsp + 0x20], eax
mov r9d, ecx
mov r8d, edx
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xe0]
call fcn.14027d5f0
mov rax, qword [rsp + 0xe0]
cmp dword [rax + 0x3c], 0
je 0x14027dd68
jmp 0x14027dfc8
cmp dword [rsp + 0x94], 0
je 0x14027dfa9
mov qword [rsp + 0x60], 0
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x40], 0
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x50]
xor edx, edx
mov rcx, qword [rsp + 0xe0]
call fcn.14026ff30
mov qword [rsp + 0x60], rax
jmp 0x14027ddd0
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xe0]
call fcn.14026fa00
nop
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xe0]
call fcn.14026faa0
test eax, eax
jne 0x14027df94
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x40], eax
jmp 0x14027de00
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x60]
call fcn.140270110
cmp dword [rsp + 0x40], eax
jge 0x14027de7e
movsxd rax, dword [rsp + 0x50]
shl rax, 0x25
movsxd rcx, dword [rsp + 0x40]
add rax, rcx
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xe0]
call fcn.14026dc00
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14027de79
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call fcn.14026d7b0
movzx eax, ax
test eax, eax
je 0x14027de6e
mov rax, qword [rsp + 0xe0]
mov dword [rax + 0x3c], 0x10b
mov rcx, qword [rsp + 0x30]
call fcn.14026dea0
nop
jmp 0x14027ddf6
mov rcx, qword [rsp + 0x60]
call fcn.140270110
mov dword [rsp + 0x54], eax
movsxd rax, dword [rsp + 0x50]
shl rax, 0x25
movsxd rcx, dword [rsp + 0x54]
add rax, rcx
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xe0]
call fcn.14026dc00
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14027df8f
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call fcn.14026d7b0
movzx eax, ax
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x58], eax
jl 0x14027df01
mov rax, qword [rsp + 0xe0]
mov dword [rax + 0x3c], 0x10b
jmp 0x14027df84
cmp dword [rsp + 0x80], 0
je 0x14027df12
cmp dword [rsp + 0x58], 0
jle 0x14027df84
mov rcx, qword [rsp + 0x60]
call fcn.1402700f0
mov qword [rsp + 0xa8], rax
movsxd rax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx]
add rcx, rax
mov rax, rcx
lea rdx, [rsp + 0xb0]
mov rcx, rax
call fcn.14025efe0
mov rax, qword [rsp + 0xa8]
cmp qword [rsp + 0xb0], rax
jl 0x14027df75
cmp dword [rsp + 0x80], 0
jne 0x14027df84
mov rax, qword [rsp + 0xa8]
cmp qword [rsp + 0xb0], rax
je 0x14027df84
mov rax, qword [rsp + 0xe0]
mov dword [rax + 0x3c], 0x10b
mov rcx, qword [rsp + 0x30]
call fcn.14026dea0
nop
jmp 0x14027ddbd
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x5c], eax
mov rcx, qword [rsp + 0x60]
call fcn.14026fec0
nop
jmp 0x14027dfb8
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax + 8]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x84], eax
jmp 0x14027da96
mov rcx, qword [rsp + 0x68]
call fcn.14012cab0
mov dword [rsp + 0x98], eax
mov rax, qword [rsp + 0xe0]
cmp dword [rax + 0x3c], 0
jne 0x14027dff9
mov rax, qword [rsp + 0xe0]
mov ecx, dword [rsp + 0x98]
mov dword [rax + 0x3c], ecx
add rsp, 0xd8
ret