Function at 0x406068
Capabilities:
Reference sql statements

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x10
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xc], 0
xor eax, eax
xor edx, edx
xor ebp, ebp
mov dword [esp + 4], eax
test ecx, ecx
mov dword [esp], edx
je 0x4062a6
lea edi, [esp + 0xc]
mov ebx, dword [ecx + 4]
movzx edx, byte [ebx + 0x30]
and edx, 0xfe
mov byte [ebx + 0x30], dl
mov ecx, 1
mov dword [esp + 8], ecx
push edi
push dword [esi + 0x2510]
push str.10.1.0
push esi
call fcn.0045f370
add esp, 0x10
test eax, eax
jne 0x406126
mov edx, dword [esp + 0xc]
test edx, edx
je 0x406126
mov edx, dword [esi + 0x4804]
test edx, edx
jne 0x406126
push 0x4a
push str.SELECT_PLAN_TABLE_OUTPUT_FROM_TABLE_DBMS_XPLAN.DISPLAY_PLAN_TABLE__:1__
push esi
call fcn.00459058
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x40611b
push ebp
push esi
call fcn.004062c0
add esp, 8
test eax, eax
je 0x40611b
movzx edx, byte [ebx + 0x30]
mov dword [esp + 4], ebp
xor edi, edi
or edx, 0xffffff01
mov byte [ebx + 0x30], dl
mov dword [esp], edi
jmp 0x4061b9
xor edx, edx
mov dword [esp + 8], edx
jmp 0x4061b9
lea edx, [esp + 0xc]
push edx
push dword [esi + 0x2510]
push str.8.0.0
push esi
call fcn.0045f370
add esp, 0x10
test eax, eax
jne 0x40614b
mov edx, dword [esp + 0xc]
test edx, edx
jne 0x406159
mov edx, dword [esi + 0x4804]
test edx, edx
je 0x406287
mov eax, dword [esi + 0x4730]
movzx edx, byte [eax]
test dl, 1
je 0x40617e
push 0x289
push str.SELECT_ID_ID_PLUS_EXP_PARENT_ID_PARENT_ID_PLUS_EXP_LPAD___14_LEVEL_1___nbsp__n_OPERATIONDECODE_OTHER_TAG_NULL___DECODE_OPTIONS_NULL____OPTIONS__DECODE_OBJECT_NAME_NULL___OF_OBJECT_NAME_DECODE_OBJECT_TYPE_NULL____OBJECT_TYPE__DECODE_ID_0_DECODE_OPTIMIZER_NULL___OptimizerOPTIMIZER__DECODE_COST_NULL____CostCOSTDECODE_CARDINALITY_NULL___CardCARDINALITY_DECODE_BYTES_NULL___BytesBYTES____PLAN_PLUS_EXP_OBJECT_NODE_OBJECT_NODE_PLUS_EXP_FROM_PLAN_TABLE_START_WITH_ID0_AND_STATEMENT_ID:1_CONNECT_BY_PRIOR_IDPARENT_ID_AND_STATEMENT_ID:1_ORDER_BY_ID_POSITION
push esi
call fcn.00459058
mov ebp, eax
add esp, 0xc
jmp 0x406193
push 0x27d
push str.SELECT_ID_ID_PLUS_EXP_PARENT_ID_PARENT_ID_PLUS_EXP_LPAD___2_LEVEL_1__OPERATIONDECODE_OTHER_TAG_NULL___DECODE_OPTIONS_NULL____OPTIONS__DECODE_OBJECT_NAME_NULL___OF_OBJECT_NAME_DECODE_OBJECT_TYPE_NULL____OBJECT_TYPE__DECODE_ID_0_DECODE_OPTIMIZER_NULL___OptimizerOPTIMIZER__DECODE_COST_NULL____CostCOSTDECODE_CARDINALITY_NULL___CardCARDINALITY_DECODE_BYTES_NULL___BytesBYTES____PLAN_PLUS_EXP_OBJECT_NODE_OBJECT_NODE_PLUS_EXP_FROM_PLAN_TABLE_START_WITH_ID0_AND_STATEMENT_ID:1_CONNECT_BY_PRIOR_IDPARENT_ID_AND_STATEMENT_ID:1_ORDER_BY_ID_POSITION
push esi
call fcn.00459058
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x4061b3
push ebp
push esi
call fcn.004062c0
add esp, 8
test eax, eax
je 0x4061b3
mov dword [esp + 4], ebp
mov edx, str.SELECT_ID_ID_PLUS_EXP_OTHER_TAG_OTHER_TAG_PLUS_EXP_OTHER_OTHER_PLUS_EXP_FROM_PLAN_TABLE_WHERE_STATEMENT_ID:1_AND_OTHER_TAG_IS_NOT_NULL_ORDER_BY_ID
mov dword [esp], edx
jmp 0x4061b9
xor edx, edx
mov dword [esp + 8], edx
mov edx, dword [ebx + 0x10]
test edx, edx
je 0x4061ca
push edx
push esi
call fcn.00430044
add esp, 8
mov edx, dword [esp + 8]
test edx, edx
jne 0x4061e0
test ebp, ebp
je 0x4061e0
push ebp
push esi
call fcn.00430044
add esp, 8
mov eax, dword [esp + 4]
mov dword [ebx + 0x10], eax
test eax, eax
je 0x406283
mov eax, dword [esi + 0x249c]
mov edx, dword [eax + 0x1c]
test edx, 0x4000000
jne 0x40621c
mov edi, dword [esp + 4]
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x40621a
add ecx, 1
add eax, 1
mov dl, byte [ecx]
test dl, dl
jne 0x40620e
jmp 0x406227
mov eax, dword [esp + 4]
push eax
call sub.OCI.dll_lxsulen
pop ecx
add eax, 1
mov dword [ebx + 0x14], eax
mov eax, dword [esp]
mov dword [ebx + 0x18], eax
test eax, eax
je 0x40627f
mov eax, dword [esi + 0x249c]
mov edx, dword [eax + 0x1c]
test edx, 0x4000000
jne 0x406263
mov edi, dword [esp]
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x406261
add ecx, 1
add eax, 1
mov dl, byte [ecx]
test dl, dl
jne 0x406255
jmp 0x40626d
mov eax, dword [esp]
push eax
call sub.OCI.dll_lxsulen
pop ecx
add eax, 1
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 8]
add esp, 0x10
pop ebx
pop ebp
pop esi
pop edi
ret
xor eax, eax
jmp 0x406270
xor eax, eax
jmp 0x40622a
push 0
push 0x265
push 1
push 2
push esi
call fcn.0042be1c
add esp, 0x14
xor edx, edx
mov dword [esp + 8], edx
jmp 0x4061b9
push 0
push 1
push 0x448
push esi
call fcn.00435654
xor eax, eax
add esp, 0x20
pop ebx
pop ebp
pop esi
pop edi
ret