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

Disassembly:
push esi
mov esi, eax
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x65235c77
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x65235bf3
mov eax, dword [esi]
mov ecx, dword [eax + 0x12]
push 0x22b5
push ecx
call fcn.652659d0
add esp, 8
mov word [esi + 0x124], 1
pop esi
ret
mov edx, dword [esi]
mov eax, dword [edx + 0x62]
push eax
lea ecx, [esi + 0x278]
push str.SELECT_publication_id_FROM_SYS.SYSSYNC_WHERE_site_name___s_AND_type_in__S_D_
push ecx
call fcn.65237150
mov edx, dword [esi + 0x1e8]
push eax
push 0x12
push edx
call fcn.65261aa0
mov eax, dword [esi + 0x1e8]
push 0x12
push eax
call fcn.65262260
mov ecx, dword [esi + 0x1e8]
add esp, 0x20
test eax, eax
push 0x12
push ecx
jne 0x65235c5e
call fcn.65261d80
mov eax, dword [esi]
mov edx, dword [eax + 0x62]
mov eax, dword [eax + 0x12]
push edx
push 0x22b4
push eax
call fcn.652659d0
add esp, 0x14
mov word [esi + 0x124], 1
pop esi
ret
call fcn.65261d80
add esp, 8
call fcn.652352b0
call fcn.65235130
call fcn.652359c0
pop esi
ret
mov edx, dword [esi]
mov eax, dword [edx + 0x3b]
push eax
lea ecx, [esi + 0x278]
push str.SELECT_user_id_FROM_SYS.SYSUSERPERM_WHERE_user_name___s
push ecx
call fcn.65237150
mov edx, dword [esi + 0x1e8]
push eax
push 0x12
push edx
call fcn.65261aa0
mov eax, dword [esi + 0x1e8]
push 0x12
push eax
call fcn.65262260
add esp, 0x20
test eax, eax
je 0x65235cf0
mov ecx, dword [esi + 0x1e8]
push 0
push 0x12
push ecx
call fcn.652617d0
push eax
call fcn.6527bd96
mov edx, dword [esi + 0x1e8]
push 0x12
push edx
mov dword [esi + 0x274], eax
call fcn.65261d80
add esp, 0x18
call fcn.652352b0
call fcn.65235130
call fcn.652359c0
pop esi
ret
mov eax, dword [esi + 0x1e8]
push 0x12
push eax
call fcn.65261d80
mov eax, dword [esi]
mov ecx, dword [eax + 0x3b]
mov edx, dword [eax + 0x12]
push ecx
push 0x15ad
push edx
call fcn.652659d0
add esp, 0x14
mov word [esi + 0x124], 1
pop esi
ret
Function at 0x65237a70
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push 0x6528fa70
lea edi, [esi + 0x128]
push ebx
push edi
call fcn.652371f0
mov eax, dword [esi + 0x80]
add esp, 0xc
test eax, eax
je 0x65237aa4
mov eax, dword [esp + 0x1c]
push eax
push ebx
push esi
call fcn.652379e0
add esp, 0xc
cmp byte [ebp], 0
je 0x65237acc
push str.SYSTEM
push ebp
call fcn.652810f2
add esp, 8
test eax, eax
je 0x65237acc
push ebp
push str._IN___s_
push ebx
push edi
call fcn.652371f0
add esp, 0x10
push 0x6528fa54
push ebx
push edi
call fcn.652371f0
mov eax, dword [esi + 0xc]
add esp, 0xc
test eax, eax
je 0x65237bec
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea eax, [esi + 0x278]
push str.SELECT__select_table_name_from_SYS.SYSTABLE_where_table_id__i.table_id___index_name__remarks_FROM_SYS.SYSINDEX_i_WHERE_table_id___s_AND_index_id___s
push eax
call fcn.65237150
mov ecx, dword [esi + 0x1e8]
push eax
push 0x18
push ecx
call fcn.65261aa0
mov edx, dword [esi + 0x1e8]
push 0x18
push edx
call fcn.65262260
add esp, 0x24
test eax, eax
je 0x65237bdb
mov eax, dword [esi + 0x1e8]
push 2
push 0x18
push eax
call fcn.65261720
add esp, 0xc
test eax, eax
jne 0x65237bdb
mov ecx, dword [esi + 0x1e8]
push 1
push 0x18
push ecx
call fcn.652617d0
mov edx, dword [esi + 0x1e8]
add esp, 0xc
push eax
push 0
push 0x18
push edx
call fcn.652617d0
add esp, 0xc
push eax
mov eax, dword [esp + 0x1c]
push eax
push str.COMMENT_ON_INDEX___s_.__s_.__s__IS_r_n_t
push ebx
push edi
call fcn.652371f0
mov ecx, dword [esi + 0x1e8]
push 2
push 0x18
push ecx
call fcn.652617d0
add esp, 0x24
mov ebp, eax
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x65237b95
sub eax, ecx
push ebx
push edi
mov dword [esp + 0x14], eax
call fcn.652371e0
push eax
mov eax, dword [esp + 0x18]
push 0x652385e0
xor edx, edx
mov dl, byte [esi + 0x126]
push 1
push 1
push edx
push str._x_nov
push eax
push ebp
call fcn.6526d4b0
push 0x6528fa54
push ebx
push edi
call fcn.652371f0
add esp, 0x34
mov ecx, dword [esi + 0x1e8]
push 0x18
push ecx
call fcn.65261d80
add esp, 8
pop edi
pop ebp
ret
Function at 0x652380b0
Capabilities:
Reference sql statements

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push eax
push ecx
push edx
lea eax, [esi + 0x278]
push str.SELECT_fkey.column_name__pkey.column_name_FROM_SYS.SYSFOREIGNKEY__SYS.SYSFKCOL_fcol__SYS.SYSCOLUMN_fkey__SYS.SYSCOLUMN_pkey_WHERE_SYS.SYSFOREIGNKEY.foreign_table_id__fcol.foreign_table_id_AND_SYS.SYSFOREIGNKEY.foreign_key_id__fcol.foreign_key_id_AND_fcol.foreign_table_id__fkey.table_id_AND_fcol.foreign_column_id__fkey.column_id_AND_primary_column_id__pkey.column_id_AND_fcol.foreign_table_id___s_AND_fcol.foreign_key_id___s_AND_pkey.table_id___s
push eax
call fcn.65237150
mov ecx, dword [esi + 0x1e8]
push eax
push 5
push ecx
call fcn.65261aa0
mov edx, dword [esi + 0x1e8]
push 5
push edx
call fcn.65262260
add esp, 0x28
test eax, eax
je 0x65238166
lea ecx, [ecx]
push 0x22
push ebx
call fcn.6526d220
mov eax, dword [esi + 0x1e8]
push 0
push 5
push eax
call fcn.652617d0
push eax
push ebx
call fcn.6526d1f0
push 0x22
push ebx
call fcn.6526d220
push 0x2c
push ebx
call fcn.6526d220
push 0x22
push edi
call fcn.6526d220
mov ecx, dword [esi + 0x1e8]
push 1
push 5
push ecx
call fcn.652617d0
add esp, 0x40
push eax
push edi
call fcn.6526d1f0
push 0x22
push edi
call fcn.6526d220
push 0x2c
push edi
call fcn.6526d220
mov edx, dword [esi + 0x1e8]
push 5
push edx
call fcn.65262260
add esp, 0x20
test eax, eax
jne 0x652380f0
dec dword [ebx]
dec dword [edi]
mov eax, dword [esi + 0x1e8]
push 5
push eax
call fcn.65261d80
add esp, 8
pop ebx
ret
Function at 0x65239930
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
push edi
push str.LOAD_TABLE__
push esi
mov dword [esi], 0
call fcn.6526d1f0
mov ebx, dword [esp + 0x44]
push ebx
push esi
call fcn.6526d1f0
push 0x652903d4
push esi
call fcn.6526d1f0
mov ebp, dword [esp + 0x58]
push ebp
push esi
call fcn.6526d1f0
mov edi, dword [esp + 0x54]
mov eax, dword [edi]
mov cl, byte [eax + 0x24]
add esp, 0x20
test cl, 0x10
jne 0x65239a3c
mov eax, dword [esp + 0x44]
test eax, eax
je 0x65239a3c
push eax
lea ecx, [edi + 0x278]
push str.SELECT_column_name_FROM_SYS.SYSCOLUMN_c_WHERE__c.table_id___s_ORDER_BY_column_id
push ecx
call fcn.65237150
mov edx, dword [edi + 0x1e8]
push eax
push 3
push edx
call fcn.65261aa0
push 0x652907ec
push esi
call fcn.6526d1f0
mov eax, dword [edi + 0x1e8]
push 3
push eax
call fcn.65262260
add esp, 0x28
test eax, eax
je 0x65239a12
nop
push 0x6528b6ec
push esi
call fcn.6526d1f0
mov ecx, dword [edi + 0x1e8]
push 0
push 3
push ecx
call fcn.652617d0
push eax
push esi
call fcn.6526d1f0
push 0x652907e8
push esi
call fcn.6526d1f0
mov edx, dword [edi + 0x1e8]
push 3
push edx
call fcn.65262260
add esp, 0x2c
test eax, eax
jne 0x652399d0
mov eax, dword [esi]
sub eax, 2
push eax
push esi
call fcn.6526d090
push str.___r_n
push esi
call fcn.6526d1f0
mov ecx, dword [edi + 0x1e8]
push 3
push ecx
call fcn.65261d80
add esp, 0x18
jmp 0x65239a4a
push 0x652907d8
push esi
call fcn.6526d1f0
add esp, 8
push str._tFROM_
push esi
call fcn.6526d1f0
mov edx, dword [esp + 0x50]
push edx
push esi
call fcn.6526d1f0
push 0x652907cc
push esi
call fcn.6526d1f0
push 0x652907c8
push ebx
call fcn.6527b8f4
add esp, 0x20
test eax, eax
jne 0x65239a9d
push str.ml_script
push ebp
call fcn.6527b8f4
add esp, 8
test eax, eax
jne 0x65239a9d
push str._tDEFAULTS_ON_r_n
push esi
call fcn.6526d1f0
add esp, 8
push str._tFORMAT_ASCII_QUOTES_ON_r_n
push esi
call fcn.6526d1f0
push str._tORDER
push esi
call fcn.6526d1f0
mov eax, dword [edi]
mov cl, byte [eax + 0x24]
add esp, 0x10
test cl, 1
mov eax, 0x65290790
jne 0x65239aca
mov eax, str.OFF
push eax
push esi
call fcn.6526d1f0
push str.ESCAPES_ON_r_n
push esi
call fcn.6526d1f0
mov al, byte [edi + 0x126]
add esp, 0x10
cmp al, 0x5c
je 0x65239b01
movsx ecx, al
push ecx
lea edx, [esp + 0x14]
push str._tESCAPE_CHARACTER__c_r_n
push edx
call fcn.6527bd9b
add esp, 0xc
jmp 0x65239b06
mov byte [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
push esi
call fcn.6526d1f0
push str._tCHECK_CONSTRAINTS_OFF_COMPUTES_OFF_r_n
push esi
call fcn.6526d1f0
push str._tSTRIP_OFF_DELIMITED_BY__
push esi
call fcn.6526d1f0
mov eax, dword [esp + 0x64]
add esp, 0x18
test eax, eax
je 0x65239b3c
push eax
push esi
call fcn.6526d1f0
add esp, 8
push esi
call fcn.6526d270
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x6523a1f0
Capabilities:
Reference sql statements

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi]
cmp byte [eax + 0x22], 2
je 0x6523a3d3
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esi + 0x278]
push str.SELECT_column_name__format_id__density__max_steps_________actual_steps__step_values__frequencies__domain_id_FROM_SYS.SYSCOLSTAT_S__SYS.SYSCOLUMN_C_WHERE_S.table_id___s_AND_S.table_id__C.table_id_AND_S.column_id__C.column_id
push edx
call fcn.65237150
push eax
mov eax, dword [esi + 0x1e8]
push 0x18
push eax
call fcn.65261aa0
mov ecx, dword [esi + 0x1e8]
push 0x65290a14
push 1
push ecx
call fcn.652625a0
mov edx, dword [esi + 0x1e8]
push str.PageSize
push 1
push edx
mov dword [esp + 0x34], eax
call fcn.652625a0
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x1e8]
push 0x18
push eax
call fcn.65262260
add esp, 0x38
test eax, eax
je 0x6523a3b8
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x18]
push edi
lea edi, [esi + 0x128]
nop
mov ecx, dword [esi + 0x1e8]
push 7
push 0x18
push ecx
call fcn.652617d0
push eax
call fcn.6527bd96
add esp, 0x10
cmp ax, 7
jl 0x6523a2c1
cmp ax, 0xa
jg 0x6523a2c1
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
push edx
push eax
push str.if____select_db_property__collation______s___and_____select_db_property__PageSize________s___then__r_n_t
push 7
push edi
call fcn.652371f0
add esp, 0x14
jmp 0x6523a2d6
mov ecx, dword [esp + 0x18]
push ecx
push str.if___select_db_property__PageSize________s_then__r_n_t
push 7
push edi
call fcn.652371f0
add esp, 0x10
mov edx, dword [esi + 0x1e8]
push 4
push 0x18
push edx
call fcn.652617d0
add esp, 0xc
push eax
mov eax, dword [esi + 0x1e8]
push 3
push 0x18
push eax
call fcn.652617d0
mov ecx, dword [esi + 0x1e8]
add esp, 0xc
push eax
push 2
push 0x18
push ecx
call fcn.652617d0
mov edx, dword [esi + 0x1e8]
add esp, 0xc
push eax
push 1
push 0x18
push edx
call fcn.652617d0
add esp, 0xc
push eax
mov eax, dword [esi + 0x1e8]
push 0
push 0x18
push eax
call fcn.652617d0
add esp, 0xc
push eax
push ebx
push ebp
push str.LOAD_STATISTICS___s_.__s_.__s__r_n_t_s___s___s___s_
push 7
push edi
call fcn.652371f0
push 0x65290924
push 7
push edi
call fcn.652371f0
push 0
push 5
push 0x18
push 7
push esi
call fcn.65239080
add esp, 0x48
push str.___r_n_t
push 7
push edi
call fcn.652371f0
push 0
push 6
push 0x18
push 7
push esi
call fcn.65239080
push str._r_nend_if
push 7
push edi
call fcn.652371f0
push str._r_ngo_r_n_r_n
push 7
push edi
call fcn.652371f0
mov ecx, dword [esi + 0x1e8]
push 0x18
push ecx
call fcn.65262260
add esp, 0x40
test eax, eax
jne 0x6523a280
pop edi
pop ebp
pop ebx
mov edx, dword [esi + 0x1e8]
push 0x18
push edx
call fcn.65261d80
mov eax, dword [esp + 0xc]
add esp, 8
push eax
call sub.dblib8.dll_Ordinal_203
pop esi
pop ecx
ret
Function at 0x6523a4c0
Capabilities:
Reference sql statements

