Function at 0x180003c20
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x18007b028]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r14d, r9d
mov r15, rdx
mov rsi, qword [rbp + 0x70]
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
xor r8d, r8d
lea rdx, [0x180072b88]
lea rcx, [rbp - 0x70]
call fcn.180003340
nop
xor ebx, ebx
mov dword [rbp - 0x80], ebx
mov qword [rbp - 0x78], rbx
mov dword [rsp + 0x60], 0x244
lea rax, [rbp - 0x78]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 8
mov qword [rsp + 0x78], rbx
mov dword [rbp - 0x50], 0x244
lea rax, [rbp + 0x60]
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x40], 8
mov qword [rbp - 0x38], rbx
mov edi, 1
cmp r14d, edi
jne 0x180003d6e
lea rcx, [rbp - 0x70]
cmp byte [rbp + 0x80], bl
jne 0x180003cfc
lea r8d, [rbx + 0x3c]
lea rdx, str.SELECT_GROUP_ID_FROM_PROFILE_GROUP_MEMBER_WHERE_USER_ID___
call fcn.180003870
cmp byte [rbp + 0x78], bl
jne 0x180003dc4
lea r8d, [rbx + 0xf]
lea rdx, str.AND_GROUP_ID__
jmp 0x180003d9c
mov r8d, 0x77
lea rdx, str.SELECT_G.GROUP_ID_FROM_PROFILE_GROUP_MEMBER_G_JOIN_PROFILE_MAIN_M_ON_G.GROUP_IDM.ID_WHERE_G.USER_ID__AND_M.IS_ROLE_
call fcn.180003870
mov dword [rbp - 0x80], edi
mov dword [rbp - 0x30], 0x1f0
lea rax, [rbp - 0x80]
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x20], 4
mov qword [rbp - 0x18], rbx
mov edi, 2
cmp byte [rbp + 0x78], bl
jne 0x180003dc4
lea r8d, [rdi + 0xf]
lea rdx, str.AND_G.GROUP_ID__
lea rcx, [rbp - 0x70]
call fcn.180005270
mov dword [rbp - 0x10], 0x244
lea rax, [rbp + 0x60]
mov qword [rbp - 8], rax
mov dword [rbp], 8
mov qword [rbp + 8], rbx
mov edi, 3
jmp 0x180003dc4
cmp r14d, 2
jne 0x180003f16
lea r8d, [r14 + 0x3a]
lea rdx, str.SELECT_USER_ID_FROM_PROFILE_GROUP_MEMBER_WHERE_GROUP_ID___
lea rcx, [rbp - 0x70]
call fcn.180003870
cmp byte [rbp + 0x78], bl
jne 0x180003dc4
lea r8d, [r14 + 0xc]
lea rdx, str.AND_USER_ID__
lea rcx, [rbp - 0x70]
call fcn.180005270
lea rax, [rbp + 0x60]
mov edi, 2
mov qword [rbp - 0x18], rbx
mov dword [rbp - 0x20], 8
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x30], 0x244
mov rax, qword [r15]
mov rcx, r15
call qword [rax]
mov rcx, rax
mov rax, qword [rax]
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rdx, qword [rbp - 0x70]
mov dword [rsp + 0x28], 1
lea r8, [rsp + 0x60]
mov qword [rsp + 0x20], r8
mov r9d, edi
lea r8, [rbp - 0x50]
call qword [rax + 0x48]
test al, al
jne 0x180003e0a
mov eax, 0xfffffff9
jmp 0x180003f1b
mov rax, qword [r15]
mov rcx, r15
call qword [rax]
mov rcx, rax
mov rax, qword [rax]
xor edx, edx
call qword [rax + 0x50]
test al, al
je 0x180003f03
movabs r14, 0x555555555555555
nop
mov rdi, qword [rsi]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], ebx
mov rcx, rdi
mov rdx, qword [rbp - 0x78]
cmp byte [rax + 0x19], 0
jne 0x180003e79
nop dword [rax]
mov qword [rsp + 0x30], rax
cmp qword [rax + 0x20], rdx
jge 0x180003e65
mov dword [rsp + 0x38], ebx
mov rax, qword [rax + 0x10]
jmp 0x180003e73
mov dword [rsp + 0x38], 1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180003e50
cmp byte [rcx + 0x19], 0
jne 0x180003e85
cmp rdx, qword [rcx + 0x20]
jge 0x180003ee4
cmp qword [rsi + 8], r14
je 0x180003f7f
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rbx
mov ecx, 0x30
call fcn.180037b58
mov r8, rax
mov rax, qword [rbp - 0x78]
mov qword [r8 + 0x20], rax
mov byte [r8 + 0x28], 0
mov qword [r8], rdi
mov qword [r8 + 8], rdi
mov qword [r8 + 0x10], rdi
mov word [r8 + 0x18], 0
mov qword [rsp + 0x58], rbx
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1800059a0
mov rcx, rax
mov byte [rcx + 0x28], 1
mov rax, qword [r15]
mov rcx, r15
call qword [rax]
mov rcx, rax
mov rax, qword [rax]
xor edx, edx
call qword [rax + 0x50]
test al, al
jne 0x180003e30
mov rax, qword [r15]
mov rcx, r15
call qword [rax]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x60]
jmp 0x180003f1d
mov eax, 0xfffffff8
mov ebx, eax
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x180003f54
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003f4f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180003f79
call fcn.180037b94
mov eax, ebx
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.180037d10
mov rbx, qword [rsp + 0x150]
add rsp, 0x120
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.18003e694
nop
call fcn.180003a60
nop
int3