joyce8/EMBER2024-capa huggingface dataset:
Function at 0x652584e0
Capabilities:
Reference sql statements

Disassembly:
push ecx
mov ecx, dword [str.sarmtapi]
push esi
push 0
push 2
push 0
push 0
push str.SELECT__SELECT_user_name_FROM_SYS.SYSUSERPERM_AS_u_n_WHERE_u.user_idp.creator__n__._n__p.publication_name_n_FROM_SYS.SYSPUBLICATION_p_n_WHERE_p.publication_id__:pub_id
mov esi, eax
lea eax, [esp + 0x18]
push eax
push ecx
push 0
push esi
mov dword [esp + 0x28], 0
call sub.dblib8.dll_Ordinal_260
mov eax, dword [esi + 0xc]
test eax, eax
jl 0x6525854c
mov eax, dword [esp + 0x10]
push 0x652e3a90
push 0x652e3a54
lea edx, [esp + 0x14]
lea ecx, [esp + 0xc]
push ecx
mov dword [0x652e3a68], edx
mov edx, dword [str.sarmtapi]
push edx
push 0
push esi
mov dword [0x652e3aa4], eax
call sub.dblib8.dll_Ordinal_267
mov eax, dword [esi + 0xc]
test eax, eax
jge 0x65258554
call fcn.65257740
pop esi
pop ecx
ret
xor eax, eax
pop esi
pop ecx
ret

Function at 0x65259c70
Capabilities:
Reference sql statements

Disassembly:
mov eax, dword [str.sarmtapi]
push esi
mov esi, dword [esp + 8]
push 0
push 2
push 0
push 0
push str.SELECT_DISTINCT_ss.user_id_n_FROM_SYS.SYSSUBSCRIPTION_ss__n_SYS.SYSARTICLE_sa_n_WHERE_ss.publication_id__sa.publication_id_n_AND_sa.where_expr_IS_NOT_NULL
push 0x652fa950
push eax
push 0
push esi
call sub.dblib8.dll_Ordinal_260
mov eax, dword [esi + 0xc]
test eax, eax
jge 0x65259cae
mov ecx, dword [0x652fa95c]
push ecx
push esi
call fcn.652596c0
add esp, 8
pop esi
ret
mov edx, dword [str.sarmtapi]
push 1
push 0
push 0
push 0
push 0x652fa950
push edx
push 0
push str.WHR_USR_CRS
push esi
call sub.dblib8.dll_Ordinal_258
mov eax, dword [esi + 0xc]
test eax, eax
jge 0x65259ce7
mov eax, dword [0x652fa95c]
push eax
push esi
call fcn.652596c0
add esp, 8
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x6525a1d0
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0x54
mov ecx, dword [str.sarmtapi]
push esi
mov esi, dword [esp + 0x5c]
push 0
push 2
push 0
push 0
push str.SELECT_count___FROM_SYS.SYSREMOTEUSER_NATURAL_JOIN_SYS.SYSUSERPERM_n_WHERE_user_name__:name
lea eax, [esp + 0x18]
push eax
push ecx
push 0
push esi
mov dword [esp + 0x28], 0
call sub.dblib8.dll_Ordinal_260
mov eax, dword [esi + 0xc]
test eax, eax
jge 0x6525a21d
mov edx, dword [0x652fa95c]
push edx
push esi
call fcn.652596c0
add esp, 8
pop esi
add esp, 0x54
ret
mov edx, dword [str.sarmtapi]
push edi
mov edi, dword [esp + 0x64]
push 0x652e4b9c
push 0x652e4b60
lea ecx, [esp + 0x10]
push ecx
push edx
push 0
lea eax, [esp + 0x20]
push esi
mov dword [0x652e4b74], edi
mov dword [0x652e4bb0], eax
call sub.dblib8.dll_Ordinal_267
mov eax, dword [esi + 0xc]
test eax, eax
jge 0x6525a26b
mov eax, dword [0x652fa95c]
push eax
push esi
call fcn.652596c0
add esp, 8
pop edi
pop esi
add esp, 0x54
ret
mov eax, dword [esp + 0xc]
test eax, eax
jle 0x6525a362
mov edx, dword [str.sarmtapi]
push 0
push 2
push 0
push 0
push str.SELECT_rereceive_count__log_received__log_sent__confirm_sent_n_FROM_SYS.SYSREMOTEUSER_NATURAL_JOIN_SYS.SYSUSERPERM_n_WHERE_user_name__:name
lea ecx, [esp + 0x74]
push ecx
push edx
push 0
push esi
mov dword [esp + 0x84], 0
call sub.dblib8.dll_Ordinal_260
mov eax, dword [esi + 0xc]
test eax, eax
jl 0x6525a256
push 0x652e4ca0
lea edx, [esp + 0x18]
push 0x652e4c64
mov dword [0x652e4ce0], edx
lea eax, [esp + 0x34]
lea edx, [esp + 0x68]
push edx
mov dword [0x652e4d0c], eax
mov eax, dword [str.sarmtapi]
push eax
lea ecx, [esp + 0x20]
mov dword [0x652e4cb4], ecx
push 0
lea ecx, [esp + 0x58]
push esi
mov dword [0x652e4c78], edi
mov dword [0x652e4d38], ecx
call sub.dblib8.dll_Ordinal_267
mov eax, dword [esi + 0xc]
test eax, eax
jge 0x6525a311
mov ecx, dword [0x652fa95c]
push ecx
push esi
call fcn.652596c0
add esp, 8
pop edi
pop esi
add esp, 0x54
ret
lea edx, [esp + 0x14]
push edx
call fcn.65265ce0
mov ecx, dword [esp + 0x70]
mov dword [ecx], eax
lea eax, [esp + 0x30]
push eax
mov dword [ecx + 4], edx
call fcn.65265ce0
mov ecx, dword [esp + 0x78]
mov dword [ecx], eax
mov dword [ecx + 4], edx
lea ecx, [esp + 0x4c]
push ecx
call fcn.65265ce0
mov ecx, dword [esp + 0x80]
add esp, 0xc
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x68]
pop edi
mov dword [edx], eax
xor eax, eax
pop esi
add esp, 0x54
ret
pop edi
mov eax, 1
pop esi
add esp, 0x54
ret
Function at 0x6525a4c0
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0xbc
mov ecx, dword [str.sarmtapi]
push ebp
push esi
mov esi, dword [esp + 0xc8]
push edi
push 0
push 2
push 0
push 0
push str.SELECT_resend_count_FROM_SYS.SYSREMOTEUSER_KEY_JOIN_SYS.SYSUSERPERM_n_WHERE_user_name__:name
lea eax, [esp + 0x20]
push eax
push ecx
push 0
push esi
mov dword [esp + 0x30], 0
call sub.dblib8.dll_Ordinal_260
mov eax, dword [esi + 0xc]
test eax, eax
jl 0x6525a606
mov ebp, dword [esp + 0xd8]
jmp 0x6525a510
mov ecx, dword [str.sarmtapi]
mov edi, dword [esp + 0xd0]
push 0x652e4dfc
push 0x652e4dc0
lea eax, [esp + 0x14]
push eax
push ecx
push 0
lea edx, [esp + 0x24]
push esi
mov dword [0x652e4dd4], edi
mov dword [0x652e4e10], edx
call sub.dblib8.dll_Ordinal_267
mov eax, dword [esi + 0xc]
test eax, eax
jl 0x6525a620
mov edx, dword [esp + 0xd4]
cmp dword [esp + 0x10], edx
jae 0x6525a639
push edi
push str.RESEND
lea eax, [esp + 0x1c]
push str.REMOTE__s___s_
push eax
call fcn.6527bd9b
add esp, 0x10
test ebp, ebp
je 0x6525a5be
lea edi, [esp + 0x14]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x6525a582
mov cx, word [0x6528b730]
lea eax, [esp + 0x14]
mov word [edi], cx
lea edx, [eax + 1]
jmp 0x6525a5a0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x6525a5a0
mov ecx, dword [ebp]
sub eax, edx
lea edx, [esp + eax + 0x14]
mov eax, dword [ebp + 4]
push edx
push eax
push ecx
call fcn.65265c60
add esp, 0xc
push 1
lea edx, [esp + 0x18]
push edx
push esi
call sub.dblib8.dll_Ordinal_251
mov eax, dword [esi + 0xc]
test eax, eax
jl 0x6525a606
mov ecx, dword [str.sarmtapi]
push 0
push 2
push 0
push 0
push str.SELECT_resend_count_FROM_SYS.SYSREMOTEUSER_KEY_JOIN_SYS.SYSUSERPERM_n_WHERE_user_name__:name
lea eax, [esp + 0x20]
push eax
push ecx
push 0
push esi
mov dword [esp + 0x30], 0
call sub.dblib8.dll_Ordinal_260
mov eax, dword [esi + 0xc]
test eax, eax
jge 0x6525a510
mov edx, dword [0x652fa95c]
push edx
push esi
call fcn.652596c0
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0xbc
ret
mov eax, dword [0x652fa95c]
push eax
push esi
call fcn.652596c0
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0xbc
ret
push 0
push esi
call sub.dblib8.dll_Ordinal_238
mov eax, dword [esi + 0xc]
test eax, eax
jge 0x6525a662
mov ecx, dword [0x652fa95c]
push ecx
push esi
call fcn.652596c0
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0xbc
ret
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0xbc
ret
Function at 0x6525a860
Capabilities:
Reference sql statements

