Function at 0x180003f90
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x18007b028]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov r15d, r9d
mov rdi, r8
mov r12, rdx
mov qword [rbp - 0x60], r8
mov rax, qword [rbp + 0xf0]
mov qword [rbp - 0x68], rax
xor ebx, ebx
mov rcx, qword [r8]
mov rsi, qword [r8 + 8]
sub rsi, rcx
sar rsi, 3
test rdx, rdx
je 0x180004a6b
test esi, esi
je 0x180004a6b
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rbx
xor r8d, r8d
lea rdx, [0x180072b88]
lea rcx, [rbp - 0x58]
call fcn.180003340
nop
mov dword [rbp - 0x38], ebx
movsxd r14, esi
mov eax, 8
mul r14
mov rbx, 0xffffffffffffffff
cmovo rax, rbx
mov rcx, rax
call fcn.180037b9c
mov r13, rax
xor r8d, r8d
test esi, esi
jle 0x180004063
nop word [rax + rax]
mov rcx, qword [rdi]
mov rdx, qword [rcx + r8*8]
mov qword [rax + r8*8], rdx
inc r8
cmp r8, r14
jl 0x180004050
mov dword [rbp + 0x20], 0x3ffe0
mov qword [rbp + 0x28], r13
mov dword [rbp + 0x30], esi
xor r14d, r14d
mov qword [rbp + 0x38], r14
mov dword [rsp + 0x70], 1
cmp r15d, 1
jne 0x180004534
mov rax, qword [r12]
mov rdx, qword [rax]
mov rcx, r12
call rdx
mov rcx, qword [rax]
mov edx, esi
mov r8, qword [rcx + 0xc0]
mov rcx, rax
call r8
xorps xmm0, xmm0
xor esi, esi
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
cmp byte [rbp + 0xf8], r14b
jne 0x1800042f0
nop dword [rax]
inc rbx
cmp byte [rax + rbx], sil
jne 0x1800040d0
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.180003340
nop
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
sub rax, r8
mov r15d, 0x44
lea r14, str.SELECT_GROUP_ID_USER_ID_FROM_PROFILE_GROUP_MEMBER_WHERE_USER_ID_IN__
cmp rax, r15
jb 0x180004185
lea rax, [r8 + 0x44]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rcx, 0x10
cmovae rbx, qword [rsp + 0x30]
lea rax, [0x1800732e4]
cmp rax, rbx
jbe 0x180004146
lea rax, [rbx + r8]
cmp r14, rax
ja 0x180004146
cmp rbx, r14
jbe 0x180004149
mov rsi, rbx
sub rsi, r14
jmp 0x180004149
mov rsi, r15
lea rcx, [rbx + 0x44]
inc r8
mov rdx, rbx
call fcn.180038d40
mov r8, rsi
mov rdx, r14
mov rcx, rbx
call fcn.180038d40
lea rcx, [rbx + rsi]
sub r15, rsi
lea rdx, [r14 + 0x44]
add rdx, rsi
mov r8, r15
call fcn.180038d40
lea rax, [rsp + 0x30]
xor esi, esi
jmp 0x1800041a2
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
mov rdx, r15
lea rcx, [rsp + 0x30]
call fcn.1800064d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 0x17
lea rdx, str.__AND_GROUP_ID_USER_ID
lea rcx, [rsp + 0x50]
call fcn.180005270
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x18000424e
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004240
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004aed
call fcn.180037b94
movups xmm0, xmmword [rsp + 0x78]
movups xmm1, xmmword [rbp - 0x78]
movups xmmword [rbp - 0x58], xmm0
movups xmmword [rbp - 0x48], xmm1
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x180004293
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000428e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004af3
call fcn.180037b94
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x180004783
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000477e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004ae1
jmp 0x18000477e
inc rbx
cmp byte [rax + rbx], sil
jne 0x1800042f0
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.180003340
nop
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
sub rax, r8
mov r15d, 0x73
lea r14, str.SELECT_G.GROUP_ID_G.USER_ID_FROM_PROFILE_GROUP_MEMBER_G_JOIN_PROFILE_MAIN_M_ON_G.GROUP_IDM.ID_WHERE_G.USER_ID_IN__
cmp rax, r15
jb 0x1800043a5
lea rax, [r8 + 0x73]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rcx, 0x10
cmovae rbx, qword [rsp + 0x30]
lea rax, [0x180073393]
cmp rax, rbx
jbe 0x180004366
lea rax, [rbx + r8]
cmp r14, rax
ja 0x180004366
cmp rbx, r14
jbe 0x180004369
mov rsi, rbx
sub rsi, r14
jmp 0x180004369
mov rsi, r15
lea rcx, [rbx + 0x73]
inc r8
mov rdx, rbx
call fcn.180038d40
mov r8, rsi
mov rdx, r14
mov rcx, rbx
call fcn.180038d40
lea rcx, [rbx + rsi]
sub r15, rsi
lea rdx, [r14 + 0x73]
add rdx, rsi
mov r8, r15
call fcn.180038d40
lea rax, [rsp + 0x30]
xor esi, esi
jmp 0x1800043c2
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
mov rdx, r15
lea rcx, [rsp + 0x30]
call fcn.1800064d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 0x2c
lea rdx, str.__AND_M.IS_ROLE__AND_G.GROUP_ID_G.USER_ID
lea rcx, [rsp + 0x50]
call fcn.180005270
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x18000446e
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004460
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004af9
call fcn.180037b94
movups xmm0, xmmword [rbp - 0x78]
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rbp - 0x58], xmm0
movups xmmword [rbp - 0x48], xmm1
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1800044b3
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800044ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004aff
call fcn.180037b94
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x180004503
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800044fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004b05
call fcn.180037b94
mov r9d, 1
mov dword [rbp - 0x38], r9d
mov dword [rbp + 0x40], 0x1f0
lea rax, [rbp - 0x38]
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x50], 4
mov qword [rbp + 0x58], rsi
mov dword [rsp + 0x70], 2
jmp 0x180004783
cmp r15d, 2
jne 0x1800049d1
mov rax, qword [r12]
mov rcx, r12
call qword [rax]
mov rcx, qword [rax]
mov r8, qword [rcx + 0xc0]
mov edx, esi
mov rcx, rax
call r8
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor esi, esi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
nop dword [rax]
inc rbx
cmp byte [rax + rbx], sil
jne 0x180004570
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.180003340
nop
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
sub rax, r8
mov r15d, 0x45
lea r14, str.SELECT_USER_ID_GROUP_ID_FROM_PROFILE_GROUP_MEMBER_WHERE_GROUP_ID_IN__
cmp rax, r15
jb 0x180004625
lea rax, [r8 + 0x45]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rcx, 0x10
cmovae rbx, qword [rsp + 0x30]
lea rax, [0x1800733f5]
cmp rax, rbx
jbe 0x1800045e6
lea rax, [rbx + r8]
cmp r14, rax
ja 0x1800045e6
cmp rbx, r14
jbe 0x1800045e9
mov rsi, rbx
sub rsi, r14
jmp 0x1800045e9
mov rsi, r15
lea rcx, [rbx + 0x45]
inc r8
mov rdx, rbx
call fcn.180038d40
mov r8, rsi
mov rdx, r14
mov rcx, rbx
call fcn.180038d40
lea rcx, [rbx + rsi]
sub r15, rsi
lea rdx, [r14 + 0x45]
add rdx, rsi
mov r8, r15
call fcn.180038d40
lea rax, [rsp + 0x30]
xor esi, esi
jmp 0x180004642
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
mov rdx, r15
lea rcx, [rsp + 0x30]
call fcn.1800064d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 0x17
lea rdx, str.__AND_USER_ID_GROUP_ID
lea rcx, [rsp + 0x50]
call fcn.180005270
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x1800046ee
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800046e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004b0b
call fcn.180037b94
movups xmm0, xmmword [rbp - 0x78]
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rbp - 0x58], xmm0
movups xmmword [rbp - 0x48], xmm1
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x180004733
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000472e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004b11
call fcn.180037b94
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x180004783
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000477e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004b17
call fcn.180037b94
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x30], rsi
mov dword [rbp - 0x20], 0x244
lea rax, [rbp - 0x30]
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x10], 8
mov qword [rbp - 8], rsi
mov dword [rbp], 0x244
lea rax, [rbp - 0x28]
mov qword [rbp + 8], rax
mov dword [rbp + 0x10], 8
mov qword [rbp + 0x18], rsi
mov rax, qword [r12]
mov rcx, r12
call qword [rax]
mov rcx, qword [rax]
mov r10, qword [rcx + 0x48]
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
cmovae rdx, qword [rbp - 0x58]
mov dword [rsp + 0x28], 2
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0x70]
lea r8, [rbp + 0x20]
mov rcx, rax
call r10
test al, al
jne 0x1800048ab
mov rcx, r13
call fcn.180037b94
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x180004849
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004844
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004adb
call fcn.180037b94
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], 0xf
mov byte [rbp - 0x58], 0
mov rcx, qword [rdi]
test rcx, rcx
je 0x1800048a1
mov rdx, qword [rdi + 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, 0x1000
jb 0x180004891
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180004ae7
mov rcx, r8
call fcn.180037b94
mov qword [rdi], rsi
mov qword [rdi + 8], rsi
mov qword [rdi + 0x10], rsi
mov eax, 0xfffffff9
jmp 0x180004ab1
mov rax, qword [r12]
mov rcx, r12
call qword [rax]
mov rcx, qword [rax]
mov r8, qword [rcx + 0x50]
xor edx, edx
mov rcx, rax
call r8
test al, al
je 0x18000491c
mov rbx, qword [rbp - 0x68]
nop dword [rax + rax]
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.180004b20
mov rdx, qword [rax + 8]
cmp rdx, qword [rax + 0x10]
je 0x1800048f4
mov rcx, qword [rbp - 0x30]
mov qword [rdx], rcx
add qword [rax + 8], 8
jmp 0x180004900
lea r8, [rbp - 0x30]
mov rcx, rax
call fcn.180006200
mov rax, qword [r12]
mov rcx, r12
call qword [rax]
mov rdx, qword [rax]
mov r8, qword [rdx + 0x50]
xor edx, edx
mov rcx, rax
call r8
test al, al
jne 0x1800048d0
mov rax, qword [r12]
mov rcx, r12
call qword [rax]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x60]
mov rcx, r13
call fcn.180037b94
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x180004972
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000496d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004adb
call fcn.180037b94
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], 0xf
mov byte [rbp - 0x58], 0
mov rcx, qword [rdi]
test rcx, rcx
je 0x1800049ca
mov rdx, qword [rdi + 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, 0x1000
jb 0x1800049ba
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180004ae7
mov rcx, r8
call fcn.180037b94
mov qword [rdi], rsi
mov qword [rdi + 8], rsi
mov qword [rdi + 0x10], rsi
xor eax, eax
jmp 0x180004ab1
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x180004a0c
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004a07
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004adb
call fcn.180037b94
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], 0xf
mov byte [rbp - 0x58], 0
mov rcx, qword [rdi]
test rcx, rcx
je 0x180004a64
mov rdx, qword [rdi + 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, 0x1000
jb 0x180004a54
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180004ae7
mov rcx, r8
call fcn.180037b94
mov qword [rdi], r14
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
mov eax, 0xfffffffe
jmp 0x180004ab1
test rcx, rcx
je 0x180004aac
mov rdx, qword [r8 + 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, 0x1000
jb 0x180004a9c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180004ae7
mov rcx, r8
call fcn.180037b94
mov qword [rdi], rbx
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rbx
mov eax, 0xfffffff8
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.180037d10
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.18003e694
nop
call fcn.18003e694
nop
call fcn.18003e694
nop
call fcn.18003e694
nop
call fcn.18003e694
nop
call fcn.18003e694
nop
call fcn.18003e694
nop
call fcn.18003e694
nop
call fcn.18003e694
nop
call fcn.18003e694
nop
call fcn.18003e694
int3