Function at 0x65272380
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0x7a4
mov ecx, dword [str.loadtran]
push esi
mov esi, dword [esp + 0x7ac]
push 0
push 2
push 0
push 0
push str.SELECT_collation_order__case_sensitivity_n_FROM_SYS.SYSCOLLATION__SYS.SYSINFO_n_WHERE_collation_label__default_collation
lea eax, [esp + 0x18]
push eax
push ecx
push 0
push esi
mov dword [esp + 0x28], 0
call sub.dblib8.dll_Ordinal_260
push str.SQLDA___h
push 0
lea edx, [esp + 0x2ac]
lea ecx, [esp + 0xc]
push ecx
mov dword [0x652ebee4], edx
mov edx, dword [str.loadtran]
push edx
push 0
lea eax, [esp + 0x1c]
push esi
mov dword [0x652ebf10], eax
call sub.dblib8.dll_Ordinal_267
mov eax, dword [esi + 0xc]
test eax, eax
je 0x652723f9
xor eax, eax
pop esi
add esp, 0x7a4
ret
push edi
push 0x52c
call fcn.652441c0
add esp, 4
test eax, eax
je 0x6527241c
mov ecx, eax
call fcn.6526c650
mov edi, eax
test edi, edi
mov dword [esp + 0x10], edi
jne 0x65272427
pop edi
xor eax, eax
pop esi
add esp, 0x7a4
ret
mov cl, byte [esp + 0xc]
xor eax, eax
cmp cl, 0x59
sete al
lea ecx, [esp + 0x2aa]
push eax
push ecx
mov ecx, edi
call fcn.6526cbb0
mov eax, dword [str.loadtran]
push 0
push 2
push 0
push 0
push str.SELECT_COUNT___n_FROM_SYS.SYSCATALOG_n_WHERE_tname__SYSCOLLATIONMAPPINGS
lea edx, [esp + 0x1c]
push edx
push eax
push 0
push esi
mov dword [esp + 0x2c], 0
call sub.dblib8.dll_Ordinal_260
mov eax, dword [str.loadtran]
push str.SQLDA____
push 0
lea edx, [esp + 0x10]
push edx
push eax
push 0
lea ecx, [esp + 0x20]
push esi
mov dword [0x652ebf98], ecx
call sub.dblib8.dll_Ordinal_267
mov eax, dword [esp + 0xc]
test eax, eax
jle 0x652725d5
mov edx, dword [str.loadtran]
push 0
push 2
push 0
push 0
push str.SELECT_collation_label__cs_label__so_case_label__so_caseless_label__jdk_label_n_FROM_SYS.SYSINFO__SYS.SYSCOLLATIONMAPPINGS_n_WHERE_collation_label__default_collation
lea ecx, [esp + 0x1c]
push ecx
push edx
push 0
push esi
mov dword [esp + 0x2c], 0
call sub.dblib8.dll_Ordinal_260
push str.SQLDA
lea eax, [esp + 0x1a4]
mov dword [0x652ec07c], eax
lea edx, [esp + 0x228]
push 0
mov dword [0x652ec0d4], edx
lea eax, [esp + 0x1c]
lea edx, [esp + 0x10]
push edx
mov dword [0x652ec100], eax
mov eax, dword [str.loadtran]
push eax
lea ecx, [esp + 0xa8]
mov dword [0x652ec0a8], ecx
push 0
lea ecx, [esp + 0x130]
push esi
mov dword [0x652ec12c], ecx
call sub.dblib8.dll_Ordinal_267
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x652725d5
lea eax, [esp + 0x11c]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x65272530
sub eax, edx
mov dword [esp + 8], eax
lea eax, [esp + 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x65272544
sub eax, edx
push ebp
mov ebp, eax
lea eax, [esp + 0x228]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x65272560
sub eax, edx
mov edi, eax
lea eax, [esp + 0x9c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x65272575
sub eax, edx
mov edx, eax
lea eax, [esp + 0x1a4]
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x65272590
mov ecx, dword [esp + 0xc]
push ecx
lea ecx, [esp + 0x124]
push ecx
push ebp
lea ecx, [esp + 0x24]
push ecx
push edi
lea ecx, [esp + 0x23c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
lea edx, [esp + 0xb8]
sub eax, esi
push edx
push eax
lea eax, [esp + 0x1c8]
push eax
call fcn.6526c940
mov edi, dword [esp + 0x14]
pop ebp
mov eax, edi
pop edi
pop esi
add esp, 0x7a4
ret