Function at 0x180040f50
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x558
mov rax, qword [0x1800f68a8]
xor rax, rsp
mov qword [rsp + 0x540], rax
cmp qword [rsp + 0x568], 0
je 0x180040fd7
mov rax, qword [rsp + 0x568]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x568]
call qword [rax]
test rax, rax
je 0x180040fd7
cmp qword [rsp + 0x588], 0
je 0x180040fd7
cmp qword [rsp + 0x578], 0
jle 0x180040fd7
cmp qword [rsp + 0x578], 0x40
jge 0x180040fd7
cmp dword [rsp + 0x570], 1
je 0x180040fe1
cmp dword [rsp + 0x570], 2
je 0x180040fe1
mov eax, 0xfffffff8
jmp 0x180041c68
mov dword [rsp + 0xa0], 0x244
lea rax, [rsp + 0x580]
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0xb0], 8
mov qword [rsp + 0xb8], 0
mov dword [rsp + 0xc0], 0x1f0
lea rax, [rsp + 0x570]
mov qword [rsp + 0xc8], rax
mov dword [rsp + 0xd0], 4
mov qword [rsp + 0xd8], 0
mov dword [rsp + 0xe0], 0x244
lea rax, [rsp + 0x578]
mov qword [rsp + 0xe8], rax
mov dword [rsp + 0xf0], 8
mov qword [rsp + 0xf8], 0
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
mov ecx, dword [rsp + 0x570]
mov dword [rax + 0x50], ecx
cmp dword [rsp + 0x570], 1
jne 0x18004196b
mov dword [rsp + 0x1c0], 0x244
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x1c8], rax
mov dword [rsp + 0x1d0], 8
mov qword [rsp + 0x1d8], 0
mov dword [rsp + 0x1e0], 0x244
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 8
mov qword [rsp + 0x1e8], rax
mov dword [rsp + 0x1f0], 8
mov qword [rsp + 0x1f8], 0
mov dword [rsp + 0x200], 0x1c4
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x1f8
mov qword [rsp + 0x208], rax
mov dword [rsp + 0x210], 0x190
mov qword [rsp + 0x218], 0
mov dword [rsp + 0x220], 0x1c4
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x68
mov qword [rsp + 0x228], rax
mov dword [rsp + 0x230], 0xc8
mov qword [rsp + 0x238], 0
mov dword [rsp + 0x240], 0x1c4
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x130
mov qword [rsp + 0x248], rax
mov dword [rsp + 0x250], 0xc8
mov qword [rsp + 0x258], 0
mov dword [rsp + 0x260], 0x1c4
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x388
mov qword [rsp + 0x268], rax
mov dword [rsp + 0x270], 0x32
mov qword [rsp + 0x278], 0
mov dword [rsp + 0x280], 0x1c4
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x3ba
mov qword [rsp + 0x288], rax
mov dword [rsp + 0x290], 0x64
mov qword [rsp + 0x298], 0
mov dword [rsp + 0x2a0], 0x1c4
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x41e
mov qword [rsp + 0x2a8], rax
mov dword [rsp + 0x2b0], 0x64
mov qword [rsp + 0x2b8], 0
mov dword [rsp + 0x2c0], 0x1c4
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x482
mov qword [rsp + 0x2c8], rax
mov dword [rsp + 0x2d0], 0x64
mov qword [rsp + 0x2d8], 0
mov dword [rsp + 0x2e0], 0x244
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x48
mov qword [rsp + 0x2e8], rax
mov dword [rsp + 0x2f0], 8
mov qword [rsp + 0x2f8], 0
mov dword [rsp + 0x300], 0x1c4
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x4e6
mov qword [rsp + 0x308], rax
mov dword [rsp + 0x310], 0x14
mov qword [rsp + 0x318], 0
mov dword [rsp + 0x320], 0x1c4
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x4fa
mov qword [rsp + 0x328], rax
mov dword [rsp + 0x330], 0x14
mov qword [rsp + 0x338], 0
mov dword [rsp + 0x340], 0x1c4
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x50e
mov qword [rsp + 0x348], rax
mov dword [rsp + 0x350], 0x64
mov qword [rsp + 0x358], 0
mov dword [rsp + 0x360], 0x1c4
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x572
mov qword [rsp + 0x368], rax
mov dword [rsp + 0x370], 0x14
mov qword [rsp + 0x378], 0
mov dword [rsp + 0x380], 0x1f0
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x54
mov qword [rsp + 0x388], rax
mov dword [rsp + 0x390], 4
mov qword [rsp + 0x398], 0
mov dword [rsp + 0x3a0], 0x1f0
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x5c
mov qword [rsp + 0x3a8], rax
mov dword [rsp + 0x3b0], 4
mov qword [rsp + 0x3b8], 0
mov dword [rsp + 0x3c0], 0x244
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x20
mov qword [rsp + 0x3c8], rax
mov dword [rsp + 0x3d0], 8
mov qword [rsp + 0x3d8], 0
mov dword [rsp + 0x3e0], 0x244
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x28
mov qword [rsp + 0x3e8], rax
mov dword [rsp + 0x3f0], 8
mov qword [rsp + 0x3f8], 0
mov dword [rsp + 0x400], 0x244
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x10
mov qword [rsp + 0x408], rax
mov dword [rsp + 0x410], 8
mov qword [rsp + 0x418], 0
mov dword [rsp + 0x420], 0x244
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x18
mov qword [rsp + 0x428], rax
mov dword [rsp + 0x430], 8
mov qword [rsp + 0x438], 0
mov dword [rsp + 0x440], 0x1c4
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x586
mov qword [rsp + 0x448], rax
mov dword [rsp + 0x450], 0x32
mov qword [rsp + 0x458], 0
mov dword [rsp + 0x460], 0x244
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x30
mov qword [rsp + 0x468], rax
mov dword [rsp + 0x470], 8
mov qword [rsp + 0x478], 0
mov dword [rsp + 0x480], 0x1f1
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x64
mov qword [rsp + 0x488], rax
mov dword [rsp + 0x490], 4
mov qword [rsp + 0x498], 0
mov dword [rsp + 0x4a0], 0x1f0
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x60
mov qword [rsp + 0x4a8], rax
mov dword [rsp + 0x4b0], 4
mov qword [rsp + 0x4b8], 0
mov dword [rsp + 0x4c0], 0x1c4
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x5b8
mov qword [rsp + 0x4c8], rax
mov dword [rsp + 0x4d0], 0x64
mov qword [rsp + 0x4d8], 0
mov dword [rsp + 0x4e0], 0x1c4
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x61c
mov qword [rsp + 0x4e8], rax
mov dword [rsp + 0x4f0], 0x64
mov qword [rsp + 0x4f8], 0
mov dword [rsp + 0x500], 0x1c4
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x680
mov qword [rsp + 0x508], rax
mov dword [rsp + 0x510], 0x64
mov qword [rsp + 0x518], 0
mov dword [rsp + 0x520], 0x244
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x40
mov qword [rsp + 0x528], rax
mov dword [rsp + 0x530], 8
mov qword [rsp + 0x538], 0
mov rax, qword [rsp + 0x568]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x568]
call qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x28], 0x1c
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x20], rax
mov r9d, 3
lea r8, [rsp + 0xa0]
lea rdx, str.SELECT_M.ID_M.MASTER_MODULE_M.FULLNAME_U.NAME_U.SURNAME_U.PUBLIC_KEY_U.PATRONYMIC_U.BIRTHPLACE_U.PLACEOFISSUE_U.DATEOFISSUE_U.IDENTITY_SERIAL_NO_U.IDENTITY_NO_U.NATIONALITY_U.PASSPORT_NO_U.USER_TYPE_U.SEX_U.BIRTHDAY_U.FOLDER_ID_U.PHOTO_ID_U.SMALL_PHOTO_ID_U.LAST_MODIFIED_PHOTO_U.SIGNATURE_ID_U.FLAGS_S.STATUS_P.PASSWORD_P.PASSWORD2_P.PASSWORD3_P.CHANGE_PASSWORD_TIME_FROM_PROFILE_MAIN_M_JOIN_PROFILE_MODULE_STATUS_S_ON_S.PROFILE_IDM.ID_LEFT_JOIN_PROFILE_USER_INFO_U_ON_U.IDM.ID_LEFT_JOIN_PROFILE_PASSWORD_P_ON_P.USER_IDM.ID_WHERE_M.ID__AND_M.TYPE__AND_S.MODULE_ID_
mov rcx, qword [rsp + 0x48]
call qword [rsp + 0x78]
movzx eax, al
test eax, eax
jne 0x18004177a
mov eax, 0xfffffff9
jmp 0x180041c68
mov dword [rsp + 0x40], 0xfffffffd
mov rax, qword [rsp + 0x568]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x568]
call qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x80], rax
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [rsp + 0x80]
movzx eax, al
test eax, eax
je 0x1800417cd
mov dword [rsp + 0x40], 0
mov rax, qword [rsp + 0x568]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x568]
call qword [rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x58]
call qword [rax + 0x60]
cmp dword [rsp + 0x40], 0
je 0x180041808
mov eax, 0xffffffff
jmp 0x180041c68
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x718
mov r9, rax
mov r8, qword [rsp + 0x580]
mov rdx, qword [rsp + 0x568]
mov rcx, qword [rsp + 0x560]
call fcn.180052d30
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x738
mov r9, rax
mov r8, qword [rsp + 0x580]
mov rdx, qword [rsp + 0x568]
mov rcx, qword [rsp + 0x560]
call fcn.180050900
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x748
mov r9, rax
mov r8, qword [rsp + 0x580]
mov rdx, qword [rsp + 0x568]
mov rcx, qword [rsp + 0x560]
call fcn.180051940
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x778
mov r9, rax
mov r8, qword [rsp + 0x580]
mov rdx, qword [rsp + 0x568]
mov rcx, qword [rsp + 0x560]
call fcn.180050d90
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x7a8
mov r9, rax
mov r8, qword [rsp + 0x580]
mov rdx, qword [rsp + 0x568]
mov rcx, qword [rsp + 0x560]
call fcn.180050f90
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x7d8
mov r9, rax
mov r8, qword [rsp + 0x580]
mov rdx, qword [rsp + 0x568]
mov rcx, qword [rsp + 0x560]
call fcn.180051190
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x808
mov r9, rax
mov r8, qword [rsp + 0x580]
mov rdx, qword [rsp + 0x568]
mov rcx, qword [rsp + 0x560]
call fcn.180051740
jmp 0x180041bf3
mov dword [rsp + 0x100], 0x244
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x108], rax
mov dword [rsp + 0x110], 8
mov qword [rsp + 0x118], 0
mov dword [rsp + 0x120], 0x244
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 8
mov qword [rsp + 0x128], rax
mov dword [rsp + 0x130], 8
mov qword [rsp + 0x138], 0
mov dword [rsp + 0x140], 0x1c4
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x68
mov qword [rsp + 0x148], rax
mov dword [rsp + 0x150], 0xc8
mov qword [rsp + 0x158], 0
mov dword [rsp + 0x160], 0x244
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x38
mov qword [rsp + 0x168], rax
mov dword [rsp + 0x170], 8
mov qword [rsp + 0x178], 0
mov dword [rsp + 0x180], 0x1f0
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x58
mov qword [rsp + 0x188], rax
mov dword [rsp + 0x190], 4
mov qword [rsp + 0x198], 0
mov dword [rsp + 0x1a0], 0x1f0
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x60
mov qword [rsp + 0x1a8], rax
mov dword [rsp + 0x1b0], 4
mov qword [rsp + 0x1b8], 0
mov rax, qword [rsp + 0x568]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x568]
call qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x28], 6
lea rax, [rsp + 0x100]
mov qword [rsp + 0x20], rax
mov r9d, 3
lea r8, [rsp + 0xa0]
lea rdx, str.SELECT_M.ID_M.MASTER_MODULE_M.FULLNAME_G.MANAGER_ID_M.IS_ROLE_S.STATUS_FROM_PROFILE_MAIN_M_JOIN_PROFILE_MODULE_STATUS_S_ON_S.PROFILE_IDM.ID_LEFT_JOIN_PROFILE_GROUP_INFO_G_ON_G.IDM.ID_WHERE_M.ID__AND_M.TYPE__AND_S.MODULE_ID_
mov rcx, qword [rsp + 0x60]
call qword [rsp + 0x88]
movzx eax, al
test eax, eax
jne 0x180041b38
mov eax, 0xfffffff9
jmp 0x180041c68
mov dword [rsp + 0x44], 0xfffffffd
mov rax, qword [rsp + 0x568]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x568]
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 + 0x90], rax
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [rsp + 0x90]
movzx eax, al
test eax, eax
je 0x180041bbb
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x68
mov rcx, qword [rsp + 0x588]
mov rcx, qword [rcx + 0x10]
add rcx, 0x1f8
mov r8, rax
mov edx, 0x190
call fcn.180026c60
mov dword [rsp + 0x44], 0
mov rax, qword [rsp + 0x568]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x568]
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]
cmp dword [rsp + 0x44], 0
je 0x180041bf3
mov eax, 0xffffffff
jmp 0x180041c68
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x6e8
mov byte [rsp + 0x30], 0
mov byte [rsp + 0x28], 1
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x570]
mov r8, qword [rsp + 0x580]
mov rdx, qword [rsp + 0x568]
mov rcx, qword [rsp + 0x560]
call fcn.180051b40
mov rax, qword [rsp + 0x588]
mov rax, qword [rax + 0x10]
add rax, 0x6e8
mov rcx, qword [rsp + 0x588]
mov rcx, qword [rcx + 0x10]
add rcx, 0x708
mov rdx, rax
call fcn.180062190
xor eax, eax
mov rcx, qword [rsp + 0x540]
xor rcx, rsp
call fcn.180098830
add rsp, 0x558
ret