Function at 0x48caa0
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0x64
mov eax, dword [0x65ada4]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [str.public]
push ebp
push esi
mov ecx, 0x5acad0
sub eax, 0xffffff80
push edi
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x48cae0
test dl, dl
je 0x48cadc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x48cae0
add eax, 2
add ecx, 2
test dl, dl
jne 0x48cac0
xor ebp, ebp
jmp 0x48cae5
sbb ebp, ebp
sbb ebp, 0xffffffff
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
push ecx
push 1
lea edi, [ebx + 0x17f31]
push 7
mov dword [esp + 0x20], edi
call fcn.00444330
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x48cd5e
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x48cb48
push edi
push 0x7dd
push 0x1f64
call fcn.00406f10
push 7
call fcn.004432b0
add esp, 0x10
pop edi
pop esi
mov eax, 0x1f64
pop ebp
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00586584
add esp, 0x64
ret
mov edx, dword [eax + 8]
mov dword [esp + 0x18], edx
mov cl, byte [eax + 0x2c]
mov edx, dword [eax + 0x14]
cmp byte [eax + 0x18], 0x59
mov dword [esp + 0x30], edx
mov byte [esp + 0xe], cl
mov ecx, dword [eax + 0x1a]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 0x1e]
mov dword [esp + 0x40], edx
mov ecx, dword [eax + 0x22]
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 0x26]
push 7
sete byte [esp + 0x13]
mov dword [esp + 0x54], edx
call fcn.004432b0
mov esi, eax
add esp, 4
test esi, esi
jne 0x48cd5e
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push 1
push 3
mov dword [esp + 0x20], ecx
call fcn.00444330
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x48cd5e
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x48cbf9
push 0x7dd
push 2
call fcn.00406f10
push 3
call fcn.004432b0
add esp, 0xc
pop edi
lea eax, [esi + 2]
pop esi
pop ebp
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00586584
add esp, 0x64
ret
test ebp, ebp
je 0x48cc45
mov ecx, dword [str.public]
mov edx, dword [ecx + 0x120]
cmp edx, dword [eax + 8]
je 0x48cc45
push edi
push str.drop_index
push ecx
push 0x7dd
push 0x1f69
call fcn.00406f10
push 3
call fcn.004432b0
add esp, 0x18
pop edi
pop esi
mov eax, 0x1f69
pop ebp
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00586584
add esp, 0x64
ret
mov ecx, dword [eax + 0x18]
lea ebp, [ebx + 0x17c1a]
mov edx, ebp
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x48cc50
push 3
call fcn.004432b0
mov esi, eax
add esp, 4
test esi, esi
jne 0x48cd5e
mov eax, dword [esp + 0x18]
push eax
call fcn.0047dc20
add esp, 4
test al, al
jne 0x48cca0
mov ecx, dword [esp + 0x18]
push 0
push 0xa
push ebp
push 0
push 0xffffffffffffffff
push ecx
push ebx
call fcn.00484330
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x48cd5e
lea eax, [esp + 0x28]
mov byte [ebx + 0x11], 1
call fcn.004871c0
mov esi, eax
test esi, esi
jne 0x48cd5e
cmp byte [esp + 0xf], al
je 0x48ccea
lea eax, [esp + 0x10]
push eax
push 2
push esi
push fcn.00472210
lea edx, [esp + 0x28]
push esi
push str.DELETE_FROM____sysrefconstraint__s1_WHERE__t_ttarsegno____AND__t_t_t_SELECT_tarcpos_t_t__tFROM____sysrefconstraint__t_t__tWHERE_constraintname__s1.constraintname__t_t_____t_t_t_SELECT_cpos_t_t__tFROM____sysindex__t_t__tWHERE_iname____
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edi
call fcn.0050df80
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x48cd5e
lea ecx, [esp + 0x10]
push ecx
push 1
push 0x16
mov dword [esp + 0x1c], edi
call fcn.004434f0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x48cd5e
cmp byte [esp + 0xe], al
je 0x48cd4f
mov edx, dword [esp + 0x30]
push edx
lea eax, [esp + 0x5c]
push 0x5a8530
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
lea eax, [esp + 0x1c]
push eax
push 2
push esi
lea ecx, [esp + 0x70]
push fcn.00472210
mov edx, ecx
push esi
push str.UPDATE____sysconstraint__SET_ubtrees__t___tREPLACE_____BY___in_ubtrees___t_WHERE_ubtrees_LIKE______
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], edx
call fcn.0050df80
mov esi, eax
add esp, 0x24
test esi, esi
jne 0x48cd5e
push ebp
call fcn.004c73e0
mov esi, eax
add esp, 4
test esi, esi
je 0x48cd81
push 0x7dd
push 0
call fcn.00406f10
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00586584
add esp, 0x64
ret
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.00586584
add esp, 0x64
ret