Function at 0x1402f60f0
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1404af540]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r15, qword [rcx]
xor edi, edi
xor ebx, ebx
mov r13, r8
mov rbp, rdx
mov r12, rcx
mov r14d, 1
test r8, r8
jne 0x1402f6246
cmp qword [rcx + 0x38], rbx
lea rdi, [rcx + 0x38]
jne 0x1402f620b
mov r9, qword [r15 + 0x50]
lea rcx, str.SELECT__s_FROM__s_T_WHERE_T._Q_
mov r8, qword [r15 + 0x48]
mov rdx, qword [r15 + 0x68]
call fcn.140285a90
mov rsi, rax
test rax, rax
jne 0x1402f6172
mov rcx, qword [rdi]
mov ebx, 7
call fcn.14028bb90
jmp 0x1402f63ad
mov rax, qword [r12]
mov r9d, 0x81
mov r8d, 0xffffffff
mov rdx, rsi
inc dword [rax + 0x80]
xor eax, eax
mov rcx, qword [r15]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.14036b1c0
mov ebx, eax
mov rax, qword [r12]
dec dword [rax + 0x80]
cmp dword [reloc.SinoSPE.dll_Ordinal_1], 0
je 0x1402f6202
mov rcx, qword [0x1404b8660]
test rcx, rcx
je 0x1402f61cb
call qword [0x1404a5bd0]
mov rcx, rsi
call qword [0x1404a5b88]
dec qword [0x1404b85e8]
movsxd rcx, eax
sub qword [0x1404b85a0], rcx
mov rcx, rsi
call qword [0x1404a5b78]
mov rcx, qword [0x1404b8660]
test rcx, rcx
je 0x1402f620b
call qword [0x1404a5be0]
jmp 0x1402f620b
mov rcx, rsi
call qword [0x1404a5b78]
mov rdi, qword [rdi]
mov rcx, rdi
call fcn.14028bb90
test ebx, ebx
jne 0x1402f63ad
mov r8, rbp
mov edx, r14d
mov rcx, rdi
call fcn.140288b80
mov rcx, rdi
call fcn.14028a180
cmp eax, 0x64
je 0x1402f6246
mov rcx, rdi
call fcn.14028bb90
jmp 0x1402f63af
mov qword [rsp + 0x48], r12
mov rbp, r14
mov dword [rsp + 0x50], 0xffffffff
xor esi, esi
mov r8d, 0x202
mov r9d, 0x400
cmp r14d, dword [r15 + 0x18]
jg 0x1402f63db
mov rax, qword [r15 + 0x28]
cmp byte [rax + rbp - 1], 0
jne 0x1402f6389
test rdi, rdi
je 0x1402f62a0
mov edx, r14d
mov rcx, rdi
call fcn.14028b380
mov edx, r14d
mov rcx, rdi
mov rbx, rax
call fcn.14028b650
jmp 0x1402f6329
test r13, r13
je 0x1402f6389
mov rcx, qword [rsi + r13]
test rcx, rcx
jne 0x1402f62b6
xor ebx, ebx
jmp 0x1402f62ec
movzx edx, word [rcx + 0x14]
movzx eax, dx
and ax, r8w
cmp ax, r8w
jne 0x1402f62d3
cmp byte [rcx + 0x16], 1
jne 0x1402f62d3
mov rbx, qword [rcx + 8]
jmp 0x1402f62ec
test dl, 1
je 0x1402f62dc
xor ebx, ebx
jmp 0x1402f62ec
mov dl, 1
call fcn.1403af620
mov rbx, rax
mov r9d, 0x400
mov rax, qword [rsi + r13]
movzx edx, word [rax + 0x14]
test dl, 2
je 0x1402f6304
cmp byte [rax + 0x16], 1
jne 0x1402f6304
mov ecx, dword [rax + 0x10]
jmp 0x1402f632b
test dl, 0x10
je 0x1402f6316
mov ecx, dword [rax + 0x10]
test r9w, dx
je 0x1402f632b
add ecx, dword [rax]
jmp 0x1402f632b
test dl, 1
je 0x1402f631f
xor ecx, ecx
jmp 0x1402f632b
mov dl, 1
mov rcx, rax
call fcn.1403aec60
mov ecx, eax
xor edx, edx
mov dword [rsp + 0x54], edx
test rbx, rbx
je 0x1402f6365
mov rax, qword [r15 + 0x78]
lea rdx, [0x1402f6750]
mov qword [rsp + 0x28], rdx
mov r9, rbx
mov dword [rsp + 0x20], ecx
lea rdx, [rsp + 0x48]
mov rcx, qword [r15 + 0x70]
mov r8d, 4
call qword [rax + reloc.SinoSPE.dll_Ordinal_16]
mov edx, dword [rsp + 0x54]
mov ebx, eax
mov rcx, qword [r12 + 0x20]
movsxd rax, edx
sub qword [rcx + rsi], rax
mov rax, qword [r12 + 0x20]
cmp qword [rsi + rax], 0
jl 0x1402f63d4
mov r8d, 0x202
mov r9d, 0x400
inc r14d
inc rbp
add rsi, 8
test ebx, ebx
je 0x1402f6264
dec qword [r12 + 0x18]
mov rcx, rdi
call fcn.14028bb90
test ebx, ebx
cmove ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1403ca460
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ebx, 0x10b
jmp 0x1402f639b
test ebx, ebx
jne 0x1402f639b
cmp qword [r12 + 0x18], 1
jge 0x1402f639b
mov rcx, rdi
mov ebx, 0x10b
call fcn.14028bb90
jmp 0x1402f63ad