Disassembly:
push ebx
push ebp
mov ebp, dword [esi + 0x48]
test ebp, ebp
mov ebx, 1
je 0x6523a500
mov ebp, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x10]
push ebp
push edx
push ecx
push eax
lea eax, [esi + 0x278]
push str.SELECT_column_name_FROM_SYS.SYSCOLPERM_c__SYS.SYSCOLUMN_WHERE_c.table_id__SYS.SYSCOLUMN.table_id_AND_c.column_id__SYS.SYSCOLUMN.column_id_AND_grantor___s_AND_grantee___s_AND_c.table_id___s_AND_privilege_type___s_AND_is_grantable___s_ORDER_BY_column_name
push eax
call fcn.65237150
mov ecx, dword [esi + 0x1e8]
push eax
push 8
push ecx
call fcn.65261aa0
add esp, 0x28
jmp 0x6523a526
push edx
push ecx
push eax
lea edx, [esi + 0x278]
push str.SELECT_column_name_FROM_SYS.SYSCOLPERM_c__SYS.SYSCOLUMN_WHERE_c.table_id__SYS.SYSCOLUMN.table_id_AND_c.column_id__SYS.SYSCOLUMN.column_id_AND_grantor___s_AND_grantee___s_AND_c.table_id___s_ORDER_BY_column_name
push edx
call fcn.65237150
push eax
mov eax, dword [esi + 0x1e8]
push 8
push eax
call fcn.65261aa0
add esp, 0x20
mov ecx, dword [esi + 0x1e8]
push 8
push ecx
call fcn.65262260
add esp, 8
test eax, eax
je 0x6523a592
jmp 0x6523a540
test ebx, ebx
je 0x6523a548
xor ebx, ebx
jmp 0x6523a556
push 0x6528b89c
push edi
call fcn.6526d1f0
add esp, 8
push 0x22
push edi
call fcn.6526d220
mov edx, dword [esi + 0x1e8]
push 0
push 8
push edx
call fcn.652617d0
push eax
push edi
call fcn.6526d1f0
push 0x22
push edi
call fcn.6526d220
mov eax, dword [esi + 0x1e8]
push 8
push eax
call fcn.65262260
add esp, 0x2c
test eax, eax
jne 0x6523a540
pop ebp
pop ebx
mov dword [esp + 8], 8
mov ecx, dword [esi + 0x1e8]
mov dword [esp + 4], ecx
jmp fcn.65261d80
Function at 0x6523ac40
Capabilities:
Reference sql statements

