Function at 0x481b80
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
mov esi, dword [eax + 4]
mov eax, dword [ebp + 0xc]
cmp eax, ebx
push edi
mov dword [ebp - 4], esi
je 0x481bb1
push 1
push eax
push 0x4eb442
push esi
call sub.ifcom60.dll_Ordinal_278_2
add esp, 0x10
jmp 0x481bb7
mov byte [0x4eb442], bl
mov edi, 0x4eb442
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [ebp + 0x10]
not ecx
dec ecx
mov word [0x4eb440], cx
mov ecx, dword [esi + 0x2bc]
mov edx, dword [esi + 0x2b0]
push ecx
push edx
push eax
push 0x4ea8da
call sub.NLSRTL33.dll_Ordinal_279
mov edi, 0x4ea8da
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov word [0x4ea8d8], cx
mov ecx, dword [esi + 0x2bc]
mov edx, dword [esi + 0x2b0]
push ecx
push edx
push str.SELECT_COLUMN_NAME__POSITION_FROM_ALL_CONS_COLUMNS_WHERE_OWNER__NVL_:owner_USER__AND_CONSTRAINT_NAME__:csnam
push 0x4eb33a
call sub.NLSRTL33.dll_Ordinal_279
mov edi, 0x4eb33a
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
lea eax, [ebp - 0xc4]
dec ecx
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0x7c]
mov word [0x4eb338], cx
lea ecx, [ebp - 0xac]
lea edx, [ebp - 0x94]
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 0xe0], edx
lea ecx, [ebp - 0x64]
lea edx, [ebp - 0x4c]
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xd4], edx
push 0x4b3aa0
mov esi, 0x4b3ad8
mov edi, 0x4eb4e0
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x10]
push eax
push 0x4e6c34
mov dword [ebp - 0x114], 0xa
mov dword [ebp - 0x110], 6
mov dword [ebp - 0xf0], 0x4e6c08
mov dword [ebp - 0xec], 0x4e6c28
mov dword [ebp - 0xf4], 0x4eb4b0
mov dword [ebp - 0x10c], 1
mov dword [ebp - 0x108], 0xb5
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0xf8], edi
mov word [ebp - 0x102], bx
mov dword [ebp - 0xc4], 0x4eb338
mov dword [ebp - 0xac], 0x102
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x4c], ebx
mov word [ebp - 0x1c], bx
mov word [ebp - 0x10], bx
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0xc8], edx
push ebx
call sub.sqllib80.dll_sqlcxt
mov eax, dword [0x4eb4ec]
add esp, 0x10
cmp eax, ebx
jl 0x4821d7
lea ecx, [ebp - 0xc4]
mov eax, 0x21
mov dword [ebp - 0xe8], ecx
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xdc], ecx
lea edx, [ebp - 0xac]
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0xe4], edx
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xd0], ecx
lea edx, [ebp - 0x64]
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x114]
push 0x4b3aa0
mov dword [ebp - 0xd8], edx
mov dword [ebp - 0xd4], eax
push ecx
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x10]
push 0x4e6c34
push ebx
mov dword [ebp - 0x114], 0xa
mov dword [ebp - 0x110], 6
mov dword [ebp - 0xf0], 0x4e6c08
mov dword [ebp - 0xec], 0x4e6c28
mov dword [ebp - 0xf4], 0x4eb4b4
mov dword [ebp - 0x10c], 1
mov dword [ebp - 0x108], 0xc8
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0xf8], edi
mov word [ebp - 0x102], bx
mov dword [ebp - 0xc4], 0x4eb440
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x4c], ebx
mov word [ebp - 0x1c], bx
mov word [ebp - 0x10], bx
mov dword [ebp - 0xc0], 0x4ea8d8
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x48], ebx
mov word [ebp - 0x1a], bx
mov word [ebp - 0xe], bx
mov dword [ebp - 0xcc], edx
mov dword [ebp - 0xc8], eax
call sub.sqllib80.dll_sqlcxt
mov eax, dword [0x4eb4ec]
add esp, 0x10
cmp eax, ebx
jl 0x4821d7
lea edx, [ebp - 0xc4]
lea eax, [ebp - 0xac]
mov dword [ebp - 0xe8], edx
lea edx, [ebp - 0x7c]
mov dword [ebp - 0xdc], edx
lea ecx, [ebp - 0x94]
lea edx, [ebp - 0x34]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xd0], edx
lea eax, [ebp - 0x64]
lea ecx, [ebp - 0x4c]
lea edx, [ebp - 0x114]
push 0x4b3aa0
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], ecx
push edx
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x10]
push 0x4e6c34
push ebx
mov dword [ebp - 0x114], 0xa
mov dword [ebp - 0x110], 6
mov dword [ebp - 0xf0], 0x4e6c08
mov dword [ebp - 0xec], 0x4e6c28
mov dword [ebp - 0x10c], 1
mov dword [ebp - 0x108], 0xdf
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0xf8], edi
mov word [ebp - 0x102], bx
mov dword [ebp - 0xc4], 0x4eb470
mov dword [ebp - 0xac], 0x21
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x7c], 0x4eb49c
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x4c], ebx
mov word [ebp - 0x1c], bx
mov word [ebp - 0x10], bx
mov dword [ebp - 0xc0], 0x4eb494
mov dword [ebp - 0xa8], 4
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x78], 0x4ea8d0
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x48], ebx
mov word [ebp - 0x1a], bx
mov word [ebp - 0xe], bx
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], ecx
call sub.sqllib80.dll_sqlcxt
mov eax, dword [0x4eb4ec]
add esp, 0x10
cmp eax, 0x57b
je 0x48215c
cmp eax, ebx
jl 0x4821d7
cmp word [0x4eb49c], bx
jge 0x481fbe
mov byte [0x4eb472], bl
jmp 0x482005
cmp word [0x4eb470], bx
je 0x481ff5
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2b0]
mov edx, dword [ecx + 0x30]
test dh, 2
jne 0x481ff5
mov edx, dword [0x4eb470]
and edx, 0xffff
push edx
push 0x4eb472
push eax
call sub.ifcom60.dll_Ordinal_280_1
add esp, 0xc
jmp 0x482005
mov eax, dword [0x4eb470]
and eax, 0xffff
mov byte [eax + 0x4eb472], bl
mov ecx, dword [0x4eb494]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
push ecx
push ebx
push 0x4eb472
push ebx
push edx
push eax
call fcn.004826e0
add esp, 0x18
test eax, eax
je 0x482266
lea ecx, [ebp - 0xc4]
lea edx, [ebp - 0xac]
mov dword [ebp - 0xe8], ecx
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0xdc], ecx
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0xe4], edx
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xd0], ecx
lea edx, [ebp - 0x64]
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x114]
push 0x4b3aa0
mov dword [ebp - 0xd8], edx
mov dword [ebp - 0xd4], eax
push ecx
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x10]
push 0x4e6c34
push ebx
mov dword [ebp - 0x114], 0xa
mov dword [ebp - 0x110], 6
mov dword [ebp - 0xf0], 0x4e6c08
mov dword [ebp - 0xec], 0x4e6c28
mov dword [ebp - 0x10c], 1
mov dword [ebp - 0x108], 0xdf
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0xf8], edi
mov word [ebp - 0x102], bx
mov dword [ebp - 0xc4], 0x4eb470
mov dword [ebp - 0xac], 0x21
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x7c], 0x4eb49c
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x4c], ebx
mov word [ebp - 0x1c], bx
mov word [ebp - 0x10], bx
mov dword [ebp - 0xc0], 0x4eb494
mov dword [ebp - 0xa8], 4
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x78], 0x4ea8d0
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x48], ebx
mov word [ebp - 0x1a], bx
mov word [ebp - 0xe], bx
mov dword [ebp - 0xcc], edx
mov dword [ebp - 0xc8], eax
call sub.sqllib80.dll_sqlcxt
mov eax, dword [0x4eb4ec]
add esp, 0x10
cmp eax, 0x57b
jne 0x481fa5
lea edx, [ebp - 0x114]
push 0x4b3aa0
push edx
push 0x4e6c34
push ebx
mov dword [ebp - 0x114], 0xa
mov dword [ebp - 0x110], 6
mov dword [ebp - 0xf0], 0x4e6c08
mov dword [ebp - 0xec], 0x4e6c28
mov dword [ebp - 0x10c], 1
mov dword [ebp - 0x108], 0xf6
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0xf8], edi
mov word [ebp - 0x102], bx
call sub.sqllib80.dll_sqlcxt
mov eax, dword [0x4eb4ec]
add esp, 0x10
cmp eax, ebx
jl 0x4821d7
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 4]
push 0xa
push ebx
push 0x4eb4f2
push esi
call sub.ifcom60.dll_Ordinal_223_3
add esp, 0x10
cmp eax, ebx
je 0x4821ff
mov ecx, 0x4eb4f2
mov byte [eax], bl
sub ax, cx
mov word [0x4eb4f0], ax
cmp word [0x4eb4f0], bx
je 0x482231
mov edx, dword [esi + 0x2b0]
mov eax, dword [edx + 0x30]
test ah, 2
jne 0x482231
mov eax, dword [0x4eb4f0]
and eax, 0xffff
push eax
push 0x4eb4f2
push esi
call sub.ifcom60.dll_Ordinal_280_1
add esp, 0xc
jmp 0x482243
mov ecx, dword [0x4eb4f0]
and ecx, 0xffff
mov byte [ecx + 0x4eb4f2], bl
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x482266
mov edx, dword [esi + 0x2bc]
mov ecx, dword [esi + 0x2b0]
push edx
push ecx
push 0x4eb4f2
push eax
call sub.NLSRTL33.dll_Ordinal_279
add esp, 0x10
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret