Function at 0x180057980
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x3b0
mov rax, qword [0x1800f68a8]
xor rax, rsp
mov qword [rsp + 0x3a0], rax
mov rcx, qword [rsp + 0x3c8]
call fcn.180066fd0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1800579df
mov dword [rsp + 0x44], 0xfffffff8
mov rcx, qword [rsp + 0x3c8]
call fcn.180008970
mov eax, dword [rsp + 0x44]
jmp 0x180057e7f
lea rax, [rsp + 0x210]
mov rdi, rax
xor eax, eax
mov ecx, 0x190
rep stosb byte [rdi], al
mov dword [rsp + 0x1b0], 0x1c4
lea rax, [rsp + 0x210]
mov qword [rsp + 0x1b8], rax
mov dword [rsp + 0x1c0], 0x190
mov qword [rsp + 0x1c8], 0
movsxd rax, dword [rsp + 0x34]
mov qword [rsp + 0x80], rax
mov eax, 8
mov rcx, qword [rsp + 0x80]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1800986b8
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0
jmp 0x180057a7e
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x30], eax
jge 0x180057ab0
movsxd rax, dword [rsp + 0x30]
mov rdx, rax
mov rcx, qword [rsp + 0x3c8]
call fcn.180063130
movsxd rcx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rdx + rcx*8], rax
jmp 0x180057a74
mov dword [rsp + 0x1d0], 0x3ffe0
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x1d8], rax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x1e0], eax
mov qword [rsp + 0x1e8], 0
mov rax, qword [rsp + 0x3c0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x3c0]
call qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov rax, qword [rax + 0xc0]
mov qword [rsp + 0x90], rax
mov edx, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x50]
call qword [rsp + 0x90]
mov rdx, rax
lea rcx, [rsp + 0x130]
call fcn.18002ebb0
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
mov r8, qword [rsp + 0xa0]
lea rdx, str.SELECT_FULLNAME_FROM_PROFILE_MAIN_WHERE_ID_IN__
lea rcx, [rsp + 0x110]
call fcn.180003a80
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
lea r8, [0x1800d01b4]
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x1f0]
call fcn.180003a10
nop
lea rcx, [rsp + 0x110]
call fcn.180008410
nop
lea rcx, [rsp + 0x130]
call fcn.180008410
mov rax, qword [rsp + 0x3c0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x3c0]
call qword [rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0xc0], rax
lea rcx, [rsp + 0x1f0]
call fcn.18000ca70
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0x28], 1
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea r8, [rsp + 0x1d0]
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0xc0]
movzx eax, al
test eax, eax
jne 0x180057ca1
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.1800986b0
cmp qword [rsp + 0x60], 0
jne 0x180057c5f
mov qword [rsp + 0xc8], 0
jmp 0x180057c75
mov qword [rsp + 0x38], 0x8123
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0xc8], rax
mov dword [rsp + 0x48], 0xfffffff9
lea rcx, [rsp + 0x1f0]
call fcn.180008410
nop
mov rcx, qword [rsp + 0x3c8]
call fcn.180008970
mov eax, dword [rsp + 0x48]
jmp 0x180057e7f
mov dword [rsp + 0x40], 0
mov rax, qword [rsp + 0x3c0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x3c0]
call qword [rax]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0xd0], rax
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [rsp + 0xd0]
movzx eax, al
test eax, eax
je 0x180057dee
cmp dword [rsp + 0x40], 0
jle 0x180057d0b
lea rdx, [0x1800d01d4]
mov rcx, qword [rsp + 0x3d0]
call fcn.1800637f0
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0x190]
call fcn.18002ebb0
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe0], rax
mov r8, qword [rsp + 0xe0]
lea rdx, [0x1800d0234]
lea rcx, [rsp + 0x170]
call fcn.180003a80
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xf0], rax
lea r8, [0x1800d01f4]
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x150]
call fcn.180003a10
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x100], rax
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x3d0]
call fcn.1800637c0
nop
lea rcx, [rsp + 0x150]
call fcn.180008410
nop
lea rcx, [rsp + 0x170]
call fcn.180008410
nop
lea rcx, [rsp + 0x190]
call fcn.180008410
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
jmp 0x180057ca9
mov rax, qword [rsp + 0x3c0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x3c0]
call qword [rax]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x70]
call qword [rax + 0x60]
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.1800986b0
cmp qword [rsp + 0x78], 0
jne 0x180057e42
mov qword [rsp + 0x108], 0
jmp 0x180057e58
mov qword [rsp + 0x38], 0x8123
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x108], rax
mov dword [rsp + 0x4c], 0
lea rcx, [rsp + 0x1f0]
call fcn.180008410
nop
mov rcx, qword [rsp + 0x3c8]
call fcn.180008970
mov eax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x3a0]
xor rcx, rsp
call fcn.180098830
add rsp, 0x3b0
pop rdi
ret