Disassembly:
mov eax, dword [esi]
test byte [eax + 0x24], 0x10
mov eax, str.AND_group_id.user_id_IN__SELECT_user_id_FROM_extract_users_
jne 0x6523ac52
mov eax, 0x6528b61a
mov ecx, dword [esi + 0x118]
push eax
push ecx
push edx
lea eax, [esi + 0x278]
push str.SELECT_group_id.user_name_FROM_SYS.SYSUSERPERM_group_id__SYS.SYSGROUP__SYS.SYSUSERPERM_u_WHERE__group_id.user_id__SYS.SYSGROUP.group_id_AND_u.user_id__group_member_AND_group_member___s_AND_group_id.user_name____PUBLIC_AND__u.user_name_____s_OR_group_id.user_name____SYS___s
push eax
call fcn.65237150
mov ecx, dword [esi + 0x1e8]
push eax
push 0xa
push ecx
call fcn.65261aa0
mov edx, dword [esi + 0x1e8]
push 0xa
push edx
call fcn.65262260
add esp, 0x28
test eax, eax
je 0x6523ad14
call fcn.652379d0
test eax, eax
jne 0x6523acd4
push 0x652907c8
push edi
call fcn.652810f2
add esp, 8
test eax, eax
je 0x6523acff
mov eax, dword [esi + 0x1e8]
push edi
push 0
push 0xa
push eax
call fcn.652617d0
add esp, 0xc
push eax
push str.GRANT_MEMBERSHIP_IN_GROUP___s__TO___s__r_ngo_r_n
push 4
lea ecx, [esi + 0x128]
push ecx
jmp 0x6523acf7
mov edx, dword [esi + 0x1e8]
push edi
push 0
push 0xa
push edx
call fcn.652617d0
add esp, 0xc
push eax
push str.EXEC_sp_changegroup___s_____s__r_ngo_r_n
push 4
lea eax, [esi + 0x128]
push eax
call fcn.652371f0
add esp, 0x14
mov ecx, dword [esi + 0x1e8]
push 0xa
push ecx
call fcn.65262260
add esp, 8
test eax, eax
jne 0x6523ac94
mov edx, dword [esi + 0x1e8]
push 0xa
push edx
call fcn.65261d80
add esp, 8
ret

