Function at 0x65257a00
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0x49c
push ebx
push ebp
push esi
push edi
push 0x652e32f0
push 0x652e332c
xor edi, edi
push edi
mov ebx, eax
mov ebp, dword [ebx + 0xa0]
push edi
lea eax, [esp + 0x30]
push ebx
mov dword [0x652e3304], eax
call sub.dblib8.dll_Ordinal_257
mov eax, dword [ebx + 0xc]
cmp eax, edi
jl 0x6525845c
cmp eax, 0x64
jne 0x65257a48
mov dword [ebp + 0x30], 0xffffffff
jmp 0x65257a4f
mov ecx, dword [esp + 0x20]
mov dword [ebp + 0x30], ecx
push 0x652e3338
push str.Verify_all_columns
push edi
push edi
lea edx, [esp + 0x38]
push ebx
mov dword [0x652e334c], edx
call sub.dblib8.dll_Ordinal_257
mov eax, dword [ebx + 0xc]
cmp eax, edi
jl 0x6525845c
cmp eax, 0x64
jne 0x65257a83
mov eax, dword [ebp + 0x34]
and eax, 0xfffffffe
jmp 0x65257ab1
lea ecx, [esp + 0x28]
call fcn.65257680
lea eax, [esp + 0x28]
push 0x65296fec
push eax
call fcn.6527b8f4
mov esi, dword [ebp + 0x34]
xor ecx, ecx
add esp, 8
cmp eax, edi
sete cl
mov eax, esi
xor ecx, esi
and ecx, 1
xor eax, ecx
push 0x652e3388
push str.Send_5002
push edi
push edi
lea edx, [esp + 0x38]
mov dword [ebp + 0x34], eax
push ebx
mov dword [0x652e339c], edx
call sub.dblib8.dll_Ordinal_257
mov eax, dword [ebx + 0xc]
cmp eax, edi
jl 0x6525845c
cmp eax, 0x64
jne 0x65257ae8
mov eax, dword [ebp + 0x34]
and eax, 0xfffffffd
jmp 0x65257b18
lea ecx, [esp + 0x28]
call fcn.65257680
lea eax, [esp + 0x28]
push 0x65296fec
push eax
call fcn.6527b8f4
mov esi, dword [ebp + 0x34]
xor ecx, ecx
add esp, 8
cmp eax, edi
sete cl
mov eax, esi
shl ecx, 1
xor ecx, esi
and ecx, 2
xor eax, ecx
push 0x652e33d0
push str.Bouncing_deletes
push edi
push edi
lea edx, [esp + 0x38]
mov dword [ebp + 0x34], eax
push ebx
mov dword [0x652e33e4], edx
call sub.dblib8.dll_Ordinal_257
mov eax, dword [ebx + 0xc]
cmp eax, edi
jl 0x6525845c
cmp eax, 0x64
jne 0x65257b4f
mov eax, dword [ebp + 0x34]
or eax, 4
jmp 0x65257b80
lea ecx, [esp + 0x28]
call fcn.65257680
lea eax, [esp + 0x28]
push 0x65296fec
push eax
call fcn.6527b8f4
mov esi, dword [ebp + 0x34]
xor ecx, ecx
add esp, 8
cmp eax, edi
sete cl
mov eax, esi
shl ecx, 2
xor ecx, esi
and ecx, 4
xor eax, ecx
push 0x652e3420
push str.Bouncing_updates
push edi
push edi
lea edx, [esp + 0x38]
mov dword [ebp + 0x34], eax
push ebx
mov dword [0x652e3434], edx
call sub.dblib8.dll_Ordinal_257
mov eax, dword [ebx + 0xc]
cmp eax, edi
jl 0x6525845c
cmp eax, 0x64
jne 0x65257bb7
mov eax, dword [ebp + 0x34]
and eax, 0xfffffff7
jmp 0x65257be8
lea ecx, [esp + 0x28]
call fcn.65257680
lea eax, [esp + 0x28]
push 0x65296fec
push eax
call fcn.6527b8f4
mov esi, dword [ebp + 0x34]
xor ecx, ecx
add esp, 8
cmp eax, edi
sete cl
mov eax, esi
shl ecx, 3
xor ecx, esi
and ecx, 8
xor eax, ecx
push 0x652e3470
push str.Qualify_owners
push edi
push edi
lea edx, [esp + 0x38]
mov dword [ebp + 0x34], eax
push ebx
mov dword [0x652e3484], edx
call sub.dblib8.dll_Ordinal_257
mov eax, dword [ebx + 0xc]
cmp eax, edi
jl 0x6525845c
cmp eax, 0x64
jne 0x65257c1f
mov eax, dword [ebp + 0x34]
or eax, 0x10
jmp 0x65257c50
lea ecx, [esp + 0x28]
call fcn.65257680
lea eax, [esp + 0x28]
push 0x65296fec
push eax
call fcn.6527b8f4
mov esi, dword [ebp + 0x34]
xor ecx, ecx
add esp, 8
cmp eax, edi
sete cl
mov eax, esi
shl ecx, 4
xor ecx, esi
and ecx, 0x10
xor eax, ecx
push 0x652e34bc
push str.Quote_all_identifiers
push edi
push edi
lea edx, [esp + 0x38]
mov dword [ebp + 0x34], eax
push ebx
mov dword [0x652e34d0], edx
call sub.dblib8.dll_Ordinal_257
mov eax, dword [ebx + 0xc]
cmp eax, edi
jl 0x6525845c
cmp eax, 0x64
jne 0x65257c87
mov eax, dword [ebp + 0x34]
and eax, 0xffffffdf
jmp 0x65257cb8
lea ecx, [esp + 0x28]
call fcn.65257680
lea eax, [esp + 0x28]
push 0x65296fec
push eax
call fcn.6527b8f4
mov esi, dword [ebp + 0x34]
xor ecx, ecx
add esp, 8
cmp eax, edi
sete cl
mov eax, esi
shl ecx, 5
xor ecx, esi
and ecx, 0x20
xor eax, ecx
push 0x652e3510
push str.Subscribe_by_remote
push edi
push edi
lea edx, [esp + 0x38]
mov dword [ebp + 0x34], eax
push ebx
mov dword [0x652e3524], edx
call sub.dblib8.dll_Ordinal_257
mov eax, dword [ebx + 0xc]
cmp eax, edi
jl 0x6525845c
cmp eax, 0x64
jne 0x65257cef
mov eax, dword [ebp + 0x34]
and eax, 0xffffffbf
jmp 0x65257d20
lea ecx, [esp + 0x28]
call fcn.65257680
lea eax, [esp + 0x28]
push 0x65296fec
push eax
call fcn.6527b8f4
mov esi, dword [ebp + 0x34]
xor ecx, ecx
add esp, 8
cmp eax, edi
sete cl
mov eax, esi
shl ecx, 6
xor ecx, esi
and ecx, 0x40
xor eax, ecx
push 0x652e3560
push str.External_remote_options
push edi
push edi
lea edx, [esp + 0x38]
mov dword [ebp + 0x34], eax
push ebx
mov dword [0x652e3574], edx
call sub.dblib8.dll_Ordinal_257
mov eax, dword [ebx + 0xc]
cmp eax, edi
jl 0x6525845c
cmp eax, 0x64
jne 0x65257d5b
mov eax, dword [ebp + 0x34]
mov esi, pe_nt_image_headers32
or eax, esi
jmp 0x65257d91
lea ecx, [esp + 0x28]
call fcn.65257680
lea eax, [esp + 0x28]
push 0x65296fec
push eax
call fcn.6527b8f4
mov esi, dword [ebp + 0x34]
xor ecx, ecx
add esp, 8
cmp eax, edi
mov eax, dword [ebp + 0x34]
sete cl
shl ecx, 8
xor ecx, esi
mov esi, pe_nt_image_headers32
and ecx, esi
xor eax, ecx
test esi, eax
mov dword [ebp + 0x34], eax
jne 0x65257e01
mov eax, dword [str.sarmtapi]
push edi
push 2
push edi
push edi
push str.SELECT_min__table_id___n_FROM_SYS.SYSTABLE_n_WHERE_table_name__SYSREMOTEOPTION
lea edx, [esp + 0x28]
push edx
push eax
push edi
push ebx
mov dword [esp + 0x38], edi
call sub.dblib8.dll_Ordinal_260
cmp dword [ebx + 0xc], edi
jl 0x6525845c
push 0x652e3608
push edi
lea ecx, [esp + 0x2c]
lea eax, [esp + 0x1c]
push eax
mov dword [0x652e361c], ecx
mov ecx, dword [str.sarmtapi]
push ecx
push edi
lea edx, [esp + 0x30]
push ebx
mov dword [0x652e3620], edx
call sub.dblib8.dll_Ordinal_267
cmp dword [ebx + 0xc], edi
jl 0x6525845c
cmp word [esp + 0x1c], di
jge 0x65257e01
or dword [ebp + 0x34], esi
push 0x652e3644
push str.Save_remote_passwords
push edi
push edi
lea edx, [esp + 0x38]
push ebx
mov dword [0x652e3658], edx
call sub.dblib8.dll_Ordinal_257
mov eax, dword [ebx + 0xc]
cmp eax, edi
jl 0x6525845c
cmp eax, 0x64
jne 0x65257e37
mov eax, dword [ebp + 0x34]
or eax, 0x200
jmp 0x65257e6b
lea ecx, [esp + 0x28]
call fcn.65257680
lea eax, [esp + 0x28]
push 0x65296fec
push eax
call fcn.6527b8f4
mov esi, dword [ebp + 0x34]
xor ecx, ecx
add esp, 8
cmp eax, edi
sete cl
mov eax, esi
shl ecx, 9
xor ecx, esi
and ecx, 0x200
xor eax, ecx
push 0x652e3698
push str.Replication_error
push edi
push edi
lea edx, [esp + 0x38]
mov dword [ebp + 0x34], eax
push ebx
mov dword [0x652e36ac], edx
call sub.dblib8.dll_Ordinal_257
mov eax, dword [ebx + 0xc]
cmp eax, edi
jl 0x6525845c
cmp eax, 0x64
jne 0x65257ea2
mov dword [ebp + 0x1c], edi
jmp 0x65257f45
lea ecx, [esp + 0x28]
call fcn.65257680
mov al, byte [esp + 0x28]
test al, al
jne 0x65257ebb
mov dword [ebp + 0x1c], edi
jmp 0x65257f45
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x65257ec2
sub eax, edx
add eax, 0xc
push eax
call fcn.652441c0
mov dword [ebp + 0x1c], eax
mov ecx, dword [str.CALL]
mov dword [eax], ecx
mov dx, word [0x6528b960]
mov word [eax + 4], dx
lea eax, [esp + 0x2c]
add esp, 4
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x65257ef3
mov edi, dword [ebp + 0x1c]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x65257f00
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 0x1c]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x65257f20
mov eax, dword [str.______]
mov dword [edi], eax
mov cx, word [0x652999c4]
mov word [edi + 4], cx
mov dl, byte [0x652999c6]
mov byte [edi + 6], dl
xor edi, edi
push 0x652e36e8
push str.Replication_error_piece
push edi
push edi
lea eax, [esp + 0x38]
push ebx
mov dword [0x652e36fc], eax
call sub.dblib8.dll_Ordinal_257
mov eax, dword [ebx + 0xc]
cmp eax, edi
jl 0x6525845c
cmp eax, 0x64
jne 0x65257f78
mov dword [ebp + 0x20], edi
jmp 0x65258025
lea ecx, [esp + 0x28]
call fcn.65257680
mov al, byte [esp + 0x28]
test al, al
jne 0x65257f91
mov dword [ebp + 0x20], edi
jmp 0x65258025
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x65257f98
sub eax, edx
add eax, 0xc
push eax
call fcn.652441c0
mov dword [ebp + 0x20], eax
mov ecx, dword [str.CALL]
mov dword [eax], ecx
mov dx, word [0x6528b960]
mov word [eax + 4], dx
lea eax, [esp + 0x2c]
add esp, 4
mov esi, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x65257fd0
mov edi, dword [ebp + 0x20]
sub eax, esi
dec edi
lea ecx, [ecx]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x65257fe0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 0x20]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x65258000
mov eax, dword [str.______]
mov dword [edi], eax
mov cx, word [0x652999c4]
mov word [edi + 4], cx
mov dl, byte [0x652999c6]
mov byte [edi + 6], dl
xor edi, edi
push 0x652e373c
push str.SR_time_format
push edi
push edi
lea eax, [esp + 0x38]
push ebx
mov dword [0x652e3750], eax
call sub.dblib8.dll_Ordinal_257
mov eax, dword [ebx + 0xc]
cmp eax, edi
jl 0x6525845c
cmp eax, 0x64
jne 0x65258055
mov dword [ebp + 0x24], edi
jmp 0x6525809a
lea ecx, [esp + 0x28]
call fcn.65257680
mov al, byte [esp + 0x28]
test al, al
jne 0x6525806b
mov dword [ebp + 0x24], edi
jmp 0x6525809a
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x65258072
sub eax, edx
inc eax
push eax
call fcn.652441c0
add esp, 4
mov dword [ebp + 0x24], eax
lea ecx, [esp + 0x28]
mov edx, eax
mov edi, edi
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x65258090
push 0x652e3788
push str.SR_date_format
push edi
push edi
lea ecx, [esp + 0x38]
push ebx
mov dword [0x652e379c], ecx
call sub.dblib8.dll_Ordinal_257
mov eax, dword [ebx + 0xc]
cmp eax, edi
jl 0x6525845c
cmp eax, 0x64
jne 0x652580cb
mov dword [ebp + 0x28], edi
jmp 0x6525810e
lea ecx, [esp + 0x28]
call fcn.65257680
mov al, byte [esp + 0x28]
test al, al
jne 0x652580e1
mov dword [ebp + 0x28], edi
jmp 0x6525810e
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x652580e8
sub eax, edx
inc eax
push eax
call fcn.652441c0
add esp, 4
mov dword [ebp + 0x28], eax
lea ecx, [esp + 0x28]
mov edx, eax
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x65258104
push 0x652e37d4
push str.SR_timestamp_format
push edi
push edi
lea edx, [esp + 0x38]
push ebx
mov dword [0x652e37e8], edx
call sub.dblib8.dll_Ordinal_257
mov eax, dword [ebx + 0xc]
cmp eax, edi
jl 0x6525845c
cmp eax, 0x64
jne 0x6525813f
mov dword [ebp + 0x2c], edi
jmp 0x6525818a
lea ecx, [esp + 0x28]
call fcn.65257680
mov al, byte [esp + 0x28]
test al, al
jne 0x65258155
mov dword [ebp + 0x2c], edi
jmp 0x6525818a
lea eax, [esp + 0x28]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x65258160
sub eax, edx
inc eax
push eax
call fcn.652441c0
add esp, 4
mov dword [ebp + 0x2c], eax
lea ecx, [esp + 0x28]
mov edx, eax
lea esp, [esp]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x65258180
mov ecx, dword [str.sarmtapi]
push edi
push 3
push edi
push edi
push str.select_user_name__type_name__address_from_SYS.SYSREMOTEUSER_ru___SYS.SYSREMOTETYPE_rt___SYS.SYSUSERPERM_up_where_ru.consolidate__Y_AND_rt.type_id__ru.type_id_AND_ru.user_id__up.user_id
lea eax, [esp + 0x24]
push eax
push ecx
push edi
push ebx
call sub.dblib8.dll_Ordinal_260
cmp dword [ebx + 0xc], edi
jl 0x6525845c
mov ecx, dword [str.sarmtapi]
push 0x652e3828
push 0
lea eax, [esp + 0x18]
push eax
push ecx
push 0
lea edx, [esp + 0x3c]
lea esi, [ebp + 0x44]
lea edi, [ebp + 0xc4]
push ebx
mov dword [0x652e383c], esi
mov dword [0x652e3868], edi
mov dword [0x652e3894], edx
call sub.dblib8.dll_Ordinal_252
mov eax, dword [ebx + 0xc]
test eax, eax
jl 0x6525845c
mov eax, dword [str.sarmtapi]
lea edx, [esp + 0x10]
push edx
push eax
push 0
push ebx
call sub.dblib8.dll_Ordinal_249
mov eax, dword [ebx + 0xc]
test eax, eax
jl 0x6525845c
jne 0x6525827a
mov ecx, esi
call fcn.65257680
mov ecx, edi
call fcn.65257680
lea ecx, [esp + 0x28]
call fcn.65257680
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x65258233
sub eax, edx
mov dword [esp + 0x14], eax
inc eax
push eax
call fcn.652441c0
add esp, 4
test eax, eax
mov dword [ebp + 0x104], eax
je 0x65258284
mov edx, dword [esp + 0x14]
mov ecx, edx
mov edi, eax
mov eax, ecx
shr ecx, 2
lea esi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x104]
mov byte [edx + ecx], 0
jmp 0x6525828a
mov dword [ebp + 0x104], 0
mov byte [esi], 0
mov byte [edi], 0
mov eax, dword [str.sarmtapi]
push 0
push 3
push 0
push 0
push str.select_case_sensitivity_from_SYS.SYSINFO
lea edx, [esp + 0x24]
push edx
push eax
push 0
push ebx
call sub.dblib8.dll_Ordinal_260
mov eax, dword [ebx + 0xc]
test eax, eax
jl 0x6525845c
mov eax, dword [str.sarmtapi]
push 0x652e38bc
push 0
lea edx, [esp + 0x18]
push edx
push eax
push 0
lea ecx, [esp + 0x3c]
push ebx
mov dword [0x652e38d0], ecx
call sub.dblib8.dll_Ordinal_252
mov eax, dword [ebx + 0xc]
test eax, eax
jl 0x6525845c
mov edx, dword [str.sarmtapi]
lea ecx, [esp + 0x10]
push ecx
push edx
push 0
push ebx
call sub.dblib8.dll_Ordinal_249
mov eax, dword [ebx + 0xc]
test eax, eax
jl 0x6525845c
jne 0x65258323
mov edi, 0x652904b8
lea esi, [esp + 0x28]
mov ecx, 2
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x65258323
mov eax, dword [ebp + 0x34]
or eax, 0x80
jmp 0x6525832b
mov eax, dword [ebp + 0x34]
and eax, 0xffffff7f
push ebx
mov dword [ebp + 0x34], eax
call fcn.65272380
mov edx, dword [str.sarmtapi]
add esp, 4
xor esi, esi
push esi
push 2
push esi
push esi
push str.SELECT_db_property__LogMirrorName___n_FROM_SYS.SYSINFO
lea ecx, [esp + 0x28]
push ecx
push edx
push esi
push ebx
mov dword [ebp + 0x38], eax
mov dword [esp + 0x38], esi
call sub.dblib8.dll_Ordinal_260
cmp dword [ebx + 0xc], esi
jl 0x6525845c
push 0x652e3930
push esi
lea eax, [esp + 0x430]
lea edx, [esp + 0x1c]
push edx
mov dword [0x652e3944], eax
mov eax, dword [str.sarmtapi]
push eax
push esi
lea ecx, [esp + 0x2c]
push ebx
mov dword [0x652e3948], ecx
call sub.dblib8.dll_Ordinal_267
cmp dword [ebx + 0xc], esi
jl 0x6525845c
cmp word [esp + 0x18], si
jge 0x652583a9
mov dword [ebp + 0x3c], esi
jmp 0x652583fa
lea ecx, [esp + 0x428]
call fcn.65257680
lea ecx, [esp + 0x428]
push ecx
call fcn.65268650
lea eax, [esp + 0x42c]
add esp, 4
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x652583d0
sub eax, edx
inc eax
push eax
call fcn.652441c0
add esp, 4
mov dword [ebp + 0x3c], eax
lea ecx, [esp + 0x428]
mov edx, eax
nop
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x652583f0
mov eax, dword [str.sarmtapi]
push esi
push 3
push esi
push esi
push str.select_db_name__
lea edx, [esp + 0x24]
push edx
push eax
push esi
push ebx
call sub.dblib8.dll_Ordinal_260
cmp dword [ebx + 0xc], esi
jl 0x6525845c
mov eax, dword [str.sarmtapi]
push 0x652e396c
push esi
lea edx, [esp + 0x18]
push edx
push eax
push esi
lea ecx, [esp + 0x3c]
push ebx
mov dword [0x652e3980], ecx
call sub.dblib8.dll_Ordinal_252
cmp dword [ebx + 0xc], esi
jl 0x6525845c
mov edx, dword [str.sarmtapi]
lea ecx, [esp + 0x10]
push ecx
push edx
push esi
push ebx
call sub.dblib8.dll_Ordinal_249
mov eax, dword [ebx + 0xc]
cmp eax, esi
jge 0x6525846e
mov esi, ebx
call fcn.65257740
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x49c
ret
jne 0x652584d3
lea ecx, [esp + 0x28]
call fcn.65257680
mov al, byte [esp + 0x28]
test al, al
jne 0x65258491
pop edi
mov dword [ebp + 0x24], esi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x49c
ret
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x65258498
sub eax, edx
mov ebx, eax
cmp ebx, esi
jle 0x652584d3
lea eax, [ebx + 1]
push eax
call fcn.652441c0
mov ecx, ebx
mov edx, ecx
shr ecx, 2
mov dword [ebp + 0x40], eax
mov edi, eax
lea esi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 4
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x40]
mov byte [ebx + eax], 0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x49c
ret