Function at 0x457ea0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x5142b0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x21c], 0
mov byte [ebp - 0x23d], 0xe
mov dword [ebp - 0x22c], 0
mov byte [ebp - 5], 0
mov dword [ebp - 0x218], 0
push str.QueryvsColumns
lea eax, [ebp - 0x228]
push eax
call fcn.0042bfe0
add esp, 8
movzx ecx, al
cmp ecx, 1
je 0x457f27
xor al, al
jmp 0x458488
push str.ColumnDetails
lea edx, [ebp - 0x224]
push edx
call fcn.0042bfe0
add esp, 8
movzx eax, al
cmp eax, 1
je 0x457f4a
xor al, al
jmp 0x458488
mov ecx, dword [ebp + 8]
push ecx
push str.SELECT_COLUMN_ID_FROM_QueryvsColumns_WHERE_QUERY_ID___d
lea edx, [ebp - 0x210]
push edx
call fcn.00492848
add esp, 0xc
mov eax, dword [ebp - 0x228]
push eax
call fcn.004373c0
add esp, 4
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x244]
push ecx
call fcn.00437ce0
add esp, 4
mov dword [ebp - 0x264], eax
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp - 0x264]
push eax
call fcn.004391f0
add esp, 8
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 0x244]
push ecx
call fcn.00438210
add esp, 4
cmp dword [ebp - 0x214], 0
je 0x458479
mov edx, dword [ebp - 0x214]
cmp dword [edx + 4], 0
je 0x458477
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x214]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 0x214]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x234], ecx
cmp dword [ebp - 0x234], 0
je 0x458477
mov edx, dword [ebp - 0x234]
mov eax, dword [edx]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov dword [ebp - 0x254], edx
mov eax, dword [ebp - 0x224]
push eax
call fcn.004373c0
add esp, 4
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x244]
push ecx
call fcn.00437ce0
add esp, 4
mov dword [ebp - 0x264], eax
mov edx, dword [ebp - 0x254]
push edx
push str.SELECT_COLUMNNAME_FROM_ColumnDetails_WHERE_COLUMN_ID___d
lea eax, [ebp - 0x210]
push eax
call fcn.00492848
add esp, 0xc
lea ecx, [ebp - 0x210]
push ecx
mov edx, dword [ebp - 0x264]
push edx
call fcn.004391f0
add esp, 8
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x4580b6
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0x238]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx]
cmp dword [edx + 4], 0
je 0x4580b6
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov dword [ebp - 0x24c], eax
mov ecx, dword [ebp - 0x254]
push ecx
push str.SELECT_COLUMNALIAS_FROM_ColumnDetails_WHERE_COLUMN_ID___d
lea edx, [ebp - 0x210]
push edx
call fcn.00492848
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x264]
push ecx
call fcn.004391f0
add esp, 8
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x45813b
mov edx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax + 0xc]
mov dword [edx + 0x10], ecx
mov edx, dword [ebp - 0x238]
cmp dword [edx + 4], 0
je 0x458139
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx]
cmp dword [edx + 4], 0
je 0x458139
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov dword [ebp - 0x248], eax
jmp 0x458145
mov dword [ebp - 0x248], 0
mov ecx, dword [ebp - 0x254]
push ecx
push str.SELECT_TABLENAME_FROM_ColumnDetails_WHERE_COLUMN_ID___d
lea edx, [ebp - 0x210]
push edx
call fcn.00492848
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x264]
push ecx
call fcn.004391f0
add esp, 8
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x4581c8
mov edx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax + 0xc]
mov dword [edx + 0x10], ecx
mov edx, dword [ebp - 0x238]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax]
cmp dword [ecx + 4], 0
je 0x4581be
mov edx, dword [ebp - 0x238]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x25c], edx
jmp 0x4581c8
mov dword [ebp - 0x25c], 0
mov eax, dword [ebp - 0x254]
push eax
push str.SELECT_TABLEALIAS_FROM_ColumnDetails_WHERE_COLUMN_ID___d
lea ecx, [ebp - 0x210]
push ecx
call fcn.00492848
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp - 0x264]
push eax
call fcn.004391f0
add esp, 8
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x45824b
mov ecx, dword [ebp - 0x238]
mov edx, dword [ebp - 0x238]
mov eax, dword [edx + 0xc]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp - 0x238]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx]
cmp dword [eax + 4], 0
je 0x458241
mov ecx, dword [ebp - 0x238]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x220], ecx
jmp 0x45824b
mov dword [ebp - 0x220], 0
mov edx, dword [ebp - 0x254]
push edx
push str.SELECT_FUNCTIONNAME_FROM_ColumnDetails_WHERE_COLUMN_ID___d
lea eax, [ebp - 0x210]
push eax
call fcn.00492848
add esp, 0xc
lea ecx, [ebp - 0x210]
push ecx
mov edx, dword [ebp - 0x264]
push edx
call fcn.004391f0
add esp, 8
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x244]
push eax
call fcn.00438210
add esp, 4
cmp dword [ebp - 0x238], 0
je 0x458329
mov ecx, dword [ebp - 0x238]
mov edx, dword [ebp - 0x238]
mov eax, dword [edx + 0xc]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp - 0x238]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx]
cmp dword [eax + 4], 0
je 0x458327
mov ecx, dword [ebp - 0x238]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x218], 0
jmp 0x4582f0
mov edx, dword [ebp - 0x218]
add edx, 1
mov dword [ebp - 0x218], edx
cmp dword [ebp - 0x218], 6
jg 0x458327
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax*4 + 0x51280c]
push ecx
mov edx, dword [ebp - 0x22c]
push edx
call fcn.00493b10
add esp, 8
test eax, eax
jne 0x458325
mov al, byte [ebp - 0x218]
mov byte [ebp - 5], al
jmp 0x458327
jmp 0x4582e1
jmp 0x45832d
mov byte [ebp - 5], 0
push 0
push 0x5172e0
call fcn.0043a440
add esp, 8
mov dword [ebp - 0x258], eax
jmp 0x458353
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x258], edx
cmp dword [ebp - 0x258], 0
je 0x45840e
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax]
mov dword [ebp - 0x250], ecx
cmp dword [ebp - 0x25c], 0
je 0x458409
mov edx, dword [ebp - 0x250]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x25c]
push ecx
call fcn.00493b10
add esp, 8
test eax, eax
jne 0x458409
mov edx, dword [ebp - 0x250]
mov eax, dword [edx + 8]
mov dword [ebp - 0x260], eax
push 0
mov ecx, dword [ebp - 0x260]
push ecx
call fcn.0043a440
add esp, 8
mov dword [ebp - 0x23c], eax
jmp 0x4583ce
mov edx, dword [ebp - 0x23c]
mov eax, dword [edx + 4]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x458409
mov ecx, dword [ebp - 0x23c]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call fcn.00493b10
add esp, 8
test eax, eax
jne 0x458407
mov eax, dword [ebp - 4]
mov cl, byte [eax + 4]
mov byte [ebp - 0x23d], cl
jmp 0x4583bf
jmp 0x458344
mov edx, dword [ebp + 0x10]
push edx
movzx eax, byte [ebp - 5]
push eax
movzx ecx, byte [ebp - 0x23d]
push ecx
mov edx, dword [ebp - 0x21c]
push edx
mov eax, dword [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x220]
push edx
mov eax, dword [ebp - 0x25c]
push eax
call fcn.00456e80
add esp, 0x20
mov dword [ebp - 0x230], eax
mov ecx, dword [ebp - 0x230]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00456f80
add esp, 8
mov eax, dword [ebp - 0x234]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x234], ecx
jmp 0x457ff5
jmp 0x458486
push str._nNo_Columns_to_be_selected._n
call fcn.00423960
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0048ed61
mov esp, ebp
pop ebp
ret