Function at 0x65240c50
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0x10
push ebx
mov ebx, eax
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [ebx + 0x278]
push str.SELECT_user_name_a.table_id_table_name_where_expr_subscribe_by_expr_FROM_SYS.SYSARTICLE_a___SYS.SYSTABLE___SYS.SYSUSERPERM_WHERE_a.table_id__SYS.SYSTABLE.table_id_AND_SYS.SYSTABLE.creator__SYS.SYSUSERPERM.user_id_AND_publication_id_s
push ecx
mov dword [esp + 0x10], 1
call fcn.65237150
mov edx, dword [ebx + 0x1e8]
push eax
push 0x14
push edx
call fcn.65261aa0
mov eax, dword [ebx + 0x1e8]
push 0x14
push eax
call fcn.65262260
add esp, 0x20
test eax, eax
je 0x65240e95
push ebp
push esi
push edi
lea edi, [ebx + 0x128]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x65240cc8
call fcn.652379d0
test eax, eax
jne 0x65240cc8
push 0x652922f8
push 0xf
push edi
call fcn.652371f0
add esp, 0xc
jmp 0x65240cd0
mov dword [esp + 0x10], 0
mov ecx, dword [ebx + 0x1e8]
push 0
push 0x14
push ecx
call fcn.652617d0
mov edx, dword [ebx + 0x1e8]
push 1
push 0x14
push edx
mov esi, eax
call fcn.652617d0
push 2
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x1e8]
push 0x14
push eax
call fcn.652617d0
mov ecx, dword [ebx + 0x1e8]
push 3
push 0x14
push ecx
mov ebp, eax
call fcn.652617d0
mov edx, dword [ebx + 0x1e8]
push 4
push 0x14
push edx
mov dword [esp + 0x50], eax
call fcn.652617d0
add esp, 0x3c
mov dword [esp + 0x18], eax
call fcn.652379d0
test eax, eax
push ebp
jne 0x65240d61
push esi
push str._tTABLE___s_.__s_
push 0xf
push edi
call fcn.652371f0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
push 0
push 0
call fcn.65240b60
add esp, 0x1c
jmp 0x65240d84
push str.EXEC_sp_add_remote_table___s__r_ngo_r_n
push 0xf
push edi
call fcn.652371f0
mov eax, dword [esp + 0x3c]
push ebp
push eax
push str.EXEC_sp_add_article___s_____s__r_ngo_r_n
push 0xf
push edi
call fcn.652371f0
add esp, 0x24
mov eax, dword [ebx]
test byte [eax + 0x49], 0x40
je 0x65240d92
test byte [eax + 0x24], 0x10
jne 0x65240d9c
test byte [eax + 0x24], 0x10
jne 0x65240e5a
call fcn.652379d0
test eax, eax
push 3
push 0x14
jne 0x65240df4
mov ecx, dword [ebx + 0x1e8]
push ecx
call fcn.65261720
add esp, 0xc
test eax, eax
jne 0x65240dd1
mov edx, dword [esp + 0x14]
push edx
push str._WHERE__s
push 0xf
push edi
call fcn.652371f0
add esp, 0x10
mov eax, dword [ebx + 0x1e8]
push 4
push 0x14
push eax
call fcn.65261720
add esp, 0xc
test eax, eax
jne 0x65240e5a
mov ecx, dword [esp + 0x18]
push ecx
push str._SUBSCRIBE_BY__s
jmp 0x65240e4f
mov edx, dword [ebx + 0x1e8]
push edx
call fcn.65261720
add esp, 0xc
test eax, eax
jne 0x65240e1e
mov eax, dword [esp + 0x14]
push eax
push str.___s__
push 0xf
push edi
call fcn.652371f0
add esp, 0x10
jmp 0x65240e2e
push 0x65294050
push 0xf
push edi
call fcn.652371f0
add esp, 0xc
mov ecx, dword [ebx + 0x1e8]
push 4
push 0x14
push ecx
call fcn.65261720
add esp, 0xc
test eax, eax
jne 0x65240e5a
mov edx, dword [esp + 0x18]
push edx
push str.____s_
push 0xf
push edi
call fcn.652371f0
add esp, 0x10
call fcn.652379d0
test eax, eax
je 0x65240e79
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x20]
push ebp
call fcn.65240b60
add esp, 8
mov ecx, dword [ebx + 0x1e8]
push 0x14
push ecx
call fcn.65262260
add esp, 8
test eax, eax
jne 0x65240ca5
pop edi
pop esi
pop ebp
push 0x6528b6e4
lea edx, [ebx + 0x128]
push 0xf
push edx
call fcn.652371f0
mov eax, dword [ebx + 0x1e8]
push 0x14
push eax
call fcn.65261d80
add esp, 0x14
pop ebx
add esp, 0x10
ret