Function at 0x48df50
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0xe1c
mov eax, dword [0x65ada4]
xor eax, esp
mov dword [esp + 0xe18], eax
mov eax, dword [str.public]
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov esi, 0x5acad0
sub eax, 0xffffff80
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x48df97
test cl, cl
je 0x48df93
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x48df97
add eax, 2
add esi, 2
test cl, cl
jne 0x48df77
xor eax, eax
jmp 0x48df9c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
push 0x1e1
lea eax, [esp + 0x71c]
push 0
push eax
sete byte [esp + 0x1e]
call sub.MSVCR90.dll_memset
push 0
push str.CREATE_INDEX_on
lea ecx, [esp + 0x6e8]
lea ebp, [ebx + 0x17c1a]
push ecx
push ebp
mov dword [esp + 0x48], ebp
call fcn.00484ad0
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x48e813
mov al, byte [esp + 0x6f5]
mov esi, dword [esp + 0x6e0]
mov dword [esp + 0x18], esi
test al, al
jne 0x48e02f
cmp byte [esp + 0x6f4], al
je 0x48e00a
cmp byte [ebx + 0x17fb6], al
je 0x48e02f
lea edx, [esp + 0x718]
push edx
call fcn.004820b0
push ebp
push 0x7dd
push 0x1f8a
call fcn.00406f10
add esp, 0x10
jmp 0x48e845
cmp byte [esp + 0x12], 0
mov byte [ebx + 0x182e7], al
jne 0x48e083
mov eax, dword [str.public]
sub eax, 0xffffff80
push eax
call fcn.00485c00
add esp, 4
cmp eax, 2
jge 0x48e083
lea ecx, [esp + 0x718]
push ecx
call fcn.004820b0
mov edx, dword [str.public]
push ebp
push str.CREATE_INDEX_on
push edx
push 0x7dd
push 0x1f69
call fcn.00406f10
add esp, 0x18
jmp 0x48e845
movsx eax, word [esp + 0x6f1]
push esi
mov byte [esp + 0x21], 1
mov byte [esp + 0x20], 1
mov dword [esp + 0x18], eax
call fcn.0047dc20
add esp, 4
test al, al
jne 0x48e0c7
mov ecx, dword [esp + 0x18]
push 0
push 2
push ebp
push 0
push 0xffffffffffffffff
push ecx
push ebx
call fcn.00484330
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x48e813
mov edx, dword [esp + 0x18]
push edx
push ebx
call fcn.00484f20
mov esi, eax
add esp, 8
test esi, esi
jne 0x48e813
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x34]
push ecx
push 1
lea edi, [ebx + 0x17f31]
push 7
mov dword [esp + 0x40], edi
call fcn.00444330
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x48e813
cmp dword [esp + 0x6c], eax
je 0x48e13b
lea edx, [esp + 0x718]
push edx
call fcn.004820b0
push 7
call fcn.004432b0
push edi
push 0x7dd
push 0x1f61
call fcn.00406f10
add esp, 0x14
jmp 0x48e845
push 7
call fcn.004432b0
mov esi, eax
add esp, 4
test esi, esi
jne 0x48e813
lea eax, [esp + 0x8fc]
push eax
mov eax, dword [esp + 0x1c]
call fcn.00487070
mov esi, eax
add esp, 4
test esi, esi
jne 0x48e813
cmp dword [esp + 0x8fc], eax
je 0x48e1a1
lea ecx, [esp + 0x718]
push ecx
call fcn.004820b0
push 2
call fcn.004432b0
push 0x7dd
push 0x1f5c
call fcn.00406f10
add esp, 0x10
jmp 0x48e845
mov edi, ebx
call fcn.00486590
mov esi, eax
test esi, esi
jne 0x48e813
cmp byte [ebx + 0x17fb1], al
je 0x48e1f2
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x9a0]
push str.SELECT_constraintname_constrainttext_FROM____sysconstraint_______WHERE_segno___ld_AND_constrainttext_like_CHECK___
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
push esi
lea ecx, [esp + 0x9ac]
push ecx
push esi
push ebp
push 4
push ebx
call fcn.004cbb40
mov esi, eax
add esp, 0x24
test esi, esi
jne 0x48e813
lea edx, [esp + 0x8fc]
push edx
mov byte [ebx + 0x11], 1
call fcn.00486540
mov esi, eax
add esp, 4
test esi, esi
jne 0x48e813
cmp byte [esp + 0x8fc], al
jne 0x48e23a
mov eax, dword [ebx + 0x6e4]
push 0x486930
push 0x16c
push eax
lea ecx, [ebx + 0x6e8]
push ecx
call dword [sym.imp.MSVCR90.dll_qsort]
add esp, 0x10
cmp byte [ebx + 0x17fb6], 0
je 0x48e3d2
call fcn.0045e660
call fcn.0048dce0
mov esi, eax
test esi, esi
jne 0x48e813
or eax, 0xffffffff
cmp byte [ebx + 0x180b8], 0
mov dword [esp + 0xac], eax
setne byte [esp + 0x8ff]
cmp byte [ebx + 0x18038], 0
mov dword [esp + 0xb4], eax
setne byte [esp + 0x900]
cmp byte [ebx + 0x18138], 0
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xcc], eax
mov byte [esp + 0x8fe], 1
mov byte [esp + 0x8fd], 1
jne 0x48e2c9
cmp byte [ebx + 0x181b8], 0
mov byte [esp + 0x901], 0
je 0x48e2d1
mov byte [esp + 0x901], 1
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x8fc]
push edx
lea eax, [esp + 0xa8]
push eax
push ecx
call fcn.00486ea0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x48e813
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0xb4]
lea eax, [esp + 0x7c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x7c], edx
xor eax, eax
lea edx, [esp + 0x80]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x48], edx
cmp byte [esp + 0x8ff], al
je 0x48e34a
mov ecx, dword [esp + 0xbc]
lea edx, [esp + 0x84]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x4c], edx
jmp 0x48e34e
mov dword [esp + 0x4c], eax
cmp byte [esp + 0x900], al
je 0x48e372
mov ecx, dword [esp + 0xc4]
lea edx, [esp + 0x88]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x50], edx
jmp 0x48e376
mov dword [esp + 0x50], eax
cmp byte [esp + 0x901], al
je 0x48e39a
mov ecx, dword [esp + 0xcc]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x54], edx
jmp 0x48e39e
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], str.positional
cmp byte [ebx + 0x181b9], al
jne 0x48e3b6
mov dword [esp + 0x58], str.word
cmp byte [ebx + 0x17fb8], al
je 0x48e3c8
mov dword [esp + 0x5c], 0x5ab5e0
jmp 0x48e43b
mov dword [esp + 0x5c], 0x5ab5e4
jmp 0x48e43b
mov edx, dword [esp + 0x14]
lea eax, [esp + 0xa28]
push eax
mov eax, dword [esp + 0x900]
lea ecx, [esp + 0x94]
push ecx
push edx
push eax
push ebx
lea ecx, [esp + 0xc3c]
lea edx, [esp + 0xe8]
call fcn.00486620
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x48e813
mov ecx, dword [esp + 0x90]
lea edx, [esp + 0x24]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
cmp dword [ebx + 0x6e4], eax
mov dword [esp + 0x14], eax
jle 0x48e65e
mov edi, dword [esp + 0x14]
mov ebp, dword [sym.imp.MSVCR90.dll_sprintf]
lea eax, [ebx + 0x703]
mov dword [esp + 0x8fc], eax
mov dword [esp + 0x20], 1
lea ebx, [ebx]
cmp byte [ebx + 0x17fb6], 0
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x70]
lea eax, [ebx + 0x17f31]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
je 0x48e49d
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], eax
jmp 0x48e4a9
movsx ecx, word [esp + edi*2 + 0xa28]
mov dword [esp + 0x28], ecx
cmp byte [ebx + 0x182ff], 0
mov eax, dword [esp + 0x8fc]
mov ecx, dword [eax - 9]
lea edx, [esp + 0x28]
mov dword [esp + 0x38], edx
lea edx, [esp + 0x74]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], 0x5ad3bc
jne 0x48e4e0
mov dword [esp + 0x40], 0x5ad3b8
cmp byte [ebx + 0x18394], 0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x68], eax
lea eax, [ebx + 0x18394]
lea ecx, [esp + 0x68]
mov dword [esp + 0x60], ecx
je 0x48e563
push eax
lea edx, [esp + 0x91c]
mov eax, edx
push 0x5a85d0
push eax
mov dword [esp + 0x70], edx
call ebp
lea esi, [esp + eax + 0x924]
mov eax, dword [ebx + 0x184e7]
add esp, 0xc
test eax, eax
je 0x48e537
push eax
push str.__s_
push esi
call ebp
add esp, 0xc
add esi, eax
cmp byte [ebx + 0x182ff], 0
jne 0x48e54d
push str._dupl
push esi
call ebp
add esp, 8
add esi, eax
cmp byte [ebx + 0x182e7], 0
jne 0x48e582
push str._prim
push esi
call ebp
add esp, 8
jmp 0x48e582
movzx ecx, byte [ebx + 0x182e7]
movzx edx, byte [ebx + 0x17fb1]
push ecx
push edx
lea eax, [esp + 0x6c]
push 1
push eax
call fcn.00442a70
add esp, 0x10
lea ecx, [esp + 0x30]
push ecx
push 0xe
push 0x22
call fcn.004434f0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x48e813
cmp byte [ebx + 0x17fb1], al
je 0x48e63e
cmp word [esp + edi*2 + 0xa28], ax
je 0x48e63e
mov edx, dword [esp + 0x90]
push edx
lea eax, [esp + 0x908]
push 0x5a8530
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
mov edi, dword [esp + 0x908]
lea ecx, [esp + 0x910]
mov edx, ecx
add esp, 0xc
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x98], edx
xor ebp, ebp
cmp byte [edi], 0
je 0x48e62b
lea eax, [esp + 0x98]
push eax
push 3
push 0
push fcn.00472210
push 0
push str.UPDATE____sysconstraint__SET_ubtrees______COALESCE_ubtrees______________WHERE_constraintname____AND_______t____ubtrees__NULL_OR_ubtrees_NOT_LIKE_____________
mov dword [esp + 0xb4], edi
call fcn.0050df80
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x48e813
inc ebp
sub edi, 0xffffff80
cmp ebp, 2
jl 0x48e5f5
mov edi, dword [esp + 0x14]
mov ebp, dword [sym.imp.MSVCR90.dll_sprintf]
inc dword [esp + 0x20]
add dword [esp + 0x8fc], 0x16c
inc edi
cmp edi, dword [ebx + 0x6e4]
mov dword [esp + 0x14], edi
jl 0x48e470
lea ecx, [esp + 0x11]
push ecx
lea edx, [esp + 0x17]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00472190
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x48e813
movzx eax, byte [esp + 0x11]
mov dl, byte [esp + 0x10]
mov ecx, 0x10
lea esi, [esp + 0x6d4]
lea edi, [esp + 0x918]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov byte [esp + 0x938], al
mov al, byte [esp + 0x13]
mov byte [esp + 0x937], dl
mov byte [esp + 0x939], al
test al, al
je 0x48e6ca
mov byte [esp + 0x934], 0x52
mov ecx, dword [sym.imp.MSVCR90.dll_malloc]
push 0
push ecx
lea edx, [esp + 0x720]
push edx
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x924]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push 0
push 0
push edx
push 0
call fcn.004813c0
mov esi, eax
add esp, 0x28
test esi, esi
jne 0x48e813
cmp byte [ebx + 0x17fb6], al
je 0x48e7bc
movsx ecx, word [esp + 0x8bf]
xor ebp, ebp
test ecx, ecx
jle 0x48e740
mov eax, dword [esp + 0x8c1]
mov edx, dword [esp + 0xac]
sub eax, 0xffffff80
cmp dword [eax], edx
je 0x48e740
inc ebp
add eax, 0xaf
cmp ebp, ecx
jl 0x48e732
lea eax, [esp + 0xa4]
push eax
mov edi, ebx
call fcn.0048dd70
mov esi, eax
add esp, 4
test esi, esi
jne 0x48e813
push eax
lea ecx, [esp + 0xd0]
push ecx
lea edx, [esp + 0xcc]
push edx
call fcn.0045f5d0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x48e813
mov eax, dword [str.public]
mov ecx, dword [ebx + 0x17fb2]
mov edi, dword [eax + 0x150]
push esi
push ebp
lea edx, [esp + 0x720]
push edx
push esi
mov dword [eax + 0x150], ecx
call fcn.004602e0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x48e813
mov eax, dword [str.public]
mov dword [eax + 0x150], edi
jmp 0x48e800
movsx edx, word [esp + 0x8bf]
xor eax, eax
test edx, edx
jle 0x48e7e7
mov ecx, dword [esp + 0x8c1]
mov esi, dword [esp + 0x24]
sub ecx, 0xffffff80
cmp dword [ecx], esi
je 0x48e7e7
inc eax
add ecx, 0xaf
cmp eax, edx
jl 0x48e7d8
push 0
push eax
lea ecx, [esp + 0x720]
push ecx
call fcn.00485870
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x48e813
mov edx, dword [esp + 0x2c]
push edx
call fcn.004c73e0
mov esi, eax
add esp, 4
test esi, esi
je 0x48e833
lea eax, [esp + 0x718]
push eax
call fcn.004820b0
push 0x7dd
push 0
call fcn.00406f10
add esp, 0xc
mov eax, esi
jmp 0x48e845
lea ecx, [esp + 0x718]
push ecx
call fcn.004820b0
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xe28]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00586584
add esp, 0xe1c
ret