Function at 0x6523aef0
Capabilities:
Reference sql statements

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 8]
push edi
push eax
push ecx
lea edx, [esi + 0x278]
push str.SELECT_tname_FROM_SYS.SYSCATALOG_WHERE_tname___s_AND_creator___s
push edx
call fcn.65237150
push eax
mov eax, dword [esi + 0x1e8]
push 0xb
push eax
call fcn.65261aa0
mov ecx, dword [esi + 0x1e8]
push 0xb
push ecx
call fcn.65262260
mov edx, dword [esi + 0x1e8]
push 0xb
push edx
mov edi, eax
call fcn.65261d80
add esp, 0x2c
mov eax, edi
pop edi
pop esi
ret

Function at 0x6523af50
Capabilities:
Reference sql statements

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push edi
push eax
push ecx
lea edx, [esi + 0x278]
push str.SELECT_column_name_FROM_SYS.SYSCOLUMN_c__SYS.SYSTABLE_t_WHERE_table_name___s_AND_creator__0_AND_column_name___s_AND_c.table_id__t.table_id
push edx
call fcn.65237150
push eax
mov eax, dword [esi + 0x1e8]
push 0xb
push eax
call fcn.65261aa0
mov ecx, dword [esi + 0x1e8]
push 0xb
push ecx
call fcn.65262260
mov edx, dword [esi + 0x1e8]
push 0xb
push edx
mov edi, eax
call fcn.65261d80
add esp, 0x2c
mov eax, edi
pop edi
pop esi
ret
Function at 0x6523b690
Capabilities:
Reference sql statements

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x1e8]
push edi
push str.SELECT__SELECT_user_name_FROM_SYS.SYSUSERPERM_________WHERE_user_id__t.creator__FROM_SYS.SYSTABLE_t_WHERE_table_nameRowGenerator
push 0xc
push eax
call fcn.65261aa0
mov ecx, dword [esi + 0x1e8]
push 0xc
push ecx
call fcn.65262260
add esp, 0x14
test eax, eax
je 0x6523b6d9
mov edx, dword [esi + 0x1e8]
push 0
push 0xc
push edx
call fcn.652617d0
push eax
call fcn.6526d310
add esp, 0x10
jmp 0x6523b6e6
push 0x6528b730
call fcn.6526d310
add esp, 4
mov edi, eax
mov eax, dword [esi + 0x1e8]
push 0xc
push eax
call fcn.65261d80
add esp, 8
mov eax, edi
pop edi
pop esi
ret

