Function at 0x1400aea35
Capabilities:
Reference sql statements

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xb0
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov dword [rbp + 0x20], r8d
mov qword [rbp + 0x28], r9
mov dword [rbp - 4], 0
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 1
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x65]
test al, al
jne 0x1400aea93
mov rdx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x10]
lea r8, [0x140c78a18]
mov rcx, rax
call fcn.14000befc
mov eax, 1
jmp 0x1400af18d
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0xd8]
cmp eax, 1
jle 0x1400aeac3
mov rdx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x10]
lea r8, [0x140c78a40]
mov rcx, rax
call fcn.14000befc
mov eax, 1
jmp 0x1400af18d
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x4c]
mov dword [rbp - 0x24], eax
cmp qword [rbp + 0x28], 0
je 0x1400aeb3e
mov rax, qword [rbp + 0x28]
mov rcx, rax
call fcn.140045eeb
cmp eax, 3
je 0x1400aeb06
mov rdx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x10]
lea r8, [0x140c78a6b]
mov rcx, rax
call fcn.14000befc
mov eax, 1
jmp 0x1400af18d
mov rax, qword [rbp + 0x28]
mov rcx, rax
call fcn.140045e5f
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x4c]
and eax, 0xfffffffe
mov edx, eax
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x4c], edx
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x4c]
or eax, 6
mov edx, eax
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x4c], edx
jmp 0x1400aeb49
lea rax, [0x140c71b3a]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0x18]
mov rax, qword [rax + 0x30]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x2c]
mov dword [rbp - 0x34], eax
mov rax, qword [rbp + 0x18]
mov rax, qword [rax + 0x78]
mov qword [rbp - 0x40], rax
mov rax, qword [rbp + 0x18]
mov rax, qword [rax + 0x80]
mov qword [rbp - 0x48], rax
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x6e]
mov byte [rbp - 0x49], al
mov rax, qword [rbp + 0x18]
mov rax, qword [rax + 0x30]
or rax, 0x201
mov rdx, rax
mov rax, qword [rbp + 0x18]
mov qword [rax + 0x30], rdx
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x2c]
or eax, 6
mov edx, eax
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x2c], edx
mov rax, qword [rbp + 0x18]
mov rdx, qword [rax + 0x30]
movabs rax, 0xfffffffeefffafff
and rdx, rax
mov rax, qword [rbp + 0x18]
mov qword [rax + 0x30], rdx
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x6e], 0
mov rax, qword [rbp + 0x18]
mov rdx, qword [rax + 0x20]
mov eax, dword [rbp + 0x20]
cdqe
shl rax, 5
add rax, rdx
mov rax, qword [rax]
mov qword [rbp - 0x58], rax
mov rax, qword [rbp + 0x18]
mov rdx, qword [rax + 0x20]
mov eax, dword [rbp + 0x20]
cdqe
shl rax, 5
add rax, rdx
mov rax, qword [rax + 8]
mov qword [rbp - 0x60], rax
mov rax, qword [rbp - 0x60]
mov rcx, rax
call fcn.140039643
mov rcx, rax
call fcn.140023d10
mov dword [rbp - 0x64], eax
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x28]
mov dword [rbp - 0x68], eax
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rbp + 0x10]
mov rax, qword [rbp + 0x18]
mov r9, rcx
lea r8, [0x140c78a7d]
mov rcx, rax
call fcn.1400ae87d
mov dword [rbp - 4], eax
mov rax, qword [rbp + 0x18]
mov edx, dword [rbp - 0x24]
mov dword [rax + 0x4c], edx
cmp dword [rbp - 4], 0
jne 0x1400af0c4
mov rax, qword [rbp + 0x18]
mov rdx, qword [rax + 0x20]
mov eax, dword [rbp - 0x68]
cdqe
shl rax, 5
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov qword [rbp - 0x70], rax
cmp qword [rbp + 0x28], 0
je 0x1400aed45
mov rax, qword [rbp - 0x70]
mov rcx, rax
call fcn.140039643
mov rcx, rax
call fcn.14002415c
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x88], 0
mov rax, qword [rbp - 0x78]
mov rax, qword [rax]
test rax, rax
je 0x1400aed07
lea rax, [rbp - 0x88]
mov rcx, qword [rbp - 0x78]
mov rdx, rax
call fcn.140009bf9
test eax, eax
jne 0x1400aece4
mov rax, qword [rbp - 0x88]
test rax, rax
jle 0x1400aed07
mov dword [rbp - 4], 1
mov rdx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x10]
lea r8, [0x140c78a94]
mov rcx, rax
call fcn.14000befc
jmp 0x1400af0e3
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x2c]
or eax, 8
mov edx, eax
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x2c], edx
mov rax, qword [rbp + 0x18]
mov rdx, qword [rax + 0x20]
mov eax, dword [rbp + 0x20]
cdqe
shl rax, 5
add rax, rdx
movzx eax, byte [rax + 0x10]
movzx eax, al
mov rdx, qword [rbp + 0x18]
mov rdx, qword [rdx + 0x30]
and edx, 0x38
or eax, edx
mov dword [rbp - 0x1c], eax
mov rax, qword [rbp - 0x60]
mov rcx, rax
call fcn.14002d5f1
mov dword [rbp - 0x7c], eax
mov rax, qword [rbp + 0x18]
mov rdx, qword [rax + 0x20]
mov eax, dword [rbp + 0x20]
cdqe
shl rax, 5
add rax, rdx
mov rax, qword [rax + 0x18]
mov edx, dword [rax + 0x74]
mov rax, qword [rbp - 0x70]
mov rcx, rax
call fcn.14002d329
mov rax, qword [rbp - 0x60]
mov edx, 0
mov rcx, rax
call fcn.14002d379
mov edx, eax
mov rax, qword [rbp - 0x70]
mov rcx, rax
call fcn.14002d379
mov eax, dword [rbp - 0x1c]
or eax, 0x20
mov edx, eax
mov rax, qword [rbp - 0x70]
mov rcx, rax
call fcn.14002d41c
mov rdx, qword [rbp + 0x10]
mov rax, qword [rbp + 0x18]
lea r8, [0x140c76144]
mov rcx, rax
call fcn.1400ae756
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jne 0x1400af0c7
cmp qword [rbp + 0x28], 0
jne 0x1400aede0
mov edx, 2
jmp 0x1400aede5
mov edx, 0
mov rax, qword [rbp - 0x60]
mov r8d, 0
mov rcx, rax
call fcn.14002e322
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jne 0x1400af0ca
mov rax, qword [rbp - 0x60]
mov rcx, rax
call fcn.140039643
mov rcx, rax
call fcn.140024633
cmp eax, 5
jne 0x1400aee2f
cmp qword [rbp + 0x28], 0
jne 0x1400aee2f
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x74], 0
mov rax, qword [rbp - 0x60]
mov rcx, rax
call fcn.14002d5aa
mov edx, eax
mov ecx, dword [rbp - 0x7c]
mov rax, qword [rbp - 0x70]
mov r9d, 0
mov r8d, ecx
mov rcx, rax
call fcn.14002d46c
test eax, eax
jne 0x1400aee8e
cmp dword [rbp - 0x64], 0
jne 0x1400aee82
mov rax, qword [rbp + 0x18]
mov edx, dword [rax + 0x74]
mov ecx, dword [rbp - 0x7c]
mov rax, qword [rbp - 0x70]
mov r9d, 0
mov r8d, ecx
mov rcx, rax
call fcn.14002d46c
test eax, eax
jne 0x1400aee8e
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x67]
test al, al
je 0x1400aee9a
mov dword [rbp - 4], 7
jmp 0x1400af0e3
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x6a]
test al, al
js 0x1400aeeb3
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x6a]
movsx eax, al
jmp 0x1400aeebf
mov rax, qword [rbp - 0x60]
mov rcx, rax
call fcn.14002d7ce
mov rcx, qword [rbp - 0x70]
mov edx, eax
call fcn.14002d731
mov eax, dword [rbp - 0x68]
mov edx, eax
mov rax, qword [rbp + 0x18]
mov byte [rax + 0xc4], dl
mov rcx, qword [rbp - 0x58]
mov rdx, qword [rbp + 0x10]
mov rax, qword [rbp + 0x18]
mov r9, rcx
lea r8, [0x140c78ab0]
mov rcx, rax
call fcn.1400ae87d
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jne 0x1400af0cd
mov rcx, qword [rbp - 0x58]
mov rdx, qword [rbp + 0x10]
mov rax, qword [rbp + 0x18]
mov r9, rcx
lea r8, [0x140c78b20]
mov rcx, rax
call fcn.1400ae87d
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jne 0x1400af0d0
mov rax, qword [rbp + 0x18]
mov byte [rax + 0xc4], 0
mov rcx, qword [rbp - 0x58]
mov rdx, qword [rbp + 0x10]
mov rax, qword [rbp + 0x18]
mov r9, rcx
lea r8, [0x140c78b58]
mov rcx, rax
call fcn.1400ae87d
mov dword [rbp - 4], eax
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x2c]
and eax, 0xfffffffb
mov edx, eax
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x2c], edx
cmp dword [rbp - 4], 0
jne 0x1400af0d3
mov rcx, qword [rbp - 0x58]
mov rdx, qword [rbp + 0x10]
mov rax, qword [rbp + 0x18]
mov r9, rcx
lea r8, [0x140c78bf0]
mov rcx, rax
call fcn.1400ae87d
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jne 0x1400af0d6
mov dword [rbp - 0x20], 0
jmp 0x1400af023
mov eax, dword [rbp - 0x20]
cdqe
lea rdx, [0x140c7fcc0]
movzx eax, byte [rax + rdx]
movzx eax, al
lea rdx, [rbp - 0x8c]
mov rcx, qword [rbp - 0x60]
mov r8, rdx
mov edx, eax
call fcn.140039358
mov eax, dword [rbp - 0x20]
add eax, 1
cdqe
lea rdx, [0x140c7fcc0]
movzx eax, byte [rax + rdx]
movzx eax, al
mov edx, dword [rbp - 0x8c]
lea r8d, [rax + rdx]
mov eax, dword [rbp - 0x20]
cdqe
lea rdx, [0x140c7fcc0]
movzx eax, byte [rax + rdx]
movzx eax, al
mov rcx, qword [rbp - 0x70]
mov edx, eax
call fcn.1400393e4
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jne 0x1400af0d9
add dword [rbp - 0x20], 2
cmp dword [rbp - 0x20], 9
jle 0x1400aefac
cmp qword [rbp + 0x28], 0
jne 0x1400af043
mov rdx, qword [rbp - 0x70]
mov rax, qword [rbp - 0x60]
mov rcx, rax
call fcn.14003c358
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jne 0x1400af0dc
mov rax, qword [rbp - 0x70]
mov rcx, rax
call fcn.14002f33d
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jne 0x1400af0df
cmp qword [rbp + 0x28], 0
jne 0x1400af083
mov rax, qword [rbp - 0x70]
mov rcx, rax
call fcn.14002d7ce
mov edx, eax
mov rax, qword [rbp - 0x60]
mov rcx, rax
call fcn.14002d731
cmp qword [rbp + 0x28], 0
jne 0x1400af0e2
mov rax, qword [rbp - 0x70]
mov rcx, rax
call fcn.14002d5f1
mov dword [rbp - 0x7c], eax
mov rax, qword [rbp - 0x70]
mov rcx, rax
call fcn.14002d5aa
mov edx, eax
mov ecx, dword [rbp - 0x7c]
mov rax, qword [rbp - 0x60]
mov r9d, 1
mov r8d, ecx
mov rcx, rax
call fcn.14002d46c
mov dword [rbp - 4], eax
jmp 0x1400af0e3
nop
jmp 0x1400af0e3
nop
jmp 0x1400af0e3
nop
jmp 0x1400af0e3
nop
jmp 0x1400af0e3
nop
jmp 0x1400af0e3
nop
jmp 0x1400af0e3
nop
jmp 0x1400af0e3
nop
jmp 0x1400af0e3
nop
jmp 0x1400af0e3
nop
jmp 0x1400af0e3
nop
mov rax, qword [rbp + 0x18]
mov byte [rax + 0xc4], 0
mov rax, qword [rbp + 0x18]
mov edx, dword [rbp - 0x34]
mov dword [rax + 0x2c], edx
mov rax, qword [rbp + 0x18]
mov rdx, qword [rbp - 0x30]
mov qword [rax + 0x30], rdx
mov rax, qword [rbp + 0x18]
mov rdx, qword [rbp - 0x40]
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x18]
mov rdx, qword [rbp - 0x48]
mov qword [rax + 0x80], rdx
mov rdx, qword [rbp + 0x18]
movzx eax, byte [rbp - 0x49]
mov byte [rdx + 0x6e], al
mov rax, qword [rbp - 0x60]
mov r9d, 1
mov r8d, 0
mov edx, 0xffffffff
mov rcx, rax
call fcn.14002d46c
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x65], 1
cmp qword [rbp - 0x10], 0
je 0x1400af17e
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov rcx, rax
call fcn.14002d1fb
mov rax, qword [rbp - 0x10]
mov qword [rax + 8], 0
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x18], 0
mov rax, qword [rbp + 0x18]
mov rcx, rax
call fcn.140074653
mov eax, dword [rbp - 4]
add rsp, 0xb0
pop rbp
ret