Function at 0x4831c0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, dword [eax + 4]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov ecx, dword [esi + 0x2bc]
mov edx, dword [esi + 0x2b0]
push ecx
push edx
push eax
push 0x4eb2ba
mov dword [ebp - 4], ebx
call sub.NLSRTL33.dll_Ordinal_279
mov edi, 0x4eb2ba
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
mov eax, dword [ebp + 0x10]
not ecx
dec ecx
mov word [0x4eb2b8], cx
mov ecx, dword [esi + 0x2bc]
mov edx, dword [esi + 0x2b0]
push ecx
push edx
push eax
push 0x4ea942
call sub.NLSRTL33.dll_Ordinal_279
mov edi, 0x4ea942
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov word [0x4ea940], cx
mov ecx, dword [esi + 0x2bc]
mov edx, dword [esi + 0x2b0]
push ecx
push edx
push str.SELECT_CONSTRAINT_NAME__TABLE_NAME__OWNER_FROM_ALL_CONSTRAINTS_WHERE_R_OWNER__:csrown_AND_R_CONSTRAINT_NAME__:csrnam
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
dec ecx
lea eax, [ebp - 0xc4]
mov word [0x4eb338], cx
mov dword [ebp - 0xe8], eax
mov edi, 0x4eb4e0
lea ecx, [ebp - 0xac]
lea edx, [ebp - 0x94]
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x114], 0xa
mov dword [ebp - 0x110], 6
mov dword [ebp - 0xf0], 0x4e6c08
mov dword [ebp - 0xec], 0x4e6c28
mov dword [ebp - 0xf4], 0x4eb4b8
mov dword [ebp - 0x10c], 1
mov dword [ebp - 0x108], 0x120
mov dword [ebp - 0xfc], 0x4b3ad8
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 - 0xe4], ecx
mov dword [ebp - 0xe0], edx
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x64]
mov dword [ebp - 0xd0], eax
lea edx, [ebp - 0x4c]
lea eax, [ebp - 0x114]
push 0x4b3aa0
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xd4], edx
push eax
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x10]
push 0x4e6c34
push ebx
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0xc8], edx
call sub.sqllib80.dll_sqlcxt
mov eax, dword [0x4eb4ec]
add esp, 0x10
cmp eax, ebx
jl 0x483950
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], 0x4eb4bc
mov dword [ebp - 0x10c], 1
mov dword [ebp - 0x108], 0x133
mov dword [ebp - 0xfc], 0x4b3ad8
mov dword [ebp - 0xf8], edi
mov word [ebp - 0x102], bx
mov dword [ebp - 0xc4], 0x4eb2b8
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], 0x4ea940
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 0x483950
lea edx, [ebp - 0xc4]
mov eax, 0x21
mov dword [ebp - 0xe8], edx
lea edx, [ebp - 0x7c]
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xdc], edx
lea eax, [ebp - 0xac]
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], 0x14a
mov dword [ebp - 0xfc], 0x4b3ad8
mov dword [ebp - 0xf8], edi
mov word [ebp - 0x102], bx
mov dword [ebp - 0xc4], 0x4ea8d8
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x7c], 0x4eb320
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x4c], ebx
mov word [ebp - 0x1c], bx
mov word [ebp - 0x10], bx
mov dword [ebp - 0xc0], 0x4eb2e0
mov dword [ebp - 0xa8], 0x40
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x78], 0x4eb330
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x48], ebx
mov word [ebp - 0x1a], bx
mov word [ebp - 0xe], bx
mov dword [ebp - 0xbc], 0x4eb440
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x74], 0x4eb498
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x44], ebx
mov word [ebp - 0x18], bx
mov word [ebp - 0xc], 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 0x4838d1
cmp eax, ebx
jl 0x483950
cmp word [0x4eb320], bx
jge 0x483630
mov byte [0x4ea8da], bl
jmp 0x483676
cmp word [0x4ea8d8], bx
je 0x483664
mov eax, dword [esi + 0x2b0]
mov ecx, dword [eax + 0x30]
test ch, 2
jne 0x483664
mov ecx, dword [0x4ea8d8]
and ecx, 0xffff
push ecx
push 0x4ea8da
push esi
call sub.ifcom60.dll_Ordinal_280_1
add esp, 0xc
jmp 0x483676
mov edx, dword [0x4ea8d8]
and edx, 0xffff
mov byte [edx + 0x4ea8da], bl
cmp word [0x4eb330], bx
jge 0x483687
mov byte [0x4eb2e2], bl
jmp 0x4836cd
cmp word [0x4eb2e0], bx
je 0x4836bb
mov eax, dword [esi + 0x2b0]
mov ecx, dword [eax + 0x30]
test ch, 2
jne 0x4836bb
mov ecx, dword [0x4eb2e0]
and ecx, 0xffff
push ecx
push 0x4eb2e2
push esi
call sub.ifcom60.dll_Ordinal_280_1
add esp, 0xc
jmp 0x4836cd
mov edx, dword [0x4eb2e0]
and edx, 0xffff
mov byte [edx + 0x4eb2e2], bl
cmp word [0x4eb498], bx
jge 0x4836de
mov byte [0x4eb442], bl
jmp 0x483724
cmp word [0x4eb440], bx
je 0x483712
mov eax, dword [esi + 0x2b0]
mov ecx, dword [eax + 0x30]
test ch, 2
jne 0x483712
mov ecx, dword [0x4eb440]
and ecx, 0xffff
push ecx
push 0x4eb442
push esi
call sub.ifcom60.dll_Ordinal_280_1
add esp, 0xc
jmp 0x483724
mov edx, dword [0x4eb440]
and edx, 0xffff
mov byte [edx + 0x4eb442], bl
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
push ebx
push 0x4eb442
push ebx
push 0x52
push 0x4ea8da
push eax
push ecx
push edx
call fcn.00482590
mov edi, eax
add esp, 0x20
cmp edi, ebx
je 0x4839dc
push ebx
push ebx
lea eax, [edi + 0x1c]
push 0x4eb2e2
push eax
push esi
call sub.ifcom60.dll_Ordinal_215_3
lea ecx, [ebp - 0xc4]
mov eax, 0x21
mov dword [ebp - 0xe8], ecx
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xdc], ecx
lea edx, [ebp - 0xac]
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0x34]
add esp, 0x14
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 - 4], edi
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], 0x14a
mov dword [ebp - 0xfc], 0x4b3ad8
mov dword [ebp - 0xf8], 0x4eb4e0
mov word [ebp - 0x102], bx
mov dword [ebp - 0xc4], 0x4ea8d8
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x7c], 0x4eb320
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x4c], ebx
mov word [ebp - 0x1c], bx
mov word [ebp - 0x10], bx
mov dword [ebp - 0xc0], 0x4eb2e0
mov dword [ebp - 0xa8], 0x40
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x78], 0x4eb330
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x48], ebx
mov word [ebp - 0x1a], bx
mov word [ebp - 0xe], bx
mov dword [ebp - 0xbc], 0x4eb440
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x74], 0x4eb498
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x44], ebx
mov word [ebp - 0x18], bx
mov word [ebp - 0xc], 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 0x483617
mov edi, 0x4eb4e0
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], 0x165
mov dword [ebp - 0xfc], 0x4b3ad8
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 0x483950
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xa
push ebx
push 0x4eb4f2
push esi
call sub.ifcom60.dll_Ordinal_223_3
add esp, 0x10
cmp eax, ebx
je 0x483975
mov ecx, 0x4eb4f2
mov byte [eax], bl
sub ax, cx
mov word [0x4eb4f0], ax
cmp word [0x4eb4f0], bx
je 0x4839a7
mov edx, dword [esi + 0x2b0]
mov eax, dword [edx + 0x30]
test ah, 2
jne 0x4839a7
mov eax, dword [0x4eb4f0]
and eax, 0xffff
push eax
push 0x4eb4f2
push esi
call sub.ifcom60.dll_Ordinal_280_1
add esp, 0xc
jmp 0x4839b9
mov ecx, dword [0x4eb4f0]
and ecx, 0xffff
mov byte [ecx + 0x4eb4f2], bl
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x4839dc
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