Function at 0x6523bd30
Capabilities:
Reference sql statements

Disassembly:
mov eax, dword [esi]
test byte [eax + 0x24], 0x10
mov eax, str.AND_column_id_IN__SELECT_ec.column_id_FROM_extract_columns_ec_WHERE_ec.table_id__c.table_id_
jne 0x6523bd42
mov eax, 0x6528b61a
mov ecx, dword [esp + 4]
push eax
push ecx
lea edx, [esi + 0x278]
push str.SELECT_column_name__pkey__column_id_FROM_SYS.SYSCOLUMN_c__WHERE_table_id___s__s_ORDER_BY_column_id
push edx
call fcn.65237150
push eax
mov eax, dword [esi + 0x1e8]
push 3
push eax
call fcn.65261aa0
mov ecx, dword [esi + 0x1e8]
push 3
push ecx
call fcn.65262260
add esp, 0x24
test eax, eax
je 0x6523bde9
push ebx
mov edi, edi
mov edx, dword [esi + 0x1e8]
push 1
push 3
push edx
call fcn.652617d0
movsx eax, byte [eax]
push eax
call fcn.6527c935
push 0x59
mov ebx, eax
call fcn.6527c935
add esp, 0x14
cmp ebx, eax
jne 0x6523bdd3
mov ecx, dword [esi + 0x1e8]
push 1
push 0
push 3
push ecx
call fcn.652617d0
add esp, 0xc
push eax
push edi
call fcn.65234ff0
push 0x6528b89c
push edi
call fcn.6526d1f0
add esp, 0x14
mov edx, dword [esi + 0x1e8]
push 3
push edx
call fcn.65262260
add esp, 8
test eax, eax
jne 0x6523bd80
pop ebx
mov eax, dword [edi]
test eax, eax
jbe 0x6523be02
add eax, 0xfffffffe
push eax
push edi
call fcn.6526d090
push edi
call fcn.6526d270
add esp, 0xc
mov eax, dword [esi + 0x1e8]
push 3
push eax
call fcn.65261d80
add esp, 8
ret
Function at 0x6523c860
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0xc
push str.SYSFILE
push 0x65291a20
push esi
call fcn.6523aef0
add esp, 0xc
test eax, eax
je 0x6523c987
mov eax, dword [esi + 0x1e8]
push ebx
push str.SELECT_file_name__dbspace_name_FROM_SYSFILE_WHERE_SYSFILE.file_id___0_ORDER_BY_SYSFILE.file_id
push 0xe
push eax
call fcn.65261aa0
mov ecx, dword [esi + 0x1e8]
xor ebx, ebx
push 0xe
push ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
call fcn.65262260
add esp, 0x14
test eax, eax
je 0x6523c96b
push edi
lea ebx, [ebx]
mov edx, dword [esi + 0x1e8]
push ebx
push 0xe
push edx
call fcn.652617d0
call fcn.6523c7c0
mov edi, eax
lea eax, [esp + 0x14]
push str.CREATE_DBSPACE__
push eax
mov dword [esp + 0x1c], ebx
call fcn.6526d1f0
mov ecx, dword [esi + 0x1e8]
push 1
push 0xe
push ecx
call fcn.652617d0
push eax
lea edx, [esp + 0x2c]
push edx
call fcn.6526d1f0
lea eax, [esp + 0x30]
push str.__AS_
push eax
call fcn.6526d1f0
lea ecx, [esp + 0x38]
push edi
push ecx
call fcn.6526d1f0
lea edx, [esp + 0x40]
push 0x65291dcc
push edx
call fcn.6526d1f0
lea eax, [esp + 0x48]
add esp, 0x40
push eax
call fcn.6526d270
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x1ec]
push ecx
push edx
call fcn.65262b60
push edi
call fcn.652440f0
mov eax, dword [esi + 0x1e8]
push 0xe
push eax
call fcn.65262260
add esp, 0x18
test eax, eax
jne 0x6523c8c0
pop edi
mov ecx, dword [esi + 0x1e8]
push 0xe
push ecx
call fcn.65261d80
mov edx, dword [esp + 0x14]
push edx
call fcn.652440f0
add esp, 0xc
pop ebx
mov eax, 1
add esp, 0xc
ret
Function at 0x6523ee70
Capabilities:
Reference sql statements

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi]
test byte [eax + 0x24], 0x10
mov eax, str.AND_column_id_IN__SELECT_ec.column_id_FROM_extract_columns_ec_WHERE_ec.table_id__c.table_id_
jne 0x6523ee87
mov eax, 0x6528b61a
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea edx, [esi + 0x278]
push str.SELECT_IF_c._default__IS_NULL_AND_u._default__IS_NOT_NULL_THEN_MODIFY__column_name__DEFAULT_NULL_ELSE_NULL_ENDIF__IF_c._check__IS_NULL_AND_u._check__IS_NOT_NULL_THEN_MODIFY__column_name__CHECK_NULL_ELSE_NULL_ENDIF_FROM_SYS.SYSCOLUMN_c__SYS.SYSUSERTYPE_u_WHERE_table_id___s__s_AND_c.user_type__u.type_id_AND_____c._check__IS_NULL_AND_u._check__IS_NOT_NULL___OR___c._default__IS_NULL_AND_u._default__IS_NOT_NULL____
push edx
call fcn.65237150
push eax
mov eax, dword [esi + 0x1e8]
push 3
push eax
call fcn.65261aa0
mov ecx, dword [esi + 0x1e8]
push 3
push ecx
call fcn.65262260
add esp, 0x24
test eax, eax
je 0x6523ef9a
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push edi
lea edi, [esi + 0x128]
mov edx, dword [esp + 0x18]
push ebp
push edx
push str._r_nALTER_TABLE___s_.__s__r_n
push 6
push edi
call fcn.652371f0
mov eax, dword [esi + 0x1e8]
push 0
push 3
push eax
call fcn.65261720
add esp, 0x20
test eax, eax
jne 0x6523ef1d
mov ecx, dword [esi + 0x1e8]
push eax
push 3
push ecx
call fcn.652617d0
push eax
push 0x6529258c
push 6
push edi
call fcn.652371f0
add esp, 0x1c
mov edx, dword [esi + 0x1e8]
push 1
push 3
push edx
call fcn.65261720
add esp, 0xc
test eax, eax
jne 0x6523ef71
push eax
mov eax, dword [esi + 0x1e8]
push 3
push eax
call fcn.65261720
add esp, 0xc
test eax, eax
mov ebx, 0x6529258c
jne 0x6523ef54
mov ebx, str.__r_n_t_s
mov ecx, dword [esi + 0x1e8]
push 1
push 3
push ecx
call fcn.652617d0
push eax
push ebx
push 6
push edi
call fcn.652371f0
add esp, 0x1c
push 0x6528fa54
push 6
push edi
call fcn.652371f0
mov edx, dword [esi + 0x1e8]
push 3
push edx
call fcn.65262260
add esp, 0x14
test eax, eax
jne 0x6523eed3
pop edi
pop ebp
pop ebx
mov eax, dword [esi + 0x1e8]
push 3
push eax
call fcn.65261d80
add esp, 8
pop esi
ret
Function at 0x6523ff50
Capabilities:
Reference sql statements

