Function at 0x480a30
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
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
mov dword [ebp - 0x118], ebx
je 0x480a6f
cmp byte [eax], bl
je 0x480a6f
push eax
push 0x4eb442
mov word [0x4eb498], bx
call sub.CORE40.dll_Ordinal_25_1
add esp, 8
jmp 0x480a7e
mov word [0x4eb498], 0xffff
mov byte [0x4eb442], bl
mov edi, 0x4eb442
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov word [0x4eb440], cx
mov ecx, dword [esi + 0x2bc]
mov edx, dword [esi + 0x2b0]
push ecx
push edx
push str.SELECT_CONSTRAINT_NAME__CONSTRAINT_TYPE__SEARCH_CONDITION__R_OWNER__R_CONSTRAINT_NAME__OWNER_FROM_ALL_CONSTRAINTS_WHERE_OWNER__NVL_:owner_USER__AND_TABLE_NAME__:cstnam
push 0x4eb33a
call sub.NLSRTL33.dll_Ordinal_279
mov eax, dword [ebp + 0x10]
add esp, 0x10
push 1
push eax
push 0x4eb2e2
push esi
call sub.ifcom60.dll_Ordinal_278_2
mov edi, 0x4eb2e2
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
mov eax, dword [ebp + 0x14]
not ecx
dec ecx
cmp eax, 2
mov word [0x4eb2e0], cx
jne 0x480b06
mov ecx, dword [esi + 0x2bc]
mov edx, dword [esi + 0x2b0]
push ecx
push edx
push str._AND_CONSTRAINT_TYPE__R
push 0x4eb33a
call sub.NLSRTL33.dll_Ordinal_276
add esp, 0x10
mov edi, 0x4eb33a
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x1a8]
repne scasb al, byte es:[edi]
mov eax, 1
mov dword [ebp - 0x1f4], edx
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x1d8]
lea edx, [ebp - 0x160]
not ecx
mov dword [ebp - 0x1fc], eax
dec ecx
lea eax, [ebp - 0x190]
mov word [0x4eb338], cx
mov dword [ebp - 0x1f0], eax
lea ecx, [ebp - 0x1c0]
lea eax, [ebp - 0x148]
mov dword [ebp - 0x1f8], ecx
mov dword [ebp - 0x1e4], eax
lea ecx, [ebp - 0x178]
lea eax, [ebp - 0x228]
push 0x4b3aa0
mov dword [ebp - 0x1ec], ecx
mov dword [ebp - 0x1e8], edx
push eax
mov edi, 0x4e6c08
lea ecx, [ebp - 0x130]
lea edx, [ebp - 0x124]
push 0x4e6c34
push ebx
mov dword [ebp - 0x228], 0xa
mov dword [ebp - 0x204], edi
mov dword [ebp - 0x200], 0x4e6c28
mov dword [ebp - 0x208], 0x4eb4a0
mov dword [ebp - 0x21c], 5
mov dword [ebp - 0x210], 0x4b3ad8
mov dword [ebp - 0x20c], 0x4eb4e0
mov word [ebp - 0x216], bx
mov dword [ebp - 0x1d8], 0x4eb338
mov dword [ebp - 0x1c0], 0x102
mov dword [ebp - 0x1a8], ebx
mov dword [ebp - 0x190], ebx
mov dword [ebp - 0x178], ebx
mov dword [ebp - 0x160], ebx
mov word [ebp - 0x130], bx
mov word [ebp - 0x124], bx
mov dword [ebp - 0x1e0], ecx
mov dword [ebp - 0x1dc], edx
call sub.sqllib80.dll_sqlcxt
mov eax, dword [0x4eb4ec]
add esp, 0x10
cmp eax, ebx
jl 0x481ade
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
mov esi, 0x21
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x10]
push 0x4e6c34
push ebx
mov dword [ebp - 0x114], 0xa
mov dword [ebp - 0x110], 2
mov dword [ebp - 0xf0], edi
mov dword [ebp - 0xec], 0x4e6c28
mov dword [ebp - 0xf4], 0x4eb4a4
mov dword [ebp - 0x10c], 1
mov dword [ebp - 0x108], 0x18
mov dword [ebp - 0xfc], 0x4b3ad8
mov dword [ebp - 0xf8], 0x4eb4e0
mov word [ebp - 0x102], bx
mov dword [ebp - 0xc4], 0x4eb440
mov dword [ebp - 0xac], esi
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], 0x4eb2e0
mov dword [ebp - 0xa8], 0x40
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 0x481adb
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], edi
mov dword [ebp - 0xec], 0x4e6c28
mov dword [ebp - 0x10c], 1
mov dword [ebp - 0x108], 0x2f
mov dword [ebp - 0xfc], 0x4b3ad8
mov dword [ebp - 0xf8], 0x4eb4e0
mov word [ebp - 0x102], bx
mov dword [ebp - 0xc4], 0x4ea8d8
mov dword [ebp - 0xac], esi
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], 0x4eb1ac
mov dword [ebp - 0xa8], 4
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x78], 0x4eb468
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x48], ebx
mov word [ebp - 0x1a], bx
mov word [ebp - 0xe], bx
mov dword [ebp - 0xbc], 0x4ea9a8
mov dword [ebp - 0xa4], 0x802
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x74], 0x4eb464
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x44], ebx
mov word [ebp - 0x18], bx
mov word [ebp - 0xc], bx
mov dword [ebp - 0xb8], 0x4eb2b8
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x70], 0x4eb32c
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x40], ebx
mov word [ebp - 0x16], bx
mov word [ebp - 0xa], bx
mov dword [ebp - 0xb4], 0x4ea940
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x6c], 0x4eb328
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x14], bx
mov word [ebp - 8], bx
mov dword [ebp - 0xb0], 0x4eb440
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x68], 0x4eb498
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x12], bx
mov word [ebp - 6], 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 0x4813b4
cmp eax, ebx
jl 0x481adb
cmp word [0x4eb320], bx
jge 0x480f77
mov edi, dword [ebp - 4]
mov byte [0x4ea8da], bl
jmp 0x480fc0
cmp word [0x4ea8d8], bx
mov edi, dword [ebp - 4]
je 0x480fae
mov eax, dword [edi + 0x2b0]
mov ecx, dword [eax + 0x30]
test ch, 2
jne 0x480fae
mov ecx, dword [0x4ea8d8]
and ecx, 0xffff
push ecx
push 0x4ea8da
push edi
call sub.ifcom60.dll_Ordinal_280_1
add esp, 0xc
jmp 0x480fc0
mov edx, dword [0x4ea8d8]
and edx, 0xffff
mov byte [edx + 0x4ea8da], bl
cmp word [0x4eb468], bx
jge 0x480fd1
mov byte [0x4eb1ae], bl
jmp 0x481017
cmp word [0x4eb1ac], bx
je 0x481005
mov eax, dword [edi + 0x2b0]
mov ecx, dword [eax + 0x30]
test ch, 2
jne 0x481005
mov ecx, dword [0x4eb1ac]
and ecx, 0xffff
push ecx
push 0x4eb1ae
push edi
call sub.ifcom60.dll_Ordinal_280_1
add esp, 0xc
jmp 0x481017
mov edx, dword [0x4eb1ac]
and edx, 0xffff
mov byte [edx + 0x4eb1ae], bl
cmp word [0x4eb464], bx
jge 0x481028
mov byte [0x4ea9aa], bl
jmp 0x48106e
cmp word [0x4ea9a8], bx
je 0x48105c
mov eax, dword [edi + 0x2b0]
mov ecx, dword [eax + 0x30]
test ch, 2
jne 0x48105c
mov ecx, dword [0x4ea9a8]
and ecx, 0xffff
push ecx
push 0x4ea9aa
push edi
call sub.ifcom60.dll_Ordinal_280_1
add esp, 0xc
jmp 0x48106e
mov edx, dword [0x4ea9a8]
and edx, 0xffff
mov byte [edx + 0x4ea9aa], bl
cmp word [0x4eb32c], bx
jge 0x48107f
mov byte [0x4eb2ba], bl
jmp 0x4810c5
cmp word [0x4eb2b8], bx
je 0x4810b3
mov eax, dword [edi + 0x2b0]
mov ecx, dword [eax + 0x30]
test ch, 2
jne 0x4810b3
mov ecx, dword [0x4eb2b8]
and ecx, 0xffff
push ecx
push 0x4eb2ba
push edi
call sub.ifcom60.dll_Ordinal_280_1
add esp, 0xc
jmp 0x4810c5
mov edx, dword [0x4eb2b8]
and edx, 0xffff
mov byte [edx + 0x4eb2ba], bl
cmp word [0x4eb328], bx
jge 0x4810d6
mov byte [0x4ea942], bl
jmp 0x48111c
cmp word [0x4ea940], bx
je 0x48110a
mov eax, dword [edi + 0x2b0]
mov ecx, dword [eax + 0x30]
test ch, 2
jne 0x48110a
mov ecx, dword [0x4ea940]
and ecx, 0xffff
push ecx
push 0x4ea942
push edi
call sub.ifcom60.dll_Ordinal_280_1
add esp, 0xc
jmp 0x48111c
mov edx, dword [0x4ea940]
and edx, 0xffff
mov byte [edx + 0x4ea942], bl
cmp word [0x4eb498], bx
jge 0x48112d
mov byte [0x4eb442], bl
jmp 0x481173
cmp word [0x4eb440], bx
je 0x481161
mov eax, dword [edi + 0x2b0]
mov ecx, dword [eax + 0x30]
test ch, 2
jne 0x481161
mov ecx, dword [0x4eb440]
and ecx, 0xffff
push ecx
push 0x4eb442
push edi
call sub.ifcom60.dll_Ordinal_280_1
add esp, 0xc
jmp 0x481173
mov edx, dword [0x4eb440]
and edx, 0xffff
mov byte [edx + 0x4eb442], bl
mov eax, 0x4eb2ba
test eax, eax
je 0x48118a
mov al, byte [0x4eb2ba]
cmp al, bl
mov eax, 0x4eb2ba
jne 0x48118f
mov eax, 0x4eb442
mov edx, dword [ebp - 0x118]
xor ecx, ecx
mov cl, byte [0x4eb1ae]
push 0x4ea942
push eax
mov eax, dword [ebp + 0x18]
push 0x4ea9aa
push ecx
mov ecx, dword [ebp + 8]
push 0x4ea8da
push edx
push eax
push ecx
call fcn.00482590
add esp, 0x20
cmp eax, ebx
je 0x481b6a
lea edx, [ebp - 0xc4]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0xe8], edx
lea edx, [ebp - 0x7c]
lea eax, [ebp - 0xac]
lea ecx, [ebp - 0x94]
mov dword [ebp - 0xdc], edx
lea edx, [ebp - 0x34]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], ecx
lea eax, [ebp - 0x64]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0xd0], edx
lea edx, [ebp - 0x114]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], ecx
push 0x4b3aa0
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x10]
push edx
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 - 0x10c], 1
mov dword [ebp - 0x108], 0x2f
mov dword [ebp - 0xfc], 0x4b3ad8
mov dword [ebp - 0xf8], 0x4eb4e0
mov word [ebp - 0x102], bx
mov dword [ebp - 0xc4], 0x4ea8d8
mov dword [ebp - 0xac], esi
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], 0x4eb1ac
mov dword [ebp - 0xa8], 4
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x78], 0x4eb468
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x48], ebx
mov word [ebp - 0x1a], bx
mov word [ebp - 0xe], bx
mov dword [ebp - 0xbc], 0x4ea9a8
mov dword [ebp - 0xa4], 0x802
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x74], 0x4eb464
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x44], ebx
mov word [ebp - 0x18], bx
mov word [ebp - 0xc], bx
mov dword [ebp - 0xb8], 0x4eb2b8
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x70], 0x4eb32c
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x40], ebx
mov word [ebp - 0x16], bx
mov word [ebp - 0xa], bx
mov dword [ebp - 0xb4], 0x4ea940
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x6c], 0x4eb328
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x14], bx
mov word [ebp - 8], bx
mov dword [ebp - 0xb0], 0x4eb440
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x68], 0x4eb498
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x12], bx
mov word [ebp - 6], bx
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], ecx
push ebx
call sub.sqllib80.dll_sqlcxt
mov eax, dword [0x4eb4ec]
add esp, 0x10
cmp eax, 0x57b
jne 0x480f5b
mov edi, 0x4e6c08
lea eax, [ebp - 0x228]
push 0x4b3aa0
push eax
push 0x4e6c34
push ebx
mov dword [ebp - 0x228], 0xa
mov dword [ebp - 0x224], 6
mov dword [ebp - 0x204], edi
mov dword [ebp - 0x200], 0x4e6c28
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x21c], 0x56
mov dword [ebp - 0x210], 0x4b3ad8
mov dword [ebp - 0x20c], 0x4eb4e0
mov word [ebp - 0x216], bx
call sub.sqllib80.dll_sqlcxt
mov eax, dword [0x4eb4ec]
add esp, 0x10
cmp eax, ebx
jl 0x481adb
mov ecx, dword [ebp + 0x18]
cmp dword [ecx], ebx
je 0x481ad2
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x2bc]
mov eax, dword [eax + 0x2b0]
push edx
push eax
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
dec ecx
lea edx, [ebp - 0x1c0]
mov word [0x4eb338], cx
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0x1fc], ecx
lea ecx, [ebp - 0x190]
mov dword [ebp - 0x1f0], ecx
lea eax, [ebp - 0x1a8]
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x1f8], edx
mov dword [ebp - 0x1f4], eax
mov dword [ebp - 0x1e4], ecx
lea edx, [ebp - 0x178]
lea eax, [ebp - 0x160]
lea ecx, [ebp - 0x228]
push 0x4b3aa0
mov dword [ebp - 0x1ec], edx
mov dword [ebp - 0x1e8], eax
push ecx
lea edx, [ebp - 0x130]
lea eax, [ebp - 0x124]
push 0x4e6c34
push ebx
mov dword [ebp - 0x228], 0xa
mov dword [ebp - 0x224], 6
mov dword [ebp - 0x204], 0x4e6c08
mov dword [ebp - 0x200], 0x4e6c28
mov dword [ebp - 0x208], 0x4eb4a8
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x21c], 0x65
mov dword [ebp - 0x210], 0x4b3ad8
mov dword [ebp - 0x20c], 0x4eb4e0
mov word [ebp - 0x216], bx
mov dword [ebp - 0x1d8], 0x4eb338
mov dword [ebp - 0x1c0], 0x102
mov dword [ebp - 0x1a8], ebx
mov dword [ebp - 0x190], ebx
mov dword [ebp - 0x178], ebx
mov dword [ebp - 0x160], ebx
mov word [ebp - 0x130], bx
mov word [ebp - 0x124], bx
mov dword [ebp - 0x1e0], edx
mov dword [ebp - 0x1dc], eax
call sub.sqllib80.dll_sqlcxt
mov eax, dword [0x4eb4ec]
add esp, 0x10
cmp eax, ebx
jl 0x481adb
mov edx, dword [ebp + 0x18]
mov ecx, dword [edx]
cmp ecx, ebx
mov dword [ebp + 0x18], ecx
je 0x481a58
jmp 0x4815b5
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp - 4]
mov ecx, dword [ecx + 4]
mov edx, dword [eax + 0x2bc]
mov eax, dword [eax + 0x2b0]
push edx
push eax
push ecx
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]
lea edx, [ebp - 0x1d8]
lea eax, [ebp - 0x1c0]
not ecx
mov dword [ebp - 0x1fc], edx
dec ecx
lea edx, [ebp - 0x190]
mov word [0x4ea8d8], cx
mov dword [ebp - 0x1f0], edx
lea ecx, [ebp - 0x1a8]
lea edx, [ebp - 0x148]
mov dword [ebp - 0x1f8], eax
mov dword [ebp - 0x1f4], ecx
mov dword [ebp - 0x1e4], edx
lea eax, [ebp - 0x178]
lea ecx, [ebp - 0x160]
lea edx, [ebp - 0x228]
push 0x4b3aa0
mov dword [ebp - 0x1ec], eax
mov dword [ebp - 0x1e8], ecx
push edx
mov edi, 6
lea eax, [ebp - 0x130]
lea ecx, [ebp - 0x124]
push 0x4e6c34
push ebx
mov dword [ebp - 0x228], 0xa
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x204], 0x4e6c08
mov dword [ebp - 0x200], 0x4e6c28
mov dword [ebp - 0x208], 0x4eb4ac
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x21c], 0x78
mov dword [ebp - 0x210], 0x4b3ad8
mov dword [ebp - 0x20c], 0x4eb4e0
mov word [ebp - 0x216], bx
mov dword [ebp - 0x1d8], 0x4eb440
mov dword [ebp - 0x1c0], esi
mov dword [ebp - 0x1a8], ebx
mov dword [ebp - 0x190], ebx
mov dword [ebp - 0x178], ebx
mov dword [ebp - 0x160], ebx
mov word [ebp - 0x130], bx
mov word [ebp - 0x124], bx
mov dword [ebp - 0x1d4], 0x4ea8d8
mov dword [ebp - 0x1bc], esi
mov dword [ebp - 0x1a4], ebx
mov dword [ebp - 0x18c], ebx
mov dword [ebp - 0x174], ebx
mov dword [ebp - 0x15c], ebx
mov word [ebp - 0x12e], bx
mov word [ebp - 0x122], bx
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1dc], ecx
call sub.sqllib80.dll_sqlcxt
mov eax, dword [0x4eb4ec]
add esp, 0x10
cmp eax, ebx
jl 0x481adb
lea eax, [ebp - 0xc4]
lea ecx, [ebp - 0xac]
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0xdc], eax
lea edx, [ebp - 0x94]
lea eax, [ebp - 0x34]
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 0xe0], edx
mov dword [ebp - 0xd0], eax
lea ecx, [ebp - 0x64]
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 - 0x114], 0xa
mov dword [ebp - 0x110], edi
mov dword [ebp - 0xf0], 0x4e6c08
mov dword [ebp - 0xec], 0x4e6c28
mov dword [ebp - 0x10c], 1
mov dword [ebp - 0x108], 0x8f
mov dword [ebp - 0xfc], 0x4b3ad8
mov dword [ebp - 0xf8], 0x4eb4e0
mov word [ebp - 0x102], bx
mov dword [ebp - 0xc4], 0x4eb470
mov dword [ebp - 0xac], esi
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], ecx
mov dword [ebp - 0xc8], edx
call sub.sqllib80.dll_sqlcxt
mov eax, dword [0x4eb4ec]
add esp, 0x10
cmp eax, 0x57b
je 0x481a39
cmp eax, ebx
jl 0x481adb
cmp word [0x4eb49c], bx
jge 0x481898
mov byte [0x4eb472], bl
jmp 0x4818df
cmp word [0x4eb470], bx
je 0x4818cf
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2b0]
mov edx, dword [ecx + 0x30]
test dh, 2
jne 0x4818cf
mov edx, dword [0x4eb470]
and edx, 0xffff
push edx
push 0x4eb472
push eax
call sub.ifcom60.dll_Ordinal_280_1
add esp, 0xc
jmp 0x4818df
mov eax, dword [0x4eb470]
and eax, 0xffff
mov byte [eax + 0x4eb472], bl
mov ecx, dword [0x4eb494]
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
push ecx
push ebx
push 0x4eb472
add edx, 0x10
push ebx
push edx
push eax
call fcn.004826e0
add esp, 0x18
test eax, eax
je 0x481b6a
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], edi
mov dword [ebp - 0xf0], 0x4e6c08
mov dword [ebp - 0xec], 0x4e6c28
mov dword [ebp - 0x10c], 1
mov dword [ebp - 0x108], 0x8f
mov dword [ebp - 0xfc], 0x4b3ad8
mov dword [ebp - 0xf8], 0x4eb4e0
mov word [ebp - 0x102], bx
mov dword [ebp - 0xc4], 0x4eb470
mov dword [ebp - 0xac], esi
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 0x48187f
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov eax, dword [eax]
cmp eax, ebx
je 0x481a4c
mov ecx, dword [eax + 8]
mov dword [ebp + 0x18], ecx
jmp 0x481a4f
mov dword [ebp + 0x18], ebx
cmp dword [ebp + 0x18], ebx
jne 0x4815b2
lea edx, [ebp - 0x228]
push 0x4b3aa0
push edx
push 0x4e6c34
push ebx
mov dword [ebp - 0x228], 0xa
mov dword [ebp - 0x224], 6
mov dword [ebp - 0x204], 0x4e6c08
mov dword [ebp - 0x200], 0x4e6c28
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x21c], 0xa6
mov dword [ebp - 0x210], 0x4b3ad8
mov dword [ebp - 0x20c], 0x4eb4e0
mov word [ebp - 0x216], bx
call sub.sqllib80.dll_sqlcxt
mov eax, dword [0x4eb4ec]
add esp, 0x10
cmp eax, ebx
jl 0x481adb
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 0x481b03
mov ecx, 0x4eb4f2
mov byte [eax], bl
sub ax, cx
mov word [0x4eb4f0], ax
cmp word [0x4eb4f0], bx
je 0x481b35
mov edx, dword [esi + 0x2b0]
mov eax, dword [edx + 0x30]
test ah, 2
jne 0x481b35
mov eax, dword [0x4eb4f0]
and eax, 0xffff
push eax
push 0x4eb4f2
push esi
call sub.ifcom60.dll_Ordinal_280_1
add esp, 0xc
jmp 0x481b47
mov ecx, dword [0x4eb4f0]
and ecx, 0xffff
mov byte [ecx + 0x4eb4f2], bl
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
je 0x481b6a
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