Disassembly:
mov eax, dword [str.sarmtapi]
sub esp, 0x478
push esi
push edi
mov edi, dword [esp + 0x484]
xor esi, esi
push esi
push 2
push esi
push esi
push str.SELECT_type_name__publisher_address_n_FROM_SYS.SYSREMOTETYPE_t_n_WHERE_exists__SELECT_user_id_FROM_SYSREMOTEUSER_r_n_WHERE_r.type_id__t.type_id___n_ORDER_BY_type_id
push 0x652fa954
push eax
push esi
push edi
call sub.dblib8.dll_Ordinal_260
cmp dword [edi + 0xc], esi
jge 0x6525a8ab
mov ecx, dword [0x652fa95c]
push ecx
push edi
call fcn.652596c0
add esp, 8
pop edi
pop esi
add esp, 0x478
ret
mov edx, dword [str.sarmtapi]
push 1
push esi
push esi
push esi
push 0x652fa954
push edx
push esi
push str.REMOTE_CRS
push edi
call sub.dblib8.dll_Ordinal_258
cmp dword [edi + 0xc], esi
jge 0x6525a8e5
mov eax, dword [0x652fa95c]
push eax
push edi
call fcn.652596c0
add esp, 8
pop edi
pop esi
add esp, 0x478
ret
mov eax, dword [esp + 0x488]
push ebx
push ebp
lea ecx, [esp + 0x18]
lea ebp, [eax + 0x54]
sub eax, ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], esi
mov ebx, eax
push 0
push 0
push 0x652e4ee8
push 1
push 2
push str.REMOTE_CRS
lea edx, [esp + 0x30]
lea eax, [esp + 0xb4]
push edi
mov dword [0x652e4efc], edx
mov dword [0x652e4f28], eax
call sub.dblib8.dll_Ordinal_254
mov eax, dword [edi + 0xc]
test eax, eax
jl 0x6525a9b7
cmp eax, 0x64
je 0x6525a9f0
lea ecx, [esp + 0x18]
call fcn.65257680
lea eax, [esp + 0x18]
mov cl, byte [eax]
mov byte [ebx + eax], cl
inc eax
test cl, cl
jne 0x6525a950
lea eax, [esp + 0x9c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x6525a964
sub eax, edx
inc eax
push eax
call fcn.652441c0
mov esi, eax
add esp, 4
test esi, esi
mov dword [ebp], esi
je 0x6525a9d2
lea ecx, [esp + 0x9c]
call fcn.65257680
lea ecx, [esp + 0x9c]
mov al, byte [ecx]
inc ecx
mov byte [esi], al
inc esi
test al, al
jne 0x6525a993
mov eax, dword [esp + 0x10]
inc eax
add ebx, 0x58
add ebp, 0x58
cmp eax, 0xa
mov dword [esp + 0x10], eax
jl 0x6525a901
jmp 0x6525a9f0
mov ecx, dword [0x652fa95c]
push ecx
push edi
call fcn.652596c0
add esp, 8
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x478
ret
mov edx, dword [edi + 0xa0]
mov eax, dword [edx]
push 0x1a05
push eax
mov dword [esp + 0x1c], 5
call fcn.652659d0
add esp, 8
push str.REMOTE_CRS
push edi
call sub.dblib8.dll_Ordinal_237
mov eax, dword [edi + 0xc]
test eax, eax
jl 0x6525a9b7
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x6525aa30
mov edx, dword [edi + 0xa0]
mov eax, dword [edx]
push 0x1a17
push eax
call fcn.652659d0
add esp, 8
pop ebp
pop ebx
pop edi
mov eax, 4
pop esi
add esp, 0x478
ret
mov ecx, dword [esp + 0x494]
pop ebp
pop ebx
pop edi
mov dword [ecx], eax
mov eax, dword [esp + 8]
pop esi
add esp, 0x478
ret
Function at 0x6525aa50
Capabilities:
Reference sql statements

Disassembly:
mov eax, dword [str.sarmtapi]
push esi
mov esi, dword [esp + 8]
push 0
push 2
push 0
push 0
push str.SELECT_user_name_n_FROM_SYS.SYSUSERPERMS_n_WHERE_publishauth__Y
push 0x652fa958
push eax
push 0
push esi
call sub.dblib8.dll_Ordinal_260
mov eax, dword [esi + 0xc]
test eax, eax
jge 0x6525aa8e
mov ecx, dword [0x652fa95c]
push ecx
push esi
call fcn.652596c0
add esp, 8
pop esi
ret
mov edx, dword [str.sarmtapi]
push 1
push 0
push 0
push 0
push 0x652fa958
push edx
push 0
push str.PUB_CRS
push esi
call sub.dblib8.dll_Ordinal_258
mov eax, dword [esi + 0xc]
test eax, eax
jge 0x6525aac7
mov eax, dword [0x652fa95c]
push eax
push esi
call fcn.652596c0
add esp, 8
pop esi
ret
push ebx
push edi
mov edi, dword [esp + 0x14]
push 0
push 0
push 0x652e4f9c
push 1
push 2
push str.PUB_CRS
push esi
mov dword [0x652e4fb0], edi
call sub.dblib8.dll_Ordinal_254
mov eax, dword [esi + 0xc]
test eax, eax
jge 0x6525ab06
mov ecx, dword [0x652fa95c]
push ecx
push esi
call fcn.652596c0
add esp, 8
pop edi
pop ebx
pop esi
ret
cmp eax, 0x64
jne 0x6525ab12
mov ebx, 4
jmp 0x6525ab1b
mov ecx, edi
xor ebx, ebx
call fcn.65257680
push str.PUB_CRS
push esi
call sub.dblib8.dll_Ordinal_237
mov eax, dword [esi + 0xc]
test eax, eax
jge 0x6525ab41
mov edx, dword [0x652fa95c]
push edx
push esi
call fcn.652596c0
add esp, 8
pop edi
pop ebx
pop esi
ret
pop edi
mov eax, ebx
pop ebx
pop esi
ret
Function at 0x6525b5b0
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0xc
mov ecx, dword [str.sarmtapi]
push esi
mov esi, dword [esp + 0x14]
push 0
push 2
push 0
push 0
push str.SELECT_COUNT___FROM_SYS.SYSREMOTEUSER_n_WHERE_frequency__A
lea eax, [esp + 0x18]
push eax
push ecx
push 0
push esi
mov dword [esp + 0x28], 0
call sub.dblib8.dll_Ordinal_260
mov eax, dword [esi + 0xc]
test eax, eax
jl 0x6525b66c
mov edx, dword [str.sarmtapi]
push 0x652e5018
push 0
lea ecx, [esp + 0xc]
push ecx
push edx
push 0
lea eax, [esp + 0x1c]
push esi
mov dword [0x652e502c], eax
call sub.dblib8.dll_Ordinal_267
mov eax, dword [esi + 0xc]
test eax, eax
jge 0x6525b62b
mov eax, dword [0x652fa95c]
push eax
push esi
call fcn.652596c0
add esp, 8
pop esi
add esp, 0xc
ret
mov edx, dword [esp + 8]
push 0
xor ecx, ecx
push 2
test edx, edx
mov edx, dword [esp + 0x20]
push 0
setg cl
push 0
push str.SELECT_min__6060hour_send_time__n__60minute__send_time___n__second__send_time_____n_FROM_SYS.SYSREMOTEUSER_n_WHERE_frequency__P
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0
mov dword [edx], ecx
mov ecx, dword [str.sarmtapi]
push ecx
push 0
push esi
call sub.dblib8.dll_Ordinal_260
mov eax, dword [esi + 0xc]
test eax, eax
jge 0x6525b681
mov edx, dword [0x652fa95c]
push edx
push esi
call fcn.652596c0
add esp, 8
pop esi
add esp, 0xc
ret
push 0x652e50dc
push 0
lea eax, [esp + 0x14]
lea edx, [esp + 0xc]
push edx
mov dword [0x652e50f0], eax
mov eax, dword [str.sarmtapi]
push eax
push 0
lea ecx, [esp + 0x28]
push esi
mov dword [0x652e50f4], ecx
call sub.dblib8.dll_Ordinal_267
mov eax, dword [esi + 0xc]
test eax, eax
jge 0x6525b6ca
mov ecx, dword [0x652fa95c]
push ecx
push esi
call fcn.652596c0
add esp, 8
pop esi
add esp, 0xc
ret
mov eax, dword [esp + 0xc]
cmp eax, 0x3c
jg 0x6525b6db
cmp word [esp + 0x14], 0
jge 0x6525b6ed
mov edx, dword [esp + 0x1c]
mov eax, 0x3c
mov dword [edx], eax
xor eax, eax
pop esi
add esp, 0xc
ret
test eax, eax
jne 0x6525b6f6
mov eax, 1
mov edx, dword [esp + 0x1c]
mov dword [edx], eax
xor eax, eax
pop esi
add esp, 0xc
ret
Function at 0x6525ba00
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0x1c
mov ecx, dword [str.sarmtapi]
push esi
mov esi, dword [esp + 0x24]
push 0
push 2
push 0
push 0
push 0x652e5848
lea eax, [esp + 0x18]
push eax
push ecx
push 0
push esi
mov dword [esp + 0x28], 0
call sub.dblib8.dll_Ordinal_260
mov eax, dword [esi + 0xc]
test eax, eax
jl 0x6525baec
push 0x652e58d4
push 0
lea eax, [esp + 0x10]
lea edx, [esp + 0xc]
push edx
mov dword [0x652e58e8], eax
mov eax, dword [str.sarmtapi]
push eax
push 0
lea ecx, [esp + 0x38]
push esi
mov dword [0x652e58ec], ecx
call sub.dblib8.dll_Ordinal_267
mov eax, dword [esi + 0xc]
test eax, eax
jl 0x6525baab
cmp word [esp + 0x24], 0
jge 0x6525bb01
mov eax, dword [str.sarmtapi]
push 0
push 2
push 0
push 0
push 0x652e5910
lea edx, [esp + 0x18]
push edx
push eax
push 0
push esi
mov dword [esp + 0x28], 0
call sub.dblib8.dll_Ordinal_260
mov eax, dword [esi + 0xc]
test eax, eax
jge 0x6525bac0
mov ecx, dword [0x652fa95c]
push ecx
push esi
call fcn.652596c0
add esp, 8
pop esi
add esp, 0x1c
ret
mov ecx, dword [str.sarmtapi]
push 0x652e5944
push 0
lea eax, [esp + 0xc]
push eax
push ecx
push 0
lea edx, [esp + 0x1c]
push esi
mov dword [0x652e5958], edx
call sub.dblib8.dll_Ordinal_267
mov eax, dword [esi + 0xc]
test eax, eax
jge 0x6525bb01
mov edx, dword [0x652fa95c]
push edx
push esi
call fcn.652596c0
add esp, 8
pop esi
add esp, 0x1c
ret
lea eax, [esp + 8]
push eax
call fcn.65265ce0
mov ecx, dword [esp + 0x2c]
add esp, 4
mov dword [ecx], eax
mov dword [ecx + 4], edx
xor eax, eax
pop esi
add esp, 0x1c
ret
Function at 0x6525bb20
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0x20
mov ecx, dword [str.sarmtapi]
push 0
push 2
push 0
push 0
push str.SELECT_min_confirm_sent__n_FROM_SYS.SYSREMOTEUSER_ru__SYS.SYSSUBSCRIPTION_sub_n_WHERE_ru.user_id__sub.user_id_n_AND_ru.send_count____0_n_AND_sub.started_IS_NOT_NULL
lea eax, [esp + 0x18]
push eax
push ecx
push 0
push esi
mov dword [esp + 0x28], 0
call sub.dblib8.dll_Ordinal_260
mov eax, dword [esi + 0xc]
test eax, eax
jge 0x6525bb67
mov edx, dword [0x652fa95c]
push edx
push esi
call fcn.652596c0
add esp, 8
add esp, 0x20
ret
push 0x652e5a24
push 0
lea eax, [esp + 0x10]
lea edx, [esp + 0xc]
push edx
mov dword [0x652e5a38], eax
mov eax, dword [str.sarmtapi]
push eax
push 0
lea ecx, [esp + 0x14]
push esi
mov dword [0x652e5a3c], ecx
call sub.dblib8.dll_Ordinal_267
mov eax, dword [esi + 0xc]
test eax, eax
jl 0x6525bbd6
cmp word [esp], 0
jge 0x6525bc4d
mov eax, dword [str.sarmtapi]
push 0
push 2
push 0
push 0
push str.SELECT_min_confirm_sent__n_FROM_SYS.SYSREMOTEUSER_n_WHERE_send_count____0
lea edx, [esp + 0x18]
push edx
push eax
push 0
push esi
mov dword [esp + 0x28], 0
call sub.dblib8.dll_Ordinal_260
mov eax, dword [esi + 0xc]
test eax, eax
jge 0x6525bbea
mov ecx, dword [0x652fa95c]
push ecx
push esi
call fcn.652596c0
add esp, 8
add esp, 0x20
ret
push 0x652e5aa8
push 0
lea edx, [esp + 0x10]
lea ecx, [esp + 0xc]
push ecx
mov dword [0x652e5abc], edx
mov edx, dword [str.sarmtapi]
push edx
push 0
lea eax, [esp + 0x14]
push esi
mov dword [0x652e5ac0], eax
call sub.dblib8.dll_Ordinal_267
mov eax, dword [esi + 0xc]
test eax, eax
jge 0x6525bc32
mov eax, dword [0x652fa95c]
push eax
push esi
call fcn.652596c0
add esp, 8
add esp, 0x20
ret
cmp word [esp], 0
jge 0x6525bc4d
mov dword [ebx], 0xffffffff
mov dword [ebx + 4], 0xffffffff
xor eax, eax
add esp, 0x20
ret
lea ecx, [esp + 8]
push ecx
call fcn.65265ce0
add esp, 4
mov dword [ebx], eax
mov dword [ebx + 4], edx
xor eax, eax
add esp, 0x20
ret
Function at 0x6525bc70
Capabilities:
Reference sql statements

Disassembly:
mov eax, dword [esi + 0xa0]
mov ecx, dword [eax + 0x34]
sub esp, 0x20
test ch, 4
je 0x6525bd32
mov edx, dword [str.sarmtapi]
push 0
push 2
push 0
push 0
push str.SELECT_min__progress___n_FROM_SYS.SYSSYNC_n_WHERE_publication_id_IS_NOT_NULL_n_AND_site_name_IS_NOT_NULL_n_AND_progress_IS_NOT_NULL
lea ecx, [esp + 0x18]
push ecx
push edx
push 0
push esi
mov dword [esp + 0x28], 0
call sub.dblib8.dll_Ordinal_260
mov eax, dword [esi + 0xc]
test eax, eax
jge 0x6525bcc8
mov eax, dword [0x652fa95c]
push eax
push esi
call fcn.652596c0
add esp, 8
add esp, 0x20
ret
push 0x652e5b68
push 0
lea ecx, [esp + 0x10]
lea eax, [esp + 0xc]
push eax
mov dword [0x652e5b7c], ecx
mov ecx, dword [str.sarmtapi]
push ecx
push 0
lea edx, [esp + 0x14]
push esi
mov dword [0x652e5b80], edx
call sub.dblib8.dll_Ordinal_267
mov eax, dword [esi + 0xc]
test eax, eax
jge 0x6525bd12
mov edx, dword [0x652fa95c]
push edx
push esi
call fcn.652596c0
add esp, 8
add esp, 0x20
ret
cmp word [esp], 0
jl 0x6525bd32
lea eax, [esp + 8]
push eax
call fcn.65265ce0
add esp, 4
mov dword [edi], eax
mov dword [edi + 4], edx
xor eax, eax
add esp, 0x20
ret
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
xor eax, eax
add esp, 0x20
ret

Function at 0x6525bd50
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0x1c
mov ecx, dword [str.sarmtapi]
push esi
mov esi, dword [esp + 0x24]
push 0
push 2
push 0
push 0
push str.SELECT_min_log_sent__n_FROM_SYS.SYSREMOTEUSER_ru__SYS.SYSSUBSCRIPTION_sub_n_WHERE_ru.user_id__sub.user_id_n_AND_sub.started_IS_NOT_NULL
lea eax, [esp + 0x18]
push eax
push ecx
push 0
push esi
mov dword [esp + 0x28], 0
call sub.dblib8.dll_Ordinal_260
mov eax, dword [esi + 0xc]
test eax, eax
jl 0x6525be3c
push 0x652e5c30
push 0
lea eax, [esp + 0x10]
lea edx, [esp + 0xc]
push edx
mov dword [0x652e5c44], eax
mov eax, dword [str.sarmtapi]
push eax
push 0
lea ecx, [esp + 0x38]
push esi
mov dword [0x652e5c48], ecx
call sub.dblib8.dll_Ordinal_267
mov eax, dword [esi + 0xc]
test eax, eax
jl 0x6525bdfb
cmp word [esp + 0x24], 0
jge 0x6525be51
mov eax, dword [str.sarmtapi]
push 0
push 2
push 0
push 0
push str.SELECT_min_log_sent__n_FROM_SYS.SYSREMOTEUSER
lea edx, [esp + 0x18]
push edx
push eax
push 0
push esi
mov dword [esp + 0x28], 0
call sub.dblib8.dll_Ordinal_260
mov eax, dword [esi + 0xc]
test eax, eax
jge 0x6525be10
mov ecx, dword [0x652fa95c]
push ecx
push esi
call fcn.652596c0
add esp, 8
pop esi
add esp, 0x1c
ret
mov ecx, dword [str.sarmtapi]
push 0x652e5c9c
push 0
lea eax, [esp + 0xc]
push eax
push ecx
push 0
lea edx, [esp + 0x1c]
push esi
mov dword [0x652e5cb0], edx
call sub.dblib8.dll_Ordinal_267
mov eax, dword [esi + 0xc]
test eax, eax
jge 0x6525be51
mov edx, dword [0x652fa95c]
push edx
push esi
call fcn.652596c0
add esp, 8
pop esi
add esp, 0x1c
ret
lea eax, [esp + 8]
push eax
call fcn.65265ce0
mov ecx, dword [esp + 0x2c]
add esp, 4
mov dword [ecx], eax
mov dword [ecx + 4], edx
xor eax, eax
pop esi
add esp, 0x1c
ret
Function at 0x6525c6f0
Capabilities:
Reference sql statements

Disassembly:
mov eax, dword [str.syncinfo]
push esi
push edi
push 0
push 2
push 0
push 0
push str.SELECT_publication_id__progress__site_name___option___n_server_connect__server_conn_type__last_download_time_n_FROM_SYS.SYSSYNC_n_WHERE_type__D_n_ORDER_BY_publication_id
push 0x652fa96c
push eax
mov esi, ecx
push 0
lea edi, [esi + 8]
push edi
call sub.dblib8.dll_Ordinal_260
mov eax, dword [esi + 0x14]
test eax, eax
jge 0x6525c72e
mov ecx, dword [esi + 0x90]
test ecx, ecx
jne 0x6525c72e
mov dword [esi + 0x90], eax
mov ecx, dword [str.syncinfo]
push 1
push 0
push 0
push 0
push 0x652fa96c
push ecx
push 0
push str.SI_SYNCSITES
push edi
call sub.dblib8.dll_Ordinal_258
mov eax, dword [esi + 0x14]
test eax, eax
jge 0x6525c768
mov ecx, dword [esi + 0x90]
test ecx, ecx
jne 0x6525c766
mov dword [esi + 0x90], eax
test eax, eax
je 0x6525c770
mov word [esi + 4], 4
xor edx, edx
test eax, eax
sete dl
pop edi
pop esi
mov eax, edx
ret

Function at 0x6525c9c0
Capabilities:
Reference sql statements

Disassembly:
push esi
push edi
push 0
push 2
push 0
push 0
push str.SELECT_SYS.SYSARTICLE.table_id__table_name__user_name_n_FROM_SYS.SYSARTICLE__SYS.SYSTABLE__SYS.SYSUSERPERMS_n_WHERE_publication_id__:otPid_n_ORDER_BY_SYS.SYSARTICLE.table_id
mov esi, ecx
mov ecx, dword [str.syncinfo]
push 0x652fa970
push ecx
push 0
lea eax, [esp + 0x2c]
lea edi, [esi + 8]
push edi
mov dword [0x652e6750], eax
call sub.dblib8.dll_Ordinal_260
mov eax, dword [esi + 0x14]
test eax, eax
jge 0x6525ca08
mov ecx, dword [esi + 0x90]
test ecx, ecx
jne 0x6525ca08
mov dword [esi + 0x90], eax
mov edx, dword [str.syncinfo]
push 1
push 0
push 0
push 0x652e673c
push 0x652fa970
push edx
push 0
push str.SI_ARTICLES
push edi
call sub.dblib8.dll_Ordinal_258
mov eax, dword [esi + 0x14]
test eax, eax
jge 0x6525ca45
mov ecx, dword [esi + 0x90]
test ecx, ecx
jne 0x6525ca43
mov dword [esi + 0x90], eax
test eax, eax
je 0x6525ca4d
mov word [esi + 4], 7
xor ecx, ecx
test eax, eax
sete cl
pop edi
pop esi
mov eax, ecx
ret 4
Function at 0x6525cae0
Capabilities:
Reference sql statements

Disassembly:
push ecx
mov edx, dword [str.syncinfo]
push esi
push edi
push 0
push 2
push 0
push 0
push str.SELECT_COUNT___n_FROM_SYS.SYSARTICLECOL_n_WHERE_publication_id__:acaPid_AND_table_id__:acaTid
push 0x652fa974
mov esi, ecx
push edx
push 0
lea eax, [esp + 0x30]
lea ecx, [esp + 0x34]
lea edi, [esi + 8]
push edi
mov dword [esp + 0x2c], 0
mov dword [0x652e689c], eax
mov dword [0x652e68c8], ecx
call sub.dblib8.dll_Ordinal_260
mov eax, dword [esi + 0x14]
test eax, eax
jge 0x6525cb3b
mov ecx, dword [esi + 0x90]
test ecx, ecx
jne 0x6525cb3b
mov dword [esi + 0x90], eax
mov eax, dword [str.syncinfo]
push 1
push 0
push 0
push 0x652e6888
push 0x652fa974
push eax
push 0
push str.SI_COUNT_COLUMNS
push edi
call sub.dblib8.dll_Ordinal_258
mov eax, dword [esi + 0x14]
test eax, eax
jge 0x6525cb75
mov ecx, dword [esi + 0x90]
test ecx, ecx
jne 0x6525cb75
mov dword [esi + 0x90], eax
push 0
push 0
push 0x652e68f0
push 1
push 2
push str.SI_COUNT_COLUMNS
lea ecx, [esp + 0x20]
push edi
mov dword [0x652e6904], ecx
call sub.dblib8.dll_Ordinal_254
mov eax, dword [esi + 0x14]
test eax, eax
jge 0x6525cbae
mov ecx, dword [esi + 0x90]
test ecx, ecx
jne 0x6525cbae
mov dword [esi + 0x90], eax
push str.SI_COUNT_COLUMNS
push edi
call sub.dblib8.dll_Ordinal_237
mov eax, dword [esi + 0x14]
test eax, eax
jge 0x6525cbd0
mov ecx, dword [esi + 0x90]
test ecx, ecx
jne 0x6525cbd0
mov dword [esi + 0x90], eax
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x18]
xor ecx, ecx
test eax, eax
sete cl
pop edi
mov dword [edx], eax
pop esi
mov eax, ecx
pop ecx
ret 0xc

Function at 0x6525cbf0
Capabilities:
Reference sql statements

Disassembly:
mov edx, dword [str.syncinfo]
push esi
push edi
push 0
push 2
push 0
push 0
push str.SELECT_SYS.SYSCOLUMN.column_id__column_name__domain_id__width__scale__n_IF_nullsY_THEN_1_ELSE_0_ENDIF__n_IF_pkeyY_THEN_1_ELSE_0_ENDIF_n_FROM_SYS.SYSARTICLECOL_JOIN_SYS.SYSCOLUMN_n_WHERE_publication_id__:oacPid_AND_SYS.SYSCOLUMN.table_id__:oacTid_n_ORDER_BY_SYS.SYSCOLUMN.column_id
push 0x652fa978
mov esi, ecx
push edx
push 0
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x30]
lea edi, [esi + 8]
push edi
mov dword [0x652e6a74], eax
mov dword [0x652e6aa0], ecx
call sub.dblib8.dll_Ordinal_260
mov eax, dword [esi + 0x14]
test eax, eax
jge 0x6525cc42
mov ecx, dword [esi + 0x90]
test ecx, ecx
jne 0x6525cc42
mov dword [esi + 0x90], eax
mov eax, dword [str.syncinfo]
push 1
push 0
push 0
push 0x652e6a60
push 0x652fa978
push eax
push 0
push str.SI_ART_COLUMNS
push edi
call sub.dblib8.dll_Ordinal_258
mov eax, dword [esi + 0x14]
test eax, eax
jge 0x6525cc7e
mov ecx, dword [esi + 0x90]
test ecx, ecx
jne 0x6525cc7c
mov dword [esi + 0x90], eax
test eax, eax
je 0x6525cc86
mov word [esi + 4], 8
xor ecx, ecx
test eax, eax
sete cl
pop edi
pop esi
mov eax, ecx
ret 8