Disassembly:
mov eax, dword [esi]
test byte [eax + 0x24], 0x10
mov eax, str.AND___EXISTS__SELECT_E.table_id_FROM_extract_tables_E__SYS.SYSTABLE_T_WHERE_E.table_id__T.table_id_AND_T.file_id__F.file_id_AND_T.file_id____0___OR_EXISTS__SELECT_E.table_id_FROM_extract_tables_E__SYS.SYSINDEX_I_WHERE_E.table_id__I.table_id_AND_I.file_id__F.file_id_AND_I.file_id____0____
jne 0x6523ff62
mov eax, 0x6528b61a
push eax
lea ecx, [esi + 0x278]
push str.SELECT_dbspace_name__file_name_FROM_SYS.SYSFILE_F_WHERE_file_id____0__s
push ecx
call fcn.65237150
mov edx, dword [esi + 0x1e8]
push eax
push 0xe
push edx
call fcn.65261aa0
mov eax, dword [esi + 0x1e8]
push 0xe
push eax
call fcn.65262260
add esp, 0x20
test eax, eax
je 0x65240044
push ebx
push ebp
push edi
lea ebp, [esi + 0x128]
mov ecx, dword [esi + 0x1e8]
push 0
push 0xe
push ecx
call fcn.652617d0
push eax
push str.CREATE_DBSPACE___s__AS
push 6
push ebp
call fcn.652371f0
mov edx, dword [esi + 0x1e8]
push 1
push 0xe
push edx
call fcn.652617d0
push 6
push ebp
mov edi, eax
call fcn.652371e0
add esp, 0x30
test eax, eax
je 0x6524001b
mov ecx, edi
lea ebx, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x6523fff0
push eax
push 0x652385e0
xor eax, eax
mov al, byte [esi + 0x126]
push 1
push 1
sub ecx, ebx
push eax
push str._x_nov
push ecx
push edi
call fcn.6526d4b0
add esp, 0x20
push 0x6528fa54
push 6
push ebp
call fcn.652371f0
mov ecx, dword [esi + 0x1e8]
push 0xe
push ecx
call fcn.65262260
add esp, 0x14
test eax, eax
jne 0x6523ffa5
pop edi
pop ebp
pop ebx
mov edx, dword [esi + 0x1e8]
push 0xe
push edx
call fcn.65261d80
add esp, 8
ret

