Function at 0x65263a80
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0x334
mov ecx, dword [str.dbinfo]
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push ebx
push 2
push ebx
push ebx
mov esi, eax
mov edi, dword [esi]
push str.SELECT_n_db_property__File____n_db_property__LogName____n_db_property__LogMirrorName____n_db_property__PageSize_____n_db_property__Compression____n_db_property__Encryption____n_db_property__BlankPadding____n_db_property__CaseSensitive____n_db_property__Collation___n_FROM_dummy
lea eax, [esp + 0x24]
push eax
push ecx
push ebx
lea ebp, [esi + 8]
push ebp
mov dword [esp + 0x48], ebx
mov dword [esp + 0x34], ebx
call sub.dblib8.dll_Ordinal_260
cmp dword [esi + 0x14], ebx
jge 0x65263adc
push 0xc8
lea edx, [esp + 0x280]
push edx
push ebp
call sub.dblib8.dll_Ordinal_286
push eax
mov eax, dword [esi]
mov ecx, dword [eax + 2]
push ecx
jmp 0x65263b90
lea edx, [esp + 0x1f8]
mov dword [0x652e966c], edx
lea eax, [esp + 0xf0]
mov dword [0x652e9698], eax
lea edx, [esp + 0x174]
mov dword [0x652e96c4], edx
lea eax, [esp + 0x1c]
mov dword [0x652e96c8], eax
lea edx, [esp + 0x28]
push 0x652e9658
mov dword [0x652e971c], edx
lea eax, [esp + 0x5c]
mov dword [0x652e9748], eax
lea edx, [esp + 0x44]
push ebx
lea ecx, [esp + 0x28]
mov dword [0x652e969c], ecx
mov dword [0x652e97a0], edx
lea eax, [esp + 0x54]
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x54]
mov dword [0x652e97cc], eax
mov eax, dword [str.dbinfo]
mov dword [0x652e96f0], ecx
push eax
lea ecx, [esp + 0x54]
mov dword [0x652e9774], ecx
push ebx
lea ecx, [esp + 0x38]
push ebp
mov dword [0x652e97d0], ecx
call sub.dblib8.dll_Ordinal_267
cmp dword [esi + 0x14], ebx
jge 0x65263bac
push 0xc8
lea ecx, [esp + 0x280]
push ecx
push ebp
call sub.dblib8.dll_Ordinal_286
mov edx, dword [esi]
push eax
mov eax, dword [edx + 2]
push eax
call fcn.65265990
mov eax, dword [esi + 4]
add esp, 8
inc eax
pop edi
mov dword [esi + 4], eax
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x334
ret
cmp word [esp + 0x20], bx
jge 0x65263bbb
mov word [esp + 0xf0], bx
cmp word [esp + 0x1c], bx
jge 0x65263bca
mov word [esp + 0x174], bx
movzx ecx, word [esp + 0x1f8]
movzx eax, word [esp + 0x174]
movzx edx, word [esp + 0xf0]
mov byte [esp + ecx + 0x1fa], bl
mov byte [esp + edx + 0xf2], bl
mov byte [esp + eax + 0x176], bl
mov ecx, dword [edi + 0xc]
cmp ecx, ebx
movzx eax, word [edi + 0xa]
je 0x65263c1c
cmp eax, ebx
je 0x65263c1c
dec eax
push eax
lea edx, [esp + 0x1fe]
push edx
push ecx
mov byte [ecx + eax], bl
call fcn.6527b7d0
add esp, 0xc
mov ecx, dword [edi + 0x12]
cmp ecx, ebx
movzx eax, word [edi + 0x10]
je 0x65263c41
cmp eax, ebx
je 0x65263c41
dec eax
push eax
mov byte [ecx + eax], bl
lea eax, [esp + 0xf6]
push eax
push ecx
call fcn.6527b7d0
add esp, 0xc
mov ecx, dword [edi + 0x53]
cmp ecx, ebx
movzx eax, word [edi + 0x51]
je 0x65263c66
cmp eax, ebx
je 0x65263c66
dec eax
push eax
lea edx, [esp + 0x17a]
push edx
push ecx
mov byte [ecx + eax], bl
call fcn.6527b7d0
add esp, 0xc
mov ax, word [esp + 0x48]
push 2
lea ecx, [esp + 0x48]
push 0x65296fec
push ecx
mov word [edi + 0x29], ax
call fcn.6527c630
mov cl, byte [edi + 0x1d]
cmp eax, ebx
sete dl
shl dl, 1
xor dl, cl
push 2
and dl, 2
lea eax, [esp + 0x50]
xor cl, dl
push 0x65296fec
push eax
mov byte [edi + 0x1d], cl
call fcn.6527c630
cmp eax, ebx
mov al, byte [edi + 0x1d]
sete cl
shl cl, 2
xor cl, al
push 4
and cl, 4
lea edx, [esp + 0x74]
xor al, cl
push str.None
push edx
mov byte [edi + 0x1d], al
call fcn.6527c630
mov dl, byte [edi + 0x1d]
cmp eax, ebx
setne al
shl al, 3
xor al, dl
push 2
and al, 8
lea ecx, [esp + 0x50]
xor dl, al
push 0x65296fec
push ecx
mov byte [edi + 0x1d], dl
call fcn.6527c630
mov cl, byte [edi + 0x2f]
add esp, 0x30
cmp eax, ebx
sete dl
xor dl, cl
and dl, 1
xor cl, dl
mov byte [edi + 0x2f], cl
cmp word [esp + 0x24], bx
jge 0x65263d14
mov byte [edi + 0x1e], bl
jmp 0x65263dcf
lea edx, [esp + 0x4c]
call fcn.65263a20
lea edx, [edi + 0x1e]
lea ecx, [esp + 0x4c]
lea eax, [esp + 0x4c]
sub edx, ecx
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x65263d30
cmp word [edi], 0x1f40
jb 0x65263dcf
mov eax, dword [str.dbinfo]
push ebx
push 2
push ebx
push ebx
push str.SELECT_collation_name_n_FROM_SYS.SYSCOLLATION_n_WHERE_collation_label__:default_collation
lea edx, [esp + 0x24]
push edx
push eax
push ebx
push ebp
mov dword [esp + 0x34], ebx
call sub.dblib8.dll_Ordinal_260
push 0x652e9890
push 0x652e9854
lea ecx, [esp + 0x54]
lea eax, [esp + 0x18]
push eax
mov dword [0x652e9868], ecx
mov ecx, dword [str.dbinfo]
push ecx
push ebx
lea edx, [esp + 0x80]
push ebp
mov dword [0x652e98a4], edx
call sub.dblib8.dll_Ordinal_267
cmp dword [esi + 0x14], ebx
jge 0x65263da4
mov byte [esp + 0x6e], bl
jmp 0x65263dad
movzx edx, word [esp + 0x6c]
mov byte [esp + edx + 0x6e], bl
mov ecx, dword [edi + 0x5b]
cmp ecx, ebx
movzx eax, word [edi + 0x5f]
je 0x65263dcf
cmp eax, ebx
je 0x65263dcf
dec eax
push eax
mov byte [ecx + eax], bl
lea eax, [esp + 0x72]
push eax
push ecx
call fcn.6527b7d0
add esp, 0xc
cmp word [edi], 0x1f54
jb 0x65263f39
mov edx, dword [str.dbinfo]
push ebx
push 2
push ebx
push ebx
push str.SELECT_database_version_FROM_SYS.SYSINFO
lea ecx, [esp + 0x24]
push ecx
push edx
push ebx
push ebp
mov dword [esp + 0x34], ebx
call sub.dblib8.dll_Ordinal_260
cmp dword [esi + 0x14], ebx
jl 0x65263ee0
mov edx, dword [str.dbinfo]
push 0x652e98f8
push ebx
lea ecx, [esp + 0x18]
push ecx
push edx
push ebx
lea eax, [esp + 0x28]
push ebp
mov dword [0x652e990c], eax
call sub.dblib8.dll_Ordinal_267
cmp dword [esi + 0x14], ebx
jl 0x65263ee0
cmp word [esp + 0x14], 0x25
jb 0x65263f17
mov ecx, dword [str.dbinfo]
push ebx
push 2
push ebx
push ebx
push str.SELECT__classes_version__FROM_SYS.SYSINFO
lea eax, [esp + 0x24]
push eax
push ecx
push ebx
push ebp
mov dword [esp + 0x34], ebx
call sub.dblib8.dll_Ordinal_260
cmp dword [esi + 0x14], ebx
jl 0x65263ee0
push 0x652e9960
push ebx
lea edx, [esp + 0x34]
lea ecx, [esp + 0x18]
push ecx
mov dword [0x652e9974], edx
mov edx, dword [str.dbinfo]
push edx
push ebx
lea eax, [esp + 0x2c]
push ebp
mov dword [0x652e9978], eax
call sub.dblib8.dll_Ordinal_267
cmp dword [esi + 0x14], ebx
jl 0x65263ee0
mov ecx, dword [str.dbinfo]
push ebx
push 2
push ebx
push ebx
push str.SELECT_count___FROM_SYS.SYSJAVACLASS
lea eax, [esp + 0x24]
push eax
push ecx
push ebx
push ebp
mov dword [esp + 0x34], ebx
call sub.dblib8.dll_Ordinal_260
cmp dword [esi + 0x14], ebx
jl 0x65263ee0
mov ecx, dword [str.dbinfo]
push 0x652e99c4
push ebx
lea eax, [esp + 0x18]
push eax
push ecx
push ebx
lea edx, [esp + 0x50]
push ebp
mov dword [0x652e99d8], edx
call sub.dblib8.dll_Ordinal_267
cmp dword [esi + 0x14], ebx
jge 0x65263ef2
call fcn.652638e0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x334
ret
cmp word [esp + 0x18], bx
jl 0x65263f17
push 5
lea edx, [esp + 0x32]
push str.1.1.3
push edx
call fcn.6527c630
add esp, 0xc
test eax, eax
jne 0x65263f1c
cmp dword [esp + 0x3c], ebx
jne 0x65263f1c
mov word [esp + 0x2c], bx
movzx eax, word [esp + 0x2c]
mov byte [esp + eax + 0x2e], bl
movzx eax, word [edi + 0x65]
lea ecx, [esp + 0x2e]
push ecx
mov ecx, dword [edi + 0x61]
call fcn.65263a60
add esp, 4
mov ecx, dword [edi + 0x18]
cmp ecx, ebx
movzx eax, word [edi + 0x16]
je 0x65263f5b
cmp eax, ebx
je 0x65263f5b
dec eax
push eax
push 0x6528b61a
push ecx
mov byte [ecx + eax], bl
call fcn.6527b7d0
add esp, 0xc
or byte [edi + 0x1d], 1
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x334
ret