Function at 0x65240100
Capabilities:
Reference sql statements

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 8]
push edi
push eax
mov eax, dword [esp + 0x14]
push ecx
push eax
push eax
push edx
lea eax, [esi + 0x278]
push str.SELECT__s__user_name_FROM_SYS._s__SYS.SYSUSERPERM_WHERE_SYS.SYSUSERPERM.user_id__SYS._s.creator__AND__s_s
push eax
xor edi, edi
call fcn.65237150
mov ecx, dword [esi + 0x1e8]
push eax
push 7
push ecx
call fcn.65261aa0
mov edx, dword [esi + 0x1e8]
push 7
push edx
call fcn.65262260
add esp, 0x30
test eax, eax
je 0x652401b0
mov eax, dword [esi + 0x1e8]
push edi
push 7
push eax
call fcn.652617d0
mov ecx, dword [esi + 0x1e8]
push 1
push 7
push ecx
mov edi, eax
call fcn.652617d0
push eax
push edi
push esi
call fcn.65238600
mov ecx, edi
add esp, 0x24
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x65240183
sub ecx, edi
mov edx, eax
mov edi, ecx
lea ecx, [edx + 1]
push ebx
mov bl, byte [edx]
inc edx
test bl, bl
jne 0x65240194
sub edx, ecx
xor ecx, ecx
cmp edi, edx
setne cl
push eax
mov edi, ecx
call fcn.652440f0
add esp, 4
pop ebx
mov edx, dword [esi + 0x1e8]
push 7
push edx
call fcn.65261d80
add esp, 8
mov eax, edi
pop edi
pop esi
ret